-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdestruction.yar
50 lines (42 loc) · 1.16 KB
/
destruction.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
40
41
42
43
44
45
46
47
48
49
50
rule MbrDeletion : malware {
meta:
name = "MbrDeletion"
category = "destruction"
description = "This rule is to detect mbr manipulation"
author = "remiliacn"
created = "2024-12-09"
reliability = 60
strings:
$select = /select disk \d+/s
$clean = "clean"
condition:
$select and $clean
}
rule Taskkill : suspicious {
meta:
name = "Taskkill"
category = "tampering"
description = "Detects taskkill operations on Windows platform"
author = "remiliacn"
created = "2024-12-09"
reliability = 90
strings:
$ = /taskkill\s.*?\/f.*?\.exe/s
$ = /taskkill\s.*?\/im.*?\.exe/s
condition:
any of them
}
rule DiamondRansomware : ransomware {
meta:
name = "DiamondRansomware"
category = "destruction"
description = "String commonly used in diamond ransomware"
author = "remiliacn"
created = "2024-12-10"
reliability = 60
tlp = "TLP:red"
strings:
$ = "[Diamond Ransomware]"
condition:
any of them
}