Information Security & Cyber Threats
Malware Taxonomy, Botnets, Authentication, Symmetric vs Asymmetric Cryptography, Firewalls, DMZ Architecture, and IDS.
- Classify cyber malware: Viruses, Worms, Trojans, Ransomware, and Rootkits
- Compare symmetric (AES, DES) and asymmetric (RSA, ECC) cryptography
- Analyze Defense-in-Depth network architectures with dual firewalls and DMZ
- Understand Intrusion Detection Systems (IDS) and proxy operation
the gateway relays TCP segments from one connection to the o ther without examining the contents. The security function determines which connections will be allowed and which are to be disallowed.
Limitations of a Firewall
Visual Concept: Demilitarized Zone (DMZ) & Dual-Firewall Architecture
Main limitations of a firewall system are given below:
- A firewall cannot protect against an y attacks that bypass the firewall. Many organizations buy
expensive firewalls but neglect numerous other back-doors into their network
- A firewall does not protect against the internal threats from traitors. An attacker may be able to break
into network by completely bypassing the firewall, if he can find a "helpful" insider who can be fooled into giving access to a modem pool
- Firewalls can't protect against tunneling over most application protocols. For example, firewall cannot
protect against the transfer of virus-infected programs or files
7. Proxies
A proxy is a program that receives traffic destined for an other computer. Proxies sometimes require user authentication; they can verify that the user is allowed to connect to the destination, and then connec t to the destination service on behalf of the user. When a proxy is used, the connection to the remote mac hine comes from the machine running the proxy instead of the original machine making the request. Because the proxy generates the connection to the remote machine, it has no problems determining which connections are real and which are spoofed; this is in contrast to stateless packet filtering firewalls.
Proxy server is an intermediary server between client and the internet. Proxy servers offers the following basic functionalities:
- Firewall and network data filtering.
- Network connection sharing — Data caching
Proxies appear in firewalls primarily at the T ransport and Application ISO network levels. In the Internet, the transport level consists of only two protocols, TCP and UDP. This small number of protocols makes writing a proxy easy—one proxy suffices for all protocols that use TCP. Contrast this with t he application-level proxies (covered below), where a separate proxy is required for each service, e.g., Telnet, FTP, HTTP, SMTP, etc
Transport-level proxies have the advantage that a machine outside of the firewall cannot send packets through the firewall which claim to be a part of an established connection. Because the state of the TCP connection is known by the firewall, only packets that are a legitimate part of a communication are allowed inside the firewall.
Proxies at the application level provide the benefits of transport -level proxies, and additionally they can enforce the proper application -level protocol and prevent the abuses of the protocol by either client or server. The result is excellent security and auditing. Unfortunately, application proxies are not without their drawbacks:
- The proxy must be designed for a specific protocol. New protocols are developed frequently, requiring new
proxies; if there is no proxy, there is no access.
- To use an application proxy, the client program must be ch anged to accommodate the proxy. The client needs to
understand the proxy’s authentication method and it must communicate the actual packet destination to the proxy. Because source code is not publicly available for some applications, in these cases the required changes can be made only by the application’s vendor, a significant bottleneck.
- Each packet requires two trips through the complete network protocol stack which adversely affects performance.
This is in contrast to packet filtering, which handles packets at the network layer.
8. Antivirus Software
Anti-virus software is a program or set of programs that are designed to prevent, search for, detect, and remove software viruses, and other malicious softw are like worms, trojans, adware, and more. If a virus infects a computer without an antivirus program, it may delete files, prevent access to files, send spam, spy on you, or perform other
malicious actions. In some situations, a computer may not meet the requirements of a virus and the computer is only used to help spread the virus to other computers that may meet the requirements. Thus an antivirus software can be an effective tool for information and data security.
Regardless of the scope of coverage of various antivirus software, the underlying mechanisms of an antivirus package remain mostly the same. It actively scans files that are introduced to a system, relying on a method to identify potentially hazardous files. This is called signature detection.
Basically, antivirus applications maintain a database of known viruses and compare the scanned files to that database in order to find out whether the characteristics match. If they do, the file is quarantined, which is to say that it is moved to a new, safe location and renamed, so that it does not affect other files on the system.
In addition to signature detection, antivirus programs also attempt to identify suspicious behaviour on a system. This ranges from making suspicious registry entries, or addi ng items to a list that executes automatically u pon system startup. This approach is what helps protect against encrypted viruses, or viruses that are yet to be identified.
9. Intrusion Detection System (IDS)
An Intrusion Detection System is used to detect all types of malicious network traffic and computer usage that can't be detected by a conventional firewall. This includes network attacks against vulnerable services, data driven attacks on applications, host based attacks such as privilege escalation, un authorized logins and access to sensitive files, and malware (viruses, trojan horses, and worms).
An IDS is composed of the following three components:
- Sensors: - which sense the network traffic or system activity and generate events.
- Console: - to monitor events and alerts and control the sensors,
- Detection Engine: - that records events logged by the sensors in a database and uses a system of rules to
generate alerts from the received security events.
There are several ways to categorize an IDS depending on the type and location of the sensors and the methodology used by the engine to generate alerts. In many simple IDS implementations, all three components are combined in a single device or appliance.
Types of Intrusion-Detection systems
- Network Intru sion Detection System: - identifies intrusions by examining network traffic and monitors
multiple hosts. Network Intrusion Detection Systems gain access to network traffic by connecting to a hub, network switch configured for port mirroring, or network tap. An example of a NIDS is Snort.
- Host-based Intrusion Detection System: - consists of an agent on a host which identifies intrusions by
analysing system calls, application logs, file -system modifications (binaries, password files, databases) and other host activities and state.
- Hybrid Intrusion Detection System: - combines one or more approaches. Host agent data is combined with
network information to form a comprehensive view of the network. An example of a Hybrid IDS is Prelude.
10. Vulnerability Scanners
A vulnerability scanner differs from an intrusion detection system, as vulnerability looks for static configurations and the IDS looks for transient misuse or abnormalities. A vulnerability scanner may look for a known NFS vulnerability by examining the a vailable services and configuration on a remote system. An IDS, handling the same vulnerability, would only report the existence of the vulnerability when an attacker attempted to exploit it. Vulnerability scanners, whether network or host scanners, give the organization the opportunity to fix problems before they arise, rather than reacting to an intrusion or misuse that is already in progress. An intrusion detection system detects intrusions in progress, while a vulnerability scanner allows the organization to prevent the intrusion in the first place. Vulnerability scanners may be helpful in organizations without a good incident response capability.
Network Vulnerability Scanner: A network vulnerability scanner operates remotely by examining the network interface on a remote sys tem. It will look for vulnerable services running on that remote machine, and report on a possible vulnerability. Since a network vulnerability scanner can be run from a single machine on the network, it can be installed without impacting the configuration management of other machines. Frequently, these scanners are used by auditors and security groups because they can provide an “outsider’s view” of security holes in a computer or network.
Host Vulnerability Scanner: A host vulnera bility scanner differs f rom a network vulnerability scanner in that it is confined entirely to the local operating system. A network vulnerability scanner requires the target machine be accessible from the network in order for it to operate; a host vulnera bility scanner does not. Host vulnerability scanners are software packages that are installed on particular operating systems. Once the software is installed it can be configured to run at any time of the day or night.
Interactive Practice Quiz Deck
Test your mastery with our complete interactive multiple-choice assessment deck. Select an answer to evaluate your reasoning and reveal detailed explanatory feedback!
Q1. Which of the fol lowing is true about Data encryption?
Q2. Which of the following is an antivirus program?
Q3. Which of the following is a default port number for Apache and most web servers?
Q4. A hash function guarantees integrity of a message. It guarantees that message has not be?
Q5. MAC stands for
Q6. What is the use of Digital Signatures?
Q7. A hacke r contacts you my phone or email and attempts to acquire your password.
Q8. Authentication is.
Q9. IPsec is designed to provide the security at the?
Q10. WPA2 is used for security in?
Q11. Message must be encrypted at sender site and decrypted at the?
Q12. In tunnel mode IPsec protects the
Q13. Which of the following are possible sizes of MACs? (i) 12 Bytes (ii) 16 Bytes (iii) 20 Bytes (iv) 24 Bytes
Q14. Frequency band definition and Wireless signal encoding are functions of which layer?
Q15. ___________ services are used to control IEEE 302.11 LAN access and confidentiality.
Q16. …………… is to protect data and passwords.
Q17. What do you understand by spyware?
Q18. Which of the following is true about SID?
Q19. What is Trojan horse?
Q20. Define confidentiality and authentication Confidentiality:
Q21. A proxy firewall filters at the…
Q22. A sender must not be able to deny sending a message that was sent, is known as
Q23. In tunnel mode IPsec protects the
Q24. Network layer firewall works as a
Q25. Network layer firewall has two sub-categories as
Q26. Frame relay has error detection at the
Q27. PGP encrypts data by using a block cipher called
Q28. When a DNS server accepts and uses incorrect information from a host that has no authority giving that information, then it is called
Q29. Which protocol consists of only 1 bit?
Q30. The correct order of the of the MAC header is-
Q31. A hash function guarantees integrity of a message. It guarantees that message has not be
Q32. In ………………. Mode, the authentication header is inserted immediately after the IP header.
Q33. Which of the following is true regarding boot sector virus?
Q34. One of protocols to provide security at application layer is
Q35. MAC address also known as.
Q36. What do you understand by VPN?
Q37. What do you underst and by proxy servers and how do they protect computer networks?
Q38. Which of the following is a function of a network administrator?
Q39. Which of the following in not true about DHCP?
Q40. What do you understand by Malware?
Q41. Which one of the following is not a higher –layer SSL protocol?
Q42. Which one of the following is not a session state parameter?
Q43. Which protocol is used to c onvey SSL related alerts to the peer entity?
Q44. What is the error (if any) in the following representation – 111.56.045.78?
Q45. What is the error (if any) in the following representation – 221.34.7.8.20?
Q46. The components of IP security includes ………………….
Q47. State true or false. (i) Socks are a standard for circuit level gateways. (ii) The NAT is used for small number of the hosts in a private network.
Q48. A ………………. is an extension of an enterprise’s private intranet across a public Network such as the Internet across a public Network such as the Internet, creating a secure private connection.
Q49. Which of the following is true with respect to CryptoAPI?
Q50. Which Feature on a network switch can be used to prevent rogue DHCP Servers?
Q51. Which of the following is true when describing a multicast address?
Q52. Which statement(s) about IPv6 addresses are true? (1) Leading zeros are required. (2) Two colons are used to represent successive hexadecimal fields of zeros. (3) Two colons are used to separate fields. (4) A single interface will have multiple IPv6 addresses of different types.
Q53. How Can You Prevent A B rute Force Attack On A Windows Login Page?
Q54. What is true regarding SRM?
Q55. ……………. Work To Protect The Entire Network And All Devices That Are Connected To It?
Q56. An Attacker could alter the Mac Address in the ARP Cache so that the corresponding IP address would point to a different computer, which is known as ____?
Q57. In order to a void detection some Viruses ca n alter how they appear. These are known as ____ Viruses?
Q58. How do you remove Network Security keys?
Q59. What do you understand by IP Grabber?
Q60. A ____ Virus can interrupt almos t any function executed by the computer Operating System and alter it for its own malicious purposes?
Mastery check
How well can you recall this?
Finished this lesson?