-
Notifications
You must be signed in to change notification settings - Fork 206
Add Thread Pool injection techniques #1087
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
Add Thread Pool injection techniques #1087
Conversation
Signed-off-by: Still Hsu <[email protected]>
Signed-off-by: Still Hsu <[email protected]>
mike-hunhoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work @Still34 ! I've left a comment for your review, and, please add a description field to the meta section of each rule containing a high-level summary of the corresponding technique.
nursery/inject-shellcode-using-thread-pool-work-insertion-with-tp_io.yml
Outdated
Show resolved
Hide resolved
|
@Still34 we're failing lints here, see: You can also run our lints locally to double check before your next commit. Also, if you create a PR at https://github.com/mandiant/capa-testfiles for |
Signed-off-by: Still Hsu <[email protected]>
Signed-off-by: Still Hsu <[email protected]>
- Related PR mandiant/capa-rules#1087 Signed-off-by: Still Hsu <[email protected]>
|
I've updated the rules accordingly - please take a look 🫰 |
nursery/inject-shellcode-using-thread-pool-work-insertion-with-tp_io.yml
Outdated
Show resolved
Hide resolved
- Related PR mandiant/capa-rules#1087 Signed-off-by: Still Hsu <[email protected]>
Signed-off-by: Still Hsu <[email protected]>
|
Yeah, that's fair 👍 - removed |
mike-hunhoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
Summary
This PR adds a series of injection techniques mentioned in "The Pool Party You Will Never Forget: New Process Injection Techniques Using Windows Thread Pools" in BlackHat EU 2023; this closes #1008.
The proposed rules may or may not match false positives, and there currently aren't any known in-the-wild samples that use this injection technique; therefore, the proposed rules currently are better fit for the
nurserycategory. The referenced sample is a copy of the locally-compiled version of PoolParty referenced in the original research.