Quick answer: In cyber security, a payload is the part of an attack that carries out the attacker’s goal, such as encrypting files, opening a backdoor, stealing data or installing more malware. The exploit or delivery method gets the payload onto a system; the payload is what does the damage. Defenses aim to stop delivery, prevent execution and detect payload behavior.
Attacks are easier to understand when you separate how attackers get in from what they do once inside. This guide explains payloads, the main types and how security teams detect and stop them.
Common payload types
| Payload type | What it does | Example |
|---|---|---|
| Ransomware | Encrypts data and demands payment | File encryption with a ransom note |
| Backdoor or remote access tool | Gives the attacker ongoing control | A reverse shell or beacon |
| Information stealer | Collects passwords, cookies and files | Browser credential theft |
| Downloader or dropper | Fetches and installs further malware | A small first-stage loader |
| Wiper | Destroys data | Overwriting disks |
| Cryptominer | Uses resources to mine cryptocurrency | High CPU use on servers |
Many real attacks chain several payloads: a small dropper arrives first, then downloads a remote access tool, which later deploys ransomware. Spotting the early stage gives defenders the best chance.
Exploit vs payload
An exploit takes advantage of a weakness, such as an unpatched vulnerability, to run code. The payload is that code. In a phishing attack, the “exploit” may simply be a person opening a malicious attachment. Frameworks such as Metasploit separate the two explicitly; see Metasploit vs Cobalt Strike.
How payloads are delivered
- Phishing emails with attachments or links; check them with the SLAM method.
- Exploits against unpatched public-facing systems, including zero-day exploits.
- Malicious downloads and baiting lures.
- Compromised software updates in supply chain attacks.
How to defend against payloads
- Patch quickly, prioritizing vulnerabilities in the CISA Known Exploited Vulnerabilities catalog.
- Use endpoint detection that watches behavior, not only file signatures.
- Remove local admin rights and use application allowlisting.
- Filter email and web traffic.
- Keep offline or immutable backups to recover from ransomware and wipers.
Payload behavior is catalogued by technique in MITRE ATT&CK, which helps teams build detections.
Frequently asked questions
What is a payload in cyber security?
It is the part of malware or an attack that performs the malicious action, such as encrypting files or stealing data.
Is a payload the same as malware?
A payload is usually malware, but the term focuses on the component that achieves the attacker’s goal rather than how it was delivered.
What is a staged payload?
A staged payload arrives in parts: a small first stage downloads the larger main payload, which helps attackers avoid detection.
Can antivirus stop payloads?
Traditional antivirus stops many known payloads. Modern endpoint detection adds behavioral analysis to catch new or disguised ones.
Conclusion
Understanding payloads helps you see what attackers want and where to stop them. Block delivery, prevent execution, detect suspicious behavior and keep reliable backups, and even successful intrusions can be contained before the payload does serious harm.

