Empire_Invoke_CredentialInjection_Invoke_Mimikatz_Gen
Description
Detects Empire component - from files Invoke-CredentialInjection.ps1, Invoke-Mimikatz.ps1
Query · yara
strings:
$s1 = "$PELoadedInfo = Invoke-MemoryLoadLibrary -PEBytes $PEBytes -ExeArgs $ExeArgs -RemoteProcHandle $RemoteProcHandle" fullword ascii
$s2 = "$PELoadedInfo = Invoke-MemoryLoadLibrary -PEBytes $PEBytes -ExeArgs $ExeArgs" fullword ascii
condition:
( uint16(0) == 0x7566 and filesize < 4000KB and 1 of them ) or all of them