Computer Network & Network Security System β Network Security, NEC licence examination syllabus (Nepal Engineering Council).
Every attack falls into one of two families β knowing which tells you how dangerous it really is.
PassiveThe attacker only OBSERVES β eavesdropping, traffic analysis. Doesn't modify anything, which makes it very hard to even detect it's happening.
ActiveThe attacker actively CHANGES something β masquerade (pretending to be someone else), replay (resending captured legitimate data later), modification, Denial of Service (DoS).
Malware (viruses, worms, trojans, ransomware) is the broad category of malicious software designed to damage, steal from, or take control of a system.
The classification is not just taxonomy. It determines what defence is even possible, and that is the examinable point.
PassiveNothing is altered and no trace is left, so these attacks cannot be detected β only prevented, by making the observed data useless. That means encryption.
ActiveSomething changes, so these can be detected β and prevention is often impractical, since you cannot stop someone sending packets. That means checksums, sequence numbers, monitoring and recovery.
Replay deserves attention because it defeats the obvious defences. The attacker captures a legitimate, correctly encrypted, correctly signed message and simply sends it again later.
Encryption does not help β the message was validly encrypted. Signatures do not help β it was validly signed. Nothing about the message is forged; the only thing wrong is when it arrives. A captured "transfer $100" instruction replayed fifty times is fifty valid transfers.
The defence must therefore make each message unique in time: a sequence number, a timestamp, or a nonce β a value used once, so a repeat is recognisable. This is why protocols include such fields even when everything is already encrypted, a design detail that otherwise looks redundant.Create a free account to tick topics off, take notes as you read, watch the video lessons and get a day-by-day study plan built around your exam date.
Loadingβ¦