Computer Science · 2nd Puc Optional
Ch 12Security Aspects — 2nd PUC Computer Science, concept-first.
Security is easiest to guarantee in isolation. A computer with no link to any external device or network is free from the security threats that connectivity brings.
Key concepts
Hover a concept to preview it and jump to its most relevant Q&A.
Firewall Configuration
Think of a firewall as the security guard at the gate of a large apartment complex. The guard has a list of rules: who is allowed in, who is allowed out, and what they are allowed to carry.
Most relevant Q&A
Chapter contents
The NCERT structure, section by section. Open a section to see its questions, then read the concept-first solution.
Threats and Prevention
Security is easiest to guarantee in isolation. A computer with no link to any external device or network is free from the security threats that connectivity brings.
Malware
Malware is a portmanteau of the words malicious and software. It refers to any software that is deliberately created to cause harm — whether that means damaging hardware, stealing data, or disrupting…
Virus
A computer virus is malicious software, but the name comes from biology. The term was coined by Fred Cohen in 1985, and the parallel with a biological virus is deliberate: a biological virus invades a…
Worms
A worm is a type of malware that causes unexpected or damaging behaviour on an infected computer system. What sets it apart from a virus is not what it does, but how it operates and spreads.
Ransomware
Ransomware is malware built around one simple, cruel idea: your data is your most valuable possession, and the attacker will hold it hostage until you pay.
Trojan
The story of the Trojan horse comes from ancient Greece. The Greeks could not break into the city of Troy by force, so they presented the king with a huge wooden horse.
Spyware
Spyware is malware built for surveillance. Its entire purpose is to watch a person or an organisation, quietly gather information about them, and pass that information on to someone else — all without…
Adware
An adware is a type of malware whose entire purpose is to make money for its creator through online advertising.
Keyloggers
A keylogger is a tool designed to record every key a user presses on a keyboard. It can exist as either malware or a physical hardware device.
Online Virtual Keyboard Vs On-Screen Keyboard
Both keyboards are security tools, but they work in fundamentally different ways. An online virtual keyboard is a software-based keyboard that appears on your screen and lets you click keys with your…
Modes of Malware distribution
A malware program, once written, still has to reach your machine before it can do any damage. The book lists four common routes it takes to get there.
Combating Malware
The first line of defence against malware is recognising that it exists and that it keeps evolving. No single tool or habit makes a system permanently safe, so the practical approach is a layered one:…
Antivirus
An antivirus is a software program designed to protect a computer system from malicious software. It is also commonly called anti-malware.
Methods of Malware Identification used by Antivirus
Antivirus software does not rely on a single trick to catch malware. Different threats behave differently, so the software uses several complementary methods.
Signature-based detection
Signature-based detection works like a digital fingerprint scanner for malware. The system keeps a database of known virus signatures — unique byte patterns or strings that appear in malicious files —…
Sandbox detection
Sandbox detection is a technique used to identify whether a program is running inside a sandboxed environment, which is often used by security researchers to safely analyze malware.
Data mining techniques
Data mining is the process of discovering hidden patterns and relationships in large datasets, and in this section you’ll see how SQL and Python can be used to pull out useful information from a datab…
Heuristics
Heuristics is a problem-solving approach that uses a practical method, not guaranteed to be optimal or perfect, but sufficient for reaching an immediate goal.
Real-time protection
Real-time protection is the shield that stays awake while you work — it watches every file you open, every program you run, and every download that lands on your system, checking each one against know…
Spam
Spam is a broad term that applies across many digital platforms — messaging apps, online forums, chat services, email, and even advertisements. But the form most people recognise is email spam.
HTTP vs HTTPS
Before you type your password into any website, the address bar tells you a story. If the URL begins with http://, the data you send travels in plain text — readable by anyone who intercepts it.
Firewall
A firewall is a network security system designed to protect a trusted private network from unauthorised access or traffic coming from an untrusted outside network — for example, the Internet, or even…
Types of Firewall
A firewall is a security tool that filters traffic, but not all firewalls work the same way. The difference comes down to where the firewall is placed and what it is protecting.
Cookies
2 QThe word "cookie" comes from the Unix programmers' term magic cookie — a packet of data that a program receives and then sends back unchanged.
+−Think & Reflect1 question
Threats due to Cookies
Cookies are small pieces of data a website asks your browser to store, and their usual job is to make your browsing smoother — remembering logins, preferences, or items in a cart.
Hackers and Crackers
People who break into computer systems are not always strangers with malicious intent. The section introduces two closely related terms — hackers and crackers — and treats them as people with deep tec…
White Hats: Ethical Hacker
A white hat hacker is someone who uses their technical knowledge not to break systems, but to find and help fix security flaws.
Black Hats: Crackers
A hacker who uses their technical skill for illegal or harmful purposes — breaking laws and disrupting security — is called a black hat hacker.
Grey Hats
The line between different kinds of hackers is rarely a clean one. While white hats and black hats sit at opposite ends of the spectrum, a large group of people fall somewhere in the middle.
Network Security Threats
A network security threat is any potential danger that can compromise the confidentiality, integrity, or availability of data travelling over a network.
Denial of Service
A Denial of Service (DoS) attack is not about stealing data or breaking into a system. It is about making a resource unusable.
Intrusion Problems
Before the book lists the attacks, it sets the stage with a definition. Network intrusion is any unauthorised activity on a computer network.
Asymmetric Routing
Asymmetric Routing is a network phenomenon where data packets travel from the source to the destination along one path, but the return traffic takes a completely different route.
Buffer Overflow Attacks
A buffer overflow attack happens when a program tries to store more data in a fixed-size memory buffer than it can hold, causing the extra data to spill into adjacent memory.
Traffic Flooding
Traffic Flooding is a denial-of-service attack where an attacker overwhelms a server or network with a massive volume of requests, making it unable to respond to legitimate users.
Snooping
Snooping is the act of secretly listening in on a conversation. In networking, that conversation is the stream of data packets moving across a channel, and snooping means capturing and analysing that…
Eavesdropping
The word eavesdropping comes from an old, literal practice: people would secretly listen to conversations happening inside a house by standing under the eaves — the overhanging edges of the roof.
Summary
- Threats are potential dangers to a system; vulnerabilities are weaknesses that threats exploit. A risk is the chance of loss when a threat meets a vulnerability.
Exercises
+−Show 17 questionsHide questions17 questions
- Q1Why is a computer considered to be safe if it is not connected to a network or Internet?Free
- Q2What is a computer virus? Name some computer viruses that were popular in recent years.Free
- Q3How is a computer worm different from a virus?Free
- Q4How is Ransomware used to extract money from users?Preview
- Q5How did a Trojan get its name?Preview
- Q6How does an adware generate revenue for its creator?Preview
- Q7Briefly explain two threats that may arise due to a keylogger installed on a computer.Preview
- Q8How is a Virtual Keyboard safer than On Screen Keyboard?Preview
- Q9List and briefly explain different modes of malware distribution.Preview
- Q10List some common signs of malware infection.Preview
- Q11List some preventive measures against malware infection.Preview
- Q12Write a short note on different methods of malware identification used by antivirus software.Preview
- Q13What are the risks associated with HTTP? How can we resolve these risks by using HTTPS?Preview
- Q14List one advantage and disadvantage of using Cookies.Preview
- Q15Write a short note on White, Black, and Grey Hat Hackers.Preview
- Q16Differentiate between DoS and DDoS attack.Preview
- Q17How is Snooping different from Eavesdropping?Preview