Possible Suspicious Registry File Imported Through Reg.EXE (via process_creation)

This rule detects the import of '.reg' files from anomalous paths using the 'reg.exe' utility

SigmamediumWindowsv1
sigma
title: Possible Suspicious Registry File Imported Through Reg.EXE (via process_creation)
id: 1b8b508a-9716-50ce-9e99-2c5ed1d8576b
status: stable
description: This rule detects the import of '.reg' files from anomalous paths using the 'reg.exe' utility
references:
    - https://attack.mitre.org/techniques/T1112/
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/reg-import
author: Huntrule Team
date: 2026-07-07
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\reg.exe'
        - OriginalFileName: 'reg.exe'
    selection_cli:
        CommandLine|contains: ' import '
    selection_paths:
        CommandLine|contains:
            - 'C:\Users\'
            - '%temp%'
            - '%tmp%'
            - '%appdata%'
            - '\AppData\Local\Temp\'
            - 'C:\Windows\Temp\'
            - 'C:\ProgramData\'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

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.