Possible Exports Registry Key To a File (via process_creation)
This rule detects the export of the target Registry key to a file.
SigmalowWindowsv1
sigma
possible-exports-registry-key-to-a-file-via-process-creation
title: Possible Exports Registry Key To a File (via process_creation)
id: 69ec25a0-35d9-560f-823b-d888e1fb6609
status: stable
description: This rule detects the export of the target Registry key to a file.
references:
- https://attack.mitre.org/techniques/T1012/
- https://lolbas-project.github.io/lolbas/Binaries/Regedit/
- https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
author: Huntrule Team
date: 2026-05-26
tags:
- attack.exfiltration
- attack.discovery
- attack.t1012
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\regedit.exe'
- OriginalFileName: 'REGEDIT.EXE'
selection_cli:
CommandLine|contains|windash: ' -E '
filter_1:
CommandLine|contains:
- 'hklm'
- 'hkey_local_machine'
filter_2:
CommandLine|endswith:
- '\system'
- '\sam'
- '\security'
condition: all of selection_* and not all of filter_*
falsepositives:
- Unknown
level: low
Known false positives
- Unknown
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.