ps1_toolkit_Invoke_Mimikatz
Description
Auto-generated rule - file Invoke-Mimikatz.ps1
Query · yara
strings:
$s1 = "Get-ProcAddress kernel32.dll WriteProcessMemory" fullword ascii
$s2 = "ps | where { $_.Name -eq $ProcName } | select ProcessName, Id, SessionId" fullword ascii
$s3 = "privilege::debug exit" ascii
$s4 = "Get-ProcAddress Advapi32.dll AdjustTokenPrivileges" fullword ascii
$s5 = "Invoke-Mimikatz -DumpCreds" fullword ascii
$s6 = "| Add-Member -MemberType NoteProperty -Name IMAGE_FILE_EXECUTABLE_IMAGE -Value 0x0002" fullword ascii
condition:
( uint16(0) == 0xbbef and filesize < 10000KB and 1 of them ) or ( 3 of them )