-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathexampleSignatureSet.yml
166 lines (166 loc) · 3.15 KB
/
exampleSignatureSet.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
---
version: 1.01
procblacklist: C:\\Users\\.*\\AppData\\Local\\Google\\Chrome\\Application\\chrome\.exe
actions:
- name: Break most shellcode - LoadLib
action: block
function: LoadLibraryA
dll: Kernel32.dll
arguments:
- type: ignore
retval: 0
severity: high
retprotectMode: PAGE_EXECUTE_READWRITE
- name: WinExec
action: alert
function: WinExec
dll: Kernel32.dll
arguments:
- type: ignore
- type: ignore
severity: medium
- name: DEP Policy Disable
action: alert
function: SetProcessDEPPolicy
dll: Kernel32.dll
arguments:
- type: integer
val: 0
severity: medium
- name: Process Injection - WPM
action: alert
function: WriteProcessMemory
dll: Kernel32.dll
arguments:
- type: not
val: -1
- type: ignore
- type: ignore
- type: ignore
- type: ignore
severity: medium
- name: Stager - Wininet
action: alert
function: InternetReadFile
dll: Wininet.dll
arguments:
- type: ignore
- type: pointer
mask type: any
mask: 64
- type: ignore
- type: ignore
severity: medium
- name: Process Injection - Remote Thread
action: alert
function: CreateRemoteThread
dll: Kernel32.dll
arguments:
- type: not
val: -1
- type: ignore
- type: ignore
- type: ignore
- type: ignore
- type: ignore
- type: ignore
severity: medium
- name: Down/exec URL download
action: block
function: URLDownloadToFileA
dll: Urlmon.dll
arguments:
- type: ignore
name: pCaller
paramtype: integer
- type: ignore
name: szURL
paramtype: c string
- type: ignore
name: szFileName
paramtype: c string
- type: ignore
name: dwReserved
paramtype: integer
- type: ignore
name: lpfnCB
paramtype: integer
retval: 0
severity: medium
- name: Stager - Winsock
action: alert
function: recv
dll: Ws2_32.dll
arguments:
- type: ignore
name: s
paramtype: integer
- type: pointer
mask type: any
mask: 64
name: buf
paramtype: pointer
- type: ignore
name: len
paramtype: integer
- type: ignore
name: flags
paramtype: integer
severity: medium
- name: Hook W
action: alert
function: SetWindowsHookExW
dll: User32.dll
arguments:
- type: ignore
- type: ignore
- type: ignore
- type: integer
val: 0
procblacklist: C:\\Program Files \(x86\)\\Internet Explorer\\iexplore.exe
severity: medium
- name: Hook A
action: alert
function: SetWindowsHookExA
dll: User32.dll
arguments:
- type: ignore
- type: ignore
- type: ignore
- type: integer
val: 0
severity: medium
- name: ! 'Open Remote '
action: alert
function: OpenSCManagerA
dll: Advapi32.dll
arguments:
- type: c string
expression: ^..*$
- type: ignore
- type: ignore
severity: low
- name: Process Injection - Alloc RWX
action: alert
function: VirtualAllocEx
dll: Kernel32.dll
arguments:
- type: not
val: -1
- type: ignore
- type: ignore
- type: ignore
- type: integer
val: 64
severity: medium
- name: Process Injection - Open Proc
action: alert
function: OpenProcess
dll: Kernel32.dll
arguments:
- type: bitmask
mask type: any
mask: 540673
- type: ignore
- type: ignore
severity: medium