What Is Malware?
Malware is software, firmware, or code written to run an unauthorized process on a system and compromise the confidentiality, integrity, or availability of its data, applications, or operating system. Intent separates it from software that causes harm by accident: a buggy update that corrupts files is a defect, while a program intentionally inserted for a harmful purpose (opens in new tab) to steal, encrypt, destroy, or surveil is malware.
The word contracts "malicious software" and covers viruses, worms, Trojans, ransomware, spyware, rootkits, and modern loaders and stealers.
How malware works
Malware moves through three stages: it reaches a system, it executes, and it carries out the objective its operator built it for. Phishing attachments and links (opens in new tab) deliver malicious code once the recipient opens the file or follows the link, which is why the message typically poses as a trusted source.
Malicious search ads, poisoned search results, trojanized installers, fake browser updates, and compromised websites serve the same purpose with different bait.
ClickFix is a prominent current form of that bait. A page impersonating a brand or a CAPTCHA check tells the visitor to paste and run a command (opens in new tab) in the Run dialog, Terminal, or PowerShell, framed as a verification step or a quick fix. The user launches the payload without downloading a suspicious file or seeing an unsolicited link to doubt.
Once running, the code does its job. An infostealer reads browser credentials, session cookies, and crypto wallets and sends them to an attacker-controlled channel. A loader fetches a second payload, while ransomware encrypts files and leaves a note.
In March 2025, operators impersonated Booking.com (opens in new tab) and used fake CAPTCHA prompts to deliver Lumma Stealer. The impersonated company's own systems stay untouched, because attackers use its brand solely as bait (opens in new tab) to persuade the target to execute the file.
Why malware is hard to stop
ClickFix was the most common initial access method (opens in new tab) in incidents Microsoft Defender Experts investigated, and criminal and nation-state actors both used it to deliver infostealers, RATs, and worms. The same lure delivers different payloads (opens in new tab), from infostealers like Lumma to RATs like XWorm and AsyncRAT, so a control tuned to one stealer family misses the next one operators push through the same fake CAPTCHA page.
Antivirus can miss executables (opens in new tab) that use compression, encryption, or obfuscation, and fileless techniques that run from memory (opens in new tab) through PowerShell or WMI leave little on disk to match.
Disruption displaces activity instead of ending it. In May 2025, Microsoft's Digital Crimes Unit seized about 2,300 Lumma domains (opens in new tab) and the US Department of Justice seized its command structure, with Europol's support. Afterward, Vidar rose to the top (opens in new tab) of the Russian Market's infostealer listings, while Telegram channels circulate stolen logs and advertise the stealers. Attackers treat the stolen material itself as the commodity.
Stealer logs can hold corporate VPN, email, cloud, and SSO credentials that initial access brokers value, and stolen session cookies (opens in new tab) can let a buyer bypass MFA.
Types of malware
Classification follows two questions: how the code spreads and what it does once it runs. The types a security team meets most often:
- Virus: Code that replicates by modifying other programs (opens in new tab) to include a copy of itself. A virus depends on a host and runs only when its host runs.
- Worm: A self-contained program (opens in new tab) that runs independently and propagates itself across a network onto other hosts, with no user action required.
- Trojan: A self-contained, nonreplicating program that looks benign and carries a hidden malicious purpose. Trojans rely on tricking users into installing them and often deliver other tools.
- Loader or dropper: A Trojan subtype built to install or download further payloads. PhantomVAI Loader, originally named for Katz Stealer, now delivers AsyncRAT (opens in new tab), XWorm, FormBook, and DCRat.
- Remote access trojan (RAT) and backdoor: Gives the operator remote control of the host and a persistent foothold for whatever comes next.
- Infostealer: Searches the host for credentials, cookies, Wi-Fi passwords, and cryptocurrency wallets and exfiltrates them (opens in new tab), usually over a simple Discord or Telegram channel.
- Ransomware: Encrypts files (opens in new tab) and demands payment in exchange for decryption. Entry points include phishing, internet-facing vulnerabilities, and misconfigurations.
- Spyware and keyloggers: Monitor activity without the user's knowledge, and keyloggers capture keystrokes (opens in new tab) to intercept credentials as users type.
- Wiper: Destroys data and can pose as ransomware (opens in new tab) with no recovery option. WhisperGate is one example.
- Rootkit: Hides programs, files, and network connections by intercepting operating system calls (opens in new tab).
Fileless malware (opens in new tab) describes a technique rather than a family, and both ransomware and backdoors have used it. Real samples also cross categories: a single loader can drop an infostealer and a RAT, as PhantomVAI does.
How to defend against malware
Organizations divide malware defenses between controls on their own endpoints and identities and controls on the external surface where attackers impersonate their brands to deliver the payload. The endpoint and identity controls that matter most:
- Prioritize phishing-resistant MFA (opens in new tab) for email, VPNs, and accounts that reach critical systems. Least privilege (opens in new tab) restricts users' ability to install and run software.
- Deploy application allowlisting or EDR (opens in new tab) on all assets, while email filters block unnecessary file types and sandbox attachments. Administrators keep macros disabled by default (opens in new tab).
- Use network segmentation (opens in new tab) to limit lateral movement, and keep offline, encrypted, tested backups for the ransomware case.
On the human and impersonation layer, train employees on advanced social engineering, including how to recognize illegitimate websites and search results, which is where ClickFix pages and poisoned ads live. Email authentication with DMARC, SPF, and DKIM makes it harder to spoof your domain in lures. Beyond your own domain, security teams dismantle cloned download pages, scam ads, fake app listings, and lookalike domains by reporting each asset to hosts and registrars before employees or customers reach it.
How Doppel helps
Doppel is the agentic Social Engineering Defense (SED) platform that unifies Digital Risk Protection (DRP) and Human Risk Management (HRM), and it dismantles the impersonation infrastructure that delivers malware. Your EDR detects the payload after it runs.
When attackers use lookalike domains, poisoned ads, fake apps, and spoofed profiles to deliver malware, Brand Protection detects and dismantles that infrastructure. The Doppel Threat Graph clusters the assets into one campaign view, so the platform takes down domains, ad accounts, and landing kits together even when operators swap the stealer behind a fake CAPTCHA page. Agentic AI correlates the signals, executes takedowns through platform APIs, and routes only novel escalations to analysts.
The platform feeds these detections into HRM, converting a live ClickFix or fake-update lure into a Simulation campaign with one click. Security Awareness Training then shows employees the exact prompt they will see.
Request a demo to see the campaigns currently delivering malware against your brand and the takedowns in flight and work that makes an organization too costly to attack.
Frequently asked questions about malware
What is malware?
Malware, short for malicious software, is any program, script, or firmware intentionally inserted into a system for a harmful purpose (opens in new tab). The harm can be stolen data, files encrypted for ransom, destroyed systems, spying on users, or an attacker's remote control. The author's intent is what makes the code malware, while software that damages a system by accident is a bug. Viruses, worms, Trojans, ransomware, spyware, infostealers, and rootkits are all forms of malware.
What is malware in cybersecurity?
In cybersecurity, malware is the tooling attackers deploy once a lure or exploit gives them a way to run code on a target. It usually arrives through a phishing attachment or link (opens in new tab), a malicious ad or search result, a trojanized installer, or a page that tells the user to paste a command into a terminal. Defenders counter it with layered controls: phishing-resistant multi-factor authentication, least privilege, patching, application allowlisting, endpoint detection and response, filtered email and web traffic, and offline backups. Because much of today's malware reaches employees through impersonated brands and software, defense also extends to dismantling the fake sites, ads, and apps that deliver it.
What is the difference between malware and a virus?
Malware is the umbrella term for all malicious software, and a virus is one type within it. A virus replicates by inserting copies of itself into other programs and runs only when its host program runs. A worm, by contrast, is self-contained and spreads across a network on its own, while a Trojan does not replicate at all and relies on a user installing it. Some samples fit several categories at once.
What is an example of malware?
Lumma Stealer is a malware-as-a-service tool that steals passwords, credit cards, bank accounts, and cryptocurrency wallets and is sold to other criminals. In a March 2025 campaign, a page impersonating Booking.com showed targets a fake CAPTCHA prompt that persuaded them to run the payload themselves. One impersonation lure was enough to expose credentials and financial data.

