Add windows.malware.apihooks plugin for Windows API hook detection#1968
Open
Mihir-Choudhary wants to merge 1 commit intovolatilityfoundation:developfrom
Open
Add windows.malware.apihooks plugin for Windows API hook detection#1968Mihir-Choudhary wants to merge 1 commit intovolatilityfoundation:developfrom
Mihir-Choudhary wants to merge 1 commit intovolatilityfoundation:developfrom
Conversation
Author
|
Hi, any views on this? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new Windows malware-analysis plugin,
windows.malware.apihooks, that detects several API tampering techniques from memory:The plugin is designed as a combined triage workflow rather than a single-mechanism detector. It also includes scoring and false-positive suppression aimed at reducing benign Windows helper and forwarder noise in default output.
Highlights
push/retpatterns--quickmode to skip inline disassembly for faster triagePID,PPID,Process, andParentProcessin outputTests
Added and updated tests include:
Verification run:
Notes
--lowon very noisy images can use more memory.Related Work
Official Volatility 3 already includes adjacent functionality, but it is split across separate plugins.
windows.iatprovides visibility into imported API relationships,windows.etwpatchtargets ETW patching, and draft PR#1818(inlinehooks plugin & change to avpatch) explores inline-hook and patch-oriented detection.The remaining gap is a unified API-hook triage workflow for Windows memory analysis. The
windows.malware.apihooksplugin addresses that gap by bringing together inline-hook detection, semantic patch detection, IAT analysis, EAT analysis, SSDT analysis, confidence scoring, VAD-backed target evidence, and cross-process correlation in a single plugin.