Information Security and Cryptography
Context: FIT1047_MOC Β· the security half of the unit (W10β12) β this note is the hub for the crypto cluster Β· frames what we protect and which tool provides it
Quick Revision
- π― Objective: every bit is changeable, every host reachable worldwide, every device potentially hackable β security = achieving specific goals (confidentiality, integrity, authenticity, non-repudiation) despite an active attacker.
- β‘ Key Constraint: match the goal to the mechanism β encryption β confidentiality, hashes/MACs/signatures β integrity + authenticity. Using the wrong primitive (e.g. a plain hash for tamper-proofing) fails.
π Security goals
- Confidentiality β keep data secret from eavesdroppers β provided by encryption (Symmetric Cryptography, Public Key Cryptography).
- Integrity β detect any change to a message in transit β provided by MACs / hashes / signatures (Cryptographic Hash Functions).
- Authenticity β know whom you are talking to β digital signatures + certificates (Authentication, Certificates and PKI).
- Non-repudiation β a signer cannot deny having signed β only public-key signatures provide it (symmetric keys canβt β both sides hold the same key).
π§° Three algorithm families
- Symmetric encryption β one shared secret key; fast; the key-distribution problem β Symmetric Cryptography.
- Public-key (asymmetric) β a key pair (public + private); solves distribution + enables signatures β Public Key Cryptography.
- Hash functions β one-way fixed-length fingerprints; underpin integrity, signatures, password storage β Cryptographic Hash Functions.
π‘οΈ Countermeasures (beyond crypto)
- Mechanisms β cryptography, firewalls, multi-factor authentication β plus knowing risks/threats, building secure systems, designing secure networks, and the human aspect.
- Roadmap β W10 crypto + protocols; W11 network security (firewalls, access control, SSO/MFA); W12 threats, risk, attacks, malware.
β οΈ Common Mistakes
- π‘ Goal β mechanism β encryption alone gives confidentiality but not integrity β AES ciphertext can still be reordered/flipped; you need a MAC for tamper-detection.
- π‘ Non-repudiation is asymmetric-only β a shared symmetric key can prove a message came from one of us, never which one β so it cannot bind a signer.
π§ Active Recall
Why isn't "encrypt everything" a complete security solution?
Answer
- Short answer: encryption targets confidentiality only; it does not guarantee integrity, authenticity, or non-repudiation, so an attacker can still tamper with ciphertext or impersonate a party.
- Why: Goal decomposition β each goal needs its own primitive β MAC/hash for integrity, signature + certificate for authenticity, public-key signature for non-repudiation β layered on top of the cipher.