id: adfs-detect info: name: ADFS Detect author: Adam Crosser,Mys7ic severity: info description: Detects ADFS with forms-based authentication enabled. metadata: max-request: 1 tags: tech,adfs http: - method: GET path: - "{{BaseURL}}/adfs/ls/idpinitiatedsignon.aspx" matchers-condition: and matchers: - type: word part: body words: - '/adfs/portal/css/style.css' extractors: - type: regex part: body name: domain group: 1 regex: - 'var\s+userNameValue\s*=\s*''([^\\]*)\\' # digest: 4b0a00483046022100e9eb95794b5a4d8caa628cd3bf3a52b902b1958a250bfec5e6c7f9798e12262f022100db220f7c5b1b6eaabd6405c5292ade83f775623c355eeb6ea6001c44ed63243e:922c64590222798bb761d5b6d8e72950