EvilTokens Hides Its Attack Flow in the Browser, Exposing Static Analysis Gaps
EvilTokens hid phishing pages by encrypting them in initial HTML responses, requiring browser-side decryption to reveal the attack flow.
Overview
A phishing campaign called EvilTokens is hiding its attack flow by encrypting the malicious page before it reaches the user. The content is only decrypted and displayed after the browser runs specific JavaScriptThe programming language that web browsers run to make web pages interactive, and that also runs on servers code. This technique prevents standard static analysisScanning a program's source code or binary file for security flaws without actually running the program tools from seeing the actual phishing pageTricking people into handing over passwords or money through fake messages that look real in the initial server response. The campaign abuses Microsoft Device Code authenticationVerifying that a user, device, or program really is who it claims to be before allowing access to target multiple organizations. Analysts face a visibility gap because the malicious content is not present in the raw data they typically review. This delay slows down the triageSorting incoming security alerts or bug reports by urgency so the worst problems get handled first process and makes it harder to confirm account takeoverWhen an attacker steals login access to a real user's account and locks the owner out risks for affected organizations.
Terms in this story
- 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.
- Static Analysis
- Scanning a program's source code or binary file for security flaws without actually running the program. Software teams run static analysis in their build pipeline to spot SQL injection or buffer overflow patterns automatically whenever a developer submits code. Security+ objective 4.1 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
- authentication
- Verifying that a user, device, or program really is who it claims to be before allowing access. When you enter a password, scan a fingerprint, or present a key, authentication checks your identity before a server decides what your account is allowed to do.
- triage
- Sorting incoming security alerts or bug reports by urgency so the worst problems get handled first. A security team receives thousands of automated alerts a day and uses triage to separate harmless noise from an active break-in that needs attention right away.
- 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
- 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)
- URL
- The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
- 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
- DOM
- The structured tree of objects a web browser builds in memory to represent a web page. Web scripts read and edit the DOM to update a page without reloading it, and cross-site scripting in the DOM happens when a script writes untrusted input straight into that tree.
- 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.
- 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.
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 Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (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
"EvilTokens is drawing attention in phishing investigations..." Found by reading the article; these exact words are in it - Security+ 1.4 Explain the importance of using appropriate cryptographic solutions.
"......recent analysis, the phishing page was found encrypted in the initial HTML response and appeared..." Found in the opening sentences - Security+ 2.2 Explain common threat vectors and attack surfaces.
"EvilTokens is drawing attention in phishing investigations for abusing Microsoft Device Code authentication..." Found in the opening sentences - Security+ 4.1 Given a scenario, apply common security techniques to computing resources.
"......Its Attack Flow in the Browser, Exposing Static Analysis Gaps..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"......Its Attack Flow in the Browser, Exposing Static Analysis Gaps..." Found in the headline - Security+ 4.5 Given a scenario, modify enterprise capabilities to enhance security.
"......parts of its attack flow from static URL analysis. In a recent analysis, the phishing..." Found in the opening sentences - Security+ 4.8 Explain appropriate incident response activities.
"EvilTokens is drawing attention in phishing investigations for abusing Microsoft Device Code authentication and..." Found in the opening sentences - Security+ 5.6 Given a scenario, implement security awareness practices.
"EvilTokens is drawing attention in phishing investigations for abusing Microsoft Device Code authentication..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"EvilTokens is drawing attention in phishing investigations for abusing Microsoft Device Code authentication..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......phishing investigations for abusing Microsoft Device Code authentication and hiding key parts of its attack..." Found in the opening sentences - CYBR 101 week 4: encoding, ciphers, symmetric and asymmetric encryption
"......recent analysis, the phishing page was found encrypted in the initial HTML response and appeared..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of malware triage.
"Analysts may review a suspicious URL and find little evidence..." 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