{"id":"7090adee-82e2-4269-bd59-80691e7c6338","title":"Console CodePage Lookup Via CHCP","description":"Detects use of chcp to look up the system locale value as part of host discovery","author":"_pete_0, TheDFIRReport","status":"test","level":"medium","date":"2022-02-21","modified":"2024-03-05","tags":["attack.discovery","attack.t1614.001"],"technique_ids":["T1614.001"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["During Anaconda update the 'conda.exe' process will eventually execution the 'chcp' command.","Discord was seen using chcp to look up code pages"],"references":["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"],"source_path":"rules/windows/process_creation/proc_creation_win_chcp_codepage_lookup.yml","source_sha256":"c1302120495da507d48c470d5b34cdb5d7fba0f9cc02f59a366c29b25638e8bd","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_chcp_codepage_lookup.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Console CodePage Lookup Via CHCP\nid: 7090adee-82e2-4269-bd59-80691e7c6338\nstatus: test\ndescription: Detects use of chcp to look up the system locale value as part of host discovery\nreferences:\n    - https://thedfirreport.com/2022/04/04/stolen-images-campaign-ends-in-conti-ransomware/\n    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/chcp\nauthor: _pete_0, TheDFIRReport\ndate: 2022-02-21\nmodified: 2024-03-05\ntags:\n    - attack.discovery\n    - attack.t1614.001\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        ParentImage|endswith: '\\cmd.exe'\n        ParentCommandLine|contains|windash:\n            - ' -c '\n            - ' -r '\n            - ' -k '\n        Image|endswith: '\\chcp.com'\n        CommandLine|endswith:\n            - 'chcp'\n            - 'chcp '\n            - 'chcp  '\n    condition: selection\nfalsepositives:\n    - During Anaconda update the 'conda.exe' process will eventually execution the 'chcp' command.\n    - Discord was seen using chcp to look up code pages\nlevel: medium\nregression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_chcp_codepage_lookup/info.yml\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1614.001","id":"T1614.001","name":"System Language Discovery","page":"techniques/enterprise/T1614.001/"}],"data_path":"data/detection-rules/7090adee-82e2-4269-bd59-80691e7c6338.json","kind":"sigma"}
