Copying Sensitive Files with Credential Data

Files with well-known filenames (sensitive files with credential data) copying

Sigma rule (View on GitHub)

 1title: Copying Sensitive Files with Credential Data
 2id: e7be6119-fc37-43f0-ad4f-1f3f99be2f9f
 3status: test
 4description: Files with well-known filenames (sensitive files with credential data) copying
 5references:
 6    - https://room362.com/post/2013/2013-06-10-volume-shadow-copy-ntdsdit-domain-hashes-remotely-part-1/
 7    - https://www.slideshare.net/heirhabarov/hunting-for-credentials-dumping-in-windows-environment
 8    - https://dfironthemountain.wordpress.com/2018/12/06/locked-file-access-using-esentutl-exe/
 9    - https://github.com/LOLBAS-Project/LOLBAS/blob/2cc01b01132b5c304027a658c698ae09dd6a92bf/yml/OSBinaries/Esentutl.yml
10author: Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community
11date: 2019/10/22
12modified: 2022/11/11
13tags:
14    - attack.credential_access
15    - attack.t1003.002
16    - attack.t1003.003
17    - car.2013-07-001
18    - attack.s0404
19logsource:
20    category: process_creation
21    product: windows
22detection:
23    selection_esent_img:
24        - Image|endswith: '\esentutl.exe'
25        - OriginalFileName: '\esentutl.exe'
26    selection_esent_cli:
27        CommandLine|contains:
28            - 'vss'
29            - ' /m '
30            - ' /y '
31    selection_susp_paths:
32        CommandLine|contains:
33            - '\windows\ntds\ntds.dit'
34            - '\config\sam'
35            - '\config\security'
36            - '\config\system '        # space needed to avoid false positives with \config\systemprofile\
37            - '\repair\sam'
38            - '\repair\system'
39            - '\repair\security'
40            - '\config\RegBack\sam'
41            - '\config\RegBack\system'
42            - '\config\RegBack\security'
43    condition: all of selection_esent_* or selection_susp_paths
44falsepositives:
45    - Copying sensitive files for legitimate use (eg. backup) or forensic investigation by legitimate incident responder or forensic invetigator
46level: high

References

Related rules

to-top