Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

"Ghost" Code Phishing Analysis

0
Medium
Published: 06/23/2026 (06/23/2026, 22:03:16 UTC)
Source: AlienVault OTX General

Description

EvilTokens is a sophisticated phishing kit that conceals critical components of its attack through browser-side AES-GCM encryption, creating visibility gaps for traditional static URL analysis. The kit exploits Microsoft's legitimate device login flow through OAuth device-code phishing to gain account access without directly stealing passwords. Targeting organizations primarily in the United States and Europe, EvilTokens focuses on managed security services, technology, manufacturing, education, banking, and consulting sectors. The encrypted landing page only reveals its malicious content after browser decryption, requiring dynamic analysis to uncover the complete attack chain. The kit uses multiple stages including gate checks, user code requests, and session monitoring to complete Microsoft 365 account takeovers while appearing legitimate through final redirects to OneDrive.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 17:39:07 UTC

Technical Analysis

EvilTokens is a phishing kit that conceals its malicious payload through browser-side AES-GCM encryption, creating challenges for static detection methods. It exploits the OAuth device-code authentication flow used by Microsoft to perform account takeovers of Microsoft 365 without direct password theft. The attack chain includes multiple stages such as gate checks, user code requests, and session monitoring, culminating in a legitimate-looking redirect to OneDrive. This multi-stage approach and encryption require dynamic analysis to uncover the full attack sequence. The kit targets organizations mainly in the United States and Europe, focusing on several key industries. No CVE or known exploits in the wild are reported, and no patch or remediation is indicated as this is a phishing technique rather than a software vulnerability.

Potential Impact

Successful exploitation results in Microsoft 365 account takeovers without the need to steal passwords directly, potentially leading to unauthorized access to sensitive organizational data and services. The attack's use of encrypted payloads and multi-stage processes complicates detection and analysis, increasing the risk of successful compromise. Targeted sectors include managed security services, technology, manufacturing, education, banking, and consulting in the United States and Europe.

Mitigation Recommendations

No official patch or fix is available as this is a phishing kit exploiting legitimate OAuth device-code flows. Defenders should rely on dynamic analysis tools to detect such encrypted phishing payloads. Organizations should educate users about OAuth device-code phishing risks and monitor for suspicious OAuth device authorization requests. Employing multi-factor authentication and conditional access policies can help reduce the risk of account takeover. Since the attack mimics legitimate Microsoft redirects, enhanced user awareness and behavioral detection are critical.

Affected Countries

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Author
AlienVault
Tlp
white
References
["https://any.run/cybersecurity-blog/eviltokens-ghost-code-analysis/"]
Adversary
null
Pulse Id
6a3b02a43a7a626b53174466
Threat Score
null

Indicators of Compromise

Hash

ValueDescriptionCopy
hashfcd1b654a0b3e8f85ca7cfdafe494d4b

Threat ID: 6a3c12bceed863c81e3015f9

Added to database: 06/24/2026, 17:24:12 UTC

Last enriched: 06/24/2026, 17:39:07 UTC

Last updated: 06/24/2026, 18:38:45 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

External Links

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses