What is a difference between payload and a virus? how to scan virus using cmd ?

cybsec learning
3 min readApr 11, 2022

--

In terms of Software Language, a virus is a program which can harm the
device when the virus is executed. In simple words, virus is a type of
program which makes or force your device to work in unfamiliar ways.
There are only those viruses which destroy your device disks, or forcefully
deletes the file that you don’t want to delete. There are also those viruses
that will transfer personal information to the attacker’s device. Those
attackers were usually considered as Hackers.

A payload refers to the component of a computer virus that executes a malicious activity. Apart from the speed in which a virus spreads, the threat level of a virus is calculated by the damages it causes. Viruses with more powerful payloads tend to be more harmful.

Although not all viruses carry a payload, a few payloads are considered extremely dangerous. Some of the examples of payloads are data destruction, offensive messages and the delivery of spam emails through the infected user’s account.

Some of the ways to execute a payload include:

  • By using an unprotected computer (computer without an anti-virus installed) connected to a network
  • By booting the computer using an infected removable medium
  • By opening an infected file
  • By executing an infected program
  • By activating a logic bomb

BIGGEST DIFFERENCE IS THAT , virus is (computing) a program which can covertly transmit itself between computers via networks (especially the internet) or removable storage such as cds, usb drives, floppy disks, etc, often causing damage to systems and data; also computer virus while payload is (computing) the functional part of a computer virus rather than the part that spreads it.

How to scan virus using CMD?

To scan your computer for viruses using the command-line tool, you need to follow these steps:

#1. Start the command prompt as administrator.

#2. Type sfc /scannow in cmd and press enter.

#3. Wait for the verification process to complete, it may take a couple of minutes depending on your system drive size.

#4. Once the process completes you will get the following output in the command prompt if the scanning process does not find any infected files or viruses.

--

--