Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider migrate the PEFile signatures functionality from peutils/peid to YARA signatures #185

Open
wesinator opened this issue Nov 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wesinator
Copy link
Contributor

Feature

Cuckoo inherits the pre-processing PE packer and linker signature identification from the pefile / peutils module, which leverages signatures in the old PEiD sig format (really an ini format).
The peid sigs can have low fidelity packer identification (e.g. cuckoosandbox/cuckoo#2538 (comment)), and the mechanism is somewhat opaque compared with more modern frameworks like YARA

Proposed solution

Rip out the peutils sigdb code that is within the PEFile class, the old peutils/userdb.txt peid sig format file, and replace it with a YARA ruleset that can be run using the existing yara processing module.

The peid_signatures field would get collapsed into signatures

Alternative would be to leave the peutils sigdb file in place and maintain it as needed.

@cert-ee-raidar
Copy link
Contributor

@wesinator
Thank you for submitting the proposal.
We will look into this first chance we get and I will get back to you with an answer.

@cert-ee-raidar cert-ee-raidar added the enhancement New feature or request label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants