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

Add .NET AoT & TouchSocket linking detection #948

Merged
merged 2 commits into from
Nov 28, 2024

Conversation

Still34
Copy link
Contributor

@Still34 Still34 commented Oct 24, 2024

Summary

This PR adds a new rule for detecting .NET binaries that are compiled Ahead-of-Time (AoT), as well as another rule for detecting strings related to the TouchSocket library, a Chinese-developed networking library that has been adopted by at least one Chinese APT group.

Related Sample

Additional discussion is required surrounding the example linked in the rule, as both of the rules feature a sample that is a known malicious sample that exceeds 15MB in size and can cause a significant amount of time to process, and may cause timeout for the CI pipeline. I can replace this with a self-written sample Hello World that would meet the requirements for both of these rules and be significantly smaller (~1.6MB) and faster, if other maintainers believe this would be a better approach.

Signed-off-by: Still Hsu <[email protected]>
@mr-tz
Copy link
Collaborator

mr-tz commented Nov 27, 2024

Oh, wow, sorry this fell of our radar! Great updates here. If you can create a small/faster test binary that would be amazing!

Still34 added a commit to Still34/capa-testfiles that referenced this pull request Nov 28, 2024
@mr-tz
Copy link
Collaborator

mr-tz commented Nov 28, 2024

Great, once we have added that to the testfiles and tests pass, this is good to be merged!

@mr-tz mr-tz merged commit 1649218 into mandiant:master Nov 28, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants