Skip to content

Commit 9d5a7fe

Browse files
authored
Renaming signatures to lower_snake_case (#921)
1 parent d912471 commit 9d5a7fe

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

modules/signatures/CAPE.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929

3030
class CAPE_Compression(Signature):
31-
name = "Compression"
31+
name = "compression"
3232
description = "Behavioural detection: Decompression of executable module(s)."
3333
severity = 1
3434
categories = ["malware"]
@@ -57,7 +57,7 @@ def on_complete(self):
5757

5858

5959
class CAPE_RegBinary(Signature):
60-
name = "RegBinary"
60+
name = "reg_binary"
6161
description = "Behavioural detection: PE binary written to registry."
6262
severity = 3
6363
categories = ["malware"]
@@ -87,7 +87,7 @@ def on_complete(self):
8787

8888

8989
class CAPE_Decryption(Signature):
90-
name = "Decryption"
90+
name = "decryption"
9191
description = "Behavioural detection: Decryption of executable module(s)."
9292
severity = 1
9393
categories = ["malware"]
@@ -116,7 +116,7 @@ def on_complete(self):
116116

117117

118118
class CAPE_Unpacker(Signature):
119-
name = "Unpacker"
119+
name = "unpacker"
120120
description = "Behavioural detection: Executable code extraction - unpacking"
121121
severity = 1
122122
categories = ["allocation"]
@@ -159,7 +159,7 @@ def on_call(self, call, process):
159159

160160

161161
class CAPE_InjectionCreateRemoteThread(Signature):
162-
name = "InjectionCreateRemoteThread"
162+
name = "injection_create_remote_thread"
163163
description = "Behavioural detection: Injection with CreateRemoteThread in a remote process"
164164
severity = 3
165165
categories = ["injection"]
@@ -242,7 +242,7 @@ def on_complete(self):
242242

243243

244244
class CAPE_InjectionProcessHollowing(Signature):
245-
name = "InjectionProcessHollowing"
245+
name = "injection_process_hollowing"
246246
description = "Behavioural detection: Injection (Process Hollowing)"
247247
severity = 3
248248
categories = ["injection"]
@@ -319,7 +319,7 @@ def on_call(self, call, process):
319319

320320

321321
class CAPE_InjectionSetWindowLong(Signature):
322-
name = "InjectionSetWindowLong"
322+
name = "injection_set_window_long"
323323
description = "Behavioural detection: Injection with SetWindowLong in a remote process"
324324
severity = 3
325325
categories = ["injection"]
@@ -383,7 +383,7 @@ def on_call(self, call, process):
383383

384384

385385
class CAPE_Injection(Signature):
386-
name = "InjectionInterProcess"
386+
name = "injection_inter_process"
387387
description = "Behavioural detection: Injection (inter-process)"
388388
severity = 3
389389
categories = ["injection"]
@@ -433,7 +433,7 @@ def on_complete(self):
433433

434434

435435
class CAPE_EvilGrab(Signature):
436-
name = "EvilGrab"
436+
name = "evil_grab"
437437
description = "Behavioural detection: EvilGrab"
438438
severity = 3
439439
categories = ["malware"]
@@ -468,7 +468,7 @@ def on_complete(self):
468468

469469

470470
class CAPE_PlugX(Signature):
471-
name = "PlugX"
471+
name = "plugx"
472472
description = "Behavioural detection: PlugX"
473473
severity = 3
474474
categories = ["chinese", "malware"]
@@ -503,7 +503,7 @@ def on_complete(self):
503503

504504

505505
class CAPE_Doppelganging(Signature):
506-
name = "Doppelganging"
506+
name = "doppelganging"
507507
description = "Behavioural detection: Process Doppelganging"
508508
severity = 3
509509
categories = ["injection"]
@@ -542,7 +542,7 @@ def on_call(self, call, process):
542542

543543

544544
class CAPE_TransactedHollowing(Signature):
545-
name = "TransactedHollowing"
545+
name = "transacted_hollowing"
546546
description = "Behavioural detection: Transacted Hollowing"
547547
severity = 3
548548
categories = ["injection"]

0 commit comments

Comments
 (0)