2022-11-13 08:11:16 +00:00
|
|
|
id: basic-auth-detect
|
2020-10-13 18:25:28 +00:00
|
|
|
|
|
|
|
info:
|
2022-11-13 08:11:16 +00:00
|
|
|
name: Basic Auth Detection
|
2023-12-15 02:11:36 +00:00
|
|
|
author: w4cky_,bhutch
|
2020-10-13 18:25:28 +00:00
|
|
|
severity: info
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-12-20 09:48:31 +00:00
|
|
|
shodan-query: "www-authenticate:"
|
|
|
|
tags: tech,basic,auth
|
2020-10-13 18:25:28 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2020-10-13 18:25:28 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2021-01-13 07:31:46 +00:00
|
|
|
- "{{BaseURL}}"
|
2020-10-13 18:25:28 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2023-12-15 02:11:36 +00:00
|
|
|
- type: regex
|
2023-12-20 09:48:31 +00:00
|
|
|
part: header
|
2023-12-15 02:11:36 +00:00
|
|
|
regex:
|
|
|
|
- "(?i)www-authenticate: basic"
|
2023-12-20 09:48:31 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 401
|
2023-12-15 02:11:36 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
2020-10-13 18:25:28 +00:00
|
|
|
part: header
|
2023-12-15 02:11:36 +00:00
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- '(?i)www-authenticate: (basic.*)\r\n'
|
2023-12-20 10:04:09 +00:00
|
|
|
# digest: 4a0a004730450220102b932513cab57316c355c8cba748801af973344f41ab47c477be2fad15d751022100af4bbcb624f60eb8f6329727902f6a8cfe211154ace1c4f911197065db76eeeb:922c64590222798bb761d5b6d8e72950
|