DESCAM Logo

DESCAM

System Initialized
Core Value“Nation first, always first.” Every student we train and every school we protect is a step toward a safer, self-reliant digital India.
Threat IntelligenceThreat Severity: Critical AitM9 min read

Reverse-Proxy Phishing: Bypassing SMS OTP & Session Hijacking in Indian Banking Portals

How adversaries deploy Evilginx3 and Modlishka transparent reverse proxies to harvest live session tokens and circumvent multi-factor authentication.

DE
DESCAM Research Team
Offensive Security & Red Team
25 August 20260% Read
Traditional SMS-based 2FA is no longer sufficient against AitM (Adversary-in-the-Middle) phishing campaigns. Learn how transparent proxying captures live session cookies and how FIDO2 WebAuthn provides origin-bound cryptographic protection.

Adversary-in-the-Middle (AitM) phishing frameworks like Evilginx3, Muraena, and Modlishka have fundamentally transformed the economics of credential harvesting. Rather than cloning static HTML login pages, modern threat actors proxy genuine HTTP traffic between the victim and the legitimate banking portal in real time.

How AitM Proxies Bypass Multi-Factor Authentication#

When a victim clicks an AitM phishing link:

The proxy server forwards the victim's requests to the real corporate identity provider (IdP) or banking endpoint.
The authentic server generates an SMS OTP challenge, which the proxy displays to the victim.
The victim inputs their valid 6-digit OTP.
The proxy submits the OTP to the legitimate server, successfully completing authentication.
The legitimate server issues an authorized HTTP session cookie (e.g., ASP.NET_SessionId, JSESSIONID, or JSON Web Token).
The proxy intercepts the Set-Cookie response header, saves the authenticated token into a database, and redirects the victim to a decoy confirmation page.

With the harvested session token, the attacker imports the cookie directly into their browser, bypassing credentials and OTP validation entirely.

Mitigating AitM with FIDO2 / WebAuthn Hardware Authentication#

The only cryptographically resilient defense against AitM transparent proxies is FIDO2 / WebAuthn (Passkeys / Hardware Tokens):

FIDO2 authenticators bind cryptographic signatures to the browser's current TLS origin domain (window.location.origin).
If an attacker hosts the proxy on secure-bank-login-verify.in, the hardware token generates a signature for the fake domain.
When the proxy passes this signature to bank.com, the bank's cryptographic verification fails immediately because of the domain origin mismatch.

DESCAM RESEARCH TEAM

Actionable Implementation Checklist

Check off actionable defense measures as your team reviews or implements them:

Was this technical analysis valuable?

Your feedback helps our researchers prioritize future threat reports.

Share Dossier:
DE

DESCAM Research Team

Verified Security Researcher

Security researcher, systems architect, and founder at DESCAM Cybersecurity LLP. Specializes in threat intelligence, virtual security ranges (VSR), malware analysis, and empowering Indian schools, universities, and enterprise organizations with defensive cyber infrastructure.