signature-base/yara/gen_ps1_shellcode.yar

15 lines
423 B
Plaintext
Raw Normal View History

rule Base64_PS1_Shellcode {
meta:
description = "Detects Base64 encoded PS1 Shellcode"
2018-11-15 16:25:58 +00:00
author = "Nick Carr, David Ledbetter"
reference = "https://twitter.com/ItsReallyNick/status/1062601684566843392"
date = "2018-11-14"
score = 65
strings:
$substring = "AAAAYInlM"
$pattern1 = "/OiCAAAAYInlM"
$pattern2 = "/OiJAAAAYInlM"
condition:
$substring and 1 of ($p*)
}