KeeTheft_Out_Shellcode
Description
Detects component of KeeTheft - KeePass dump tool - file Out-Shellcode.ps1
Query · yara
strings:
$x1 = "Write-Host \"Shellcode length: 0x$(($ShellcodeLength + 1).ToString('X4'))\"" fullword ascii
$x2 = "$TextSectionInfo = @($MapContents | Where-Object { $_ -match '\\.text\\W+CODE' })[0]" fullword ascii
condition:
(filesize < 2KB and 1 of them)