Skip to content

Class 12 · Computer Science · Computer Science

Chapter 12: Security Aspects Notes

The big idea

Network security protects devices and data from malware, spam, snooping and attacks using antivirus, HTTPS, firewalls, careful cookie and password habits, and an understanding of how hackers and threats like DoS work.

Things to remember

  • Malware (malicious software) damages devices or steals data. A virus attaches to executable files and needs a user to run the infected file. A worm is standalone, replicates itself and spreads through networks. A Trojan looks like useful software and does not self-replicate.
  • Ransomware blocks or encrypts data and demands payment, as WannaCry did in 2017. Spyware secretly gathers and sends information. Adware shows unwanted ads to earn revenue. A keylogger records keystrokes to steal passwords; an online virtual keyboard randomises key layout, unlike the fixed QWERTY on-screen keyboard.
  • Malware spreads via downloads from the Internet, spam email links and attachments, infected removable devices and network propagation. Signs: pop-ups, changed homepage, slow computer, unknown programs, mass emails sent from your account.
  • Prevention: keep antivirus, software and patches updated, avoid pirated software, take backups, scan pen drives, never click unknown links, avoid entering passwords on public computers, use a firewall and do not install antivirus offered through pop-ups.
  • Antivirus detects malware by signature (virus definition file, which must be updated and misses polymorphic malware), sandbox (running in a virtual environment), data mining, heuristics (comparison with known code patterns) and real-time protection. Spam is unsolicited junk, mainly email.
  • HTTP sends data as plain text, so it is open to hackers. HTTPS encrypts data before sending and decrypts it at the receiver, and needs an SSL digital certificate; use it for banking and passwords. A firewall (network or host-based) filters incoming and outgoing traffic by security rules.
  • A cookie is a small file stored by a website on your computer to remember cart items, login (authentication cookie), session time-out and autofill. Risks come from third-party tracking, zombie cookies that reappear and supercookies. Hackers: white hat (ethical), black hat (cracker) and grey hat (for fun).
  • DoS floods a resource with fake requests so genuine users are denied; DDoS does it from many zombie computers in a botnet, so it is far harder to stop. Snooping is secret capture of traffic for later analysis; eavesdropping is real-time interception of private communication; intrusion includes buffer overflow and traffic flooding.

Words to know

Tap a card to see what it means

Quick quiz

⭐ 0 / 5
  1. Which malware is a standalone program that copies itself and spreads across a network without any human action?

  2. A user signs in to a bank on a shared cyber-cafe computer that may have a keylogger. Which action reduces the risk most?

  3. A website suddenly becomes unreachable because millions of requests arrive from thousands of infected computers worldwide. What is this attack?

  4. An antivirus fails to detect a brand new virus because its virus definition file is outdated. Which method is limited here?

  5. Assertion (A): Banking sites should use HTTPS rather than HTTP. Reason (R): HTTPS encrypts the data before transmission, while HTTP sends it as plain text. Choose the correct option.

Match the pairs

Match each threat or defence with its description.

Try this at home

With an adult, check your browser's cookie settings and the lock sign in the address bar of a safe website. Then make a list of three safe habits for your family, such as not clicking unknown links and using strong passwords.

All Computer Science notesChapter page and exercisesComputer Science syllabus