Docsity

Complete Cyber security notes, Exams of Computer Security

Partial preview of the text

Download Complete Cyber security notes and more Exams Computer Security in PDF only on Docsity!

UNIT-I Introduction to Cyber Security Cyber Security Introduction - Cyber Security Basics: Cyber security is the most concerned matter as cyber threats and attacks are overgrowing. Attackers are now using more sophisticated techniques to target the systems. Individuals, small-scale businesses or large organization, are all being impacted. So, all these firms whether IT or non-IT firms have understood the importance of Cyber Security and focusing on adopting all possible measures to deal with cyber threats. What is cyber security? "Cyber security is primarily about people, processes, and technologies working together to encompass the full range of threat reduction, vulnerability reduction, deterrence, international engagement, incident response. resiliency, and recovery policies and activities, including computer network operations, information assurance, law enforcement, etc." OR Cyber security is the body of technologies, processes, and practices designed to protect networks, computers, programs and data from attack, damage or unauthorized access. ¢ The term cyber security refers to techniques and practices designed to protect digital data. ¢ The data that is stored, transmitted or used on an information system. OR Cyber security is the protection of Internet-connected systems, including hardware, software, and data from cyber attacks. It is made up of two words one is cyber and other is security. « Cyber is related to the technology which contains systems, network and programs or data. Whereas security related to the protection which includes systems security, network security and application and information security. Why is cyber security important? Listed below are the reasons why cyber security is so important in what's become a predominant digital world: Cyber attacks can be extremely expensive for businesses to endure. In addition to financial damage suffered by the business, a data breach can also inflict untold reputational damage. Cyber-attacks these days are becoming progressively destructive. Cybercriminals are using more sophisticated ways to initiate cyber attacks. ¢ Regulations such as GDPR are forcing organizations into taking better care of the personal data they hold. Because of the above reasons, cyber security has become an important part of the business and the focus now is on developing appropriate response plans that minimize the damage in the event of a cyber attack. But, an organization or an individual can develop a proper response plan only when he has a good grip on cyber security fundamentals. Cyber security Fundamentals — Confidentiality: Confidentiality is about preventing the disclosure of data to unauthorized parties. It also means trying to keep the identity of authorized parties involved in sharing and holding data private and anonymous. Often confidentiality is compromised by cracking poorly encrypted data, Man-in-the-middle (MITM) attacks, disclosing sensitive data. Standard measures to establish confidentiality include: Data encryption Two-factor authentication Biometric verification Security tokens Integrity Integrity refers to protecting information from being modified by unauthorized parties. Standard measures to guarantee integrity include: Cryptographic checksums Using file permissions Uninterrupted power supplies Data backups Availability Availability is making sure that authorized parties are able to access the information when needed. Standard measures to guarantee availability include: Backing up data to external drives Implementing firewalls Having backup power supplies Data redundancy 6. Denial of Service It is an attack which meant to make a server or network resource unavailable to the users. It accomplishes this by flooding the target with traffic or sending it information that triggers a crash. It uses the single system and single internet connection to attack a server. It can be classified into the following- Volume-based attacks- Its goal is to saturate the bandwidth of the attacked site, and is measured in bit per second. Protocol attacks- It consumes actual server resources, and is measured in a packet. Application layer attacks- Its goal is to crash the web server and is measured in request per second. 7. Dictionary attacks This type of attack stored the list of a commonly used password and validated them to get original password. 8. URL Interpretation It is a type of attack where we can change the certain parts of a URL, and one can make a web server to deliver web pages for which he is not authorized to browse. 9. File Inclusion attacks It is a type of attack that allows an attacker to access unauthorized or essential files which is available on the web server or to execute malicious files on the web server by making use of the include functionality. 10. Man in the middle attacks It is a type of attack that allows an attacker to intercepts the connection between client and server and acts as a bridge between them. Due to this, an attacker will be able to read, insert and modify the data in the intercepted connection. System-based attacks These are the attacks which are intended to compromise a computer or a computer network. Some of the important system-based attacks are as follows- 1. Virus It is a type of malicious software program that spread throughout the computer files without the knowledge of a user. It is a self-replicating malicious computer program that replicates by inserting copies of itself into other computer programs when executed. It can also execute instructions that cause harm to the system. 2. Worm It is a type of malware whose primary function is to replicate itself to spread to uninfected computers. It works same as the computer virus. Worms often originate from email attachments that appear to be from trusted senders. 3. Trajan horse It is a malicious program that occurs unexpected changes to computer setting and unusual activity, even when the computer should be idle. It misleads the user of its true intent. It appears to be a normal application but when opened/executed some malicious code will run in the background. 4. Backdoors It is a method that bypasses the normal authentication process. A developer may create a backdoor so that an application or operating system can be accessed for troubleshooting or other purposes. 5. Bots A bot (short for "robot") is an automated process that interacts with other network services. Some bots program run automatically, while others only execute commands when they receive specific input. Common examples of bots program are the crawler, chatroom bols, and malicious bots. THE 7 LAYERS OF CYBERSECURITY THE HUMAN LAYER PERIMETER SECURITY NETWORK SECURITY ENDPOINT SECURITY APPLICATION SECURITY DATA SECURITY SECURITY VULNERABILITIES, THREATS AND ATTACKS — Categories of vulnerabilities ¢ Corrupted (Loss of integrity) e Leaky (Loss of confidentiality) « Unavailable or very slow (Loss of availability) — Threats represent potential security harm to an asset when vulnerabilities are exploited - Attacks are threats that have been carried out e Passive — Make use of information from the system without affecting system resources ° Active — Aller system resources or affect operation e Insider — Initiated by an entity inside the organization e Outsider — Initiated from outside the perimeter Computer criminals Computer criminals have access to enormous amounts of hardware, software, and data; they have the potential to cripple much of effective business and government throughout the world. In a sense, the purpose of computer security is to prevent these criminals from doing damage. We say computer crime is any crime involving a computer or aided by the use of one. Although this definition is admittedly broad, it allows us to consider ways to protect ourselves, our businesses, and our communilies against those who use computers maliciously. One approach to prevention or moderation is to understand who commits these crimes and why. Many studies have attempted to determine the characteristics of computer criminals. By studying those who have already used computers to commit crimes, we may be able in the future to spot likely criminals and prevent the crimes from occurring. CIA Triad The CIA Triad is actually a security model that has been developed to help people think about various parts of IT security. CIA triad broken down: Confidentiality It's crucial in today's world for people to protect their sensilive, private information from unauthorized access. Protecting confidentiality is dependent on being able to define and enforce certain access levels for information. In some cases, doing this involves separating information into various collections that are organized by who needs access to the information and how sensitive that information actually is - i.e. the amount of damage suffered if the confidentiality was breached. Some of the most common means used to manage confidentiality include access control lists, volume and file encryption, and Unix file permissions. Integrity Data integrity is what the "I" in CIA Triad stands for. This is an essential component of the CIA Triad and designed to protect data from deletion or modification from any unauthorized party, and it ensures that when an authorized person makes a change that should not have been made the damage can be reversed. Availability This is the final component of the CIA Triad and refers to the actual availability of your data. Authenticalion mechanisms, access channels and systems all have to work properly for the information they protect and ensure it's available when il is needed. Understanding the CIA triad The CIA Triad is all about information. While this is considered the core factor of the majority of IT security, it promotes a limited view of the security that ignores other important factors. For example, even though availability may serve to make sure you don't lose access to resources needed to provide information when it is needed, thinking about information security in itself doesn't guarantee that someone else hasn't used your hardware resources without authorization. It's important to understand what the CIA Triad is, how it is used to plan and also to implement a quality security policy while understanding the various principles behind it. It's also important to understand the limitations it presents. When you are informed, you can utilize the CIA Triad for what it has to offer and avoid the consequences that may come along by not understanding it. Assets and Threat What is an Asset: An asset is any data, device or other component of an organization’s systems that is valuable — often because it contains sensitive data or can be used to access such information. For example: An employee’s desktop computer, laptop or company phone would be considered an asset, as would applications on those devices. Likewise, critical infrastructure, such as rs and support systems, are assets. An organization’s most common assets are information s. These are things such as databases and physical files — i.e. the sensitive data that you a threat: A threat is any incident that could negatively affect an asset — for example, if it’s lost, knocked offline or accessed by an unauthorized party. Types of cyber-attacker actions and their motivations when deliberate Active attacks: An active attack is a network exploit in which a hacker attempts to make changes to data on the target or data en route to the target. Types of Active attacks: Masquerade: in this attack, the intruder pretends to be a particular user of a system to gain access or to gain greater privileges than they are authorized for. A masquerade may be attempted through the use of stolen login IDs and passwords, through finding security gaps in programs or through bypassing the authentication mechanism. Session replay: In this type of attack, a hacker steals an authorized user’s log in information by stealing the session ID. The intruder gains access and the ability to do anything the authorized user can do on the website. Message modification: In this attack, an intruder alters packet header addresses to direct a message to a different destination or modify the data on a target machine. In a denial of service (DoS) attack, users are deprived of a to a network or web resource. This is generally accomplished by overwhelming the target with more traffic than it can handle. In a distributed denial-of-seryice (DDoS) exploit, large numbers of compromised systems (sometimes called a botnet or zombie army) attack a single target. Passive Attacks:Passive attacks are relatively scarce from a classification perspective, but can be carried out with relative ease, particularly if the traffic is not encrypted. Types of Active attacks: Eavesdropping (tapping): the attacker simply listens to messages exchanged by two entities. For the attack to be useful, the traffic must not be encrypted. Any unencrypted information, such as a password sent in response to an HTTP request, may be retrieved by the attacker. Traffic analysis: the attacker looks at the metadata transmitted in traffic in order to deduce information relating to the exchange and the participating entities, e.g. the form of the exchanged traffic (rate, duration, etc.). In the cases where encrypted data are used, traffic analysis can also lead to attacks by cryptanalysis, whereby the attacker may obtain information or succeed in unencrypting the traffic. Software Attacks: Malicious code (sometimes called malware) is a type of software designed to take over or damage a computer user's operating system, without the user's knowledge or approval. It can be very difficult to remove and very damaging. Common malware examples are listed in the following table: Attack | Characteristics Virus A virus is a program that attempts to damage a computer system and replicate itself to other computer systems. A virus: « Requires a host to replicate and usually attaches itself to a host file or a hard drive sector. « Replicates each time the host is used. « Often focuses on destruction or corruption of data. e Usually attaches to files with execution capabilities such as .doc, .exe, and .bat extensions. ¢ Often distributes via e-mail. Many viruses can e-mail themselves to everyone in your address book. « Examples: Stoned, Michelangelo, Melissa, I Love You. [Worm |A worm isa self-replicating program that can be designed to do any number of | things, such as delete files or send documents via e-mail. A worm can negatively impact network traffic just in the process of replicating itself. A worm: e Can install a backdoor in the infected computer. « Is usually introduced into the system through a vulnerability. e Infects one system and spreads to other systems on the network. » Example: Code Red. Trojan | A Trojan horse is a malicious program that is disguised as legitimate software. horse Discretionary environments are often more vulnerable and susceptible to Trojan horse attacks because security is user focused and user directed. Thus the compromise of a user account could lead to the compromise of the entire environment. A Trojan horse: « Cannot replicate itself. * Often contains spying functions (such as a packet sniffer) or backdoor functions that allow a computer to be remotely controlled from the network. * Often is hidden in useful software such as screen savers or games. e Example: Back Orifice, Net Bus, Whack-a-Mole. Logic A Logic Bomb is malware that lies dormant until triggered. A logic bomb is a Bomb specific example of an asynchronous attack. « A trigger activity may be a specific date and time, the launching of a specific program, or the processing of a specific type of activity. « Logic bombs do not self-replicate. individuals, competitors, rivals, groups, governments and enemies for personal, economic. political or military advantage using methods on the Internet. Security Policies: Security policies are a formal set of rules which is issued by an organization to ensure that the user who are authorized to access company technology and information assets comply with tules and guidelines related to the security of information. A security policy also considered to be a "living document" which means that the document is never finished, but it is continuously updated as requirements of the technology and employee changes. We use security policies to manage our network security. Most types of security policies are automatically created during the installation. We can also customize policies to suit our specific environment. Need of Security policies- 1) It increases efficiency. 2) It upholds discipline and accountability 3) It can make or break a business deal 4) It helps to educate employees on security literacy There are some important cyber security policies recommendations describe below- Virus and Spyware Pratection policy: ¢ Ithelps to detect threads in files, to detect applications that exhibits suspicious behavior. « Removes, and repairs the side effects of viruses and security risks by using signatures. Firewall Policy: It blocks the unauthorized users from accessing the systems and networks that connect to the Internet. It detects the attacks by cybercriminals and removes the unwanted sources of network traffic. Intrusion Prevention policy: «This policy automatically detects and blocks the network attacks and browser altacks. « Italso protects applications from vulnerabilities and checks the contents of one or more data packages and detects malware which is coming through legal ways. Application and Device Control: This policy protects a system's resources from applications and manages the peripheral devices that can attach to a system. The device control policy applies to both Windows and Mac computers whereas application control policy can be applied only to Windows clients. Section 66 D - This section was inserted on-demand. focusing on punishing cheaters doing impersonation using computer resources. Indian Penal Code (IPC) 1980 Identity thefts and associated cyber frauds are embodied in the Indian Penal Code (IPC), 1860 - invoked along with the Information Technology Act of 2000. The primary relevant section of the IPC covers cyber frauds: Forgery (Section 464) Forgery pre-planned for cheating (Section 468) False documentation (Section 465) Presenting a forged document as genuine (Section 471) Reputation damage (Section 469) Companies Act of 2013 The corporate stakeholders refer to the Companies Act of 2013 as the legal obligation ne for the refinement of daily operations. The directives of this Act cements all the required techno-legal compliances, putting the less compliant companies in a legal fix. The Companies Act 2013 vested powers in the hands of the SFIO (Serious Frauds Investigation Office) to prosecute Indian companies and their directors. Also, post the notification of the Companies Inspection, Investment, and Inquiry Rules, 2014, SFIOs has become even more proactive and stern in this regard. The legislature ensured that all the regulatory compliances are well-covered, including cyber forensics, e-discovery, and cybersecurity diligence. The Companies (Management and Administration) Rules, 2014 prescribes strict guidelines confirming the cybersecurity obligations and responsibilities upon the company directors and leaders. NIST Compliance The Cybersecurity Framework (NCFS), authorized by the National Institute of Standards and Technology (NIST), offers a harmonized approach to cybersecurity as the most reliable global certifying body. NIST Cybersecurity Framework encompasses all required guidelines, standards, and best practices to manage the cyber-related risks responsibly. This framework is prioritized on flexibility and cost-effectiveness. It promotes the resilience and protection of critical infrastructure by: Allowing better interpretation, management, and reduction of cybersecurity risks — to mitigate data loss, data misuse, and the subsequent restoration costs Determining the most important activilies and critical operations - to focus on securing them Demonstrates the trust-worthiness of organizations who secure critical assets Helps to prioritize investments to maximize the cybersecurity ROI Addresses regulatory and contractual obligations Supports the wider information security program By combining the NIST CSF framework with ISO/IEC 27001 - cybersecurity risk management becomes simplified. It also makes communication easier throughout the organization and across the supply chains via a common cybersecurity directive laid by NIST. Final Thoughts As human dependence on technology intensifies, cyber laws in India and across the globe need constant up-gradation and refinements. The pandemic has also pushed much of the workforce into a remote working module increasing the need for app security. Lawmakers have to go the extra mile to stay ahead of the impostors, in order to block them at their advent. Cybercrimes can be controlled but it needs collaborative efforts of the lawmakers, the Internet or Network providers, the intercessors like banks and shopping sites, and, most importantly, the users. Only the prudent efforts of these stakeholders, ensuring their confinement to the law of the cyberland - can bring about online safety and resilience. ROLE OF INTERNATIONAL LAWS In various countries, areas of the computing and communication industries are regulated by governmental bodies 4 There are specific rules on the uses to which computers and computer networks may be pul, in particular there are rules on unauthorized access, data privacy and spamming ) There are also limits on the use of encryption and of equipment which may be used to defeat copy protection schemes ) There are laws governing trade on the Internet, taxation, consumer protection, and advertising 4 There are laws on censorship versus freedom of expression, rules on public access to government information, and individual access to information held on them by private bodies 4 Some states limit access to the Internet, by law as well as by technical means. INTERNATIONAL LAW FOR CYBER CRIME Cybercrime is "international" that there are ‘no cyber-borders between countries’ 2 The complexity in types and forms of cybercrime increases the difficulty to fight back \ fighting cybercrime calls for international cooperation 4 Various organizations and governments have already made joint efforts in establishing global standards of legislation and law enforcement both on a regional and on an international scale THE INDIAN CYBERSPACE Indian cyberspace was born in 1975 with the establishment of National Informatics Centre (NIC) with an aim to provide govt with IT solutions. Three networks (NWs) were set up between 1986 and 1988 to connect various agencies of govt. These NWs were, INDONET which connected the IBM mainframe installations that made up India’s computer infrastructure, NICNET (the NIC NW) a nationwide very small aperture terminal (VSAT) NW for public sector organisations as well as to connect the central govt with the state govts and district administrations, the third NW setup was ERNET (the Education and Research Network), to serve the academic and research communities. New Internet Policy of 1998 paved the way for services from multiple Internet service providers (ISPs) and gave boost to the Internet user base grow from 1.4 million in 1999 to over 150 million by Dec 2012. Exponential growth rate is attributed to increasing Internet access through mobile phones and tablets. Govt is making a determined push to increase broadband Forensic examiners typically analyze data from personal computers, laptops, personal digital assistants, cell phones, servers, tapes, and any other type of media. This process can involve anything from breaking encryption, to executing search warrants with a law enforcement team, to recovering and analyzing files from hard drives that will be critical evidence in the most serious civil and criminal cases. The forensic examination of computers, and data storage media, is a complicated and highly specialized process. The results of forensic examinations are compiled and included in reports. In many cases, examiners testify to their findings. where their skills and abilities are put to ultimate scrutiny. DIGITAL FORENSICS: Digital Forensics is defined as the process of preservation, identification, extraction, and documentation of computer evidence which can be used by the court of law. It is a science of finding evidence from digital media like a computer, mobile phone, server, or network. It provides the forensic team with the best techniques and tools to solve complicated digital- related cases. Digital Forensics helps the forensic team to analyzes, inspect, identifies, and preserve the digital evidence residing on various types of electronic devices. Digital forensic science is a branch of forensic science that focuses on the recovery and investigation of material found in digital devices related to cybercrime. THE NEED FOR COMPUTER FORENSICS Computer forensics is also important because it can save your organization money. ... From a technical standpoint, the main goal of computer forensics is to identify. collect, preserve, and analyze data in a way that preserves the integrity of the evidence collected so it can be used effectively in a legal case. CYBER FORENSICS AND DIGITAL EVIDENCE: Digital evidence is information stored or transmitted in binary form that may be relied on in court. It can be found on a computer hard drive, a mobile phone, among other places. Digital evidence is commonly associated with electronic crime, or e-crime, such as child pornography or credit card fraud. However, digital evidence is now used to prosecute all types of crimes, not just e-crime. For example, suspects' e-mail or mobile phone files might contain critical evidence regarding their intent, their whereabouts at the time of a crime and their relationship with other suspects. In 2005, for example, a floppy disk led investigators to the BTK serial killer who had eluded police capture since 1974 and claimed the lives of at least 10 victims. In an effort to fight e-crime and to collect relevant digital evidence for all crimes, law enforcement agencies are incorporating the collection and analysis of digital evidence, also known as computer forensics, into their infrastructure. Law enforcement agencies are challenged by the need to train officers to collect digital evidence and keep up with rapidly evolving technologies such as computer operating systems. FORENSICS ANALYSIS OF EMAIL: E-mail forensics refers to the study of source and content of e-mail as evidence to identify the actual sender and recipient of a message, data/time of transmission, detailed record of e-mail transaction, intent of the sender, etc. This study involves investigation of metadata, keyword searching, port scanning, etc. for authorship attribution and identification of e-mail scams. Various approaches that are used for e-mail forensic are: Header Analysis — Meta data in the e-mail message in the form of control information ie. envelope and headers including headers in the message body contain information about the sender and/or the path along which the message has traversed. Some of these may be spoofed to conceal the identity of the sender. A detailed analysis of these headers and their correlation is performed in header analysis. Bait Tactics — In bait tactic investigation an e-mail with http: “