Join our Newsletter — 33% off our NHI Course
Home› Guides› Malware Loaders and Droppers Guide: First-Stage Malware and…
Guide Attack Techniques & Malware

Malware Loaders and Droppers Guide: First-Stage Malware and Detection

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 26 October 2026 13 min read
On this page

A malware loader is first-stage malware whose job is to get a foothold on a computer and then fetch and run other malware, and a dropper is first-stage malware that carries its payload inside itself and writes it to disk. In plain terms, they are the delivery van, not the cargo: the ransomware, remote access tool or infostealer arrives later, often sold to a different criminal group. That makes a "commodity" loader alert one of the most valuable early warnings a defender gets, because the time between a loader infection and hands-on-keyboard activity is the window in which an intrusion can still be stopped cheaply. This guide explains what loaders and droppers are, how they work at a defensive level, why they matter to the ransomware economy and law enforcement, and how to detect and respond to them with EDR, script control, attack surface reduction (ASR) rules and application control. It is written for SOC analysts, endpoint engineers and incident responders.

Key takeaways

  • Loaders fetch, droppers carry. A loader (also called a downloader) retrieves its next stage from the network, while a dropper unpacks a payload it already contains; many modern families do both, so treat the labels as behaviours rather than strict categories.
  • A loader alert is a ransomware precursor. CISA's #StopRansomware Guide names QakBot, Bumblebee and Emotet as common precursor malware and warns that a ransomware infection may indicate a previous, unresolved compromise.
  • Loaders are a service industry. Operators rent access to infected machines or install other groups' payloads, which is why Europol's Operation Endgame (May 2024 onwards) targeted the "dropper ecosystem" and later its customers.
  • Most loaders need a user and a script engine. Delivery usually relies on a user opening a file (MITRE ATT&CK T1204.002) and then on PowerShell, Windows Script Host or signed system binaries, so script control and ASR rules remove much of the attack surface.
  • Response means finding the chain, not deleting a file. Before restoring or closing a ticket, identify what the loader downloaded, which credentials were exposed and whether access was handed on.

What it is

Both terms describe the first malicious code that runs on a victim device. Neither is usually the attacker's end goal. Their purpose is to establish execution, avoid detection long enough to deliver something else, and sometimes to report back what the device is worth.

TermPlain-language meaningPractitioner definitionMain detection opportunity
DropperA package with the real malware hidden inside itContains an embedded, often encrypted or encoded payload that it decodes and writes to disk or memory (ATT&CK T1027.013, T1140)File creation of executables or DLLs in user-writable paths, followed by execution
Loader / downloaderA small program that phones home and downloads the real malwareRetrieves the next stage from attacker infrastructure (ATT&CK T1105 Ingress Tool Transfer), then executes or injects itOutbound connections from unusual processes, script engines or system binaries, followed by new processes
StagerThe smallest possible first stepMinimal code, often a script or shellcode, that pulls a larger component; common in post-exploitation frameworksScript block logging, memory scanning, short-lived network connections
Botnet loader / malware-as-a-serviceRented infection capacityA persistent loader on many devices whose operator installs third-party payloads for paying customersRepeated beaconing to command and control (TA0011), periodic new payloads

MITRE ATT&CK reflects how blurred the categories are. It describes Emotet (S0367) as modular malware primarily used as a downloader for other families such as TrickBot and IcedID, Bumblebee (S1039) as a custom loader used by multiple actors, including possible initial access brokers, since at least March 2022, and Latrodectus (S1160) as a Windows downloader used since at least 2023 and most often distributed by email. QakBot (S0650) began as a banking trojan and evolved into a loader. For classifying malware more broadly by type, family and behaviour, see the Malware Guide.

How it works

The details vary by family, but each stage below is a point where a control can stop the chain or a log can record it.

  1. Delivery: an email attachment or link (T1566.001), a malicious advert or poisoned search result, or a fake software update. Containers such as ZIP archives, ISO images and HTML pages that assemble a file in the browser are used to slip past gateway filters and Mark-of-the-Web checks. See the ISO and Container File Malware Delivery Guide, the HTML Smuggling Guide and the Malvertising and SEO Poisoning Guide.
  2. User execution: the user opens a document, script, shortcut or installer (T1204.002). Office macros were the dominant trigger until Microsoft began blocking macros in internet files by default in 2022; delivery then shifted towards shortcut files, scripts and disk images. See the Macro Malware Guide and the Malicious LNK Files Guide.
  3. Script or proxy execution: the first-stage file usually hands off to an interpreter such as PowerShell (T1059.001) or the Windows command shell (T1059.003), or to a signed Windows binary such as mshta (T1218.005), so that the visible process looks legitimate. See the Living off the Land Guide.
  4. Unpack or download: a dropper decodes its embedded payload; a loader contacts its infrastructure and fetches the next stage. Obfuscation and packing (T1027) are the norm, and some loaders check the environment for sandboxes before continuing.
  5. Execute and persist: the payload is run, often injected into another process or kept largely in memory (see the Fileless Malware Guide), and persistence is set through scheduled tasks, Run keys or startup shortcuts.
  6. Triage and hand-off: the loader reports host details, and the operator decides what to install next: an infostealer, a remote access tool, a post-exploitation framework, or access sold to a ransomware affiliate.

Why it matters

The ransomware pipeline

Loaders sit at the start of most commodity ransomware intrusions. The US Department of Justice, announcing the QakBot takedown on 29 August 2023, said the FBI had identified more than 700,000 infected computers worldwide, that QakBot spread mainly through spam with malicious attachments or links, and that ransomware groups including Conti, ProLock, Egregor, REvil, MegaCortex and Black Basta used it as an entry point. CISA's #StopRansomware Guide says loader operators often sell network access and that responders should identify dropper malware such as Bumblebee, Dridex, Emotet, QakBot or Anchor before rebuilding from backups, to prevent continued compromise. See the Ransomware Prevention Guide and the Top 10 Ransomware Initial Access Vectors.

Loader-as-a-service

Loader operators rarely deploy ransomware themselves. They run distribution (spam campaigns, malvertising), maintain the botnet and sell either installs of a customer's payload or interactive access to selected victims. It also explains why loader families reappear under new names after disruption: the business model survives the takedown of one codebase.

Law enforcement disruption

ActionDateWhat the official source states
QakBot disruption (US-led, with Eurojust, Europol and authorities in France, Germany, the Netherlands, the UK, Romania and Latvia)August 2023More than 700,000 infected computers identified; about USD 8.6 million in cryptocurrency seized (US Department of Justice)
Operation Endgame, first action27 to 29 May 2024Coordinated from Europol headquarters against the droppers IcedID, SystemBC, Pikabot, Smokeloader and Bumblebee; over 100 servers taken down and four arrests (Europol)
Operation Endgame follow-upEarly 2025Targeted the customers of the botnets, the "demand side"; a database seized in May 2024 helped link online personas to real people; five detentions and interrogations (Europol)
Operation Endgame further phase2025Dismantled infrastructure behind malware used to launch ransomware attacks, including new variants and successor groups; EUR 3.5 million in cryptocurrency seized that week, bringing the operation's total to more than EUR 21.2 million (Europol)

For defenders the lesson is practical: disruptions reduce volume for a while, then successors appear. Detection should rest on behaviours that every loader needs, not on the names of this year's families.

Where identity fits

Loaders frequently install infostealers that harvest browser passwords, session cookies, API keys and cloud tokens from the infected device, and those secrets outlive the malware. Treat every confirmed loader infection as a credential exposure for the user and for any service account, developer token or SSH key present on the device. See the Infostealer Threat Guide.

Detection and controls

The following Microsoft Defender ASR rules (names as in Microsoft's ASR rules reference) target the stages above; equivalent controls exist in other EDR platforms.

StageControlATT&CK / D3FEND
DeliveryEmail attachment filtering of executable, script, shortcut and disk image types; "Block executable content from email client and webmail"T1566.001
User execution"Block executable files from running unless they meet a prevalence, age, or trusted list criterion"; SmartScreen; Office macro blockingT1204.002, M1038
Script execution"Block JavaScript or VBScript from launching downloaded executable content"; "Block execution of potentially obfuscated scripts"; disable Windows Script Host where unused; PowerShell Constrained Language Mode under application controlT1059.001, T1027
Office hand-off"Block all Office applications from creating child processes"; "Block Office applications from creating executable content"T1204.002, M1040
Payload executionApp Control for Business or AppLocker allowlisting of user-writable paths; EDR behavioural blockingD3-EAL Executable Allowlisting, M1038
Download and C2Proxy and DNS filtering, alerting on script engines and system binaries making outbound connectionsT1105, TA0011
Ransomware stage"Use advanced protection against ransomware"; "Block process creations originating from PSExec and WMI commands"M1040

Microsoft notes that the email and JavaScript/VBScript rules depend on cloud-delivered protection settings, and that rules can be set to off (0), block (1), audit (2) or warn (6). ASR events are written to the Microsoft-Windows-Windows Defender/Operational log: event 1121 when a rule blocks, 1122 when an audit-mode rule would have blocked, 1129 when a user overrides a warn-mode block, and 5007 when settings change. See the Application Allowlisting Guide and the PowerShell Security Guide.

Rolling out the controls:

  1. Block the riskiest attachment types at the email gateway first, including inside archives where the gateway can inspect them; CISA advises reviewing attachment filter lists at least twice a year because password-protected archives can evade scanning.
  2. Enable Microsoft's "standard protection" ASR rules in block mode, which Microsoft says can be done without extensive testing, and put the script and Office rules into audit mode on all devices.
  3. Review 1122 events for two to four weeks, add narrow per-rule exclusions for genuine business processes, then move rules to block for a pilot ring before broad deployment. Roll back by returning a rule to audit (2) through the same management channel, never by adding broad path exclusions.
  4. Restrict or disable Windows Script Host and the mshta handler where not needed, and enable PowerShell script block, module and transcription logging, retained for at least 180 days as CISA recommends.
  5. Deploy application control in audit mode for user-writable locations (Downloads, AppData, Temp), then enforce.
  6. Write detections for script engines and signed system binaries spawning network connections or child processes, and for new executables written to user-writable paths and run within minutes.

Metrics that show it is working:

  • Percentage of Windows endpoints with the script and Office ASR rules in block mode (target above 95 percent).
  • Number of ASR warn-mode overrides (event 1129) per month, trending down.
  • Median time from first loader alert to device isolation.
  • Percentage of loader incidents where credentials on the device were reset or revoked within 24 hours.
  • Number of high-risk attachment types delivered to mailboxes (target zero).

Response to a loader infection

  1. Isolate the device through EDR and preserve memory and the EDR timeline before reimaging.
  2. Reconstruct the chain: delivery message or download, first execution, every downloaded stage and every outbound destination.
  3. Hunt for the same indicators and behaviours across the estate, including other recipients of the same campaign. See the Threat Hunting Guide.
  4. Reset the user's password, revoke sessions and tokens, and rotate any secrets stored on the device.
  5. Check for signs of follow-on activity: new remote access tools, post-exploitation beacons, discovery commands or lateral movement. If present, escalate to a full incident. See the Incident Response Guide.

Common misconceptions

  • "It was quarantined, so it is over." A loader that ran for even a few minutes may already have downloaded a payload or exfiltrated credentials. Quarantining the first file does not tell you what else executed.
  • "Commodity malware is low priority." Commodity loaders are precisely how many ransomware intrusions begin, as the QakBot and Endgame cases show. Severity should follow what the loader can lead to, not how common it is.
  • "Takedowns ended the problem." Europol's own later announcements describe successor groups and new variants re-emerging after the 2024 action.
  • "Macros are blocked, so email attachments are safe." Attackers moved to shortcuts, scripts, disk images, HTML smuggling and malicious add-ins. See the Office Macro Blocking Guide.
  • "Antivirus signatures are enough." Loaders are repacked constantly. Behavioural detection of script engines, system binaries and download-then-execute patterns is what survives family changes.
ConceptRelationship to loaders and droppersFramework reference
Initial access brokerSells access gained through loader infections to ransomware affiliatesATT&CK resource development (T1588.001 Malware)
InfostealerA common payload installed by loaders; steals credentials and tokensSee the Infostealer Threat Guide
Living off the landLoaders use signed system binaries and script engines to look legitimateT1218, T1059
Fileless malwareLater stages often run in memory after a loader injects themT1027
Mark-of-the-Web bypassContainer formats used to strip the "downloaded from the internet" flagT1553.005

Framework mapping: NIST CSF 2.0 places these controls under PR.PS (platform security, including PR.PS-05, which covers preventing installation and execution of unauthorised software) and DE.CM (continuous monitoring). In NIST SP 800-53 Rev. 5 the relevant controls are SI-3 Malicious Code Protection, SI-4 System Monitoring, CM-7(5) authorised software allowlisting and SI-8 Spam Protection. CIS Controls v8.1 Control 2 (inventory and control of software assets, including 2.7 allowlist authorised scripts), Control 9 (email and web browser protections) and Control 10 (malware defences) apply, as does ISO/IEC 27001:2022 Annex A 8.7 Protection against malware.

Practitioner checklist

  • Treat any loader or dropper detection as a potential ransomware precursor with incident-level triage.
  • Block executable, script, shortcut and disk image attachments at the email gateway and review the list twice a year.
  • Put the script, Office and prevalence ASR rules (or EDR equivalents) into audit, review 1122 events, then enforce.
  • Disable Windows Script Host and unused script handlers; log PowerShell and retain logs for 180 days.
  • Enforce application control on user-writable paths.
  • Alert on script engines and system binaries making outbound connections or writing executables.
  • Reset credentials, revoke sessions and rotate secrets on every confirmed loader infection.
  • Hunt for follow-on tooling before closing the incident, and before restoring from backup after ransomware.

Standards and references

Related NHI Mgmt Group resources: Malware Guide · Macro Malware Guide · Ransomware Prevention Guide · EDR Guide · Infostealer Threat Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 26 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.