Enumeration for Credentials in Registry

 Original Source: [Sigma source]
Title: Enumeration for Credentials in Registry
Status: test
Description:Adversaries may search the Registry on compromised systems for insecurely stored credentials. The Windows Registry stores configuration information that can be used by the system or other programs. Adversaries may query the Registry looking for credentials and passwords that have been stored for use by other programs or services
References:
  -https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1552.002/T1552.002.md
Author: frack113
Date: 2021-12-20
modified:2022-12-25
Tags:
  • -'attack.credential-access'
  • -'attack.t1552.002'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  reg:
    Image|endswith: '\reg.exe'
    CommandLine|contains|all:
      -' query '
      -'/t '
      -'REG_SZ'
      -'/s'

  hive:
    - CommandLine|contains|all:
      - '/f '
      - 'HKLM'
    - CommandLine|contains|all:
      - '/f '
      - 'HKCU'
CommandLine|contains:'HKCU\Software\SimonTatham\PuTTY\Sessions'   condition:reg and hive
Falsepositives:
  -Unknown
Level: medium