Msfpayloads_msf_3
Description
Metasploit Payloads - file msf.psh
Query · yara
strings:
$s1 = "[DllImport(\"kernel32.dll\")] public static extern int WaitForSingleObject(" ascii
$s2 = "public enum MemoryProtection { ExecuteReadWrite = 0x40 }" fullword ascii
$s3 = ".func]::VirtualAlloc(0,"
$s4 = ".func+AllocationType]::Reserve -bOr [" ascii
$s5 = "New-Object System.CodeDom.Compiler.CompilerParameters" fullword ascii
$s6 = "ReferencedAssemblies.AddRange(@(\"System.dll\", [PsObject].Assembly.Location))" fullword ascii
$s7 = "public enum AllocationType { Commit = 0x1000, Reserve = 0x2000 }" fullword ascii
$s8 = ".func]::CreateThread(0,0,$" fullword ascii
$s9 = "public enum Time : uint { Infinite = 0xFFFFFFFF }" fullword ascii
$s10 = "= [System.Convert]::FromBase64String(\"/" ascii
$s11 = "{ $global:result = 3; return }" fullword ascii
condition:
4 of them