-
Notifications
You must be signed in to change notification settings - Fork 786
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
3168 mimikatz collector settings #3267
Conversation
2d27089
to
e6308fe
Compare
monkey/agent_plugins/credentials_collectors/mimikatz/config-schema.json
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,11 @@ | |||
{ | |||
"required": ["exclude_username_prefix"], | |||
"properties": { |
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.
We decided not to allow the user to select credential types?
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.
Nope, but we a tightly coupled to how Pypykatz is naming the credential types. See this
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #3267 +/- ##
========================================
Coverage 73.39% 73.39%
========================================
Files 482 482
Lines 13882 13882
========================================
Hits 10189 10189
Misses 3693 3693 ☔ View full report in Codecov by Sentry. |
bb1b9cd
to
6761eab
Compare
"title": "Excluded username prefix", | ||
"description": "A username prefix for which Mimikatz will not collect credentials.", | ||
"type": "string", | ||
"default": "somenewuser" |
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.
I don't think we should have a default for this.
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.
We already have it hardcoded in the monkey model.
USERNAME_PREFIX = "somenewuser" |
- windows | ||
title: Mimikatz Credentials Collector | ||
version: 1.0.0 | ||
description: Collects credentials from Windows credential manager. |
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.
description: Collects credentials from Windows credential manager. | |
description: Collects credentials from Windows Credential Manager using Mimikatz. |
class MimikatzOptions(InfectionMonkeyBaseModel): | ||
excluded_username_prefix: str = Field( | ||
default="somenewuser", | ||
description="Mimikatz will not collect credentials for any user whos username" |
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.
description="Mimikatz will not collect credentials for any user whos username" | |
description="Mimikatz will not collect credentials for any user whose username" |
What does this PR do?
Fixes part of #3168 .
Add any further explanations here.
PR Checklist
Testing Checklist