Create sig for network activity from unbacked memory#550
Create sig for network activity from unbacked memory#550kevoreilly merged 10 commits intoCAPESandbox:masterfrom
Conversation
For C2 detection of network activity/suspicious activity from unbacked (detected by tracking dynamically allocated) memory to try and detect things like shellcode, beacons etc.
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces a set of new Cuckoo Sandbox signatures designed to bolster command-and-control (C2) detection capabilities. By meticulously tracking dynamically allocated memory regions and monitoring network-related API calls originating from these "unbacked" areas, the changes aim to identify sophisticated fileless malware techniques, such as shellcode execution, C2 beaconing, DNS exfiltration, and bind shell establishment, which often evade traditional signature-based detection. Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces three new Cuckoo signatures to detect network activity from unbacked memory, which is a valuable technique for identifying fileless malware. The signatures for network connections, DNS resolution, and bind shells are well-defined. The main feedback is regarding significant code duplication across the three new signature classes. Refactoring this into a common base class would greatly improve the maintainability of the code. A specific suggestion has been added to the review.
For C2 detection of network activity/suspicious activity from unbacked (detected by tracking dynamically allocated) memory to try and detect things like shellcode, beacons etc.
OysterLoader used by Rysida ransomware group 32b0f69e2d046cb835060751fcda28b633cbbd964e6e54dbbc1482fff4d51b57

Xworm

Lumma
