After this chapter you will be able to
- use the full security vocabulary: AAA, risk terms, CVE/CVSS and availability figures
- tell apart look-alike malware, attacks and hacker types in match-the-following questions
- state key sizes, block sizes and status of the main ciphers and hash functions
- say which key does what in encryption, signing, PKI and TLS
- compare authentication methods, firewalls, IDS/IPS and antivirus techniques
- recall IT Act sections, DPDP Act facts, Indian bodies and global standards
📌 MUST KNOW - This is extra, harder material that adds to the main book. Read Chapter 31 first. The main chapters answer most exam questions; this part is for the hardest ones, so do not start here.
57.1 Security Goals and Risk Vocabulary
AAA and Related Goals
| Goal | Question it answers | Typical control |
|---|---|---|
| Authentication | Who are you? | Password, OTP, biometric, certificate |
| Authorisation | What may you do? | Permissions, ACLs, roles |
| Accounting (auditing) | What did you do, and when? | Logs, audit trail, session records |
- AAA servers: RADIUS uses UDP 1812 (authentication) and 1813 (accounting); TACACS+ uses TCP 49 and encrypts the whole packet; Diameter is RADIUS’s successor in mobile networks.
Risk Responses
| Risk response | Meaning | Example |
|---|---|---|
| Avoid | Stop the risky activity | Do not put the server online |
| Mitigate / reduce | Add controls | Patch, firewall, MFA |
| Transfer / share | Pass the loss to another party | Cyber insurance, outsourcing |
| Accept | Live with it, knowingly | Low-value asset, cost of control too high |
Worked example (quantitative risk): a server worth ₹10,00,000 loses 40% of its value in one ransomware incident (exposure factor). Single Loss Expectancy (SLE) = 10,00,000 × 0.40 = ₹4,00,000. If such an incident is expected once in two years, the Annual Rate of Occurrence (ARO) = 0.5. Annual Loss Expectancy (ALE) = SLE × ARO = 4,00,000 × 0.5 = ₹2,00,000.
CVE and CVSS
- CVE (Common Vulnerabilities and Exposures) gives every publicly known flaw an ID in the form CVE-year-number; the list is run by MITRE.
- CVSS (Common Vulnerability Scoring System) rates severity from 0.0 to 10.0: Low 0.1–3.9, Medium 4.0–6.9, High 7.0–8.9, Critical 9.0–10.0.
Availability in Numbers
| Uptime | Downtime allowed per year | Working |
|---|---|---|
| 99.9% (“three nines”) | About 8.76 hours | 525,600 min × 0.001 = 525.6 min |
| 99.999% (“five nines”) | About 5.26 minutes | 525,600 min × 0.00001 = 5.256 min |
⚠ COMMON CONFUSION - RPO (Recovery Point Objective) looks backward (data lost since the last good backup); RTO (Recovery Time Objective) looks forward (time until service returns). Hourly backups give an RPO of one hour, whatever the RTO is.
57.2 Virus Families in Depth
| Virus type | Key behaviour |
|---|---|
| Companion virus | Does not change the real file; creates a twin with the same name but a .COM extension, because DOS runs .COM before .EXE |
| Armoured virus | Uses tricks (obfuscation, anti-debugging) to make analysis by researchers difficult |
How Evasion Evolved
| Stage | What changes between copies | Constant part that a scanner can catch |
|---|---|---|
| Plain virus | Nothing | Whole body |
| Encrypted | Encrypted body (new key) | Decryptor |
| Polymorphic | Decryptor mutates every time; body stays the same once decrypted | Decrypted body in memory |
| Metamorphic | The whole code is rewritten; no encryption needed | None; needs behaviour analysis |
★ EXAM POINT - Polymorphic = new decryptor, same core. Metamorphic = entire code different each time. Armoured = hard to study. Companion = twin file with a .COM extension.