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

dotnet: emit features from newobj instruction #1186

Merged
merged 4 commits into from
Oct 13, 2022
Merged

dotnet: emit features from newobj instruction #1186

merged 4 commits into from
Oct 13, 2022

Conversation

mike-hunhoff
Copy link
Collaborator

@mike-hunhoff mike-hunhoff commented Oct 11, 2022

Objects created via the newobj instruction are emitted as api features using the hard-coded method name ctor e.g. System.Threading.Mutex::ctor. This addition enables users to write rules specific to objects created at runtime in .NET.

see mandiant/capa-rules#626 for example rules.

closes #1150

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add bug fixes, new features, breaking changes and anything else you think is worthwhile mentioning to the master (unreleased) section of CHANGELOG.md. If no CHANGELOG update is needed add the following to the PR description: [x] No CHANGELOG update needed

@github-actions github-actions bot dismissed their stale review October 11, 2022 17:22

CHANGELOG updated or no update needed, thanks! 😄

tests/fixtures.py Outdated Show resolved Hide resolved
@mike-hunhoff mike-hunhoff merged commit 20c7949 into master Oct 13, 2022
@mike-hunhoff mike-hunhoff deleted the 1150 branch October 13, 2022 14:35
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.

dotnet: emit features for object instantiation via newobj instruction
3 participants