Sigma rule: Server Side Template Injection Strings
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-5810e86fdc71, updated 2022-06-14T00:00:00.000Z.
Rule
- Title
- Server Side Template Injection Strings
- Status
- test
- Level
- high
- Author
- Nasreddine Bencherchali (Nextron Systems)
- Date
- 2022-06-14
- File
- rules/web/webserver_generic/web_ssti_in_access_logs.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects SSTI attempts sent via GET requests in access logs
Log source
- category
- webserver
Detection
select_method:
cs-method: 'GET'
keywords:
- '={{'
- '=%7B%7B'
- '=${'
- '=$%7B'
- '=<%='
- '=%3C%25='
- '=@('
- 'freemarker.template.utility.Execute'
- .getClass().forName('javax.script.ScriptEngineManager')
- 'T(org.apache.commons.io.IOUtils)'
filter:
sc-status: 404
condition: select_method and keywords and not filterFalse positives (as the rule lists them)
- User searches in search boxes of the respective website
- Internal vulnerability scanners can cause some serious FPs when used, if you experience a lot of FPs due to this think of adding more filters such as "User Agent" strings and more response codes
Tags
- attack.stealth
- attack.t1221
MITRE ATT&CK ids this rule names
References
- https://book.hacktricks.xyz/pentesting-web/ssti-server-side-template-injection
- https://github.com/payloadbox/ssti-payloads
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/web/webserver_generic/web_ssti_in_access_logs.yml
Sources and licences
SigmaHQ
"Server Side Template Injection Strings" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/web/webserver_generic/web_ssti_in_access_logs.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Server Side Template Injection Strings",
entity page, dataset version ref-5810e86fdc71, updated 2022-06-14T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ada3bc4f-f0fd-42b9-ba91-e105e8af7342 (accessed 2026-11-03).
Underlying source: SigmaHQ rule ada3bc4f-f0fd-42b9-ba91-e105e8af7342, 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.