Detectionhightest
NTDS Exfiltration Filename Patterns
Detects creation of files with specific name patterns seen used in various tools that export the NTDS.DIT for exfiltration.
Florian Roth (Nextron Systems)Created 2022-03-11Updated 2023-05-053a8da4e0-36c1-40d2-8b29-b3e890d5172awindows
Log Source
WindowsFile Event
ProductWindows← raw: windows
CategoryFile Event← raw: file_event
Events for file system activity including creation, modification, and deletion.
Detection Logic
Detection Logic1 selector
detection:
selection:
TargetFilename|endswith:
- '\All.cab' # https://github.com/rapid7/metasploit-framework/blob/eb6535009f5fdafa954525687f09294918b5398d/data/post/powershell/NTDSgrab.ps1
- '.ntds.cleartext' # https://github.com/SecureAuthCorp/impacket/blob/7d2991d78836b376452ca58b3d14daa61b67cb40/impacket/examples/secretsdump.py#L2405
condition: selectionFalse Positives
Unknown
False positive likelihood has not been assessed. Additional context may be needed during triage.
MITRE ATT&CK
Tactics
Sub-techniques
Rule Metadata
Rule ID
3a8da4e0-36c1-40d2-8b29-b3e890d5172a
Status
test
Level
high
Type
Detection
Created
2022-03-11
Modified
2023-05-05
Path
rules/windows/file/file_event/file_event_win_ntds_exfil_tools.yml
Raw Tags
attack.credential-accessattack.t1003.003