2021-11-12 16:59:49 +00:00
|
|
|
id: adfs-detect
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: ADFS Detect
|
2024-06-21 08:28:43 +00:00
|
|
|
author: Adam Crosser,Mys7ic
|
2021-11-12 16:59:49 +00:00
|
|
|
severity: info
|
|
|
|
description: Detects ADFS with forms-based authentication enabled.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: tech,adfs
|
2021-11-12 16:59:49 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-11-12 16:59:49 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/adfs/ls/idpinitiatedsignon.aspx"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
2021-11-12 20:09:02 +00:00
|
|
|
part: body
|
2021-11-12 16:59:49 +00:00
|
|
|
words:
|
|
|
|
- '/adfs/portal/css/style.css'
|
2024-06-21 08:28:43 +00:00
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
name: domain
|
|
|
|
group: 1
|
|
|
|
regex:
|
|
|
|
- 'var\s+userNameValue\s*=\s*''([^\\]*)\\'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200fd3109b341765721cc300a6fc04830ccc8d78a68883b3b08ed48841c3ba1ad3022100a01920ae98b24f8b98962e684308e29f8f3f285540b18504211ad783d94990e4:922c64590222798bb761d5b6d8e72950
|