Merge pull request #6 from NextronSystems/develop

refactor: avoid using the elf module for performance reasons
This commit is contained in:
Tomislav Pericin
2023-02-10 11:32:59 +01:00
committed by GitHub
+2 -4
View File
@@ -1,5 +1,3 @@
import "elf"
rule Linux_Virus_Vit : tc_detection malicious rule Linux_Virus_Vit : tc_detection malicious
{ {
meta: meta:
@@ -32,5 +30,5 @@ rule Linux_Virus_Vit : tc_detection malicious
$vit_str = "vi324.tmp" $vit_str = "vi324.tmp"
condition: condition:
uint32(0) == 0x464C457F and $vit_entry_point at elf.entry_point and $vit_str uint32(0) == 0x464C457F and all of them
} }