Made with ScholarlyMake flashcards like these from your own notes
Question:What is defined as a hostile attempt to exploit a vulnerability in network security?
Answer:Attack, such as SQL injection on a login form
Question:What characterizes a passive attack in network security?
Answer:Learning from the system without affecting it, such as eavesdropping on unencrypted Wi-Fi
Question:How does an active attack differ from a passive attack?
Answer:Active attack alters or disrupts system resources, such as modifying data in transit
Question:What is a threat in the context of network security?
Answer:A circumstance with potential to cause harm, such as a known software vulnerability
Question:What constitutes a vulnerability in security systems?
Answer:A weakness in a security system, such as unpatched OS or weak password
Question:What are controls in network security?
Answer:Means and ways to block a threat, such as firewall rules or encryption
Question:What three elements form the attacker's triangle required for a successful attack?
Answer:Tools (malware, exploits, scanners), Skills (technical knowledge, coding), Knowledge (target info, system architecture)
Question:Why does removing any one element from the attacker's triangle prevent an attack?
Answer:Because an attacker needs all three: tools, skills, and knowledge for success
Question:How does a script kiddie differ from an advanced persistent threat actor?
Answer:Script kiddie has tools but limited skills and knowledge, relying on pre-built tools; APT has all three
Question:What was the financial cost of the 2017 Equifax breach?
Answer:$1.4 billion including ransom payments, fines, and recovery costs
Question:Name three consequences of a security breach besides financial loss.
Answer:Reputational damage (loss of customer trust, negative press), legal consequences (GDPR fines, lawsuits), confidentiality breach (exposure of personal data)
Question:What is cryptography according to the notes?
Answer:The art of securing communication
Question:What is cryptanalysis, and how does it relate to cryptography?
Answer:Breaking ciphertext without knowing the key; together with cryptography forms cryptology
Question:What is a cryptographic algorithm?
Answer:Well-defined function that transforms input to secure output, such as AES or SHA-256
Question:What risk arises from logging into unencrypted HTTP sites on public Wi-Fi?
Answer:Attacker can intercept login credentials
Question:What is unauthorized access in network security?
Answer:Gaining access to systems without proper authorization by external hackers or internal disgruntled employees
Question:What are the four pillars of the security ecosystem?
Answer:Confidentiality, Integrity, Authentication, Non-repudiation
Question:What mechanisms ensure confidentiality in the security ecosystem?
Answer:Symmetric or asymmetric encryption, such as HTTPS encrypting banking sessions
Question:How is integrity maintained in the security ecosystem?
Answer:Hash functions plus MAC, such as software update verified by digital signature
Question:What provides authentication in the security pillars?
Answer:PKI and digital certificates, such as SSL certificate proving website identity
Question:What ensures non-repudiation according to the security ecosystem?
Answer:Digital signatures, such as E-signed contracts that cannot be denied
Question:What is the key requirement for symmetric encryption?
Answer:One key used for both encryption and decryption, shared secretly
Question:How many unique keys are needed for n users in symmetric encryption?
Answer:\( \frac{n(n-1)}{2} \)
Question:What challenge arises with 1000 users using symmetric encryption?
Answer:Requires 499,500 unique keys, making it hard to scale
Question:What is the basic formula for symmetric encryption ciphertext?
Answer:Ciphertext = Plaintext × Key
Question:How does asymmetric encryption use keys differently from symmetric?
Answer:Public key shared for encryption, private key secret for decryption
Question:What is the security basis for asymmetric encryption?
Answer:Hard mathematical problems like integer factorization
Question:In asymmetric encryption for digital signatures, which key verifies?
Answer:Receiver verifies with sender's public key after decrypting signature
Question:Why is asymmetric encryption not used for large data volumes?
Answer:Slow performance due to computational intensity; used for key exchange then symmetric
Question:Compare the key sizes and security of DES and AES.
Answer:DES: 56 bits, insecure; AES: 128/192/256 bits, very secure
Question:Why did AES replace DES as a standard?
Answer:DES 56 bits cracked in under 24 hours in 1999; AES-256 brute-force takes longer than universe age
Question:Name three examples of asymmetric cryptographic algorithms.
Answer:RSA (prime factorization), Diffie-Hellman (key exchange), DSA (signing)
Question:What advantage does Elliptic Curve Cryptography offer over RSA?
Answer:Same security with smaller keys
Question:What does a hash function produce from any input length?
Answer:Fixed-length output called hash, digest, or fingerprint
Question:Name the four desired properties of hash functions.
Answer:One-way, easy to compute, weak collision resistance, strong collision resistance
Question:How are hash functions applied in digital signatures?
Answer:Sign hash of message instead of whole message
Question:What is the purpose of publishing a SHA-256 hash with software downloads?
Answer:Verify file integrity by comparing computed hash to ensure no tampering
Question:How does a Message Authentication Code differ from a hash function?
Answer:MAC uses message plus secret key for integrity and authentication
Question:What steps does a receiver take to verify a MAC?
Answer:Compute MAC from received message and key, compare to received MAC tag
Question:What three properties do digital signatures provide?
Answer:Authentication, integrity, non-repudiation
Question:Describe the signing process for digital signatures.
Answer:Hash message, encrypt hash with private key to create signature
Question:How does a receiver verify a digital signature?
Answer:Hash received message, decrypt signature with sender's public key, compare hashes
Question:What problem do public key certificates solve?
Answer:Binding public key to verified identity via trusted CA signature
Question:What are the main contents of a public key certificate?
Answer:Subject's public key, name/identity, CA's name and signature, expiry date
Question:What does the padlock icon in a browser indicate about certificates?
Answer:Website's certificate verified by trusted CA like DigiCert or Let's Encrypt
Question:What is malware designed to do in network security threats?
Answer:Damage or infiltrate systems
Question:How does a virus spread compared to a worm?
Answer:Virus attaches to files and spreads when opened; worm self-replicates across networks without user action
Question:Name historical examples of virus and worm malware.
Answer:Virus: ILOVEYOU (2000); Worm: WannaCry (2017)
Question:Why is symmetric encryption impractical for large user groups?
Answer:Requires \( \frac{n(n-1)}{2} \) unique shared keys, exploding combinatorially
Question:In what scenario does a browser use asymmetric encryption with a bank's key?
Answer:Visiting https site: browser encrypts data with bank's public key from certificate
Question:How do password databases securely store credentials using hashes?
Answer:Store hash of password, not plaintext, for verification without exposure