Revoking the token didn’t kill the backdoor
A researcher found that revoking tokens does not stop a backdoor that uses a real OneDrive account to steal and replace credentials.
Overview
A researcher analyzed a malicious program called GraphWorm that uses a legitimate OneDrive account to communicate with a computer. The program sends encryptedTurn plaintext into ciphertext with a key files to a cloud folder to receive commands and upload data, which makes it hard to detect because it looks like normal user activity. The attacker stores sensitive access keysThe secret value that locks or opens a message in plain text inside the software, allowing them to control the system without needing a new password. Standard security steps like revoking tokensA short-lived digital pass that a server gives a logged-in user or app do not stop this threat because the malware relies on a different method to maintain access. The implantCustom spyware or backdoor code secretly placed on a target device or router for long-term access identifies the target computer by hashing its network adapter hardware address rather than using a name or IP address. Organizations using Microsoft 365 are affected because the malware hides within their existing cloud services.
Terms in this story
- encrypted
- Turn plaintext into ciphertext with a key. News stories use this verb when a defense scrambles sensitive records before storing them, or when ransomware locks a company's files so staff cannot open them without paying for the key. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 2); Security+ objective 1.4 lists the term
- key
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- token
- 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
- implant
- Custom spyware or backdoor code secretly placed on a target device or router for long-term access. Government espionage reports often describe an implant hidden inside a network appliance or phone that quietly relays traffic back to its handlers for months.
- APT
- A well-funded, organized hacking group, usually backed by a government, that runs long-term spying campaigns. Security companies track each major state-sponsored group as an APT and study how it breaks into government, defense, and technology networks over many years. Security+ objective 2.1 lists the term
- backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- sessions
- 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.
- refresh tokens
- A longer-lived credential that an app uses to obtain a fresh access token when the current one expires. Because a stolen refresh token lets an attacker keep minting new session tokens for weeks, defenders revoke refresh tokens immediately when an account looks compromised.
- adversary-in-the-middle
- An attack where an intruder secretly relays and alters traffic between two sides that think they speak directly. In an adversary-in-the-middle attack, a fake login proxy sits between the victim and the real website, forwarding the password and stealing the session cookie as the user signs in.
- phishing
- Tricking people into handing over passwords or money through fake messages that look real. Attackers send fake emails or messages that copy a bank, school, or login page so a reader types in their password or opens a malicious attachment. Security+ objective 2.2 lists the term
- session cookie
- A small piece of data a website stores in your browser to remember that you are logged in. If an infostealer or phishing proxy copies your session cookie, the attacker can import it into their own browser and step right into your logged-in account, skipping the password and multifactor check.
- revocation
- Officially canceling a digital certificate before its expiration date because its private key was compromised or misissued. When a website's private key leaks, the owner requests certificate revocation so browsers stop trusting anyone who presents that old certificate.
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 CSO Online website. Cite the article, not this page.
Read the full article on CSO Online (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
"...reverse-engineered an implant that runs C2 via a real OneDrive account..." Found by reading the article; these exact words are in it - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Revoking the token didn’t kill the backdoor..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"Every identity-compromise runbook I have written, read or..." Found in the opening sentences - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"......the top: revoke the tokens. Reset the password, kill the sessions, invalidate the refresh..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"Revoking the token didn’t kill the backdoor..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Apply cybersecurity functions (e.g., encryption, access control, and identity management) to reduce exploitation opportunities.
"...the c2 channel is somebodys onedrive..." 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