AuthProbe

Recon v2.15.0 — Detects and probes authentication methods on web apps and APIs. Identifies Basic, Digest, NTLM, Bearer, OAuth2/OIDC, form login, session cookies, API keys, and Kerberos. Validates credentials and recommends the best method for Fracture/Siphon.
1
Dependencies
4
Phases
3
Catalogue Findings
AP
Finding Prefix

How It Works

⚠️ Authorized Testing Only

This tool interacts with live systems and must only be used for testing that has been explicitly authorized by the asset owner. Unauthorized use of this tool to probe, scan, exploit, or otherwise interact with systems you do not have written permission to test is illegal under computer fraud and abuse laws (CFAA, CMA, and international equivalents). pr0t31n does not condone or recommend any unauthorized use. Always obtain a signed Rules of Engagement (RoE) or Statement of Work (SoW) before beginning any assessment.

AuthProbe is an authentication detection and probing tool that analyzes a target URL to identify the authentication methods in use and optionally validates credentials against each detected method. It operates entirely in Python using the requests library — no external binaries or subprocess calls are required.

When pointed at a target, AuthProbe performs a series of HTTP requests to detect authentication mechanisms: it checks response headers for WWW-Authenticate challenges (Basic, Digest, NTLM, Negotiate/Kerberos), inspects HTML forms for login fields, probes well-known authentication endpoints (OAuth token URLs, SAML metadata, OpenID Connect discovery), and fingerprints the underlying software platform using the SOFTWARE_FINGERPRINTS pattern database. The fingerprinting engine matches response headers, HTML content, cookies, and URL patterns against known signatures for platforms like WordPress, Drupal, Joomla, Microsoft 365, Okta, Keycloak, FortiGate, Palo Alto, Cisco, and dozens more.

When credentials are provided via --username and --password, AuthProbe attempts to validate them against each detected authentication method, reporting whether the credentials were accepted. This is particularly useful after AuthProbe has been run in discovery mode to identify what authentication methods are available, enabling the tester to target the most promising vector.

AuthProbe integrates with the Crucible management platform via protocol tokens (__CRUCIBLE_LOG__, __CRUCIBLE_STATUS__, __CRUCIBLE_ERR__) when running under CRUCIBLE_MANAGED=1. Its output feeds directly into Fracture and Siphon's authentication configuration, helping those tools authenticate to the target application for deeper testing phases.

Phase Pipeline

  1. Phase 1 — Target Connection
  2. Phase 2 — Technology Fingerprinting
  3. Phase 3 — Authentication Probing
  4. Phase 4 — Results Reporting

Security

CLI tool. Credentials passed via command-line arguments for authentication testing. Rendered mode (--rendered) launches a headless browser with a temporary profile that is cleaned up after the session.

Features

Authentication

22 Authentication Methods
Supports form_login, basic, digest, NTLM/NTLMv2, bearer, session_cookie, token_login, OAuth2/OAuth1a, SAML, OIDC, mTLS, TOTP MFA, WebAuthn probe, API key (header/cookie), Kerberos/delegation, proxy header, and auto-detect
TOTP MFA Completion
When given a TOTP secret, auto-generates and submits time-based one-time passwords to complete multi-factor authentication

Authentication Detection

HTTP Auth Headers
Detects Basic, Digest, NTLM, and Negotiate (Kerberos/SPNEGO) authentication from WWW-Authenticate response headers.
Form-Based Login
Identifies HTML login forms by inspecting input fields (username, password, email, CSRF tokens) and form action URLs.
OAuth / OpenID Connect
Discovers OAuth 2.0 authorization endpoints, token URLs, and OpenID Connect well-known configuration documents.
SAML Detection
Identifies SAML SSO redirects, metadata endpoints, and IdP discovery URLs.
API Key / Bearer Token
Detects API authentication patterns including Bearer token requirements, API key headers, and custom authentication schemes.

Credential Validation

Multi-Method Credential Testing
When credentials are provided, attempts authentication against each detected method and reports success or failure per method.

Detection

Platform Fingerprinting
Identifies 35+ platforms including WordPress, Joomla, Jenkins, GitLab, Grafana, Kibana, Okta, Azure AD, Keycloak, HashiCorp Vault, Cisco ISE, Fortinet, Palo Alto, UniFi, Synology
JavaScript Source Mining
Auto-detect mode crawls and mines JavaScript sources for API patterns, token paths, and auth configurations

Integration

Crucible Protocol Tokens
Emits structured log, status, and error tokens consumed by the Crucible management platform for real-time progress tracking.
Fracture/Siphon Auth Feed
AuthProbe output directly informs Fracture and Siphon authentication configuration, enabling automated auth setup for web and API penetration testing.
Session Builder Mode
--build-session returns a requests.Session object with working authentication, usable by other tools (Fracture, Siphon)

Software Fingerprinting

Platform Identification
Matches response characteristics against the SOFTWARE_FINGERPRINTS database to identify the target platform (WordPress, Okta, FortiGate, Cisco, etc.) with confidence scoring.
Well-Known Endpoint Probing
Probes common authentication-related paths (/login, /auth, /oauth, /saml, /.well-known/openid-configuration, /api/auth) to discover hidden authentication endpoints.

Use Cases

Pre-Test Authentication Discovery

Before configuring Fracture or Siphon for authenticated testing, run AuthProbe against the target to automatically detect all available authentication methods, reducing manual reconnaissance effort and ensuring no auth vectors are overlooked.

Multi-Application Auth Inventory

During a large engagement with dozens of web applications, AuthProbe rapidly inventories the authentication methods across all targets, identifying which use SSO, which have local login forms, and which expose API authentication endpoints.

Portal Platform Identification

AuthProbe's software fingerprinting identifies the underlying platform (e.g., Okta, Keycloak, FortiGate admin panel), which guides the tester toward platform-specific attack techniques and known vulnerabilities.

Credential Validation

After obtaining credentials through other means (breach data, social engineering, password spraying), AuthProbe validates them against detected authentication methods to confirm which credentials are active and which auth vectors they work against.

CLI Reference

Command Examples

Probe URL

python3 authprobe.py --url https://target.com

Detect authentication methods on a URL.

JSON Output

python3 authprobe.py --url https://api.target.com --json

Structured JSON output for tool integration.

With Credentials

python3 authprobe.py --url https://target.com --username admin --password P@ss

Probe with credentials to test if they work.

Rendered Mode

python3 authprobe.py --url https://spa.target.com --rendered

Use headless browser for JavaScript-rendered login pages.

Finding Nomenclature

AuthProbe findings identify detected authentication methods and weaknesses — e.g., HTTP Basic Auth without TLS, form login without CSRF protection, missing account lockout, session cookies without Secure/HttpOnly flags.

Action Items

AuthProbe generates action items for detected auth mechanisms — e.g., "Configure Fracture with detected form login fields", "Test bearer token endpoint with Siphon", "Investigate SSO redirect chain for SAML misconfiguration".

Output Files

FileFormatDescription
meta.json JSON Tool identity and engagement metadata
findings.json JSON Universal findings array v1.1
findings.csv CSV CSV mirror of findings
summary.json JSON Aggregated statistics
scan.log TXT Human-readable timestamped log
scan.log.json JSONL Machine-readable JSON log events
errors.log TXT ERROR-level entries only

Invocation Methods

MethodUsage
CLI — Direct cd /opt/pr0t31n/AuthProbe && python3 authprobe.py [OPTIONS]

Run directly with command-line arguments.

Integration

Used By

Third-Party Dependencies & Credits

Tool / LibraryDeveloperTypeLink
requests Kenneth Reitz / Python Software Foundation python https://github.com/psf/requests

Metadata

NameAuthProbe
CategoryRecon
Version2.15.0
Install Path/opt/pr0t31n/AuthProbe
Main Fileauthprobe.py
GitHubhttps://github.com/pr0t31n/AuthProbe.git