APT_RU_Sandworm_PY_May20_1
Description
Detects Sandworm Python loader
Query · yara
strings:
$x1 = "o.addheaders=[('User-Agent','Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko')]" ascii fullword
$s1 = "exec(o.open('http://" ascii
$s2 = "__import__({2:'urllib2',3:'urllib.request'}"
condition:
uint16(0) == 0x6d69 and
filesize < 1KB and
1 of ($x*) or 2 of them