Empire_Invoke_Portscan_Gen
Description
Detects Empire component - from files Invoke-Portscan.ps1, Invoke-Portscan.ps1
Query · yara
strings:
$s1 = "Test-Port -h $h -p $Port -timeout $Timeout" fullword ascii
$s2 = "1 {$nHosts=10; $Threads = 32; $Timeout = 5000 }" fullword ascii
condition:
( uint16(0) == 0x7566 and filesize < 100KB and 1 of them ) or all of them