-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathDetect_Monitoring_Unprotect.yar
39 lines (34 loc) · 1.09 KB
/
Detect_Monitoring_Unprotect.yar
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
/* Unprotect Project Yara Rule to detect evasion techniques - Thomas Roccia - @fr0gger */
import "pe"
rule Detect_Monitoring
{
meta:
author = "Thomas Roccia - @fr0gger_ - Unprotect Project"
description = "Check for monitoring tools"
strings:
$var1 = "procexp.exe" nocase
$var2 = "fiddler.exe" nocase
$var3 = "winhex.exe" nocase
$var4 = "procmon.exe" nocase
$var5 = "processmonitor.exe" nocase
$var6 = "wireshark.exe" nocase
$var7 = "processhacker.exe" nocase
$var8 = "hiew32.exe" nocase
$reg = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" nocase
$val = "DisableTaskMgr"
condition:
any of ($var*) or $reg and $val
}
rule Disable_Registry
{
meta:
author = "x0r"
description = "Disable Registry editor"
strings:
$p1 = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System" nocase
$c1 = "RegSetValue"
$r1 = "DisableRegistryTools"
$r2 = "DisableRegedit"
condition:
1 of ($p*) and $c1 and 1 of ($r*)
}