Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

File written to a wallpaper, logon background or intranet web root

Internal defacement on Windows lands as a file write: a new wallpaper, a replaced logon-screen background, or altered content under an intranet web root. This rule matches Sysmon File Creation — which also fires when an existing file is overwritten — on `TargetFilename` under the locations MITRE's FilePathPattern knob names, plus the two logon-branding directories that carry the same behaviour. Path is the only field the analytic actually constrains; MITRE's other knobs, TimeWindow (off-hours) and UserContext (which account is writing), are time and baseline conditions that Sigma cannot hold, so they are left to tuning rather than approximated with fields that would not mean what they appear to. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0082, 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

title: File written to a wallpaper, logon background or intranet web rootid: 81c5145a-2f58-4014-9fe0-88fbfd79b803status: experimentaldescription: |  Internal defacement on Windows lands as a file write: a new wallpaper, a  replaced logon-screen background, or altered content under an intranet web  root. This rule matches Sysmon File Creation — which also fires when an  existing file is overwritten — on `TargetFilename` under the locations MITRE's  FilePathPattern knob names, plus the two logon-branding directories that carry  the same behaviour. Path is the only field the analytic actually constrains;  MITRE's other knobs, TimeWindow (off-hours) and UserContext (which account is  writing), are time and baseline conditions that Sigma cannot hold, so they are  left to tuning rather than approximated with fields that would not mean what  they appear to.  UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0082, not hand-written and not tested by its author. Any lab result is on this rule's own page.references:  - https://attack.mitre.org/techniques/T1491/001  - https://attack.mitre.org/detectionstrategies/DET0082author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags:  - attack.impact  - attack.t1491.001logsource:  category: file_event  product: windowsdetection:  selection:    TargetFilename|contains:      - '\Windows\Web\Wallpaper\'      - '\Windows\Web\Screen\'      - '\Windows\Web\4K\'      - '\AppData\Roaming\Microsoft\Windows\Themes\'      - '\System32\oobe\info\backgrounds\'      - '\inetpub\wwwroot\'  condition: selectionfalsepositives:  - "A user changing their own desktop background, which rewrites TranscodedWallpaper and the slideshow state under %APPDATA%\\Microsoft\\Windows\\Themes on every change. This is the single loudest source here and is why MITRE's UserContext knob matters — the write is expected from explorer.exe under the interactive user, not from a script interpreter or a service account."  - "Corporate branding and theme deployment via Group Policy, MDM or an imaging task sequence, which writes wallpaper and logon-background files across many hosts at once, usually inside a maintenance window."  - "Ordinary publishing to an intranet site — a web deploy, CI release or CMS save writing under \\inetpub\\wwwroot — which is indistinguishable from defacement on path alone and needs the publishing account and change window to separate it."  - "Windows feature and cumulative updates that replace the stock images under %SystemRoot%\\Web after servicing."level: medium

Sentinel · KQL

Run this as a search.

DeviceFileEvents| where (FolderPath contains "\\Windows\\Web\\Wallpaper\\" or FolderPath contains "\\Windows\\Web\\Screen\\" or FolderPath contains "\\Windows\\Web\\4K\\" or FolderPath contains "\\AppData\\Roaming\\Microsoft\\Windows\\Themes\\" or FolderPath contains "\\System32\\oobe\\info\\backgrounds\\" or FolderPath contains "\\inetpub\\wwwroot\\")

Splunk · SPL

Run this as a search.

index=* (TargetFilename="*\\Windows\\Web\\Wallpaper\\*" OR TargetFilename="*\\Windows\\Web\\Screen\\*" OR TargetFilename="*\\Windows\\Web\\4K\\*" OR TargetFilename="*\\AppData\\Roaming\\Microsoft\\Windows\\Themes\\*" OR TargetFilename="*\\System32\\oobe\\info\\backgrounds\\*" OR TargetFilename="*\\inetpub\\wwwroot\\*")

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(file.path) LIKE "*\\\\windows\\\\web\\\\wallpaper\\\\*" OR TO_LOWER(file.path) LIKE "*\\\\windows\\\\web\\\\screen\\\\*" OR TO_LOWER(file.path) LIKE "*\\\\windows\\\\web\\\\4k\\\\*" OR TO_LOWER(file.path) LIKE "*\\\\appdata\\\\roaming\\\\microsoft\\\\windows\\\\themes\\\\*" OR TO_LOWER(file.path) LIKE "*\\\\system32\\\\oobe\\\\info\\\\backgrounds\\\\*" OR TO_LOWER(file.path) LIKE "*\\\\inetpub\\\\wwwroot\\\\*")

Wazuh · XML rule

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

<group name="sigma,windows,file_event,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="7">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="TargetFilename" type="pcre2">(?i)(\\Windows\\Web\\Wallpaper\\|\\Windows\\Web\\Screen\\|\\Windows\\Web\\4K\\|\\AppData\\Roaming\\Microsoft\\Windows\\Themes\\|\\System32\\oobe\\info\\backgrounds\\|\\inetpub\\wwwroot\\)</field>    <description>File written to a wallpaper, logon background or intranet web root</description>    <mitre>      <id>T1491.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.