Skip to content

feat(rules): New LSASS access from unsigned executable rule #476

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

Merged
merged 1 commit into from
Apr 12, 2025
Merged
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
32 changes: 32 additions & 0 deletions rules/credential_access_lsass_access_from_unsigned_executable.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: LSASS access from unsigned executable
id: 348bf896-2201-444f-b1c9-e957a1f063bf
version: 1.0.0
description: |
Detects attempts by an unsigned process to access the Local Security Authority Subsystem Service (LSASS).
Adversaries may try to dump credential information stored in the process memory of LSASS.
labels:
tactic.id: TA0006
tactic.name: Credential Access
tactic.ref: https://attack.mitre.org/tactics/TA0006/
technique.name: OS Credential Dumping
technique.ref: https://attack.mitre.org/techniques/T1003/
subtechnique.id: T1003.001
subtechnique.name: LSASS Memory
subtechnique.ref: https://attack.mitre.org/techniques/T1003/001/
references:
- https://redcanary.com/threat-detection-report/techniques/lsass-memory/

condition: >
sequence
maxspan 7m
by ps.uuid
|load_unsigned_executable|
|((open_process) or (open_thread)) and kevt.arg[exe] imatches '?:\\Windows\\System32\\lsass.exe'|
action:
- name: kill

output: >
Unsigned executable %1.image.path attempted to access Local Security Authority Subsystem Service
severity: high

min-engine-version: 2.2.0
6 changes: 6 additions & 0 deletions rules/macros/macros.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,12 @@
expr: >
load_module and (image.name iendswith '.dll' or image.is_dll)

- macro: load_unsigned_executable
expr: >
load_executable
and
image.signature.type = 'NONE'

- macro: load_untrusted_executable
expr: >
load_executable
Expand Down