Justujuuجستجو Log in

Home › Computer Science and Information Technology › Study notes

Information Security and Privacy: Study Notes

Key facts, dates and names for the Computer Science and Information Technology part of the PMS General Knowledge syllabus. Read them, then test yourself.

  • The CIA triad: confidentiality, integrity, availability.

  • Malware types: virus (needs a host), worm (spreads itself), Trojan (disguised), ransomware (encrypts and demands payment), spyware, adware.

  • Encryption: symmetric (one shared key, such as AES) and asymmetric (public and private keys, such as RSA).

  • Two-factor authentication combines two kinds of proof, such as a password and a one-time code.

  • Privacy laws: EU GDPR (25 May 2018). Pakistan's cybercrime law is PECA 2016; the NCCIA investigates cybercrime.

The CIA triad

Confidentiality (only the right people see data), Integrity (data is not altered), Availability (systems work when needed).

Types of cyber threats

Threat What it does
Virus Attaches to files and spreads when they run
Worm Spreads by itself across networks
Trojan horse Hides inside software that looks useful
Ransomware Locks files and demands payment (WannaCry, May 2017)
Spyware and keyloggers Secretly record activity or keystrokes
Phishing Fake emails or sites that steal passwords
Smishing and vishing Phishing by SMS and by voice call
DoS and DDoS Flood a site so it stops working
Man-in-the-middle Intercepts communication between two parties
SQL injection Malicious code entered into a website's database query
Zero-day Attack on a flaw not yet known to the maker
Botnet Network of infected computers controlled by an attacker
Social engineering Tricking people into revealing information

Defences

Defence Use
Firewall Blocks unauthorised network traffic
Antivirus Detects and removes malware
Encryption Scrambles data; AES (symmetric) and RSA (public key, 1977)
Two-factor authentication Password plus a code or fingerprint
VPN Encrypted connection over the internet
HTTPS (TLS) Secure web traffic; shown by a padlock
Updates and backups Fix flaws; recover from attacks

Famous incidents

  • Brain virus (1986): made in Lahore; first IBM PC virus.

  • Morris worm (1988): one of the first internet worms.

  • Stuxnet (2010): damaged Iran's nuclear centrifuges.

  • WannaCry (2017): ransomware that hit over 150 countries.

Laws and policies

Law or policy Year
Budapest Convention on Cybercrime (Pakistan not a party) 2001
Prevention of Electronic Crimes Act (PECA) 2016
EU General Data Protection Regulation (GDPR) In force 25 May 2018
Pakistan National Cyber Security Policy 2021
UN Convention against Cybercrime Adopted December 2024
PECA amendments; Social Media Protection and Regulatory Authority January 2025
National Cyber Crime Investigation Agency (NCCIA) replaces FIA's cyber wing 2025

Data Privacy Day is 28 January.

Watch lectures on JUSTUJU جستجو

Free lectures on YouTube, free practice here. Our aim is simple: free education for everyone. Watch the explanation, then practise the MCQs on this site.