Sigma rule: Source Code Enumeration Detection by Keyword
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-659a59c891f1, updated 2022-10-05T00:00:00.000Z.
Rule
- Title
- Source Code Enumeration Detection by Keyword
- Status
- test
- Level
- medium
- Author
- James Ahearn
- Date
- 2019-06-08
- Modified
- 2022-10-05
- File
- rules/web/webserver_generic/web_source_code_enumeration.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects source code enumeration that use GET requests by keyword searches in URL strings
Log source
- category
- webserver
Detection
keywords:
- '.git/'
condition: keywordsFalse positives (as the rule lists them)
- Unknown
Tags
- attack.discovery
- attack.t1083
MITRE ATT&CK ids this rule names
References
- https://pentester.land/tutorials/2018/10/25/source-code-disclosure-via-exposed-git-folder.html
- https://medium.com/@logicbomb_1/bugbounty-how-i-was-able-to-download-the-source-code-of-indias-largest-telecom-service-52cf5c5640a1
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_source_code_enumeration.yml
Sources and licences
SigmaHQ
"Source Code Enumeration Detection by Keyword" by James Ahearn (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/web/webserver_generic/web_source_code_enumeration.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: Source Code Enumeration Detection by Keyword",
entity page, dataset version ref-659a59c891f1, updated 2022-10-05T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/953d460b-f810-420a-97a2-cfca4c98e602 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 953d460b-f810-420a-97a2-cfca4c98e602, 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.