Lec 3
Lec 3
UNIVERSITY COLLEGE
PHARMACY DEPARTMENT
SECOND STAGE
computer
Lec.3
Computer Virus Definition
A computer virus is an ill-natured software application
or authored code that can attach itself to other
programs, self-replicate, and spread itself onto other
devices. When executed, a virus modifies other
computer programs by inserting its code into them. If
the virus’s replication is successful, the affected device
is considered “infected” with a computer virus.
The malicious activity carried out by the virus’s code
can damage the local file system, steal data, interrupt
services, download additional malware, or any other
actions the malware author coded into the program.
Many viruses pretend to be legitimate programs to
trick users into executing them on their devices,
delivering the computer virus payload.
Types of Computer Viruses
Every computer virus has a payload that performs an action. The threat actor can code any malicious
activity into the virus payload, including simple, innocuous pranks that don’t do any harm. While a few
viruses have harmless payloads, most of them cause damage to the system and its data. There are nine
main virus types, some of which could be packaged with other malware to increase the chance of
infection and damage. The nine major categories for viruses on computers are:
❖ Boot Sector Virus
A boot sector virus damages or controls the boot sector on the drive, rendering the machine unusable.
Attackers usually use malicious USB devices to spread this computer virus. The virus is activated when
users plug in the USB device and boot their machine.
❖ Web Scripting Virus
Most browsers have defenses against malicious web scripts, but older, unsupported browsers have
vulnerabilities allowing attackers to run code on the local device.
❖ Browser Hijacker
A computer virus that can change the settings on your browser will hijack browser favorites, the home
page URL, and your search preferences and redirect you to a malicious site. The site could be a phishing
site or an adware page used to steal data or make money for the attacker.
❖ Resident Virus
A virus that can access computer memory and sit dormant until a payload is delivered is considered a
resident virus. This malware may stay dormant until a specific date or time or when a user performs an
action.
Types of Computer Viruses
❖ Direct Action Virus
When a user executes a seemingly harmless file attached to malicious code, direct-action viruses deliver a
payload immediately. These computer viruses can also remain dormant until a specific action is taken or a
timeframe passes.
❖ Polymorphic Virus
Malware authors can use polymorphic code to change the program’s footprint to avoid detection.
Therefore, it’s more difficult for an antivirus to detect and remove them.
❖ Multipartite Virus
These malicious programs spread across a network or other systems by copying themselves or injecting
code into critical computer resources.
❖ Macro Virus
Microsoft Office files can run macros that can be used to download additional malware or run malicious
code. Macro viruses deliver a payload when the file is opened and the macro runs.
What Causes Computer Viruses?
⚫ Removable Media
Viruses can attach to removable media, such as USB drives and CDs/DVDs, infecting any
computer they’re plugged into. The infamous Stuxnet worm is a prime example of a virus
that spreads through removable media.
To protect yourself and your organization from computer viruses, always exercise caution
and employ robust cybersecurity measures like up-to-date antivirus software and regular
system scans. Remember, knowledge is power, especially when preventing viruses and
cyber-attacks.
Signs of Computer Virus
Computer viruses have the “virus” name because they resemble
illnesses in the way they infect a system. Doctors can usually
diagnose a virus based on symptoms exhibited by the body. IT
professionals can do the same with computers. Typical signs of
computer virus infections include: