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 Windows.Detection.Yara.Process #1140

Merged
merged 4 commits into from
Jul 13, 2021
Merged

Conversation

mgreen27
Copy link
Collaborator

Consolidated a few yara detection rules into a standard Windows.Detection.Yara.Process confirming to the ntfs and glob yara standard.

Windows.Detection.ProcessMemory.CobaltStrike
Windows.Detection.RemoteYara.Process
Windows.Detection.ProcessMemory
= Windows.Detection.Yara.Process

@mgreen27
Copy link
Collaborator Author

Searching for CobaltStrike will still pop Windows.Detection.Yara.Process and the CobaltStrike yara rule is default for this artifact.

image


Note: the Yara scan will stop after one hit.

type: CLIENT
parameters:
- name: ProcessRegex
Copy link
Contributor

Choose a reason for hiding this comment

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

we seem to have lost the whitelist from above? this could be useful

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed it as I never really used it and post processed whitelists. Do you think its worth adding back in?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think it is useful - sometimes we need to avoid scanning sensitive processes (like lssas.exe) because it will also trigger EDRs as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just added whitelist capability in with placeholder path.

@scudette scudette merged commit 8e060d4 into Velocidex:master Jul 13, 2021
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.

3 participants