-
Notifications
You must be signed in to change notification settings - Fork 232
add ProcDump-based LSASS memory dump detection #1139
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| rule: | ||
| meta: | ||
| name: dump LSASS memory via MiniDumpWriteDump | ||
| namespace: collection/credential-dumping | ||
| authors: | ||
| - akshatpal | ||
| scopes: | ||
| static: function | ||
| dynamic: span of calls | ||
| att&ck: | ||
| - Credential Access::OS Credential Dumping::LSASS Memory [T1003.001] | ||
| references: | ||
| - https://attack.mitre.org/techniques/T1003/001/ | ||
| - https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump | ||
| examples: | ||
| - 91a12a4cf437589ba70b1687f5acad19 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add the matched function. |
||
| features: | ||
| - and: | ||
| - match: create process memory minidump | ||
| - optional: | ||
| - string: /\\?lsass(\.exe)?/i | ||
|
Comment on lines
+20
to
+21
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please explain how this can be optional without losing the rule's intent? |
||
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,25 @@ | ||||
| rule: | ||||
| meta: | ||||
| name: dump LSASS memory via ProcDump | ||||
| namespace: collection/credential-dumping | ||||
| authors: | ||||
| - akshatpal | ||||
| scopes: | ||||
| static: function | ||||
| dynamic: span of calls | ||||
| att&ck: | ||||
| - Credential Access::OS Credential Dumping::LSASS Memory [T1003.001] | ||||
| references: | ||||
| - https://attack.mitre.org/techniques/T1003/001/ | ||||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||
| - https://learn.microsoft.com/en-us/sysinternals/downloads/procdump | ||||
| - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Procdump/ | ||||
| features: | ||||
| - and: | ||||
| - match: host-interaction/process/create | ||||
| - string: /(?:sysinternals\\)?procdump(64)?(\.exe)?/i | ||||
| - string: /lsass(\.exe)?/i | ||||
| - or: | ||||
| - string: / -ma(\s|$)/i | ||||
| - string: / -mm(\s|$)/i | ||||
| - string: / -mp(\s|$)/i | ||||
| - string: /\.dmp(\s|$)/i | ||||
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.