Skip to content
Open
Show file tree
Hide file tree
Changes from 3 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
rule:
meta:
name: dump LSASS memory via OpenProcess and MiniDumpWriteDump
Comment thread
akshat4703 marked this conversation as resolved.
Outdated
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/processthreadsapi/nf-processthreadsapi-openprocess
- https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump
examples:
- 91a12a4cf437589ba70b1687f5acad19:0x43E1C9
features:
- and:
- match: open process
- match: create process memory minidump
- or:
- substring: "lsass.exe"
- substring: "\\lsass.exe"
Comment thread
akshat4703 marked this conversation as resolved.
Outdated
- optional:
- match: acquire debug privileges
Comment thread
akshat4703 marked this conversation as resolved.
Outdated
31 changes: 31 additions & 0 deletions nursery/dump-lsass-memory-via-procdump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
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/
examples:
- 91a12a4cf437589ba70b1687f5acad19:0x43E1C9
features:
- and:
- match: host-interaction/process/create
- or:
- string: /procdump(64)?(\.exe)?/i
- string: /sysinternals\\procdump(64)?(\.exe)?/i
Comment thread
akshat4703 marked this conversation as resolved.
Outdated
- string: /lsass(\.exe)?/i
- or:
- string: / -ma(\s|$)/i
- string: / -mm(\s|$)/i
- string: / -mp(\s|$)/i
- string: /\.dmp(\s|$)/i
- optional:
- string: /-accepteula/i
Comment thread
akshat4703 marked this conversation as resolved.
Outdated
Loading