GhostCode Attack: From Contact Form to Account Takeover
A business contact form can be used to steal a Microsoft session, according to a report on the GhostCode attack.
Overview
In August 2026, eSentire documented a phishing kitA packaged set of fake web pages and scripts that lets an attacker clone a login site quickly called GhostCode that begins with a standard business contact form and ends in the theft of a Microsoft 365 account. The attack does not use a technical exploitA piece of code or technique that uses a software flaw to break into or crash a system to break into the system but instead abuses the normal workflow of a company. An attacker submits a plausible inquiry, and when an employee replies from a legitimate account, the conversation gains credibility. The attacker then shares a document through a cloud service, which contains a password-protected HTML file. This file directs the victim to a real Microsoft sign-in page where they complete multi-factor authentication, unknowingly authorizing the attacker. The final result is that an ordinary employee who responds to a business inquiry can have their Microsoft account taken over without realizing they have been compromised.
Terms in this story
- phishing kit
- A packaged set of fake web pages and scripts that lets an attacker clone a login site quickly. Criminals buy or download a phishing kit that copies a popular email or banking login screen and automatically sends stolen passwords and session tokens to a chat channel.
- exploit
- A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
- Account Takeover
- When an attacker steals login access to a real user's account and locks the owner out. After an account takeover through phishing or credential stuffing, criminals change the victim's recovery email or phone number and use the account for fraud or further attacks. Security+ objective 2.4 lists the term
- tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- attack chain
- The full sequence of steps an intruder takes from initial break-in to final goal. Incident reports map out the full attack chain, such as a phishing email that drops a loader, steals domain credentials, and finally deploys ransomware across servers.
- session
- An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
- device code phishing
- Tricking a user into entering an attacker's activation code on a real login page. The login flow meant for smart televisions and command-line tools displays a short code, and in device code phishing the scammer gives their code to the victim to approve.
- MFA
- A login check that requires two or more separate proofs of identity before granting access. With multi-factor authentication turned on, an attacker who steals your password still cannot sign in without the second factor, such as a code from your phone or a hardware key. Security+ objective 4.6 lists the term
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- authorization
- Checking whether an already logged-in user or program has permission to perform a specific action. Authentication checks who you are at the front door, while authorization decides whether your student account is allowed to read only your own grades or edit the class roster.
- signature
- A known byte pattern or hash that antivirus tools match against files, or a cryptographic proof of origin. In security news, a signature means either a pattern that scanners use to recognize known malware or a cryptographic signature that proves a software update was not altered.
- social engineering
- Manipulating people into giving up access or secrets instead of breaking in through a technical flaw. An attacker might call a company help desk pretending to be a locked-out employee and talk the staff member into resetting the account's password. Security+ objective 2.2 lists the term
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Doppel website. Cite the article, not this page.
Read the full article on Doppel (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"GhostCode analysis (opens in new tab) documented a phishing kit..." Found by reading the article; these exact words are in it - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"GhostCode Attack: From Contact Form to Account Takeover..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"GhostCode Attack: From Contact Form to Account Takeover..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Skill in identifying cyber threats which may jeopardize organization and/or partner interests.
"The final lure uses device code phishing..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role