Made with ScholarlyMake flashcards like these from your own notes
Question:How is the broad field of cryptology divided into two main branches?
Answer:Cryptology consists of Cryptography (designing security techniques) and Cryptanalysis (breaking or forging security techniques).
Question:What is the primary focus of computer security compared to network security?
Answer:Computer security protects devices and the data stored on them, while network security protects data during transmission between machines.
Question:What are the five main components required for a symmetric encryption system?
Answer:Plaintext (original message), encryption algorithm, secret key, ciphertext (scrambled message), and decryption algorithm.
Question:How does symmetric encryption differ from asymmetric encryption regarding key usage?
Answer:Symmetric encryption uses one shared secret key for both locking and unlocking. Asymmetric encryption uses two keys: a public key and a private key.
Question:What is the difference between the two types of passive attacks: release of message contents and traffic analysis?
Answer:Release of message contents involves reading private data. Traffic analysis involves studying communication patterns (who, when, how often) to infer secrets.
Question:Name and define the four main categories of active attacks.
Answer:1. Masquerade (pretending to be someone else). 2. Replay (resending old data). 3. Modification (changing message content). 4. Denial of Service (flooding a server).
Question:What are the primary security goals threatened by passive attacks versus active attacks?
Answer:Passive attacks threaten confidentiality. Active attacks threaten integrity and availability.
Question:What does Kerckhoffs's Principle state regarding the security of a system?
Answer:Security should depend solely on the secrecy of the key, not on the secrecy of the encryption algorithm.
Question:List and define the five primary security services identified in the X.800 standard.
Answer:1. Authentication (verifies identity). 2. Access control (limits actions). 3. Confidentiality (secrecy). 4. Integrity (no tampering). 5. Nonrepudiation (legal proof of participation).
Question:How do substitution ciphers differ from transposition ciphers?
Answer:Substitution ciphers replace elements (e.g., A becomes D), changing identity. Transposition ciphers rearrange the order of elements, changing position.
Question:What is a Caesar cipher, and why is it considered weak today?
Answer:It shifts letters by a fixed number of positions. It is weak because it only has 25 possible keys, which can be broken by a brute-force attack.
Question:What is the 'fatal flaw' of a Monoalphabetic cipher despite its massive key space?
Answer:It does not change the relative frequency of letters, making it vulnerable to frequency analysis.
Question:How does the Playfair cipher improve upon simple substitution methods?
Answer:It encrypts pairs of letters (digraphs) using a 5x5 grid, which hides individual letter frequencies.
Question:How does the Rail Fence cipher scramble a message?
Answer:It writes the message in a zigzag pattern across multiple rails and then reads across each rail row.
Question:What are the three main areas of security protection based on where the data is?
Answer:Computer security (on devices), Network security (during transmission), and Internet security (across global networks).
Question:What is the main drawback of symmetric encryption despite its speed?
Answer:It is difficult to distribute the secret key securely to all recipients.
Question:What is the defining characteristic of an asymmetric encryption system?
Answer:It uses a pair of keys: a public key for encryption and a private key for decryption.
Question:How does traffic analysis work as a passive attack?
Answer:The attacker observes metadata like identity, frequency, and length of messages to infer information without reading content.
Question:What is the goal of a Denial of Service (DoS) attack?
Answer:To disrupt a system or server by flooding it with traffic so it cannot serve legitimate users.
Question:Why are active attacks generally easier to detect than passive attacks?
Answer:Active attacks involve changes to data or disruption of services, which leave visible traces or cause errors.
Question:According to the X.800 standard, what is the purpose of 'Nonrepudiation'?
Answer:To provide proof of participation in a communication so neither party can deny their actions later.
Question:What is a substitution cipher?
Answer:A method where each element in the original message is replaced by a different character or symbol.
Question:Why is a Caesar cipher with a shift of 3 vulnerable to brute-force attacks?
Answer:There are only 25 possible shifts in the English alphabet, so an attacker can quickly check every single one.
Question:What is frequency analysis and why does it break Monoalphabetic ciphers?
Answer:It studies how often certain letters appear in a language. Since these ciphers don't change letter frequency, the most common cipher character still represents the most common language character (like 'E').
Question:Describe the basic mechanism of the Playfair cipher.
Answer:It encrypts pairs of letters (digraphs) by placing them in a 5x5 grid and applying specific rules based on their position.
Question:What is the Rail Fence cipher?
Answer:A transposition cipher that writes the plaintext in a zigzag pattern and then concatenates the rows to form ciphertext.
Question:What are the two main halves of Cryptology?
Answer:Cryptography (designing techniques) and Cryptanalysis (breaking/forging techniques).
Question:What does Internet security protect specifically?
Answer:Data as it travels across a global 'network of networks.'
Question:What is the role of the secret key in symmetric encryption?
Answer:It is a shared secret used by both the encryption algorithm to scramble data and the decryption algorithm to unscramble it.
Question:Why is asymmetric encryption slower than symmetric encryption?
Answer:It involves more complex mathematical operations using two different keys (public and private).
Question:Define the 'Masquerade' active attack.
Answer:An attack where an entity pretends to be a different entity, often to gain unauthorized access.
Question:What is the focus of defense for active attacks versus passive attacks?
Answer:Defense for passive attacks focuses on prevention (encryption). Defense for active attacks focuses on detection and recovery.
Question:What does it mean for a system to be 'robust' under Kerckhoffs's Principle?
Answer:The system remains secure even if the encryption algorithm is public, as long as the key is kept secret.
Question:What is the purpose of the 'Integrity' security service?
Answer:To ensure that data has not been tampered with or modified during transmission or storage.
Question:Explain the difference between substitution and transposition in classical encryption.
Answer:Substitution changes character identity (swapping letters). Transposition changes character position (shuffling order).
Question:Why is the Caesar cipher very easy to break?
Answer:It has a very small key space of only 25 possible shifts, making it easy to test all of them.
Question:How many possible keys does a Monoalphabetic cipher have?
Answer:Over 400 septillion.
Question:What is a digraph in the context of the Playfair cipher?
Answer:A pair of letters treated as a single unit for encryption.
Question:Explain the 'Rail Fence' encryption process.
Answer:Write the message in a zigzag pattern across multiple lines (rails) and then read horizontally across each row.
Question:What are the two types of passive attacks?
Answer:Release of message contents and traffic analysis.
Question:Define the 'Modification' active attack.
Answer:An attack where an attacker changes or alters the contents of a legitimate message.
Question:What is the 'public key' in asymmetric encryption?
Answer:A key that is shared openly with anyone, used to encrypt messages for the key's owner.
Question:What is the 'Plaintext' in an encryption system?
Answer:The original, readable message before it has been encrypted.
Question:Which security service provides 'legal proof of participation'?
Answer:Nonrepudiation.
Question:What is the 'Decryption algorithm'?
Answer:The set of rules or mathematical processes used to turn ciphertext back into readable plaintext.
Question:What is the 'Traffic Analysis' attack?
Answer:A passive attack where the attacker studies communication patterns (like who is talking to whom) to infer secrets.
Question:What is the 'Masquerade' attack?
Answer:An active attack where an attacker pretends to be a legitimate user to gain access.
Question:What does 'Availability' mean in security?
Answer:Ensuring that a system and its data are accessible to legitimate users when needed.
Question:What is the 'X.800' standard?
Answer:A standard that defines five primary security services for network security.
Question:What is a 'Transposition cipher'?
Answer:A cipher that rearranges the order of the original characters without changing the characters themselves.
Question:What is 'Frequency Analysis'?
Answer:A technique for breaking ciphers by analyzing the statistical frequency of letters in a ciphertext.
Question:What is the 'Zigzag' pattern in the Rail Fence cipher?
Answer:The way the message is written across rows before reading them horizontally to create ciphertext.
Question:What is a 'Release of message contents' attack?
Answer:A passive attack where the attacker reads the private data of a message without permission.
Question:What is a 'Replay' attack?
Answer:An active attack where an attacker captures a legitimate message and resends it later to fool the system.
Question:What is 'Confidentiality' in security?
Answer:The service that ensures only authorized parties can read the content of a message.
Question:Define the 'Access Control' service.
Answer:A security service that limits what an authenticated user is allowed to do or see in a system.
Question:What is a 'Monoalphabetic Cipher'?
Answer:A substitution cipher where each letter in the plaintext is replaced by a fixed letter from a randomly shuffled alphabet.
Question:What is a 'Digraph'?
Answer:A pair of two letters treated as a single block during encryption, such as in the Playfair cipher.
Question:What is the 'Zigzag' in cryptography?
Answer:The specific movement pattern used to write plaintext in a Rail Fence transposition cipher.
Question:Define 'Cryptanalysis' in simple terms.
Answer:The study or science of breaking encryption systems or finding ways to forge authentic data.