-
Notifications
You must be signed in to change notification settings - Fork 1
/
SierraCharlie.yara
31 lines (25 loc) · 1001 Bytes
/
SierraCharlie.yara
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import "pe"
rule SierraCharlie
{
meta:
copyright = "2015 Novetta Solutions"
author = "Novetta Threat Research & Interdiction Group - trig@novetta.com"
Source = "f4750e1d82b08318bdc1eb6d3399dee52750250f7959a5e4f83245449f399698.bin"
strings:
/*
8B 0D 50 A7 56 00 mov ecx, DnsFree
81 F6 8C 3F 7C 5E xor esi, 5E7C3F8Ch
6A 01 push 1 ; _DWORD
50 push eax ; _DWORD
85 C9 test ecx, ecx
74 3A jz short loc_40580B
FF D1 call ecx ; DnsFree
*/
$dnsResolve = { 8B 0D 50 A7 56 00 81 F6 8C 3F 7C 5E 6A 01 50 85 C9 74 3A FF D1 }
$file1 = "wmplog21t.sqm"
$file2 = "wmplog15r.sqm"
$file3 = "wmplog09c.sqm"
condition:
$dnsResolve in ((pe.sections[pe.section_index(".text")].raw_data_offset)..(pe.sections[pe.section_index(".text")].raw_data_offset + pe.sections[pe.section_index(".text")].raw_data_size))
or 2 of ($file*)
}