Download ASM 1_1623_Security (PASS) and more Slides Network security in PDF only on Docsity!
Higher National in Computing
ASSIGNMENT 1
Name: Dong Sy Nhat Thanh
ID: GCS
Class: GCS1003A
Subject code: 1623
Assignment due: Assignment submitted:
ASSIGNMENT 1 FRONT SHEET
Qualification BTEC Level 5 HND Diploma in Computing
Unit number and title Unit 5: Security
Submission date Date Received 1st submission
Re-submission Date Date Received 2nd submission
Student Name Student ID
Class Assessor name
Student declaration
I certify that the assignment submission is entirely my own work and I fully understand the consequences of plagiarism. I understand that
making a false declaration is a form of malpractice.
Student’s signature
Grading grid
P1 P2 P3 P4 M1 M2 D
Assignment Brief 1 (RQF)
Higher National Certificate/Diploma in Computing
Student Name/ID Number: Unit Number and Title: Unit 5: Security Academic Year: 2021 – 2022 Unit Assessor: Van Ho Assignment Title: Security Presentation Issue Date: April 1st, 2021 Submission Date: Internal Verifier Name: Date:
Submission Format: Format: ● The submission is in the form of an individual written report. This should be written in a concise, formal business style using single spacing and font size 12. You are required to make use of headings, paragraphs and subsections as appropriate, and all work must be supported with research and referenced using the Harvard referencing system. Please also provide a bibliography using the Harvard referencing system. Submission
● Students are compulsory to submit the assignment in due date and in a way requested by the Tutor.
● The form of submission will be a soft copy posted on http://cms.greenwich.edu.vn/.
● Remember to convert the word file into PDF file before the submission on CMS.
Note:
● The individual Assignment must be your own work, and not copied by or from another student. ● If you use ideas, quotes or data (such as diagrams) from books, journals or other sources, you must reference your sources, using the Harvard style. ● Make sure that you understand and follow the guidelines to avoid plagiarism. Failure to comply this requirement will
result in a failed assignment.
Unit Learning Outcomes:
Learning Outcomes and Assessment Criteria (Assignment 1): Learning Outcome Pass Merit Distinction LO1 P1 Identify types of security threat to organisations. Give an example of a recently publicized security breach and discuss its consequences. P2 Describe at least 3 organisational security procedures.
M1 Propose a method to assess and treat IT security risks.
D1 Investigate how a ‘trusted network’ may be part of an IT security solution.
LO 2 P3 Identify the potential impact to IT security of incorrect configuration of firewall policies and IDS. P4 Show, using an example for each, how implementing a DMZ, static IP and NAT in a network can improve Network Security.
M2 Discuss three benefits to implement network monitoring systems with supporting reasons.
Table of Contents
- Assignment Brief 1 (RQF)................................................................................................................................................
- Higher National Certificate/Diploma in Computing....................................................................................................
- Introduction:.............................................................................................................................................................
- 1.1. Motivations:.......................................................................................................................................................
- a) Malware Attack:...............................................................................................................................................
- b) Phishing Attack:.................................................................................................................................................
- c) Password Attack:...............................................................................................................................................
- d) SQL Injection Attack:.........................................................................................................................................
- e) Denial-of-Service Attack:...................................................................................................................................
- 1.2. Objectives...........................................................................................................................................................
- a) Malware attack:................................................................................................................................................
- b) Phishing attack:.................................................................................................................................................
- c) Password attack:...............................................................................................................................................
- d) SQL injection attack:.........................................................................................................................................
- e) DDOS attack:.....................................................................................................................................................
- 1.3. Summary:...........................................................................................................................................................
- Background and related works.................................................................................................................................
- 2.1. Background........................................................................................................................................................
- a) Definition about backdoor attack.....................................................................................................................
- b) How it works?...................................................................................................................................................
- 2.2. Current related works....................................................................................................................................
- Proposed solutions....................................................................................................................................................
- 3.1. Content filter......................................................................................................................................................
- 3.2. Firewall...............................................................................................................................................................
- 3.3. Anti-virus............................................................................................................................................................
- 3.4. IDS......................................................................................................................................................................
- 3.5. IPS.......................................................................................................................................................................
- 3.6. Summary............................................................................................................................................................
- Results and Dicussions..............................................................................................................................................
- 4.1. Tools setup and installation...............................................................................................................................
- a) Virtual box.........................................................................................................................................................
- b) Kali linux as an attacker....................................................................................................................................
- c) Windows 10 as a victim.....................................................................................................................................
- 4.2. Result..................................................................................................................................................................
- a) Scenario 1..........................................................................................................................................................
- b) Scenario 2..........................................................................................................................................................
- 4.3. Discussions.........................................................................................................................................................
- Conclusions...............................................................................................................................................................
- REFERENCES..................................................................................................................................................................
- Figure 1: Cyber attacks.................................................................................................................................................. Table of figures
- Figure 2: Malware.........................................................................................................................................................
- Figure 3: Phishing attack...............................................................................................................................................
- Figure 4: Password attack.............................................................................................................................................
- Figure 5: SQL injection attack........................................................................................................................................
- Figure 6: DDOS attack...................................................................................................................................................
- Figure 7: Backdoor attack..............................................................................................................................................
- Figure 8: Content filter..................................................................................................................................................
- Figure 9: Firewall...........................................................................................................................................................
- Figure 10: Antivirus.......................................................................................................................................................
- Figure 11: IDS................................................................................................................................................................
- Figure 12: IPS.................................................................................................................................................................
- Figure 13: VirtualBox install..........................................................................................................................................
- Figure 14: VirutalBox's interface...................................................................................................................................
- Figure 15: Kali Linux download site...............................................................................................................................
- Figure 16: Extract file....................................................................................................................................................
- Figure 17: Base memory setting...................................................................................................................................
- Figure 18: Kali Linux's interface....................................................................................................................................
- Figure 19: Window 10's interface.................................................................................................................................
- Figure 20: Step 1 in Scenario 1......................................................................................................................................
- Figure 21: Step 2 in Scenario 1......................................................................................................................................
- Figure 22: Step 3 in scenario 1 (1).................................................................................................................................
- Figure 23: Step 3 in scenario 1 (2).................................................................................................................................
- Figure 24: Step 3 in scenario 1 (3).................................................................................................................................
- Figure 25: Step 4 in scenario 1......................................................................................................................................
- Figure 26: Step 5 in scenario 1 (1).................................................................................................................................
- Figure 27: Step 5 in scenario 1 (2).................................................................................................................................
- Figure 28: Step 1 in scenario 2......................................................................................................................................
- Figure 29: Step 2 in scenario 2......................................................................................................................................
- Figure 30: Step 3 in scenario 2......................................................................................................................................
- Figure 31: Step 4 in scenario 2......................................................................................................................................
- Figure 32: Step 5 in scenario 2......................................................................................................................................
- Figure 33: Step 6 in scenario 2......................................................................................................................................
- Figure 34: Step 7 in scenario 2 (1).................................................................................................................................
- Figure 35: Step 7 in scenario 2 (2).................................................................................................................................
1. Introduction:
Nowadays, as the internet grows in popularity, there is an increased risk that hackers will
attack our computers at any time. They will attack the victim with malware they create in
order to obtain the victim's information and use it to steal their money.
In this report I will write about Motivation and Objective of malware, also write about
Background and related works of it. I will show some Proposed solutions and finally are
some demos of cyber attack and discussion about it.
Figure 1 : Cyber attacks (Source: Cyber crime Vectors & Illustrations for Free )
1.1. Motivations:
a) Malware Attack:
This is one of the most common types of cyberattacks. Malware refers to
malicious software viruses such as worms, spyware, ransomware, adware, and
trojan horses.
The trojan virus masquerades as reliable software. Spyware is software that
secretly steals all of your personal information, whereas Ransomware restricts
access to critical network components. Adware is software that displays banner
ads and other commercial content on the screen of a user.
Figure 3 : Phishing attack (Source: What is a Phishing attack? | mlytics)
c) Password Attack:
It is a type of attack in which a hacker deciphers your password using software
and password-cracking tools such as Aircrack, Cain, Abel, John the Ripper,
Hashcat, and others. Dictionary attacks, brute force attacks, and keylogger attacks
are all examples of password attacks.
Figure 4 : Password attack (Source: Detecting Brute Force Password Attacks - SentinelOne)
d) SQL Injection Attack:
A Structured Query Language (SQL) injection attack occurs when a hacker alters
a standard SQL query on a database-driven website. It spreads by putting
malicious code into a search box of a vulnerable website, compelling the server to
reveal sensitive data.
This allows the attacker to read, change, and delete database tables. Attackers
may also get administrative powers as a result of this.
Figure 5 : SQL injection attack (Source: What Is an SQL Injection? Cheatsheet and Examples (spiceworks.com))
1.2. Objectives
a) Malware attack:
Malware is often linked to another remote computer and hackers will use this
computer to attack the victim. They will take important information such as
credit card information and transactions of the victim, thereby blackmailing
them or defrauding them for money.
Let's look at how to stop a malware attack now:
+ Install antivirus software. It can protect your computer from malware.
McAfee Antivirus, Norton Antivirus, and Avast Antivirus are some well-
known antivirus programs.
+ Use firewalls. Firewalls filter the traffic that enters your device. Windows
Firewall and Mac Firewall are the default built-in firewalls for Windows and
Mac OS X, respectively.
+ Maintain vigilance and avoid clicking on dubious links.
+ Keep your operating system and browser up to date.
b) Phishing attack:
Hackers initially select a group of people to target. Then they craft emails and
texts that appear legitimate but contain malicious links, attachments, or lures
that trick their targets into doing an unknown, risky action. To summarize:
Phishers frequently use emotions to persuade recipients to open attachments
or click on links, such as fear, curiosity, urgency, and greed. Phishing attempts
are disguised to appear to be from trustworthy organizations and individuals.
Cybercriminals are always developing new strategies and increasing their
sophistication. It just takes one successful phishing attempt to breach your
network and steal your data.
To avoid phishing attacks, take the following precautions:
+ Examine the emails you receive with care. The majority of phishing emails
contain serious errors, such as spelling errors and format differences from
emails from trustworthy sources.
+ Utilize a phishing detection toolbar.
+ Change your passwords frequently.
c) Password attack:
To guess your password, attackers may use a combination of your name,
hobbies, significant years, or numerals.
When that fails, they utilize specialized software to look through a database of
words commonly used as passwords. Surprisingly, almost 75% of internet
users use only the first 500 characters of their passwords. Consider how easy
it would be for unscrupulous actors to obtain your sensitive information in
light of this.
Here are a few strategies for preventing password attacks:
+ Make strong alphanumeric passwords with special characters.
+ Use different passwords for different accounts or websites.
+ To reduce the risk of a password attack, update your passwords.
+ Keep any password hints out of sight.
d) SQL injection attack:
The first stage of a SQL injection attack is to investigate the operation of the
targeted database. To accomplish this, various random values are entered into
the query to see how the server responds.
Using what they have learned about the database, hackers build a query that
the server will comprehend and execute as a SQL command. For example, a
database may contain information on customers who have made purchases
and have customer ID numbers. Instead of looking for a specific customer ID,
an attacker may enter "CustomerID = 1000 OR 1=1" in the input field.
Because the statement 1=1 is always true, the SQL query would return all
available customer IDs and any associated data. By avoiding authentication,
the hacker has access to the administrator level.
Protect yourself from a SQL injection attack by doing the following:
+ Use an intrusion detection system, which is designed to detect unauthorized
network access.
+ Validate the information provided by the user. It controls user input by
utilizing a validation mechanism.
e) DDOS attack:
2. Background and related works
2.1. Background
a) Definition about backdoor attack
The simplest definition of a backdoor attack is the use of any malware, virus, or
technology to gain unauthorized access to a network, system, or application while
evading any security measures. In contrast to other viruses and malware, backdoor
attack parts frequently drive the aimed resource as a driver or key administrator and
infiltrate the core of the targeted application.
The potential for mischief is unbounded when you obtain access to such a deep and
important level. Attackers have the ability to alter all or a portion of the infrastructure,
control the operation and behavior of the targeted system, and steal sensitive
information.
These actions may have detrimental effects. The presence of connected threat actors
and knowledge of how to defend against backdoor attacks should therefore constantly
be kept in mind.
b) How it works?
The method by which backdoor attacks enter the system determines how well
they function. As seen, utilizing malware or backdoor-specific software/hardware
is the most typical technique for a backdoor to access a system. The following is a
full description of these two.
Backdoor malware
This malware is a forgery that poses as another technology in order to carry out
operations like data theft, malware installation, and opening a backdoor into the
systems without being detected.
Due to its behavior resembling that of Trojans that allow an attacker to access the
network's or software's fundamental infrastructure, it is also known as the
"backdoor Trojan." You need to understand how Trojan works in order to
comprehend it better.
A Trojan is a harmful file that can be used and distributed through email
attachments, downloadable files, online threats like malware, and other means. To
make matters worse, Trojans possess worm-like traits that enable them to
proliferate and grow. Trojan can propagate to additional computers with no
further work required.
Built-in or proprietary backdoors
Consider it as a backdoor that property owners can utilize in an emergency.
Professionals in hardware or software deploy these backdoors, and they are not
always used maliciously. They exist as a software component and give owners
and developers immediate access to the program or software.
They can test a code, correct a software fault, and even find any hidden
vulnerabilities thanks to this immediate access, all without having to take part in
the formation of genuine, verified accounts.
Figure 7 : Backdoor attack (Source: What is a Backdoor Attack? ⚙ Examples and Prevention (wallarm.com))
2.2. Current related works
For the classification of malware, researchers have used a variety of machine-
learning approaches using various static and dynamic criteria. To prevent detection,
malware developers have developed a range of obfuscation methods, such as API
call insertion, packing, and encryption. Because static obfuscation methods like
encryption and packing frequently do not change the behavior of malware, they
have no effect on the dynamic detection method. For API call-based solutions, the
detection system may fail as a result of the obfuscation strategy using
rearrangement and insertion in the sequences of API calls. According to research,
these attacks work well against a wide range of categorization models. In an effort
to reduce the effects of obfuscation tactics on malware detection, Yazi, A.F., Atak,
F., and Gül, E. used Cuckoo Sandbox to extract the sequence of API calls from
multiple malware families to provide a public dataset and use the deep learning