Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"Event": {
"#attributes": {
"xmlns": "http://schemas.microsoft.com/win/2004/08/events/event"
},
"System": {
"Provider": {
"#attributes": {
"Name": "Microsoft-Windows-Sysmon",
"Guid": "5770385F-C22A-43E0-BF4C-06F5698FFBD9"
}
},
"EventID": 1,
"Version": 5,
"Level": 4,
"Task": 1,
"Opcode": 0,
"Keywords": "0x8000000000000000",
"TimeCreated": {
"#attributes": {
"SystemTime": "2026-01-19T16:11:39.281042Z"
}
},
"EventRecordID": 553,
"Correlation": null,
"Execution": {
"#attributes": {
"ProcessID": 5928,
"ThreadID": 9720
}
},
"Channel": "Microsoft-Windows-Sysmon/Operational",
"Computer": "DESKTOP-54JCEU5",
"Security": {
"#attributes": {
"UserID": "S-1-5-18"
}
}
},
"EventData": {
"RuleName": "-",
"UtcTime": "2026-01-19 16:11:39.278",
"ProcessGuid": "34E9093F-57BB-696E-7001-000000000300",
"ProcessId": 4392,
"Image": "C:\\Windows\\System32\\reg.exe",
"FileVersion": "10.0.19041.1 (WinBuild.160101.0800)",
"Description": "Registry Console Tool",
"Product": "Microsoft® Windows® Operating System",
"Company": "Microsoft Corporation",
"OriginalFileName": "reg.exe",
"CommandLine": "reg query HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Nls\\Language",
"CurrentDirectory": "C:\\Users\\marco\\",
"User": "DESKTOP-54JCEU5\\marco",
"LogonGuid": "34E9093F-54FA-696E-7C2B-070000000000",
"LogonId": "0x72b7c",
"TerminalSessionId": 1,
"IntegrityLevel": "Medium",
"Hashes": "MD5=227F63E1D9008B36BDBCC4B397780BE4,SHA256=C0E25B1F9B22DE445298C1E96DDFCEAD265CA030FA6626F61A4A4786CC4A3B7D,IMPHASH=BE482BE427FE212CFEF2CDA0E61F19AC",
"ParentProcessGuid": "34E9093F-57AD-696E-6E01-000000000300",
"ParentProcessId": 12188,
"ParentImage": "C:\\Windows\\System32\\cmd.exe",
"ParentCommandLine": "\"C:\\Windows\\system32\\cmd.exe\"",
"ParentUser": "DESKTOP-54JCEU5\\marco"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
id: 70cc76fe-3470-48ad-b15f-5714ad17a5c6
description: N/A
date: 2026-01-19
author: Marco Pedrinazzi (@pedrinazziM) (InTheCyber)
rule_metadata:
- id: c43a5405-e8e1-4221-9ac9-dbe3fa14e886
title: System Language Discovery via Reg.Exe
regression_tests_info:
- name: Positive Detection Test
type: evtx
provider: Microsoft-Windows-Sysmon
match_count: 1
path: regression_data/rules/windows/process_creation/proc_creation_win_reg_system_language_discovery/c43a5405-e8e1-4221-9ac9-dbe3fa14e886.evtx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
title: System Language Discovery via Reg.Exe
id: c43a5405-e8e1-4221-9ac9-dbe3fa14e886
status: experimental
description: |
Detects the usage of Reg.Exe to query system language settings.
Attackers may discover the system language to determine the geographic location of victims, customize payloads for specific regions,
or avoid targeting certain locales to evade detection.
references:
- https://scythe.io/threat-thursday/threatthursday-darkside-ransomware
author: Marco Pedrinazzi (@pedrinazziM) (InTheCyber)
date: 2026-01-09
tags:
- attack.discovery
- attack.t1614.001
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\reg.exe'
- OriginalFileName: 'reg.exe'
selection_cli:
CommandLine|contains|all:
- 'query'
- 'Control\Nls\Language'
condition: all of selection_*
falsepositives:
- Unknown
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note for myself to double check this before merge.

level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_reg_system_language_discovery/info.yml
simulation:
- type: atomic-red-team
name: Discover System Language by Registry Query
technique: T1614.001
atomic_guid: 631d4cf1-42c9-4209-8fe9-6bd4de9421be
Loading