#GhostCode
New GhostCode Phishing Kit Hijacks Microsoft Accounts Despite MFA hackread.com/ghostcode-ph...
New GhostCode Phishing Kit Hijacks Microsoft Accounts Despite MFA
eSentire uncovers the GhostCode phishing kit abusing Microsoft OAuth to steal tokens, register attacker devices and access Microsoft 365 accounts.
hackread.com
September 21, 2026 at 9:12 PM
GhostCode attackers abuse device codes to take over Microsoft 365 accounts

huntaegis.com
September 19, 2026 at 11:56 AM
GhostCode uses OAuth device-code phishing to steal Microsoft 365 tokens, register attacker devices, and maintain persistent access in victims’ environments.
Save What Matters
Curate Feeds | Make Collections | Customize Email Briefs
briefly.co
September 18, 2026 at 3:37 PM
GhostCode uses OAuth device-code phishing to steal Microsoft 365 tokens, register attacker devices, and maintain persistent access in victims’ environments.
Save What Matters
Curate Feeds | Make Collections | Customize Email Briefs
briefly.co
September 18, 2026 at 3:36 PM
GhostCode uses OAuth device-code phishing to steal Microsoft 365 tokens, register attacker devices, and maintain persistent access in victims’ environments.
Save What Matters
Curate Feeds | Make Collections | Customize Email Briefs
briefly.co
September 18, 2026 at 3:36 PM
GhostCode attackers abuse device codes to take over Microsoft 365 accounts
Microsoft 365 users are being tricked into handing over access to their accounts by a new phishing kit, GhostCode, that exploits a weakness in a legitimate device authorization flow. Researchers in eSentire’s threat response unit identified the campaign in late August 2026. The kit abuses Microsoft’s OAuth 2.0 device authorization grant flow, a legitimate mechanism designed to enable authentication from IoT devices, smart TVs, printers, or other devices that cannot easily support a conventional browser-based login. The technique, known as device-code phishing, has been seen in other attacks before. As part of the flow, the device displays a code for the user to enters in a browser on another device to complete authentication. GhostCode poses as one such device, gets Microsoft’s OAuth to generate a device code and then convinces the victim to enter it on Microsoft’s authentication page. The victim then signs in and completes multifactor authentication as normal — but the authentication is for the attacker-controlled device, allowing them to obtain the resulting authentication tokens. These tokens are then used to register attacker-controlled devices, obtain additional credentials and establish persistence in the victim’s Microsoft environment. In the campaign observed by eSentire, the attack involved a social-engineering setup where attackers pose as procurement officers through a web contact form before moving conversations to an NDA-themed HTML file. Opening the file took the victim to the device-code phishing page. ## Stolen tokens allow persistence GhostCode’s post-authentication activity is focused on turning the stolen access into persistence inside the Microsoft environment. Once access was granted, eSentire recorded nine successful API calls over a 78-second period, involving Microsoft Intune Enrollment, the Device Registration Service, Azure Active Directory and Microsoft Graph. Three devices were registered during that time, at 28, 53 and 77 seconds after authentication, a sequence eSentire said was automated. The third device was also successfully enrolled into Intune, Microsoft’s cloud-based device management service. eSentire noted that Intune enrollment survived token revocation: The attacker-created device remained in the tenant until it iwas explicitly removed. The attackers also obtained a Primary Refresh Token (PRT), which eSentire called “one of the most powerful” credentials in a Microsoft identity environment. “Obtaining a PRT via device code abuse gives the threat actors essentially SSO-equivalent access to the victim’s entire M365 environment for the PRT’s lifetime — including any service not explicitly protected by a Conditional Access policy requiring a compliant device,” eSentire said, adding that the token persists 14 days by default. The attackers also employed multiple evasion techniques, including padding and obfuscating the HTML code in their lure, encrypting redirects, checking for bots, and using Cloudflare Turnstile to keep security tools away from the phishing page. ## What defenders can do To defend against attacks like this, eSentire’s researchers recommend restricting Microsoft’s device-code authentication flow through Conditional Access and disabling it for users who do not need it. It also They also advise monitoring the Device Registration Service for multiple device registrations from a single non-interactive session, and looking for activity involving the user agent python-requests following device-code authentication. Auditing Entra ID for devices matching GhostCode’s naming pattern and correlating successful device-code authentication with subsequent Python-based requests, should be able to catch an attack in progress, the company said. It shared a list of indicators of comprise related to the campaign to aid detection. GhostCode adds to a growing number of attacks abusing device-code phishing to target Microsoft’s OAuth authentication flow. Recent examples include attacks using the “EvilTokens” phishing-as-a-service (PhaaS) kit, a campaign reported by KnowBe4 in February 2026, and activity observed in December 2026 involving multiple clusters, including both financially motivated and state-sponsored actors. _This article first appeared on_ Computerworld_._
www.csoonline.com
September 19, 2026 at 4:25 AM
GhostCode attackers abuse device codes to take over Microsoft 365 accounts
Microsoft 365 users are being tricked into handing over access to their accounts by a new phishing kit, GhostCode, that exploits a weakness in a legitimate device authorization flow. Researchers in eSentire’s threat response unit identified the campaign in late August 2026. The kit abuses Microsoft’s OAuth 2.0 device authorization grant flow, a legitimate mechanism designed to enable authentication from IoT devices, smart TVs, printers, or other devices that cannot easily support a conventional browser-based login. The technique, known as device-code phishing, has been seen in other attacks before. As part of the flow, the device displays a code for the user to enters in a browser on another device to complete authentication. GhostCode poses as one such device, gets Microsoft’s OAuth to generate a device code and then convinces the victim to enter it on Microsoft’s authentication page. The victim then signs in and completes multifactor authentication as normal — but the authentication is for the attacker-controlled device, allowing them to obtain the resulting authentication tokens. These tokens are then used to register attacker-controlled devices, obtain additional credentials and establish persistence in the victim’s Microsoft environment. In the campaign observed by eSentire, the attack involved a social-engineering setup where attackers pose as procurement officers through a web contact form before moving conversations to an NDA-themed HTML file. Opening the file took the victim to the device-code phishing page. ## Stolen tokens allow persistence GhostCode’s post-authentication activity is focused on turning the stolen access into persistence inside the Microsoft environment. Once access was granted, eSentire recorded nine successful API calls over a 78-second period, involving Microsoft Intune Enrollment, the Device Registration Service, Azure Active Directory and Microsoft Graph. Three devices were registered during that time, at 28, 53 and 77 seconds after authentication, a sequence eSentire said was automated. The third device was also successfully enrolled into Intune, Microsoft’s cloud-based device management service. eSentire noted that Intune enrollment survived token revocation: The attacker-created device remained in the tenant until it iwas explicitly removed. The attackers also obtained a Primary Refresh Token (PRT), which eSentire called “one of the most powerful” credentials in a Microsoft identity environment. “Obtaining a PRT via device code abuse gives the threat actors essentially SSO-equivalent access to the victim’s entire M365 environment for the PRT’s lifetime — including any service not explicitly protected by a Conditional Access policy requiring a compliant device,” eSentire said, adding that the token persists 14 days by default. The attackers also employed multiple evasion techniques, including padding and obfuscating the HTML code in their lure, encrypting redirects, checking for bots, and using Cloudflare Turnstile to keep security tools away from the phishing page. ## What defenders can do To defend against attacks like this, eSentire’s researchers recommend restricting Microsoft’s device-code authentication flow through Conditional Access and disabling it for users who do not need it. It also advises monitoring the Device Registration Service for multiple device registrations from a single non-interactive session, and looking for activity involving the user agent python-requests following device-code authentication. Auditing Entra ID for devices matching GhostCode’s naming pattern and correlating successful device-code authentication with subsequent Python-based requests, should be able to catch an attack in progress, the company said. It shared a list of indicators of comprise related to the campaign to aid detection. GhostCode adds to a growing number of attacks abusing device-code phishing to target Microsoft’s OAuth authentication flow. Recent examples include attacks using the “EvilTokens” phishing-as-a-service (PhaaS) kit, a campaign reported by KnowBe4 in February 2026, and activity observed in December 2026 involving multiple clusters, including both financially motivated and state-sponsored actors.
www.computerworld.com
September 19, 2026 at 4:56 AM
GhostCodeの攻撃者、デバイスコードを悪用してMicrosoft 365アカウントを乗っ取り

新種のフィッシングキットは、Microsoftの正規デバイス認証フローを悪用して認証トークンを窃取し、攻撃者が管理するデバイスを登録することで、被害者のMicrosoft 365環境への持続的なアクセスを獲得します。
GhostCodeの攻撃者、デバイスコードを悪用してMicrosoft 365アカウントを乗っ取り
新種のフィッシングキットは、Microsoftの正規デバイス認証フローを悪用して認証トークンを窃取し、攻撃者が管理するデバイスを登録することで、被害者のMicrosoft 365環境への持続的なアクセスを獲得します。
blackhatnews.tokyo
September 18, 2026 at 3:34 PM
The new GhostCode turns Microsoft’s legitimate device authentication flow against its users, stealing valid tokens after MFA and registering attacker-controlled devices in minutes.

Listen/Read: hackread.com/ghostcode-ph...

#Cybersecurity #GhostCode #Phishing #Microsoft365
New GhostCode Phishing Kit Hijacks Microsoft Accounts Despite MFA
eSentire uncovers the GhostCode phishing kit abusing Microsoft OAuth to steal tokens, register attacker devices and access Microsoft 365 accounts.
hackread.com
September 17, 2026 at 3:11 PM
GhostCode Abuses Microsoft Entra Device Enrollment to Maintain Access After Token Revocation https://gbhackers.com/ghostcode-abuses-microsoft-entra/
September 17, 2026 at 8:38 AM
New GhostCode Phishing Kit Bypasses Microsoft 365 MFA to Take Over Accounts 

Researchers have identified an active device code phishing campaign/kit dubbed "GhostCode" that is distributed through web contact forms, whereby threat actors pose as a procurement officer of a legitimate business....
New GhostCode Phishing Kit Bypasses Microsoft 365 MFA to Take Over Accounts 
Researchers have identified an active device code phishing campaign/kit dubbed "GhostCode" that is distributed through web contact forms, whereby threat actors pose as a procurement officer of a legitimate business. Device code phishing kits abuse the OAuth 2.0 device authorization grant flow to gain access to Microsoft accounts Michael Jenkins, CTO at ThreatLocker provided the following comments: "We've known for a while that attackers can get around MFA by stealing valid session tokens or sitting as an attacker-in-the-middle during MFA authentication.
itnerd.blog
September 16, 2026 at 8:20 PM
GhostCode hijacks Microsoft 365 MFA in just 78 seconds via deceptive device-code flow. #CyberSecurity #Phishing #Microsoft365 #MFA #IdentityTheft #CloudSecurity thedailytechfeed.com/ghostcode-ph...
September 16, 2026 at 3:17 PM
「GhostCode」、Microsoftのデバイスコードを悪用してM365トークンを窃取し不正デバイスを登録

eSentireの脅威対応チーム(TRU)は、Microsoftの OAuth 2.0 デバイス認可グラントフローを悪用し、M365アカウントを乗っ取る未確認のデバイスコードフィッシングキット「GhostCode」を発見しました。このキットはプライマリリフレッシュトークン(PRT)を発行し、被害者がMFAを完了してか
「GhostCode」、Microsoftのデバイスコードを悪用してM365トークンを窃取し不正デバイスを登録
eSentireの脅威対応チーム(TRU)は、Microsoftの OAuth 2.0 デバイス認可グラントフローを悪用し、M365アカウントを乗っ取る未確認のデバイスコードフィッシングキット「GhostCode」を発見しました。このキットはプライマリリフレッシュトークン(PRT)を発行し、被害者がMFAを完了してか
blackhatnews.tokyo
September 16, 2026 at 3:46 PM
eSentire TRU dissects the GhostCode phishing kit distributed through web contact forms. Device code phishing kits abuse the OAuth 2.0 device authorization grant flow to gain access to Microsoft accounts. www.esentire.com/blog/ghostco...
September 16, 2026 at 9:37 AM
GhostCode phishing used business outreach and contact forms to abuse Microsoft device codes, steal tokens, and get a Primary Refresh Token in under 78 seconds, using obfuscation, proxy rotation, and trusted services. #GhostCode #Storm2372
GhostCode: Dissecting A Novel Device Code Phishing Kit
eSentire TRU uncovered GhostCode, an active device code phishing campaign delivered through web contact forms and disguised business outreach, which abused Microsoft device code authorization to steal tokens, register devices, and obtain a Primary Refresh Token in under 78 seconds. The campaign used layered HTML obfuscation, WeTransfer-hosted lures, compromised or lookalike infrastructure, residential proxy rotation, and Microsoft/Cloudflare trust signals to bypass detection and complete post-compromise access. #GhostCode #GHOSTnet #EvilTokens #Storm2372 #MicrosoftAuthBroker #CloudflareTurnstile #WeTransfer #Salesforce #BJsWholesaleClub
www.hendryadrian.com
September 16, 2026 at 10:00 AM
Nieuwe Phishingkit Omzeilt Microsoft 365-beveiliging Zonder Wachtwoorden te Stel

Analisten van eSentire hebben eind augustus 2026 een nieuwe phishingkit, genaamd GhostCode, geïdentificeerd. Deze kit omzeilt de beveiliging van Microsoft 365 door accountovername te bewerkstelligen zonder de w...
Nieuwe Phishingkit Omzeilt Microsoft 365-beveiliging Zonder Wachtwoorden te Stelen
Analisten van eSentire hebben eind augustus 2026 een nieuwe phishingkit, genaamd GhostCode, geïdentificeerd. Deze kit omzeilt de beveiliging van Microsoft 365 door accountovername te bewerkstelligen zonder de wachtwoorden van gebruikers te stelen. De aanvalsmethode maakt gebruik van een tactiek die lijkt op 'business-email-compromise' om de verzoeken routineus te laten lijken. De campagne startte met berichten via zakelijke contactformulieren, waarbij aanvallers zich voordeden als inkopers. Vervolgens werden ontvangers verleid tot het ondertekenen van een geheimhoudingsverklaring (NDA) via een WeTransfer-link met een wachtwoordbeveiligde HTML-bijlage. Deze bijlage bevatte een lokmiddel voor...
newsfacts.info
September 16, 2026 at 3:01 PM
March 6, 2026 at 2:24 AM
AUDINT created a myth within this genre a year or two ago, and released it as an LP, along with a graphic novel and narrated storyboard. Their project was called "Ghostcode".

Multimedia is the most urgent mode of expression in the 2020s, IMO…
August 19, 2025 at 12:38 PM
Easily the best beer of the festival.
Drinking: Ghostcode
By: Cloudwater Brew Co.
At: Eastnor Deer Park
🍺🍺🍺🍺🍺
https://untappd.com/user/edent/checkin/1386544935
#untappd
June 2, 2024 at 4:30 PM
Fresh signal detected: Halloween Synthwave 👻 ghostcode amb. 🎵 https://www.youtube.com/watch?v=5_u4lPozkyI #SubroutineOverride #synthwave
October 13, 2025 at 3:15 PM