Docsity

ASM1 - Security - 1623, Assignments of Computer Security

Toggle sidebar
bg1
1
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
Le Nguyen Quang Nam
Student ID
GCD201654
Class
GCD0905
Assessor name
Tran Trong Minh
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
Le Nguyen Quang Nam
Grading grid
P1
P2
M1
M2
D1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download ASM1 - Security - 1623 and more Assignments Computer Security in PDF only on Docsity!

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 Le Nguyen Quang Nam Student ID GCD Class GCD0905 Assessor name Tran Trong Minh 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 Le Nguyen Quang Nam Grading grid P1 P2 P3 P4 M1 M2 D

❒ Summative Feedback: ❒ Resubmission Feedback: Grade: Assessor Signature: Date: Lecturer Signature:

  • discuss its consequences (P1). I. Identify types of security threat to organisations. Give an example of a recently publicized security breach and
      1. Security threats agent to organization and its type.
      • 1.1. Security threats agent to organization.
      • 1.2. Type of security threats.
      1. An example of a recently publicized security breach and discuss its consequences.
      • 2.1. An example of a recently publicized security breach.
      • 2.2. Discussion of the consequences of WannaCry ransomware.
  • II. Describe at least 3 organisational security procedures (P2).
      1. Security Procedures.
      1. The Purpose of Security Procedures and Why They are Needed in an Organization.
      1. Three organizational security procedures.
      • 3.1. Anti-virus procedure.
      • 3.2. Encryption procedure.
      • 3.3. Password procedure.
  • III. Identify the potential impact to IT security of incorrect configuration of firewall policies and IDS (P3).
      1. Firewall.
      • 1.1. Definition.
      • 1.2. Usage and advantage of firewall in a network.
      • 1.3. How does a firewall provide security to a network?
      1. Intrusion detection system (IDS).
      • 2.1. Definition.
      • 2.2. The usage of IDS.
      1. The potential impact (Threat-Risk) of a firewall and IDS if they are incorrectly configured in a network.
  • Network Security (P4). IV. Show, using an example for each, how implementing a DMZ, static IP and NAT in a network can improve
      1. Demilitarized zone (DMZ).
      • 1.1. Definition.
      • 1.2. How can DMS can improve network security.
      1. Internet Protocol (IP).
      • 2.1. Definition.
      • 2.2. How static IP can improve network security.
      1. Network address translation (NAT).
      • 3.1. Definition.
      • 3.2. How NAT can improve network security.
  • REFERENCE LIST
  • Figure 1 Security threat. TABLE OF FIGURES
  • Figure 2 Some types of malware.
  • Figure 3 Social engineering attack.
  • Figure 4 Network attack.
  • Figure 5 Application attack.
  • Figure 6 WannaCry ransomware.
  • Figure 7 WannaCry affected countries at first.
  • Figure 8 Anti-virus.
  • Figure 9 Encryption procedure.
  • Figure 10 Firewall.
  • Figure 11 How the firewall provides security to a network.
  • Figure 12 Snort - a popular IDS.
  • Figure 13 How the IDS works.
  • Figure 14 How DMZ works.
  • Figure 15 How static IP works compared to Dynamic IP.
  • Figure 16 How NAT works.

Figure 1. Security threat.

1.2. Type of security threats.

Here are some common types of security threats:  Malware attacks: The most prevalent kind of cyberattack is known as malware, which is an acronym for "malicious software," which includes viruses, worms, trojan horses, spyware, and ransomware. A system is typically infected by malware through a link on an unreliable website, an email, or an unwanted software download. It deploys on the target system, gathers private information, manipulates and denies access to network components, and has the potential to delete data or completely shut down the system. Here are some main types of malware:  Viruses - a program is infected by a piece of code. The harmful code is executed when the application is launched.  Worms - are a type of malware that accesses an operating system through software flaws and backdoors. The worm can launch attacks such as distributed denial of service after it is installed in the network (DDoS).  Trojans - are harmful programs or code that hide in apps, games, or email attachments while posing as a legitimate program. The malware is downloaded by an unwary user, who then lets it take over their computer.  Ransomware - prevents a user or organization from accessing their own systems or data through encryption. There is no assurance that paying the ransom will actually restore full access or functioning. Instead, the attacker often wants a ransom in exchange for a decryption key.

Figure 2. Some types of malware.  Social engineering attacks Social engineering is the practice of deceiving users into opening a door for infection. Because the attacker pretends to be a legitimate actor, the victim unknowingly gives the attacker access to important information or installs malware on their system. Here are some of the main types of social engineering attacks:  Baiting - An enticing offer, such as a free gift card, is frequently used to entice a person into a social engineering trap. The victim gives the attacker private information like login credentials.  Pretexting - Similar to baiting, the attacker uses deceptive pressure to coerce the victim into disclosing information. This usually entails pretending to be someone in a position of authority, such as an IRS agent or police officer, whose position will require the victim to cooperate.  Phishing - The attacker sends emails that appear to be from a reliable source. Phishing can be more targeted but frequently entails sending bogus emails to as many users as possible. Spear phishing, for instance, tailors the email to a specific recipient, whereas whaleing goes a step further by focusing on high-value targets like CEOs.  Vishing (voice phishing) - The imposter uses the phone to deceive the victim into divulging private information or allowing access to the victim's system. Vishing can be used against anyone, but it typically targets elderly people.

Network intrusion attacks - Such network assaults aim to "hijack" the target computer's operating system. This is the most dangerous type of network attack because, if the attack is successful, the intruder gains total control over the operating system. Figure 4. Network attack.  Application attack. Application attacks (aka application layer DDoS attacks) are intended to target the program directly, concentrating on particular flaws or problems, preventing the application from delivering material to the user. The most popular target of application layer DDoS assaults are web servers, although they can also target any application, including SIP telephony services and BGP. Two common types of Application attack:  SQL injection - A hacker inserts a SQL query into a user input channel, like a comment field or web form. The attacker's data will be sent to the database using a weak application, which will also carry out any SQL commands inserted into the query. The majority of web applications employ SQL-based databases, rendering them susceptible to SQL injection. NoSQL attacks, which target databases without a relational data structure, are a novel variation on this attack.  Cross-site request forgery (CSRF) : This practice of fooling users into performing unwanted actions on a website or application for which they have already been authenticated is referred to as "CSRF." If successful, this might be done through a link in an email or chat and, among other things, lead to an email address change or money transfer.

Local file inclusion: Using this technique, the web application is persuaded to run or expose its files on the web server. These attacks take place when a malicious attack is accepted as "trusted input" by a web application. An attacker may ask the web app to run a local file after discovering the files on the server using path or directory traversal.

 Path traversal: This attack, also known as directory traversal, allows the malicious party to change

paths to folders outside of the web root folder in order to access files, directories, and instructions for web applications.

 DDoS attacks: These attacks are carried out by bombarding a server with web requests. This attack

may be launched automatically or by a network of hacked machines, which can immobilize a server and prevent authorized users from using your services. Figure 5. Application attack.  Internal attack. An internal attack occurs when an individual or a group within an organization seeks to disrupt operations or exploit organizational assets. In many instances, the attacker makes extensive use of resources, tools, and expertise to conduct a complex computer attack and possibly even eradicate any traces of that attack. Technical users who could profit from sabotaging business operations, such as highly competent and dissatisfied personnel (such as system administrators and programmers), may decide to launch an internal attack against a firm using its computer systems.

Figure 6. WannaCry ransomware.

2.2. Discussion of the consequences of WannaCry ransomware.

It is estimated that the cyberattack took place on a global scale, affecting about 99 countries, including the UK, US, China, Russia, Spain, Italy, Taiwan and many others. Vietnam at that time was no exception. According to Intel experts, the vulnerability has been reported in Hanoi and Ho Chi Minh City, and may spread across the country. By the end of May 13, 2017, according to TheHackerNews, the largest ransomware attack ever WannaCry has successfully infected more than 200,000 Windows computers in at least 99 countries. Within the first few hours of spreading, the amount of money the hacker group behind WannaCry collected was about $30,000. WannaCry really made millions of users panic at that time. I used to be like that myself. Near the end of 2017 when I was still a 9th grader about to enter 10th grade, I used my brother's laptop and WannaCry scared me so much that I did not dare to use that laptop for a long time. Because at that time, a laptop in Vietnam was of great value and with the fear of infecting WannaCry on that laptop, I did not dare to touch it. Obviously, WannaCry was scary at that time.

Figure 7. WannaCry affected countries at first.  Solutions to deal with WannaCry. WannaCry was really dangerous but there were ways to deal with it at that time. Here are some of the best solutions:

  • Immediately update the version of Windows operating system in use.
  • Immediately update the Anti-virus programs in use.
  • Be careful when receiving emails with attachments and strange links, on social networks.
  • Delete card information on online payment/shopping websites, etc.
  • Do not open links with HTA extensions or links with unclear structure, shortened links.
  • Take measures to store important data.

II. Describe at least 3 organisational security procedures (P2).

1. Security Procedures.

Security procedures are comprehensive, step-by-step guides for carrying out, enabling, or enforcing the security measures listed in your company's security policies. Both the numerous hardware and software elements that support your business processes and any security-related business processes themselves should be covered by security procedures (e.g. onboarding of a new employee and assignment of access privileges).

2. The Purpose of Security Procedures and Why They are Needed in an

Organization.

Figure 8. Anti-virus.

3.2. Encryption procedure.

Encryption is the process of scrambling legible text so that only the owner of the secret code, or decryption key, can decipher it. It assists in providing sensitive data security. Numerous pieces of personal data are maintained online and kept on servers that are permanently connected to the internet or in the cloud. It's practically difficult to do any type of business without having your personal information wind up in a company's networked computer system, which is why it's critical to understand how to preserve the privacy of such information. In the process of encryption, ordinary text, such as a text message or email, is scrambled into "cipher text," which is an unintelligible format. This aids in preserving the privacy of digital data that is either transported over a network like the Internet or saved on computer systems. The information is translated back into its original form when the message is accessed by the intended receiver. It is known as decryption. Both the sender and the recipient must employ a "secret" encryption key, which is a set of algorithms that scrambles and unscrambles data back into a readable state, to unlock the message.

Figure 9. Encryption procedure.

3.3. Password procedure.

The Password Procedure tries to define standards for producing safe passwords, safeguarding them, and establishing how frequently they ought to be changed. Every authorized user is in charge of choosing and keeping up their own password in compliance with the requirements and standards. Only users who can validate their access will be able to access data and programs thanks to password protection. A bad password choice could leave the company's network vulnerable. Therefore, it is the duty of each employee of the Company (including independent contractors and vendors having access to the systems of the Company) to take reasonable care in choosing and safeguarding their passwords. This method outlines the security standards that must be adhered to while performing operations on different internal network areas or systems that need user credentials to access the related network components or systems.

III. Identify the potential impact to IT security of incorrect

configuration of firewall policies and IDS (P3).

1. Firewall.

1.1. Definition.

option to use Hyper-V to create virtual machines or Remote Desktop to access your computer remotely. You also have the option to turn off the firewall completely when you want to use a third-party security suite, like antivirus programs offered by McAfee or Norton. This is usually a free trial service on new PCs and users often sign up. You can also disable the Windows firewall if you have installed free software.  Advantage of firewall. Here are the great benefits that a firewall brings to your computer:

  • Prevent attacks on your private network by other networks outside the world.
  • It allows you to define a funnel, keeping aside the non-authorized users.
  • Allow monitoring of the security of your network and computer when suspicious activity occurs, it will generate an alarm.
  • Monitor and record services using WWW (World Wide Web), FTP (File Transfer Protocol), and other protocols.
  • Control the use of the Internet. It helps to block or un-block inappropriate or appropriate material. In short, a firewall is an irreplaceable tool to protect your computer from malicious attacks on the Internet.

1.3. How does a firewall provide security to a network?

In order to stop attacks, firewalls thoroughly examine incoming communication in accordance with pre-established criteria and filter traffic from untrusted or dubious sources. Firewalls monitor traffic at a computer's ports, which are the entry points via which data is shared with external devices. Such a statement might read, "Source address 172.18.1.1 is allowed to reach destination 172.18.2.1 through port 22." Consider port numbers as the rooms in the home and IP addresses as the houses. It is further filtered such that persons inside the house are only permitted to access specific rooms (destination ports), depending on whether they are the owner, a child, or a visitor. Only trusted people (source addresses) are allowed to enter the house (destination address) at all. The owner is allowed to any room (any port), while children and guests are allowed into a certain set of rooms (specific ports). For a better overview, I will draw a diagram showing how the firewall works using the “diagram.io” tool.

Figure 11. How the firewall provides security to a network.

2. Intrusion detection system (IDS).

2.1. Definition.

One of the most important aspects of system and network administration and security is protecting your network from infiltration. A malicious attacker breaking into your network can cause serious problems for your business, including downtime, data breaches, and a loss of clientele. A tool or piece of software called an Intrusion Detection System (IDS) works with your network to keep it secure and alert you when someone tries to access your data. It can be difficult to choose which IDS to employ because there are so many different types and tools available. Some type of IDSs as below:

  • Network intrusion detection system (NIDS)
  • Host-based intrusion detection system (HIDS)
  • Perimeter Intrusion Detection System (PIDS)
  • VM based Intrusion Detection System (VMID)