• caglararli@hotmail.com
  • 05386281520

SSOh-No – User Enumeration And Password Spraying Tool For Testing Azure AD

Çağlar Arlı      -    10 Views

SSOh-No – User Enumeration And Password Spraying Tool For Testing Azure AD


This tool is designed to enumerate users, password spray and perform brute force attacks against any organisation that utilises Azure AD or O365.

Generally, this endpoint provides extremely verbose errors which can be leveraged to enumerate users and validate their passwords via brute force/spraying attacks, while also failing to log any failed authentication attempts.

This tool is a weaponised version of a PoC demonstrated in the arstechnica research article which discusses the techniques utilised to exploit the endpoint.

This endpoint is known to Microsoft however, in typical fashion it has been branded a feature, not a bug.

This endpoint does enforce "smart locking" which can be bypassed by rotating IP.


Why Is This Unique?

The SSO Autologon endpoint does not contain logging of any sort bar potentially updating the users "Last Logon" time.

The following have been tested and contain no logs:

  • AzureAD
  • Sentinel
  • Defender for Identity (Formerly Advanced Thread Protection)
  • Defender for Cloud Apps

Usage

$ ./SSOh-No -h  usage: SSOh-No [-h|--help] [-e|--email "<value>"] [-p|--password "<value>"]                 [-U|--userlist "<value>"] [-o|--outfile "<value>"]                   Enumerate and abuse a sub-par Azure SSO endpoint.    Arguments:      -h  --help      Print help information    -e  --email     Email address to query. Example: user@domain.com    -p  --password  Password to spray. Example: Password123!    -U  --userlist  Specify userlist to enumerate    -o  --outfile   Specify outfile. Example: validated.txt  

Upcoming Features

  • Proxy Implementation to bypass smart lock
  • Password brute force from password lists (single user- No plans for password list brute force against a userlist)