OAuth Token Theft Through Microsoft's Front Door | Huntress
A researcher found a Microsoft-signed Windows binary that can fetch and run remote code, enabling attackers to steal OAuth tokens without dropping unsigned files.
Overview
A security researcher discovered a method to steal Microsoft login credentials by using a signed Windows program called WWAHost.exe. This program is designed to display web content and has access to the system tools that handle secure sign-ins. The attacker created a simple package that tricked the program into opening a genuine Microsoft login window on the user's screen. Because the login window was real and came from a trusted Microsoft process, the user completed the sign-in and multi-factor authentication without suspicion. The attacker then captured the access and refresh tokensA longer-lived credential that an app uses to obtain a fresh access token when the current one expires that the system generated after the user logged in.
Terms in this story
- refresh token
- 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.
- OAuth 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
- binary
- Base 2, where each byte is written as 8 ones and zeros. In security news, the word binary refers either to raw data made of ones and zeros or to a compiled executable program that runs directly on a computer's processor. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- OAuth
- An open standard that lets one app use another service without sharing your password. When you click a button to sign in with an existing account or let a calendar app read your schedule, OAuth issues an access token without sharing your password. Security+ objective 4.6 lists the term
- domain
- The human-readable name for a website or a centrally managed group of workplace computers. In security stories, domain refers either to a web address that criminals register for phishing or to an organization's internal computer network managed by a central server.
- spoofed
- Forging the sender address, caller ID, or domain name on a message to impersonate someone else. Criminals use spoofing to make a phone call display a bank's real customer service number or make an email header look like it came from a company executive.
- JavaScript
- The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
- Runtime
- The environment in which a program executes, or the period of time while the program is actively running. A flaw in a container or language runtime can let a program escape its isolation, and runtime security tools watch what a program actually does in memory while it runs.
- API
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- 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
- phishing page
- 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
- lookalike domain
- A web address registered by an attacker that closely mimics a real organization's domain name. By swapping one letter or adding a hyphen in a lookalike domain, phishers trick employees into thinking a login page or email came from their own company.
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 Huntress website. Cite the article, not this page.
Read the full article on Huntress (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
"...oauth token theft through microsofts front door..." Found by reading the article; these exact words are in it - Who is affected: "Microsoft login..."
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"......into an OAuth token theft tool. No phishing domain, no spoofed UI, no browser." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"OAuth Token Theft Through Microsoft's Front Door |..." Found in the headline - Security+ 5.6 Given a scenario, implement security awareness practices.
"......into an OAuth token theft tool. No phishing domain, no spoofed UI, no browser." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"......into an OAuth token theft tool. No phishing domain, no spoofed UI, no browser." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of web applications and their common attack vectors.
"...remote javascript it renders doesnt just run..." 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