mandiant / mandiant/capa-rules

access PEB ldr_data

Open
#946 0 comments 1 reaction 0 assignees View on GitHub
false positive
Dominant language
No language data
Stars
736
Forks
245
Avg merge
4d 53m
Merged PRs (30d)
2

Description

I think we can use operand[1].offset here to reduce FPs, examples:

![Screenshot from 2024-10-21 11-55-53](https://github.com/user-attachments/assets/961c837e-d322-4b36-a40a-ca7354243067)
![Screenshot from 2024-10-21 11-55-08](https://github.com/user-attachments/assets/751de757-006b-472a-8b97-6323d456ae96)

Contributor guide

Open the contributing guide

Research direction

No rule file or test is named. Start by locating the rule related to accessing PEB ldr_data and review the two attached examples, then inspect how operand[1].offset could be used. Done means the rule is narrowed to reduce the reported false positives without losing the intended matches.

Written by the indexing model from the issue text.

Assessment

Domain
reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.