MCPcopy Create free account
hub / github.com/LCBOWER33/StegoScan / is_elf_using_yara

Function is_elf_using_yara

StegoScan.py:813–817  ·  view source on GitHub ↗

Check if a file is an ELF executable using YARA rules.

(filepath)

Source from the content-addressed store, hash-verified

811
812
813def is_elf_using_yara(filepath):
814 """Check if a file is an ELF executable using YARA rules."""
815 rule = yara.compile(source=YARA_RULES)
816 matches = rule.match(filepath)
817 return any(match.rule == "ELF_Detection" for match in matches)
818
819
820def is_suspicious_elf(filepath):

Callers 1

elf_checkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected