Sigma rule: Suspicious File Write to Webapps Root Directory

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-4edd5628d842, updated 2025-10-20T00:00:00.000Z.

Rule

Title
Suspicious File Write to Webapps Root Directory
Status
experimental
Level
medium
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Date
2025-10-20
File
rules/windows/file/file_event/file_event_win_susp_file_write_in_webapps_root.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects suspicious file writes to the root directory of web applications, particularly Apache web servers or Tomcat servers.
This may indicate an attempt to deploy malicious files such as web shells or other unauthorized scripts.

Log source

product
windows
category
file_event

Detection

# Add more suspicious processes or paths or extensions as needed
selection_susp_img:
    Image|endswith:
        - '\dotnet.exe'
        - '\w3wp.exe'
        - '\java.exe'
selection_servers:
    TargetFilename|contains:
        - '\apache'
        - '\tomcat'
selection_path:
    TargetFilename|contains: '\webapps\ROOT\'
selection_susp_extensions:
    TargetFilename|endswith: '.jsp'
condition: all of selection_*

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.persistence
  • attack.t1505.003
  • attack.initial-access
  • attack.t1190

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_file_write_in_webapps_root.yml

Sources and licences

  • SigmaHQ

    "Suspicious File Write to Webapps Root Directory" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_susp_file_write_in_webapps_root.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Suspicious File Write to Webapps Root Directory",
entity page, dataset version ref-4edd5628d842, updated 2025-10-20T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/89c42960-f244-4dad-9151-ae9b1a3287a2 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 89c42960-f244-4dad-9151-ae9b1a3287a2, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.