Skip to content

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

Siemphony’s repertoire

Local or domain password policy queried from the command line

Siemphony@siemphonylowT1201unverified
AN0455's first step is a shell or PowerShell process that reads the password policy, and it names the three commands this rule is built from: `net accounts` (with or without `/domain`) for the local or domain lockout and complexity settings, `secedit /export` for the whole local security policy including the password section, and the Active Directory cmdlets that return the domain default and fine-grained policies. Each selection pins the command to its own binary rather than matching the words alone, so a document or script merely mentioning them does not fire; `net1.exe` is included because `net.exe` hands its arguments to it and both process creations are logged. The analytic's later steps are not attempted: the LDAP read leg on Security 4662 and the "same principal does something else suspicious shortly after" correlation inside MITRE's `TimeWindow` knob need a join lib/sigma cannot express, and MITRE's `PrivilegedUserAllowList` and `HostRoleScope` knobs are deployment filters with no field on this event. One coverage gap is worth stating: the AD cmdlets only appear on a command line when they are passed to `powershell.exe -Command` or run from a script invoked that way — typed into an interactive console they leave nothing here, and are visible only in PowerShell EventID 4104, which requires Script Block Logging to be turned on and is off by default. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0161, 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 "\\net.exe" or FolderPath endswith "\\net1.exe") and ProcessCommandLine contains " accounts") or (FolderPath endswith "\\secedit.exe" and ProcessCommandLine contains "/export") or ((FolderPath endswith "\\powershell.exe" or FolderPath endswith "\\pwsh.exe") and (ProcessCommandLine contains "Get-ADDefaultDomainPasswordPolicy" or ProcessCommandLine contains "Get-ADFineGrainedPasswordPolicy")))

Splunk · SPL

Run this as a search.

index=* (((Image="*\\net.exe" OR Image="*\\net1.exe") AND CommandLine="* accounts*") OR (Image="*\\secedit.exe" AND CommandLine="*/export*") OR ((Image="*\\powershell.exe" OR Image="*\\pwsh.exe") AND (CommandLine="*Get-ADDefaultDomainPasswordPolicy*" OR CommandLine="*Get-ADFineGrainedPasswordPolicy*")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (((TO_LOWER(process.executable) LIKE "*\\\\net.exe" OR TO_LOWER(process.executable) LIKE "*\\\\net1.exe") AND TO_LOWER(process.command_line) LIKE "* accounts*") OR (TO_LOWER(process.executable) LIKE "*\\\\secedit.exe" AND TO_LOWER(process.command_line) LIKE "*/export*") OR ((TO_LOWER(process.executable) LIKE "*\\\\powershell.exe" OR TO_LOWER(process.executable) LIKE "*\\\\pwsh.exe") AND (TO_LOWER(process.command_line) LIKE "*get-addefaultdomainpasswordpolicy*" OR TO_LOWER(process.command_line) LIKE "*get-adfinegrainedpasswordpolicy*")))

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. -->  <!-- 3 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)(\\net\.exe$|\\net1\.exe$)</field>    <field name="CommandLine" type="pcre2">(?i) accounts</field>    <description>Local or domain password policy queried from the command line (1/3)</description>    <mitre>      <id>T1201</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)\\secedit\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)/export</field>    <description>Local or domain password policy queried from the command line (2/3)</description>    <mitre>      <id>T1201</id>    </mitre>  </rule>   <rule id="100002" 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-ADDefaultDomainPasswordPolicy|Get-ADFineGrainedPasswordPolicy)</field>    <description>Local or domain password policy queried from the command line (3/3)</description>    <mitre>      <id>T1201</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.