Logo/

Network Security and Cryptography Fundamentals

Log in

Made with ScholarlyMake flashcards like these from your own notes

Network Security and Cryptography Fundamentals

Questions and answers

51 cards
  1. 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

  2. Question:What characterizes a passive attack in network security?

    Answer:Learning from the system without affecting it, such as eavesdropping on unencrypted Wi-Fi

  3. 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

  4. 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

  5. Question:What constitutes a vulnerability in security systems?

    Answer:A weakness in a security system, such as unpatched OS or weak password

  6. Question:What are controls in network security?

    Answer:Means and ways to block a threat, such as firewall rules or encryption

  7. 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)

  8. 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

  9. 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

  10. Question:What was the financial cost of the 2017 Equifax breach?

    Answer:$1.4 billion including ransom payments, fines, and recovery costs

  11. 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)

  12. Question:What is cryptography according to the notes?

    Answer:The art of securing communication

  13. Question:What is cryptanalysis, and how does it relate to cryptography?

    Answer:Breaking ciphertext without knowing the key; together with cryptography forms cryptology

  14. Question:What is a cryptographic algorithm?

    Answer:Well-defined function that transforms input to secure output, such as AES or SHA-256

  15. Question:What risk arises from logging into unencrypted HTTP sites on public Wi-Fi?

    Answer:Attacker can intercept login credentials

  16. Question:What is unauthorized access in network security?

    Answer:Gaining access to systems without proper authorization by external hackers or internal disgruntled employees

  17. Question:What are the four pillars of the security ecosystem?

    Answer:Confidentiality, Integrity, Authentication, Non-repudiation

  18. Question:What mechanisms ensure confidentiality in the security ecosystem?

    Answer:Symmetric or asymmetric encryption, such as HTTPS encrypting banking sessions

  19. Question:How is integrity maintained in the security ecosystem?

    Answer:Hash functions plus MAC, such as software update verified by digital signature

  20. Question:What provides authentication in the security pillars?

    Answer:PKI and digital certificates, such as SSL certificate proving website identity

  21. Question:What ensures non-repudiation according to the security ecosystem?

    Answer:Digital signatures, such as E-signed contracts that cannot be denied

  22. Question:What is the key requirement for symmetric encryption?

    Answer:One key used for both encryption and decryption, shared secretly

  23. Question:How many unique keys are needed for n users in symmetric encryption?

    Answer:\( \frac{n(n-1)}{2} \)

  24. Question:What challenge arises with 1000 users using symmetric encryption?

    Answer:Requires 499,500 unique keys, making it hard to scale

  25. Question:What is the basic formula for symmetric encryption ciphertext?

    Answer:Ciphertext = Plaintext × Key

  26. Question:How does asymmetric encryption use keys differently from symmetric?

    Answer:Public key shared for encryption, private key secret for decryption

  27. Question:What is the security basis for asymmetric encryption?

    Answer:Hard mathematical problems like integer factorization

  28. Question:In asymmetric encryption for digital signatures, which key verifies?

    Answer:Receiver verifies with sender's public key after decrypting signature

  29. Question:Why is asymmetric encryption not used for large data volumes?

    Answer:Slow performance due to computational intensity; used for key exchange then symmetric

  30. Question:Compare the key sizes and security of DES and AES.

    Answer:DES: 56 bits, insecure; AES: 128/192/256 bits, very secure

  31. 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

  32. Question:Name three examples of asymmetric cryptographic algorithms.

    Answer:RSA (prime factorization), Diffie-Hellman (key exchange), DSA (signing)

  33. Question:What advantage does Elliptic Curve Cryptography offer over RSA?

    Answer:Same security with smaller keys

  34. Question:What does a hash function produce from any input length?

    Answer:Fixed-length output called hash, digest, or fingerprint

  35. Question:Name the four desired properties of hash functions.

    Answer:One-way, easy to compute, weak collision resistance, strong collision resistance

  36. Question:How are hash functions applied in digital signatures?

    Answer:Sign hash of message instead of whole message

  37. 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

  38. Question:How does a Message Authentication Code differ from a hash function?

    Answer:MAC uses message plus secret key for integrity and authentication

  39. Question:What steps does a receiver take to verify a MAC?

    Answer:Compute MAC from received message and key, compare to received MAC tag

  40. Question:What three properties do digital signatures provide?

    Answer:Authentication, integrity, non-repudiation

  41. Question:Describe the signing process for digital signatures.

    Answer:Hash message, encrypt hash with private key to create signature

  42. Question:How does a receiver verify a digital signature?

    Answer:Hash received message, decrypt signature with sender's public key, compare hashes

  43. Question:What problem do public key certificates solve?

    Answer:Binding public key to verified identity via trusted CA signature

  44. 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

  45. 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

  46. Question:What is malware designed to do in network security threats?

    Answer:Damage or infiltrate systems

  47. 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

  48. Question:Name historical examples of virus and worm malware.

    Answer:Virus: ILOVEYOU (2000); Worm: WannaCry (2017)

  49. Question:Why is symmetric encryption impractical for large user groups?

    Answer:Requires \( \frac{n(n-1)}{2} \) unique shared keys, exploding combinatorially

  50. 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

  51. Question:How do password databases securely store credentials using hashes?

    Answer:Store hash of password, not plaintext, for verification without exposure