Office Test registry key set to load a DLL at Office startup
Matches a registry value written anywhere beneath the Office Test key that AN0880 describes, `...\Microsoft\Office test\Special\Perf`, whose contents are loaded into every Office application at startup. No Office installer creates this key, so the path itself is the entire signal and no second condition is needed to make it specific. The match is a `contains` on TargetObject rather than an `endswith` on the key path, because the DLL is normally written to the *default* value of Perf and a Sysmon EventID 13 record appends the value name — `\Office test\Special\Perf\(Default)` — so an endswith anchored on `Perf` would miss precisely the deployment form the technique uses, and a trailing backslash would miss it for the same reason. Nothing to the left of `\Office test` is anchored, which is deliberate: it covers the HKCU and HKLM keys MITRE lists and the Wow6432Node redirection in one term, and Sysmon writes HKCU as HKU followed by the account SID, so a hive prefix could not be matched literally anyway. The DLL actually loading into winword.exe or excel.exe is Sysmon EventID 7 in a different log source and is not covered here. Registry monitoring in a Sysmon configuration is an explicit allowlist of paths, so confirm `Office test` is inside yours before reading an empty result as an absence of this technique. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0315, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
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.
DeviceRegistryEvents| where RegistryKey contains "\\Office test\\Special\\Perf"
Splunk · SPL
Run this as a search.
index=* TargetObject="*\\Office test\\Special\\Perf*"Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE TO_LOWER(registry.path) LIKE "*\\\\office test\\\\special\\\\perf*"
Wazuh · XML rule
Deploy to your manager — this is a rule, not a search.
<group name="sigma,windows,registry_set,"> <!-- Rule ids must be unique on your manager; 100000+ is the user range. --> <rule id="100000" level="12"> <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. --> <field name="TargetObject" type="pcre2">(?i)\\Office test\\Special\\Perf</field> <description>Office Test registry key set to load a DLL at Office startup</description> <mitre> <id>T1137.002</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo 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.