/* This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license. */ rule SANS_ICS_Cybersecurity_Challenge_400_Havex_Memdump { meta: description = "Detects Havex Windows process executable from memory dump" date = "2015-12-2" author = "Chris Sistrunk" hash = "8065674de8d79d1c0e7b3baf81246e7d" strings: $magic = { 4d 5a } $s1 = "~tracedscn.yls" fullword wide $s2 = "[!]Start" fullword wide $s3 = "[+]Get WSADATA" fullword wide $s4 = "[-]Can not get local ip" fullword wide $s5 = "[+]Local:" fullword wide $s6 = "[-]Threads number > Hosts number" fullword wide $s7 = "[-]Connection error" fullword wide $x1 = "bddd4e2b84fa2ad61eb065e7797270ff.exe" fullword wide condition: $magic at 0 and ( 3 of ($s*) or $x1 ) }