Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions nursery/dump-lsass-memory-via-minidumpwritedump.yml
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/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- https://attack.mitre.org/techniques/T1003/001/

- https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump
examples:
- 91a12a4cf437589ba70b1687f5acad19
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The 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
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The 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?

25 changes: 25 additions & 0 deletions nursery/dump-lsass-memory-via-procdump.yml
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/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- https://attack.mitre.org/techniques/T1003/001/

- 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