2019-06-09 02:40:28 +00:00
|
|
|
title: Source Code Enumeration Detection by Keyword
|
2019-11-12 22:12:27 +00:00
|
|
|
id: 953d460b-f810-420a-97a2-cfca4c98e602
|
2020-09-15 13:02:30 +00:00
|
|
|
status: experimental
|
2019-06-09 02:40:28 +00:00
|
|
|
description: Detects source code enumeration that use GET requests by keyword searches in URL strings
|
|
|
|
author: James Ahearn
|
2020-01-30 14:32:39 +00:00
|
|
|
date: 2019/06/08
|
2020-09-03 14:04:57 +00:00
|
|
|
modified: 2020/09/03
|
2019-11-12 22:12:27 +00:00
|
|
|
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
|
2019-06-09 02:40:28 +00:00
|
|
|
logsource:
|
|
|
|
category: webserver
|
|
|
|
detection:
|
|
|
|
keywords:
|
|
|
|
- '*.git/*'
|
|
|
|
condition: keywords
|
|
|
|
fields:
|
|
|
|
- client_ip
|
|
|
|
- vhost
|
|
|
|
- url
|
|
|
|
- response
|
|
|
|
falsepositives:
|
|
|
|
- unknown
|
2020-01-30 14:32:39 +00:00
|
|
|
level: medium
|
2020-09-15 13:02:30 +00:00
|
|
|
tags:
|
|
|
|
- attack.discovery
|
|
|
|
- attack.t1083
|