Detection rules › Sigma
Secretdump password dumping via SMB admin share
Detects scenarios where an attacker execute Secretdump in order to remotely dump credentials over SMB.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Credential Access | T1003.002 OS Credential Dumping: Security Account Manager |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Security-Auditing | Event ID 5145 | A network share object was checked to see whether client can be granted desired access. |
Rule body yaml
title: Secretdump password dumping via SMB admin share
description: Detects scenarios where an attacker execute Secretdump in order to remotely dump credentials over SMB.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/T1003-Credential%20dumping
- https://riccardoancarani.github.io/2020-05-10-hunting-for-impacket/
- https://airman604.medium.com/dumping-active-directory-password-hashes-deb9468d1633
- https://medium.com/@benichmt1/secretsdump-demystified-bfd0f933dd9b
tags:
- attack.credential_access
- attack.t1003.002
author: mdecrevoisier
status: experimental
logsource:
product: windows
service: security
detection:
selection:
EventID: 5145
ShareName: '\\*\ADMIN$'
RelativeTargetName|startswith: SYSTEM32
RelativeTargetName|endswith: '.tmp' # example: 'SYSTEM32\NMdzZfem.tmp'
condition: selection
falsepositives:
- none
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
EventID: 5145
ShareName: '\\*\ADMIN$'
RelativeTargetName|startswith: SYSTEM32
RelativeTargetName|endswith: '.tmp'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
RelativeTargetName | ends_with |
|
RelativeTargetName | starts_with |
|
ShareName | wildcard |
|