signature-base/yara/gen_unspecified_malware.yar

25 lines
1.0 KiB
Plaintext

/* Unspecified Malware */
rule Unspecified_Malware_Jul17_2C {
meta:
description = "Unspecified Malware - CN relation"
license = "https://creativecommons.org/licenses/by-nc/4.0/"
author = "Florian Roth"
reference = "https://goo.gl/CX3KaY"
date = "2017-07-18"
hash1 = "e8156ec1706716cada6f57b6b8ccc9fb0eb5debe906ac45bdc2b26099695b8f5"
strings:
$x1 = "%AllUsersProfile%\\DeviceSync\\m.exe" fullword wide
$x2 = "freenow.chickenkiller.com" fullword ascii
$x3 = "\\Release\\PhantomNet-SSL.pdb" ascii
$s1 = "SELECT * FROM AntiVirusProduct" fullword ascii
$s2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/%08X-%04X-%04X-%02X%02X%02X%02X" fullword ascii
$s3 = "Proxy-Authenticate: Basic" fullword ascii
$s4 = "Proxy-Authenticate: NTLM" fullword ascii
$s5 = "Root\\SecurityCenter2" fullword wide
$s6 = "aaabbbcccddd" fullword ascii
condition:
( uint16(0) == 0x5a4d and filesize < 400KB and ( 1 of ($x*) or 4 of ($s*) ) ) or
( all of them )
}