WindowsShell_Gen2
Description
Detects simple Windows shell - from files s3.exe, s4.exe
Query · yara
strings: $s1 = "cmd - execute cmd.exe" fullword ascii $s2 = "get <remote> <local> - download file" fullword ascii $s3 = "REMOTE: CreateFile(\"%s\")" fullword ascii $s4 = "put <local> <remote> - upload file" fullword ascii $s5 = "term - terminate remote client" fullword ascii $s6 = "[ uploading \"%s\" to \"%s\"" fullword ascii $s7 = "[ error : received %i bytes" fullword ascii condition: ( uint16(0) == 0x5a4d and filesize < 175KB and 2 of them ) or ( 5 of them )