Skip to content

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

Siemphony’s repertoire

Elevated process started from a writable installer staging directory

Siemphony@siemphonylowT1574.005unverified
Matches Sysmon Process Creation where a process running at High or System integrity was started out of one of the directories a self-extracting installer unpacks into — the per-user %TEMP% tree, or C:\Windows\Temp. That is the payoff step of this technique: a binary sitting in a directory whose permissions let any standard user overwrite it is then executed by the installer under the installer's own elevated token. The two path values are MITRE's MonitoredDirectories knob. MITRE names %TEMP% there; the second value, C:\Windows\Temp, is added by this rule because that is where %TEMP% resolves for an installer running as SYSTEM, and the technique text names neither it nor any other absolute path. The knob's third suggested value, C:\ProgramData, is deliberately left out, because the vendor updaters that live there and run as SYSTEM would swamp everything else the rule returns. IntegrityLevel is the only field on this event that separates the interesting case from a user running something ordinary out of their own temp directory, so it carries the whole discriminating weight of the rule. Three limits are structural. Nothing on a process-creation event distinguishes a planted binary from the installer's own legitimate payload, so this is a hunting filter, not an alert. The file-overwrite half of AN0108 arrives as a separate Sysmon File Creation event, and joining it to the execution inside MITRE's TimeWindow knob is a correlation lib/sigma has no way to express. And the DLL variant — where the elevated installer loads a replaced library rather than executing a replaced EXE — is invisible from here and would need the Module Load source instead. Requires Sysmon with Process Creation enabled and IntegrityLevel carried through the field mapping; if that field is dropped in normalisation the selection silently never matches, which reads as quiet when it means blind. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0038, 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 ((ProcessIntegrityLevel =~ "High" or ProcessIntegrityLevel =~ "System") and (FolderPath contains "\\AppData\\Local\\Temp\\" or FolderPath contains ":\\Windows\\Temp\\"))

Splunk · SPL

Run this as a search.

index=* ((IntegrityLevel="High" OR IntegrityLevel="System") AND (Image="*\\AppData\\Local\\Temp\\*" OR Image="*:\\Windows\\Temp\\*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(IntegrityLevel) == "high" OR TO_LOWER(IntegrityLevel) == "system") AND (TO_LOWER(process.executable) LIKE "*\\\\appdata\\\\local\\\\temp\\\\*" OR TO_LOWER(process.executable) LIKE "*:\\\\windows\\\\temp\\\\*"))

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. -->  <rule id="100000" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="IntegrityLevel" type="pcre2">(?i)(^High$|^System$)</field>    <field name="Image" type="pcre2">(?i)(\\AppData\\Local\\Temp\\|:\\Windows\\Temp\\)</field>    <description>Elevated process started from a writable installer staging directory</description>    <mitre>      <id>T1574.005</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.