Docsity

Cybersecurity Principles and Malware Protection, Assignments of Computer Science

Toggle sidebar
bg1
Assignment 1
Part I
1.
Assets Threats Impact level Countermeasures
Hardware
- Computer systems
- Data processing
- Data storage
- Data
communication
devices
Availability
Stolen equipment or
disabled, resulting in
denying service.
Integrity
When DVD or CD-
ROM which is
unencrypted is stolen
or misplaced
Medium-high
Information
stolen can be
critical to the
organization.
When fire
destroys the
whole building, it
becomes
dangerous to both
the workers and
the equipment.
Physical measures like
installing secure doors,
proper design of the
facilities to house the
hardware.
Using security personnel to
guard the premises.
Use of passcodes to access
facilities housing servers
and workstations.
Software
- Operating system
- Applications
- System utilities
Availability
Deletion of programs
or denial of access to
the users.
Confidentiality
Pirated software
Integrity
Modification of
software that results
in software failure or
does not produce the
expected results.
High
Software failures
put the
organizations’
business at a
standstill.
Careful and proper
software configuration.
Backing up the most recent
versions of the software.
Using updated antiviruses.
Data
- Files
- Databases
- Password files
Availability
Users are denied
access due to deletion
of data
Integrity
Files that already
Medium-high
Deletion of files
that had no
backup copies
would render
business into a
total interruption
Regular backup of data,
strong password policies.
Update the software more
regularly.
Train employees on data
security.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Cybersecurity Principles and Malware Protection and more Assignments Computer Science in PDF only on Docsity!

Assignment 1 Part I

Assets Threats Impact level Countermeasures Hardware

  • Computer systems
  • Data processing
  • Data storage
  • Data communication devices Availability Stolen equipment or disabled, resulting in denying service. Integrity When DVD or CD- ROM which is unencrypted is stolen or misplaced Medium-high Information stolen can be critical to the organization. When fire destroys the whole building, it becomes dangerous to both the workers and the equipment. Physical measures like installing secure doors, proper design of the facilities to house the hardware. Using security personnel to guard the premises. Use of passcodes to access facilities housing servers and workstations. Software
  • Operating system
  • Applications
  • System utilities Availability Deletion of programs or denial of access to the users. Confidentiality Pirated software Integrity Modification of software that results in software failure or does not produce the expected results. High Software failures put the organizations’ business at a standstill. Careful and proper software configuration. Backing up the most recent versions of the software. Using updated antiviruses. Data
  • Files
  • Databases
  • Password files Availability Users are denied access due to deletion of data Integrity Files that already Medium-high Deletion of files that had no backup copies would render business into a total interruption Regular backup of data, strong password policies. Update the software more regularly. Train employees on data security.

exist are modified or fabricated of new files. Confidentiality Accessing and reading of data in an unauthorized manner. of the activities. Modification of files interrupts the normal running of the business. Communication facilities and networks

  • LAN and WAN communication links e.g., Routers, and Bridges, etc. Availability Deletion of messages or tampering with communication lines renders them unavailable. Integrity Modification of messages, delaying, reordering, or making duplicates of messages, or fabricating messages. Confidentiality Observing the pattern of messages, reading messages being transmitted in the network. High When communication channels have been tampered with, the whole operation is shut down. The business also will have to replace or rectify the problem which costs money. Physical protection of the communication lines and facilities all the time. Monitor communication to detect attacks and recover from them as early as possible.

a. The economy of mechanism – security design should be simple and also small so that they can be tested easily and vulnerabilities identify. This principle ensures this. It proposes

i. Isolation – critical systems should be isolated from the public. For example, critical resources should be isolated from access by the public. This means data, and processes should be away from the public reach. Another key isolation here is, in the processes and the files of every individual user, it is wise to isolate them from one another except otherwise. j. Encapsulation – this refers to an object-oriented way of isolation. It modularizes security functions of similar resources. Security is enhanced through grouping procedures and the data objects into their domain. Objects can then be accessed through specified procedures at the designed point of entry. k. Modularity – in modularity, the development of the functionality of security is done separately. A good example is, cryptographic functions can be provided as a module and as a common service and function. So, different protocols can just invoke it independently. Also, it makes it easier to be upgraded as this module but not the whole system is being upgraded. l. Layering – this refers to the multiple ways of protecting a resource i.e., implementing an approach that protects people, technology, and the operations of the information systems. This increases the security of a resource. m. Least astonishment – user interfaces should be designed in a way it does not respond astonishingly to the user. For example, all the security implantations should make sense to the user of the user system and he/she should understand the reason behind them.

a. Yes, this is because auth(x) for both digital signature and the MAC will not match x. b. In both Digital signature and MAC, not unless auth(x) is affected by time-stamp or sequence number, but in this case, Bob will not detect. c. Digital signature - Yes, because Alice is the only one who has the private key and it also matches her public key which Bob uses in authenticating x. MAC – Yes again. This is because the secret key used to generate (x) is shared by both Alice and Bob. Auth(x) calculated by Bob does not match auth(x) generated by Oscar.

d. Digital Signature – Yes, because only Alice can generate auth(x) since auth(x) generated by Alice’s private key is verified with her public key. MAC – No, this is because (auth(x) generated is verified using a secret key which both Bob and Alice hold.

  1. Types of malwares Malware that hinders the speed of personal computers when requesting information from the web includes Distributed Denial-of-Service (DDoS) and Botnets amongst other dangerous activities. Botnets generally threaten networked resources and the computational speed of the affected system. DDoS affect Servers and websites. These attacks can gain access to the system via Trojan Horse. Trojan Horse is a highly malicious code that is normally delivered into the system from web pages, emails, and even through an infected USB drive. This will cause great damage to the system of the data. Checking occurrence of malware in the system: i. Go through the network traffic logs carefully to check programs that are creating traffic. ii. Perform a deep scan of your system's up-to-date antivirus programs. Restoring operations. i. In an affected system, the user can rebuild the system using an up-to-date antivirus. ii. Also, the user can decide to clear the whole storage then report the system afresh.
  2. Form of attack. The attack in the e-mail is a general phishing attack. This is because it is trying to persuade the person to provide secret information i.e., credit card details, passwords, usernames through using electronic communication.

Part II (30 marks) Project 1: NMAP. Introduction. NMAP stands for a Network Mapper. It is free and open-source for performing vulnerability scans and also for network discovery. Generally, network administrators in organization normally use NMAP to figure out which devices are running in their computer systems, they also use top discover hosts which are available in the system and the services they provide, then lastly open ports in the system – all to discover security risks that might be on the system. NMPA works for a single host or multiple hosts. How NMAP works. NMAP scores high when it comes to port scanning. When used to scan ports, what it does is, it sends raw packets of data to the system’s ports. It listens to the responses coming from the ports and the responses, it determines which ports are closed, or open or which ports have a firewall/protected in some way. We will see more of this when we will be performing port scanning on my PC running Microsoft Windows 10 OS. a. NMAP network mapping. I performed network scanning to my localhost/pc and I was able to discover open ports. Ports 135, 445, 6881 were all open ash shown in the screenshot below. Upon searching on Wikipedia what the ports were, I found out that, port 153 was Microsoft Endpoint Mapper used primarily for managing services remotely i.e., DNS servers, DHCP serves, and also WINS. Port 445 was Microsoft Directory Services and port 6881 was used by BitTorrent.

c. NMAP service discovery Nmap also gives the services running in any host. Let's see services running on my network. I used the command Nmap -sV -O 192.168.100.4. as we can see in the screenshot below, I only have my pc in the network running on windows 10. There was no any threat then, since I am the only one connected to my router.

Conclusion. In this lab, I was able to practice and understand more about NMAP and its importance. For example, when scanning hosts, if the results, someone does not recognize a host within the network, that might be a threat. Port’s scanning is also very important, as a network administrator can use information from port scanning to make decisions on which ports should be closed and others that should be left open. NMAP in my opinion is a good tool as far as computer security is concerned and I would recommend it to anyone who needs a tool for network and computer security. However, if you want to use NMAP successfully, you should understand how to use each and every command. Also, you should understand how to interpret the results. I recommend the use of Zenmap, for NMAP. It offers an easy and intuitive interface for Nmap as compared to command line interface or terminal for Linux.

Encryption Plaintext Decryption Key Dictionary

Results. Below is the final result of the cipher. Conclusion. In this lab, I was able to understand and demonstrate how ciphers work in encryption. It is good to note that, in real-world, ciphers are more complex than this. But generally, this is one way of coming up with custom ciphers. Plaintext Ciphertext