Suspicious Console CodePage Lookup Through CHCP (via process_creation)

This rule detects use of chcp to look up the system locale value as part of host discovery

SigmamediumWindowsv1
sigma
title: Suspicious Console CodePage Lookup Through CHCP (via process_creation)
id: a8953361-4aa9-57e4-920f-114418d17ec2
status: stable
description: This rule detects use of chcp to look up the system locale value as part of host discovery
references:
    - https://attack.mitre.org/techniques/T1614/001/
    - https://thedfirreport.com/2022/04/04/stolen-images-campaign-ends-in-conti-ransomware/
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chcp
author: Huntrule Team
date: 2026-04-16
tags:
    - attack.discovery
    - attack.t1614.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\cmd.exe'
        ParentCommandLine|contains|windash:
            - ' -c '
            - ' -r '
            - ' -k '
        Image|endswith: '\chcp.com'
        CommandLine|endswith:
            - 'chcp'
            - 'chcp '
            - 'chcp  '
    condition: selection
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_chcp_codepage_lookup/info.yml

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.