Payload

The term "payload" in computing terms can mean several different things. 1) In computer networking, a payload is the part of a data packet containing the transmitted data. 2) In computer security, a payload is the part of a computer virus or other malware containing the code that carries out the virus's harmful activity.

1. Data Packet Payload

A payload is the part of a protocol data unit (PDU) that contains the transmitted data or message. When one device sends data over a network, it needs to combine that data with a header into a packet. A packet's header contains directions from its origin to its destination and instructions on how to reassemble the payload. Once the destination device receives the packet, it discards the header and then reads the data in the payload—much like receiving and opening a letter, discarding the envelope, then reading the message.

An Ethernet frame contains a payload preceded by a header and followed by a frame check sequence (FCS)
An Ethernet frame contains a payload preceded by a header and followed by a frame check sequence (FCS)

How much information a payload can contain varies between protocols. Any piece of data exceeding the payload limit gets split into multiple parts that get reassembled once received. For example, the maximum size of an IP data packet is 64 KB, of which only 20 to 60 bytes are the header, leaving the rest of it to the payload. An Ethernet frame, meanwhile, is only 1500 bytes of payload with 18 bytes of overhead. When an IP data packet travels over Ethernet, it is split—header and all—into smaller pieces that serve as the payloads in a series of Ethernet frames.

2. Malware Payload

A payload is the part of a computer worm or virus that executes the code that conducts malicious activity. Some viruses search for and steal information, monitor activity, delete files, or encrypt files to hold them hostage. The other parts of a virus are the vector, which is the method the virus uses to infect the computer, and the trigger, which is the condition that activates the payload.

Updated October 13, 2022 by Brian P.
Reviewed by Per C.

quizTest Your Knowledge

Verizon's FiOS service transfers data over what type of cable?

A
Coaxial
0%
B
Ethernet
0%
C
Copper
0%
D
Fiber optic
0%
Correct! Incorrect!     View the FiOS definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of Payload on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.