Cybersecurity
Cybersecurity
Stream: BCA
Sem: 6th
Paper Name: Cyber Security
Paper Code: BCAC602
College roll: 10422148
University Roll: 30601222131
College: Narula Institute of Technology
1. Define Trojan Horse, Malware and Virus with
example.
Trojan Horse:
The term “Trojan Horse” comes from the ancient Greek myth
where Greek soldiers hid inside a large wooden horse to enter the city of Troy
unnoticed — and then attacked from within. In the world of cybersecurity, a
Trojan works the same way.
A Trojan Horse is a type of malware that pretends to be a legitimate or useful
program but actually contains harmful code. Trojans don’t replicate themselves
like viruses, but they open the door for other attacks. Once you install a Trojan,
it can do a variety of harmful things like:
Stealing personal data (passwords, credit card information)
Spying on your activities (via keyloggers or screen captures)
Creating a backdoor for hackers to take remote control of your device
Downloading more malware without your knowledge
Real-world Example:
Let’s say you get an email claiming you’ve won a prize, and it asks you to
download a file called “Prize_Claim_Form.exe.” Thinking it’s legitimate, you
download and open the file — but nothing happens. What’s actually happened
is a Trojan has installed itself in the background and started logging your
keystrokes, capturing your usernames and passwords.
Malware:
Malware (short for “malicious software”) is a general category that
includes all types of harmful software designed to damage, disrupt, or take
unauthorized control of a device, network, or data. It’s like an umbrella term
that covers:
Viruses
Trojans
Worms
Ransomware
Spyware
Adware
Types of malware:
Ransomware: Encrypts your files and demands a ransom for their
release.
Spyware: Secretly monitors your activities and gathers information
without your consent.
Worms: Self-replicating malware that spreads across networks without
human action.
Adware: Displays unwanted ads, often collecting data without consent.
Real-world Example:
You download a free video editing tool from an unofficial website. While the
software works, it also installs adware that floods your screen with pop-up ads
and tracks your browsing habits.
Virus:
A computer virus is a type of malware that attaches itself to a legitimate file or
program and spreads when the infected file is executed. Much like a biological virus, it needs
a “host” (like a document or program) to survive and spread.
Viruses often:
Corrupt or delete data
Slow down your system
Spread to other files and devices via emails, USB drives, or shared networks
Cause unexpected behavior like frequent crashes or strange error messages
Real-world Example:
Imagine you receive a Word document in an email from what looks like a trusted colleague.
You open the document, and a hidden virus activates — starting to corrupt files on your
computer and spreading to every other document you open.