forked from vulnerabivoro/filtered-yara-rules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
73mp74710n_index.yara
53 lines (39 loc) · 891 Bytes
/
73mp74710n_index.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
rule android_meterpreter
{
meta:
author="73mp74710n"
comment="Metasploit Android Meterpreter Payload"
strings:
$checkPK = "META-INF/PK"
$checkHp = "[Hp^"
$checkSdeEncode = /;.Sk/
$stopEval = "eval"
$stopBase64 = "base64_decode"
condition:
any of ($check*) or any of ($stop*)
}
global rule isExecutable
{
meta:
author="73mp74710n"
description="Yara rule to check for unobfuscated rat created with njrat"
strings:
$MZ = { 4D 5A 90 00 }
$PE = { 50 45 00 00 }
condition:
$MZ at 0 and $PE
}
/*
rule njRat
{
strings:
$firewallDelete = "firewall delete allowed " wide
$firewallAdded = "firewall add" wide
/*ftw, ping ??*/
/* $ping = "ping" wide
/*regular expressoin to match an ip address*/
/* $regularExp = /([0-9]{1,3}\.){3}[0-9]{1,3}/ wide
condition:
any of ($firewall*) or $ping or $regularExp
}
*/