100% found this document useful (1 vote)
51 views5 pages

Understanding Malware and Its Impacts

Here are the answers to the assessment questions: 1. A front-door attack requires a user to take an action like opening an infected email attachment, while a backdoor attack installs a program that opens a hidden network connection without the user's knowledge or action. An example of a front-door attack is a user running a malicious program they downloaded. An example of a backdoor is a rootkit that hides in a system waiting to steal information. 2. Malware tries to steal login credentials, credit card numbers, intellectual property, ransom money in bitcoin, spy on users without their knowledge, cause harm through sabotage like Stuxnet, or extort payment like Cryptolocker. 3. The dangers of

Uploaded by

Jamara Pucan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
51 views5 pages

Understanding Malware and Its Impacts

Here are the answers to the assessment questions: 1. A front-door attack requires a user to take an action like opening an infected email attachment, while a backdoor attack installs a program that opens a hidden network connection without the user's knowledge or action. An example of a front-door attack is a user running a malicious program they downloaded. An example of a backdoor is a rootkit that hides in a system waiting to steal information. 2. Malware tries to steal login credentials, credit card numbers, intellectual property, ransom money in bitcoin, spy on users without their knowledge, cause harm through sabotage like Stuxnet, or extort payment like Cryptolocker. 3. The dangers of

Uploaded by

Jamara Pucan
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

MODULE 5: Malware

Objectives:
1. To identify various malware programs and their extent of harm to the computing society.
2. To learn how these tricky programs can spread to almost any device connected to a
network.

5.1. Malware
Malware is any program or file that is harmful to a computer user. Malware includes
computer viruses, worms, Trojan horses, spam, backdoor, rootkit, keylogger, and spyware. A
malware started as a prank among software developers. However, malware converted into a full-
pledged industry of black and white market.
Malware is typically used: 1) To steal information that can be readily monetized, such as
login credentials, credit card, and bank account numbers; 2) Intellectual property such as
computer software, financial algorithms, and trade secrets; 3) To ransom money in Bitcoin, for
example, Wannacry Ransomware; 4) To spy on computer users for an extended period without
their knowledge, for example, Reign Malware; 5) It may be designed to cause harm, often as
sabotage, for instance, Stuxnet; and 6) Extort payment for example Cryptolocker.

5.1.1. VIRUS
A computer virus is a malicious piece of executable code that propagates typically by
attaching itself to a host document that will generally be an executable file. The term “host”
means a document or a file. In the context of computer networking protocols, a “host” is typically
a digital device capable of communicating with other devices.

Typical hosts for computer viruses are:


a. Boot sectors on disks and other storage media. Since the boot sector code is executed
automatically, it is a common attack vector for viruses.
b. Executable files for system administration (such as the batch files in Windows
machines, shell script files in Unix, etc.)
c. Documents that are allowed to contain macros (such as Microsoft Word documents,
Excel spreadsheets, Access database files, etc.). Macros in documents are executable
segments of code and are generally written in a language that is specific to each
document type. Macros are used for automating complex or repetitive formatting
tasks. The macro programming capability can be exploited for creating executable
code that acts like a virus.

Any operating system that allows third-party programs to run can support viruses. A virus
will duplicate itself when it attaches itself to another host document, that is, to another
executable file. But the critical thing to note is that this copy does not have to be a replica of
itself. In order to make more difficult its detection by pattern matching, a virus may alter itself
when it propagates from host to host.
Computer viruses need to know if a potential host is already infected since otherwise, the
size of an infected file could grow without bounds through repeated infection. Viruses typically
place a signature (such as a string that is an impossible date) at a specific location in the file for
this purpose.

5.1.2. WORMS

The main difference between a virus and a worm is that a worm does not need a host
document. In other words, a worm does not need to attach itself to another program because it
is self-contained. On its own, a worm can send copies of itself to other machines over a network.
Therefore, whereas a worm can harm a network and consume network bandwidth, the damage
caused by a virus is mostly local to a machine. But note that a lot of people use the terms ‘virus’
and ‘worm’ synonymously. That is particularly the case with the vendors of anti-virus software.
A commercial anti-virus program is supposed to catch both viruses and worms. Since, by
definition, a worm is supposed to hop from machine to machine on its own, it needs to come
equipped with considerable networking support.

A program may hop from one machine to another by a variety of means that include:
o By using the remote shell facilities, as provided by, say, ssh, rsh, rexec, etc., in Unix,
to execute a command on the remote machine. If the target machine can be
compromised in this manner, the intruder could install a small bootstrap program on
the target machine that could bring in the rest of the malicious software.
o By cracking the passwords and logging in as a regular user on a remote machine.
Password crackers can take advantage of the people’s tendency to keep their
passwords as simple as possible (under the prevailing policies concerning the length
and complexity of the words).
o By using buffer overflow vulnerabilities in networking software. In networking with
sockets, a client socket initiates a communication link with a server by sending a
request to a server socket that is constantly listening for such requests. If the server
socket code is vulnerable to buffer overflow or other stack corruption possibilities, an
attacker could manipulate that into the execution of certain system functions on the
server machine that would allow the attacker’s code to be downloaded into the server
machine.

In all cases, the extent of harm that a worm can carry out would depend on the privileges
accorded to the guise under which the worm programs are executing. So if a worm manages to
guess someone’s password on a remote machine (and that someone does not have superuser
privileges), the extent of harm done might be minimal.
Nevertheless, even when no local “harm” is done, a propagating worm can bog down a
network and, if the propagation is fast enough, can cause a shutdown of the machines on the
network. The shutdown can happen when the worm is not smart enough to keep a machine from
getting re-infected repeatedly and simultaneously. Machines can only support a certain
maximum number of processes running simultaneously. Thus, even “harmless” worms can cause
a lot of harm by bringing a network down to its knees.

5.1.3. TROJAN
A Trojan horse or Trojan is a type of malware that disguises as legitimate software. Trojans
are written with the purpose of discovering financial information, taking over your computer’s
system resources, and in larger systems creating a “denial-of-service attack” which is making a
machine or network resource unavailable to those attempting to reach it.

5.1.4. SPAM
Spamming is a method of flooding the internet with copies of the same message. Most
spams are commercial advertisements which are sent as an unwanted email to users. Spam is
also known as Electronic junk emails or junk newsgroup postings. These spam emails are very
annoying as it keeps coming every day and keeps your mailbox full.

5.1.5. BACKDOORS
Backdoors are much the same as Trojans or worms, except that they open a “backdoors”
on a computer, providing a network connection for hackers or other Malware to enter or for
viruses or spam to be sent. A front-door, on the other hand, requires the action of a legitimate
user. For example, malware that is run when a legitimate user runs an infected email attachment
or runs a malicious program the user downloaded from the internet.

5.1.6. ROOTKIT
A rootkit is compared to a burglar hiding in the attic of a house, waiting to take from you
while you are not home. It is the hardest of all malware to detect and therefore to remove; many
experts recommend entirely wiping your hard drive and reinstalling everything from scratch. It is
designed to permit the other formation gathering malware to get the identity information from
your computer without you realizing anything is going on.

5.1.7. KEYLOGGER
The keylogger records everything you type on your PC to glean your log-in names,
passwords, and other sensitive information, and send it on to the source of the keylogging
program.

5.1.8. SPYWARE
Spyware is a software that spies on you, tracking your internet activities to send
advertising (adware) back to your system.
NAME: ________________________________ COURSE/YR: _________________

ASSESSMENT:

1. Explain how front-door and backdoor attacks differ and give one example of each.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
2. Give some examples of what malware tries to accomplish.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
3. Explain the dangers posed by computer malware.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
4. Describe things you can do to secure your computer from attack.
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
5. List the top five viruses from [Link]
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________
_____________________________________________________________________

Common questions

Powered by AI

Individuals can prevent malware attacks by implementing type-based defenses, including using updated antivirus software to detect and remove viruses and worms, employing firewalls to block unauthorized network access that can transport Trojans or worms, and being cautious with downloading programs or opening email attachments to avoid executing disguised Trojans . Additionally, using strong, unique passwords can protect against password-based infiltration methods commonly used by worms, and ensuring software is regularly updated can patch vulnerabilities that could be exploited by various malware types .

The primary difference between a computer virus and a worm is that a virus requires a host document to propagate, while a worm is self-contained and can replicate itself across networks without needing to attach to another program . This means that worms often spread more rapidly over networked systems and can consume significant network bandwidth, while viruses are typically confined to the machine they infect unless transferred via a shared file or document. Because of these characteristics, worms can potentially cause more extensive damage to network infrastructure by causing slowdowns or crashes, while viruses mainly affect individual systems by corrupting files or programs .

Social engineering plays a critical role in facilitating malware attacks by manipulating individuals into divulging confidential information or performing actions that compromise security. Examples include phishing attacks, where users are tricked into opening malicious links or attachments, leading to Trojan installation or credential theft. Social engineering can be integrated with technical exploits, such as combining a convincing phishing email with an attachment that executes a payload exploiting buffer overflow vulnerabilities, allowing malware to infiltrate systems without user awareness . The success of these attacks often depends on exploiting user trust and complacency .

Trojan horses differ from other types of malware in that they disguise themselves as legitimate software to deceive users into executing them. Unlike viruses or worms, which replicate and spread, Trojans typically do not self-replicate. They infiltrate systems by being downloaded and executed by the user, often masquerading as useful software or attachments in emails. Their primary function is to open a backdoor for other malware to enter or to perform unauthorized actions such as data theft or system resource hijacking .

Rootkits are considered difficult to detect and remove because they integrate deeply into the system's operating structure, often at the kernel level, to conceal their presence from antivirus and system monitoring tools. They can manipulate the system to hide files, processes, and even network connections that reveal their activity . Recommended strategies for handling a rootkit infection include using specialized anti-rootkit tools that can track concealed processes, and in some cases, completely wiping the system and reinstalling the operating system to ensure all traces of the rootkit are removed .

Backdoor attacks involve malware that creates a hidden point of entry on the infected system for unauthorized access, often without the user's knowledge. These attacks can allow malicious entities to install more malware or extract data. For example, a Trojan horse might install a backdoor on a system to enable further exploits . In contrast, a front-door attack requires the user to perform an action, such as running a malicious file or clicking a bad link, providing the attacker with access. An example of a front-door attack is when a user opens an infected email attachment, which then executes malware code .

Rootkits are similar to other malware in that they are designed to grant unauthorized access and capture sensitive data. However, they differ significantly in complexity and impact, as they are notorious for their ability to avoid detection by masking their presence from the operating system and security software. Rootkits operate often at the system's kernel level, providing a deep level of access that is hard to detect and remove . The impact of a rootkit can be severe, enabling continuous data theft or manipulation without the user's knowledge, similar to, yet more insidious than, other malware like spyware or Trojans .

Malware developers have evolved viruses to evade detection by utilizing techniques such as polymorphism and metamorphism. These techniques involve viruses altering their code with each infection, making it challenging for antivirus programs to detect them using fixed pattern matching. Additionally, viruses often implement obfuscation techniques to disguise their presence and use signatures or markers to identify if a potential host file is already infected to avoid repeated infection, which could make detection easier .

The common goals of malware include stealing monetizable information (such as login credentials and financial data), obtaining intellectual property (like trade secrets and software), demanding ransom for access to encrypted files, and spying on users for extended periods . These objectives influence malware design and functionality by necessitating features that support intrusion (e.g., exploiting software vulnerabilities), data exfiltration (e.g., keyloggers or spyware), and obfuscation tactics (e.g., polymorphic code) to evade detection and maximize their operational efficiency in achieving these goals .

Networking support is crucial for the propagation of worms, as it allows them to spread autonomously across connected systems. Worms exploit various vulnerabilities to move between machines, such as using remote shell facilities to execute commands remotely, cracking weak passwords, and exploiting buffer overflow vulnerabilities in networking software . The goal is to gain necessary permissions or execute malicious code on remote systems, enabling them to replicate efficiently without requiring direct user action. The extensive use of networking capabilities by worms enables them to cause widespread disruption and consume network resources rapidly .

You might also like