Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

Process queries the system locale via registry lookup or PowerShell

Siemphony@siemphonylowT1614.001unverified
Matches process creation where reg.exe is invoked against the NLS Language registry path, or where powershell.exe/pwsh.exe runs one of the locale-query cmdlets that wrap GetUserDefaultUILanguage and the related Win32 calls AN1561 names. The brief also offers Security EventID 4657 on the same registry key as a second log source, mapped onto Sigma's registry_set category, but 4657 is "a registry value was modified" — it fires on SetValueKey, not on the read a language-discovery query performs, so that selector would never match this behaviour and is deliberately not authored. The rule is written in the Sysmon EventID 1 process-creation vocabulary the brief also supplies, which needs no extra audit policy; a Security 4688 feed carries the same facts under NewProcessName/CommandLine and additionally needs Audit Process Creation plus Include command line in process creation events enabled. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0565, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

The detection

The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.

detection.yml

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where ((FolderPath endswith "\\reg.exe" and ProcessCommandLine contains "Nls\\Language") or ((FolderPath endswith "\\powershell.exe" or FolderPath endswith "\\pwsh.exe") and (ProcessCommandLine contains "Get-WinSystemLocale" or ProcessCommandLine contains "Get-UICulture" or ProcessCommandLine contains "Get-Culture" or ProcessCommandLine contains "Get-WinUserLanguageList")))

Splunk · SPL

Run this as a search.

index=* ((Image="*\\reg.exe" AND CommandLine="*Nls\\Language*") OR ((Image="*\\powershell.exe" OR Image="*\\pwsh.exe") AND (CommandLine="*Get-WinSystemLocale*" OR CommandLine="*Get-UICulture*" OR CommandLine="*Get-Culture*" OR CommandLine="*Get-WinUserLanguageList*")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*\\\\reg.exe" AND TO_LOWER(process.command_line) LIKE "*nls\\\\language*") OR ((TO_LOWER(process.executable) LIKE "*\\\\powershell.exe" OR TO_LOWER(process.executable) LIKE "*\\\\pwsh.exe") AND (TO_LOWER(process.command_line) LIKE "*get-winsystemlocale*" OR TO_LOWER(process.command_line) LIKE "*get-uiculture*" OR TO_LOWER(process.command_line) LIKE "*get-culture*" OR TO_LOWER(process.command_line) LIKE "*get-winuserlanguagelist*")))

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <!-- 2 rules: the Sigma condition ORs across different fields,       which one rule cannot express. Any one matching is a hit. -->  <rule id="100000" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)\\reg\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)Nls\\Language</field>    <description>Process queries the system locale via registry lookup or PowerShell (1/2)</description>    <mitre>      <id>T1614.001</id>    </mitre>  </rule>   <rule id="100001" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)(\\powershell\.exe$|\\pwsh\.exe$)</field>    <field name="CommandLine" type="pcre2">(?i)(Get-WinSystemLocale|Get-UICulture|Get-Culture|Get-WinUserLanguageList)</field>    <description>Process queries the system locale via registry lookup or PowerShell (2/2)</description>    <mitre>      <id>T1614.001</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.

Log in to report a verdict.

Log in to join the discussion.

No comments yet. Someone who deploys this will have something to say about it.