Made with ScholarlyMake flashcards like these from your own notes
Question:What is the CIA triangle in cybersecurity?
Answer:It stands for confidentiality, integrity, and availability, which are three pillars of cybersecurity.
Question:Define Confidentiality in cybersecurity.
Answer:Confidentiality ensures that sensitive data is accessed only by authorized users, often achieved through encryption methods.
Question:Explain Integrity in cybersecurity.
Answer:Integrity ensures that data has not been changed, modified, or corrupted while in transit, commonly protected using hashing techniques.
Question:Describe Availability in cybersecurity.
Answer:Availability ensures that data is available when needed, often maintained through backups to protect against DDoS attacks.
Question:What is a Sniffing Attack in cybersecurity?
Answer:A Sniffing Attack involves attackers capturing data using tools like Wireshark to intercept and read it in clear text, posing a serious security threat.
Question:Define Man in the Middle Attack in cybersecurity.
Answer:A Man in the Middle Attack occurs when an attacker sits between devices to intercept and manipulate data during transmission.
Question:Explain the difference between DoS and DDoS attacks.
Answer:DoS disrupts services from a single attacker, while DDoS uses multiple computers to attack a single target, both aimed at compromising availability.
Question:What is a Denial of Service (DoS) attack?
Answer:A DoS attack disrupts services by overwhelming a system, similar to one person blocking the entrance to a store.
Question:What is a Distributed Denial of Service (DDoS) attack?
Answer:A DDoS attack uses multiple sources to overwhelm a target, like a large group of people blocking a store entrance from different sides.
Question:Explain the concept of Encoding in cybersecurity.
Answer:Encoding is a simple algorithm that transforms data into another format, reversible using tools like link sanitizer and cyberchef, aiding in data transformation and protection.
Question:Define Encryption in cybersecurity.
Answer:Encryption is a two-way function used to maintain confidentiality, with algorithms like RSA, AES, and 3DES commonly employed for data security.
Question:What is Hashing in cybersecurity?
Answer:Hashing is a one-way algorithm that validates data integrity, with common algorithms like MD5, SHA-1, and SHA-2 used to generate unique hash values for data verification.
Question:Explain the difference between Encryption and Hashing.
Answer:Encryption hides data for confidentiality and is reversible, while hashing verifies data integrity in a one-way function.
Question:What is a digital signature in cybersecurity?
Answer:A digital signature is a cryptographic technique using private and public keys to verify the authenticity and integrity of digital documents or messages, ensuring data integrity and sender authentication.
Question:What is a three-way handshake in networking?
Answer:A three-way handshake is a process to establish a connection between a client and a server, involving three steps: SYN, SYNACK, and ACK packets exchanged to initiate communication.
Question:Differentiate between TCP and UDP protocols.
Answer:TCP (Transmission Control Protocol) is connection-oriented and reliable, ensuring data delivery, while UDP (User Datagram Protocol) is connectionless and faster, suitable for real-time applications but with no reliability guarantees.
Question:What is a three-way handshake in networking?
Answer:A process used to create a connection between a client and a server involving three steps: SYN packet from client, SYNACK packet from server, and ACK packet from client.
Question:What are the main differences between TCP and UDP protocols?
Answer:TCP is connection-based, reliable, and slower for large data transfers. UDP is connectionless, less reliable, and faster, making it suitable for voice or video calls.
Question:Why is UDP preferred for video conferences and live streams despite not providing receipts?
Answer:Sometimes, connection speed is more important than reliability, making UDP the preferred protocol for applications where speed is crucial.
Question:Explain the TCP flags: SYN, ACK, FIN, RES, PSH, URG.
Answer:SYN - synchronization for connection establishment, ACK - acknowledgment of packets received, FIN - gracefully terminate the connection, RES - reset to stop the connection, PSH - immediately pushes out data, URG - informs to prioritize certain data.
Question:What are some examples of cybersecurity frameworks used by professionals and organizations?
Answer:Examples include MITRE ATT&CK Framework, Cyber Kill Chain, NIST Cybersecurity Framework, SANS, and ISO, each serving different purposes in cybersecurity management and defense.
Question:What is the NIST framework used for?
Answer:The NIST framework helps organizations manage and reduce cybersecurity risks.
Question:How many steps are there in the NIST framework?
Answer:The NIST framework has four steps: preparation, detection and monitoring, eradication, containment and recovery, and post-incident activity.
Question:Which step of the NIST framework involves detection and monitoring?
Answer:Step two of the NIST framework involves detection and monitoring.
Question:What is the NIST Incident Response Framework for?
Answer:The NIST Incident Response Framework is a guide for developing, implementing, and maintaining incident response capabilities within an organization.
Question:What is the most important incident response step according to the text?
Answer:The most important incident response step according to the text is preparation, as it allows organizations to respond quickly and efficiently to incidents.
Question:How many layers are there in the OSI model?
Answer:The OSI model consists of seven layers, each serving a specific function in network communication.
Question:What is the purpose of the OSI model?
Answer:The purpose of the OSI model is to enable communication between different systems over a network.
Question:Application Layer
Answer:User interface or Human Computer interaction layer where applications can access the network services (HTTP, FTP, SMTP, DNS) and are vulnerable to attacks such as phishing, malware, and social engineering.
Question:Presentation Layer
Answer:Encryption and decryption occur (SSL, SSH) to protect against attacks like buffer overflow and code injection.
Question:Session Layer
Answer:Maintains connections and controls ports and sessions using API calls (NFS, SQL) and is susceptible to attacks like session hijacking and replay attacks.
Question:Transport Layer
Answer:Responsible for data transmission (TCP, UDP) and susceptible to attacks like TCP SYN flooding and session hijacking, protected by IDS/IPS and Firewalls.
Question:Network Layer
Answer:Decides the path data will take and how it gets from one host to another (IP, ICMP, ARP, Router) and is vulnerable to attacks like IP spoofing and DNS hijacking, protected by IDS/IPS, Firewalls, and Routers.
Question:Data Link Layer
Answer:Defines the data format on the network (Mac, Switch, Bridges, Ethernet) and is vulnerable to attacks like MAC address spoofing and VLAN hopping, protected by Switches.
Question:Physical Layer
Answer:The physical structure (wires, cables) and is susceptible to attacks like cable cutting and signal interference.
Question:Proxy
Answer:Operates at OSI Layer 7 providing application level filtering and control.
Question:IDS/IPS
Answer:Intrusion Detection/Prevention Systems operate across multiple layers, focusing on Layers 3, 4, 5, and 6 to detect and prevent network-based attacks.
Question:Firewall
Answer:Operates at Layers 3 and 4, controlling traffic based on defined security rules.
Question:Encapsulation
Answer:The process where as data is passed down each layer of the OSI model, more information specific to the layer is added, resembling a nesting Matryoshka doll.
Question:Decapsulation
Answer:The process where the receiver removes the added information as data is passed up the OSI layers to reach the original data, resembling unpacking a Matryoshka doll.
Question:Cyber Kill Chain
Answer:A framework that helps cybersecurity professionals understand and defend against real-world cyber threats, consisting of seven steps from early reconnaissance to data exfiltration.
Question:Reconnaissance
Answer:The initial phase of the Cyber Kill Chain where attackers research, identify targets, and attempt to identify vulnerabilities.
Question:Weaponization
Answer:The phase in the Cyber Kill Chain where attackers create malicious payloads to deliver to their targets, turning vulnerabilities into active threats.
Question:What is the Cyber Kill Chain framework?
Answer:It describes the phases of a cyber attack from early reconnaissance to the goal of data exfiltration.
Question:What is the first phase in the Cyber Kill Chain framework?
Answer:Reconnaissance - where the attacker researches, identifies a target, and attempts to identify vulnerabilities.
Question:What is the second phase in the Cyber Kill Chain framework?
Answer:Weaponization - attackers create their attacks, such as malicious documents or files.
Question:What is the third phase in the Cyber Kill Chain framework?
Answer:Delivery - attackers transmit their weapons to the target through various means like attachments or malicious websites.
Question:What is the fourth phase in the Cyber Kill Chain framework?
Answer:Exploitation - the weapon triggers and exploits vulnerabilities in the OS and applications.
Question:What is the fifth phase in the Cyber Kill Chain framework?
Answer:Installation - a backdoor is installed on the victim system for persistent access.
Question:What is the sixth phase in the Cyber Kill Chain framework?
Answer:Command and Control - compromised hosts communicate outbound to a controller server to establish a channel.
Question:What is the final phase in the Cyber Kill Chain framework?
Answer:Actions on Objective - the attacker takes actions to achieve their goals like data exfiltration or encryption.
Question:What are some common TCP ports and their associated services?
Answer:FTP (21), SSH (22), SFTP (22), Telnet (23), SMTP (25), HTTP (80), HTTPS (443), POP3 (110), SMB (139, 445), IMAP (143), RDP (3389), LDAP (389), LDAPS (636).
Question:What are some common UDP ports and their associated services?
Answer:DNS (53 for zone transfer, 53 for query), NTP (123), DHCP (67, 68), TFTP (69), SNMP (161), Kerberos (88).
Question:What is ICMP used for in networking?
Answer:ICMP is used for reporting errors and performing network diagnostics.
Question:What is a firewall and its purpose?
Answer:A firewall is a network security device or software that monitors and controls incoming and outgoing traffic based on security rules to prevent unauthorized access and protect against cyber threats.
Question:What are the types of firewalls?
Answer:Packet Filtering Firewalls, Layer 3 Network Stateful Inspection Firewalls, Layer 4 TCP UDP Transport Proxy Firewalls, Layer 7 Application Next Generation Firewalls (NGFW).
Question:What is the role of firewalls in network security?
Answer:Firewalls play a crucial role in protecting networks from unauthorized access, data breaches, and other cyber threats by enforcing security policies and controlling network traffic.
Question:What are Packet Filtering Firewalls?
Answer:Packet Filtering Firewalls examine data packets as they pass through the firewall and filter them based on predefined rules.
Question:What are Layer 3 Network Stateful Inspection Firewalls?
Answer:Layer 3 Network Stateful Inspection Firewalls track the state of active connections and make decisions about whether to allow or block traffic based on the context of the connection.
Question:What are Layer 4 TCP UDP Transport Proxy Firewalls?
Answer:Layer 4 TCP UDP Transport Proxy Firewalls act as an intermediary between internal and external networks, intercepting and inspecting traffic before forwarding it to its destination.
Question:What are Layer 7 Application Next Generation Firewalls (NGFW)?
Answer:Layer 7 Application Next Generation Firewalls integrate advanced features such as intrusion detection and prevention, application-level filtering, and deep packet inspection to provide enhanced security capabilities.
Question:What is the difference between an IPS and a Firewall?
Answer:A Firewall acts as a barrier between internal and external networks, controlling traffic based on security rules, while an IPS (Intrusion Prevention System) actively monitors and analyzes network traffic to detect and block suspicious or malicious activity.
Question:What is malware?
Answer:Malware is software designed to attack target systems, including viruses, trojans, worms, adware, spyware, ransomware, etc.
Question:What is Ransomware?
Answer:Ransomware is a type of malware that denies a user access to a system or data until a sum of money is paid.
Question:How to prevent Ransomware attacks?
Answer:1. Maintain backups 2. Develop plans and policies 3. Review open port settings 4. Harden endpoints 5. Keep systems updated 6. Implement an IDS 7. Security Awareness and Training 8. Use anti-ransomware software.
Question:How to detect ransomware attacks?
Answer:1. Watch out for known file extensions 2. Watch out for an increase in file renames 3. Look for IoCs 4. Use SIEM to aggregate alert data.
Question:How to prevent ransomware attacks?
Answer:1. Watch out for known file extensions 2. Watch out for an increase in file renames 3. Look for IoCs (Indicators of Compromise) 4. Use SIEM (Security Information and Event Management) to Aggregate Alert Data
Question:What is ransomware?
Answer:Ransomware is malicious software that encrypts files on a computer or network, making them inaccessible. Attackers demand payment, usually in cryptocurrency, in exchange for providing the decryption key needed to unlock the files. It is a form of digital extortion that can have serious consequences for individuals and organizations.
Question:What is the difference between SQL injection and Blind SQL injection?
Answer:SQL injection involves injecting malicious SQL code into a database query to manipulate the database directly, while Blind SQL injection involves sending SQL queries to the database to gather information indirectly without retrieving data. SQL injection exposes error messages or results, while Blind SQL injection does not return meaningful responses to the attacker.
Question:How to prevent SQL injection and Blind SQL injection attacks?
Answer:Prevent by implementing Input Validation and Error handling mechanisms to ensure that user inputs are sanitized and validated before interacting with the database. It is crucial to validate and sanitize all user inputs to prevent malicious SQL queries from being executed.