/* Yara Rule Set Author: Florian Roth Date: 2015-06-23 Identifier: CN-PentestSet */ rule CN_Honker_mafix_root { meta: description = "Script from disclosed CN Honker Pentest Toolset - file root" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "826778ef9c22177d41698b467586604e001fed19" id = "ae08b2e9-4d81-5f15-88d2-e2ace20626bf" strings: $s0 = "echo \"# vbox (voice box) getty\" >> /tmp/.init1" fullword ascii /* PEStudio Blacklist: strings */ $s1 = "cp /var/log/tcp.log $HOMEDIR/.owned/bex2/snifflog" fullword ascii $s2 = "if [ -f /sbin/xlogin ]; then" fullword ascii /* PEStudio Blacklist: strings */ condition: filesize < 96KB and all of them } rule CN_Honker_passwd_dict_3389 { meta: description = "Script from disclosed CN Honker Pentest Toolset - file 3389.txt" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "2897e909e48a9f56ce762244c3a3e9319e12362f" id = "9418f0e5-7bf0-5df3-8857-dea90fae5a54" strings: $s0 = "654321" fullword ascii /* reversed goodware string '123456' */ $s1 = "admin123" fullword ascii /* PEStudio Blacklist: strings */ $s2 = "admin123456" fullword ascii /* PEStudio Blacklist: strings */ $s3 = "administrator" fullword ascii /* PEStudio Blacklist: strings */ /* Goodware String - occured 2 times */ $s4 = "passwd" fullword ascii /* PEStudio Blacklist: strings */ /* Goodware String - occured 42 times */ $s5 = "password" fullword ascii /* PEStudio Blacklist: strings */ /* Goodware String - occured 244 times */ $s7 = "12345678" fullword ascii /* Goodware String - occured 29 times */ condition: filesize < 1KB and all of them } rule CN_Honker_Perl_serv_U { meta: description = "Script from disclosed CN Honker Pentest Toolset - file Perl-serv-U.pl" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "f333c597ff746ebd5a641fbc248497d61e3ec17b" id = "d793227d-dd4d-5c92-bfdc-9662c3ed8933" strings: $s1 = "$dir = 'C:\\\\WINNT\\\\System32\\\\';" fullword ascii /* PEStudio Blacklist: strings */ $s2 = "$sock = IO::Socket::INET->new(\"127.0.0.1:$adminport\") || die \"fail\";" fullword ascii /* PEStudio Blacklist: strings */ condition: filesize < 8KB and all of them } rule CN_Honker_F4ck_Team_f4ck { meta: description = "Script from disclosed CN Honker Pentest Toolset - file f4ck.txt" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "e216f4ba3a07de5cdbb12acc038cd8156618759e" id = "abf2f277-79b4-5ca2-b12e-93a662e5d607" strings: $s0 = "PassWord:F4ckTeam!@#" fullword ascii /* PEStudio Blacklist: strings */ $s1 = "UserName:F4ck" fullword ascii /* PEStudio Blacklist: strings */ $s2 = "F4ck Team" fullword ascii condition: filesize < 1KB and all of them } rule CN_Honker_sig_3389_3389 { meta: description = "Script from disclosed CN Honker Pentest Toolset - file 3389.vbs" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "f92b74f41a2138cc05c6b6993bcc86c706017e49" id = "6d385820-befe-5e2b-8c48-ad90564d5f42" strings: $s1 = "success = obj.run(\"cmd /c takeown /f %SystemRoot%\\system32\\sethc.exe&echo y| " ascii /* PEStudio Blacklist: strings */ condition: filesize < 10KB and all of them } rule CN_Honker_sig_3389_3389_2 { meta: description = "Script from disclosed CN Honker Pentest Toolset - file 3389.bat" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "5ff92f39ade12f8ba6cb75dfdc9bb907e49f0ebd" id = "f449f632-3102-5e62-b790-5546698dd663" strings: $s1 = "@del c:\\termsrvhack.dll" fullword ascii $s2 = "@del c:\\3389.txt" fullword ascii condition: filesize < 3KB and all of them } rule CN_Honker_Injection_Transit_jmCook { meta: description = "Script from disclosed CN Honker Pentest Toolset - file jmCook.asp" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "5e1851c77ce922e682333a3cb83b8506e1d7395d" id = "468abb0e-a163-5fc5-b6a1-896fc04b8570" strings: $s1 = ".Open \"POST\",PostUrl,False" fullword ascii /* PEStudio Blacklist: strings */ $s2 = "JmdcwName=request(\"jmdcw\")" fullword ascii /* PEStudio Blacklist: strings */ condition: filesize < 9KB and all of them } rule CN_Honker_Pwdump7_Pwdump7 { meta: description = "Script from disclosed CN Honker Pentest Toolset - file Pwdump7.bat" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "67d0e215c96370dcdc681bb2638703c2eeea188a" id = "baf6ced6-4298-5453-a020-a384c923584c" strings: $s1 = "Pwdump7.exe >pass.txt" fullword ascii /* PEStudio Blacklist: strings */ condition: filesize < 1KB and all of them } rule CN_Honker_portRecall_pr { meta: description = "Script from disclosed CN Honker Pentest Toolset - file pr" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "583cf6dc2304121d835f2879803a22fea76930f3" id = "1e137ed0-3af6-5b01-a27b-87bf42359887" strings: $s1 = "Usage: Same as lcx.exe in win32 :)" fullword ascii $s2 = "connect to client" fullword ascii /* PEStudio Blacklist: strings */ $s3 = "PR(Packet redirection) for linux " fullword ascii /* PEStudio Blacklist: strings */ condition: filesize < 70KB and all of them } rule CN_Honker_sig_3389_3389_3 { meta: description = "Script from disclosed CN Honker Pentest Toolset - file 3389.bat" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "cfedec7bd327897694f83501d76063fe16b13450" id = "ff61a5cb-6089-5632-a65d-09f4ffd99857" strings: $s1 = "echo \"fDenyTSConnections\"=dword:00000000>>3389.reg " fullword ascii /* PEStudio Blacklist: strings */ $s2 = "echo \"PortNumber\"=dword:00000d3d>>3389.reg " fullword ascii /* PEStudio Blacklist: strings */ $s3 = "echo [HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Terminal Server]>>" ascii /* PEStudio Blacklist: strings */ condition: filesize < 2KB and all of them } rule CN_Honker_Alien_D { meta: description = "Script from disclosed CN Honker Pentest Toolset - file D.ASP" license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE" author = "Florian Roth (Nextron Systems)" reference = "Disclosed CN Honker Pentest Toolset" date = "2015-06-23" score = 70 hash = "de9cd4bd72b1384b182d58621f51815a77a5f07d" id = "88529577-0dea-5aa8-b763-79a69397ddd5" strings: $s0 = "Paths_str=\"c:\\windows\\\"&chr(13)&chr(10)&\"c:\\Documents and Settings\\\"&chr" ascii /* PEStudio Blacklist: strings */ $s1 = "CONST_FSO=\"Script\"&\"ing.Fil\"&\"eSyst\"&\"emObject\"" fullword ascii /* PEStudio Blacklist: strings */ $s2 = "Response.Write \"