signature-base/yara/apt_dnspionage.yar

22 lines
981 B
Plaintext

rule MAL_DNSPIONAGE_Malware_Nov18 {
meta:
description = "Detects DNSpionage Malware"
author = "Florian Roth"
reference = "https://blog.talosintelligence.com/2018/11/dnspionage-campaign-targets-middle-east.html"
license = "https://creativecommons.org/licenses/by-nc/4.0/"
date = "2018-11-30"
hash1 = "2010f38ef300be4349e7bc287e720b1ecec678cacbf0ea0556bcf765f6e073ec"
hash2 = "45a9edb24d4174592c69d9d37a534a518fbe2a88d3817fc0cc739e455883b8ff"
strings:
$x1 = ".0ffice36o.com" fullword ascii
$s1 = "/Client/Login?id=" fullword ascii
$s2 = ".\\Configure.txt" fullword ascii
$s3 = "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" ascii
$s5 = "Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko" fullword ascii
$s6 = "Content-Disposition: form-data; name=\"txts\"" fullword ascii
condition:
uint16(0) == 0x5a4d and filesize < 1000KB and ( 1 of ($x*) or 3 of them )
}