Forg365 PhaaS: Device Code & AitM Attacks on Microsoft 365

Introduction
In recent months a fresh phishing‑as‑a‑service campaign has emerged, targeting the widely used Microsoft 365 suite. The group behind it, known as Forg365, combines device code phishing with adversary‑in‑the‑middle (AitM) session hijacking, leverages artificial intelligence to craft convincing messages, and includes steps to stay hidden from automated bot defenses.
Rising PhaaS Threat Landscape: Device Code Phishing Meets Cloud Productivity
The shift toward cloud‑based productivity suites has created new opportunities for attackers. Rather than relying solely on credential theft, modern PhaaS operators focus on the authentication flow itself. By abusing the device code grant that Microsoft 365 uses for device enrollment, the campaign can capture a one‑time code, then use it to obtain a valid token that bypasses traditional password checks. This approach sidesteps many of the legacy phishing defenses that look for malicious links or attachments, allowing the attacker to remain invisible until the compromised session is fully established.
Because the victim’s device is often a personal phone or a rarely used computer, the code is displayed on a screen that the user trusts, increasing the likelihood of acceptance. Once the code is entered, the attacker gains a short‑lived access token that can be reused across multiple services within the tenant, effectively granting broad privileges without the need for password reuse or credential stuffing.
Technical Mechanics: Device Code Phishing and AitM Session Hijacking
Device code phishing works by mimicking the legitimate Microsoft login page that shows a numeric code and a URL. The attacker sends a message that includes the code and a link, prompting the target to type the code into a web page they control. The captured code is then submitted to the real Microsoft authentication endpoint, which validates it and returns an access token. The attacker can immediately use this token to request mailbox data, send malicious emails, or move laterally within the organization.
Adjacent to this, the AitM technique intercepts the authentication exchange in real time. By positioning a malicious proxy between the user’s device and the Microsoft login server, the attacker can substitute the legitimate session token with a counterfeit one. This allows the adversary to act as a man‑in‑the‑middle, reading and modifying emails, calendar entries, and other mailbox content without alerting the user or the service provider. The combination of device code capture and AitM token substitution creates a powerful, stealthy foothold that is difficult to detect with standard security tools.
AI‑Powered Lure Creation and Antibot Evasion Strategies
What sets this campaign apart is its use of generative AI to craft personalized lure content. The operators feed contextual data—such as the target’s name, department, or recent activity—into an AI model that produces convincing email subject lines and body text. This level of personalization dramatically raises the success rate compared to generic phishing blasts.
To evade automated bot detection, the campaign incorporates antibot measures. These include randomized request headers, delayed response times, and the use of residential IP proxies that mimic genuine user traffic. Additionally, the phishing pages are served through JavaScript‑obfuscated code that only renders after a short delay, making it harder for headless browsers and security scanners to identify the malicious payload.
Delivery Channels and Pricing Model: Telegram Distribution and Affordable Access
The service is marketed and delivered through the messaging platform Telegram, where the operators maintain a private channel that houses the phishing kits, step‑by‑step guides, and support. This choice of channel provides a degree of anonymity and rapid dissemination, allowing the service to reach a global audience of would‑be attackers.
Pricing is structured as a subscription: $400 per month or an annual commitment of $3,800. This tiered model lowers the barrier to entry, enabling smaller groups or individual actors to purchase the kit without a large upfront investment. The cost includes updates to the phishing templates, access to AI‑generated lure generators, and technical support for integrating the stolen tokens into the victim’s environment.
Impact on Microsoft 365 Users and Defensive Measures
When successful, the attack can lead to full mailbox compromise, unauthorized data exfiltration, and the creation of persistent backdoors that survive password resets. Because the stolen tokens are valid for a limited window, the attacker must act quickly, but the window is often long enough to harvest sensitive information, send fraudulent communications, or install additional malware.
Grivyonx Expert Analysis
The convergence of AI‑driven content generation with sophisticated token‑theft techniques represents a new frontier in phishing operations. By automating the creation of hyper‑personalized lures, the campaign reduces the human effort traditionally required for social engineering, while antibot evasion layers make the infrastructure resilient to automated scanning. For security teams, the key takeaway is that defending against credential‑less attacks demands a shift from perimeter‑focused controls to continuous monitoring of authentication flows, robust MFA enforcement, and rapid detection of anomalous token usage across the Microsoft 365 ecosystem.
Conclusion
The Forg365 operation illustrates how inexpensive, AI‑enhanced phishing kits can be weaponized against major cloud productivity platforms. As attackers refine their ability to blend device code phishing with real‑time session hijacking, the importance of layered defenses—especially MFA, token monitoring, and user education—becomes ever more critical. Grivyonx Cloud continues to invest in AI‑powered automation and advanced threat intelligence to stay ahead of emerging tactics, helping organizations protect their digital assets without relying on reactive, signature‑only solutions.
- #phishing
- #Microsoft365
- #AitM
- #Telegram
- #AI
- #Cybersecurity
- #Cloud



