Detection rules › Sigma

Registry Export of Third-Party Credentials

Status
experimental
Severity
high
Log source
product windows, category process_creation
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the use of reg.exe to export registry paths associated with third-party credentials. Credential stealers have been known to use this technique to extract sensitive information from the registry.

MITRE ATT&CK coverage

Event coverage

ProviderEventTitle
SysmonEvent ID 1Process creation

Rule body yaml

title: Registry Export of Third-Party Credentials
id: cc1abf27-78a3-4ac5-a51c-f3070b1d8e40
related:
    - id: 87a476dc-0079-4583-a985-dee7a20a03de
      type: similar
status: experimental
description: |
    Detects the use of reg.exe to export registry paths associated with third-party credentials.
    Credential stealers have been known to use this technique to extract sensitive information from the registry.
references:
    - https://www.virustotal.com/gui/file/fdc86a5b3d7df37a72c3272836f743747c47bfbc538f05af9ecf78547fa2e789/behavior
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-05-22
tags:
    - attack.credential-access
    - attack.t1552.002
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\reg.exe'
        - OriginalFileName: 'reg.exe'
    selection_cli_save:
        CommandLine|contains:
            - 'save'
            - 'export'
    selection_cli_path:
        CommandLine|contains:
            - '\Software\Aerofox\Foxmail\V3.1'
            - '\Software\Aerofox\FoxmailPreview'
            - '\Software\DownloadManager\Passwords'
            - '\Software\FTPWare\COREFTP\Sites'
            - '\Software\IncrediMail\Identities'
            - '\Software\Martin Prikryl\WinSCP 2\Sessions'
            - '\Software\Mobatek\MobaXterm'
            - '\Software\OpenSSH\Agent\Keys'
            - '\Software\OpenVPN-GUI\configs'
            - '\Software\ORL\WinVNC3\Password'
            - '\Software\Qualcomm\Eudora\CommandLine'
            - '\Software\RealVNC\WinVNC4'
            - '\Software\RimArts\B2\Settings'
            - '\Software\SimonTatham\PuTTY\Sessions'
            - '\Software\SimonTatham\PuTTY\SshHostKeys'
            - '\Software\Sota\FFFTP'
            - '\Software\TightVNC\Server'
            - '\Software\WOW6432Node\Radmin\v3.0\Server\Parameters\Radmin'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\reg.exe'
    - OriginalFileName: 'reg.exe'

Stage 2: selection_cli_save

selection_cli_save:
    CommandLine|contains:
        - 'save'
        - 'export'

Stage 3: selection_cli_path

selection_cli_path:
    CommandLine|contains:
        - '\Software\Aerofox\Foxmail\V3.1'
        - '\Software\Aerofox\FoxmailPreview'
        - '\Software\DownloadManager\Passwords'
        - '\Software\FTPWare\COREFTP\Sites'
        - '\Software\IncrediMail\Identities'
        - '\Software\Martin Prikryl\WinSCP 2\Sessions'
        - '\Software\Mobatek\MobaXterm'
        - '\Software\OpenSSH\Agent\Keys'
        - '\Software\OpenVPN-GUI\configs'
        - '\Software\ORL\WinVNC3\Password'
        - '\Software\Qualcomm\Eudora\CommandLine'
        - '\Software\RealVNC\WinVNC4'
        - '\Software\RimArts\B2\Settings'
        - '\Software\SimonTatham\PuTTY\Sessions'
        - '\Software\SimonTatham\PuTTY\SshHostKeys'
        - '\Software\Sota\FFFTP'
        - '\Software\TightVNC\Server'
        - '\Software\WOW6432Node\Radmin\v3.0\Server\Parameters\Radmin'

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.

FieldKindValues
CommandLinematch
  • \Software\Aerofox\FoxmailPreview corpus 2 (sigma 2)
  • \Software\Aerofox\Foxmail\V3.1 corpus 2 (sigma 2)
  • \Software\DownloadManager\Passwords corpus 2 (sigma 2)
  • \Software\FTPWare\COREFTP\Sites corpus 2 (sigma 2)
  • \Software\IncrediMail\Identities corpus 2 (sigma 2)
  • \Software\Martin Prikryl\WinSCP 2\Sessions corpus 2 (sigma 2)
  • \Software\Mobatek\MobaXterm
  • \Software\ORL\WinVNC3\Password corpus 2 (sigma 2)
  • \Software\OpenSSH\Agent\Keys corpus 2 (sigma 2)
  • \Software\OpenVPN-GUI\configs corpus 2 (sigma 2)
  • \Software\Qualcomm\Eudora\CommandLine corpus 2 (sigma 2)
  • \Software\RealVNC\WinVNC4 corpus 2 (sigma 2)
  • \Software\RimArts\B2\Settings corpus 2 (sigma 2)
  • \Software\SimonTatham\PuTTY\Sessions corpus 2 (sigma 2)
  • \Software\SimonTatham\PuTTY\SshHostKeys
  • \Software\Sota\FFFTP corpus 2 (sigma 2)
  • \Software\TightVNC\Server corpus 2 (sigma 2)
  • \Software\WOW6432Node\Radmin\v3.0\Server\Parameters\Radmin corpus 2 (sigma 2)
  • export
  • save corpus 2 (sigma 1, kusto 1)
Imageends_with
  • \reg.exe corpus 58 (sigma 58)
OriginalFileNameeq
  • reg.exe corpus 42 (sigma 32, splunk 8, elastic 2)