🚆 RRB JE Complete Notes

Cyber Security Basics

Start MCQ Practice →

Cyber Security Basics

Subject: Computer Awareness & Environment Chapter: Cyber Security Basics Topic: Cyber threats, malware types, firewall, encryption, authentication, cyber laws, safety practices and IT Act

1. Introduction

Cyber security is the practice of protecting computers, networks, programs and data from unauthorised access, damage or attack. As more and more railway, banking and government services move online, the risk of cyber crime has increased sharply, and protecting digital information has become a national priority. In the RRB JE CBT-1 examination, cyber security questions are becoming more common every year, and they test a candidate's awareness of the common threats such as viruses, phishing and hacking, the tools that protect computers such as firewalls and antivirus software, and the safety practices that keep personal information secure.

The main threats to a computer system come from malware, a general word for malicious software, which includes viruses, worms, trojans, spyware and ransomware. A virus attaches itself to a file or program and spreads when the file is opened, a worm spreads by itself across networks without needing to attach to a file, a trojan disguises itself as a useful program but harms the system, spyware secretly collects information about the user, and ransomware locks the user's files and demands money to unlock them. Understanding the difference between these types of malware is a favourite question topic.

In this chapter we will study the different types of malware, the common cyber attacks such as phishing and hacking, the protection tools including firewalls, antivirus and encryption, the authentication methods such as passwords, OTP and biometrics, the safe practices for using the internet, and the Indian cyber law, the Information Technology Act 2000. Candidates must also know the government bodies that handle cyber security in India, such as CERT-In.

2. Types of Malware and Cyber Attacks

Malware is any software designed to damage or gain unauthorised access to a computer system. The most common types are viruses, worms, trojans, spyware, adware and ransomware. A virus is a program that replicates itself by attaching to other files and executes when the host file runs. A worm is a self-replicating program that spreads through the network without needing a host file, and it can spread very fast. A trojan horse is a harmful program hidden inside a useful-looking program, such as a fake game or free download. Spyware monitors the user's activities and collects personal information secretly, and adware automatically shows unwanted advertisements. Ransomware encrypts the victim's files and demands a payment, usually in cryptocurrency, to restore them.

A cyber attack is a deliberate attempt to damage or gain access to a system. Phishing is the most common attack, in which the attacker sends a fake email or message pretending to be a trusted organisation, such as a bank, and tricks the user into giving passwords or card details. Hacking is gaining unauthorised access to a computer system, and the person who does it is a hacker, although ethical hackers are those who test systems legally. A denial of service (DoS) attack floods a server with traffic so that genuine users cannot access it, and a man-in-the-middle attack intercepts communication between two parties. Spamming is sending unwanted bulk emails, and identity theft is stealing someone's personal details to commit fraud.

3. Protection Tools: Firewall, Antivirus and Encryption

A firewall is a security system that monitors and controls the traffic entering and leaving a network, and it blocks unauthorised access while allowing legitimate traffic. It acts as a barrier between a trusted internal network, such as an office LAN, and an untrusted network, such as the internet. The firewall can be hardware or software, and it is often the first line of defence of a network.

Antivirus software is a program that detects, removes and prevents the spread of viruses and other malware on a computer. Popular antivirus programs include Norton, McAfee, Kaspersky and Quick Heal, and the free Microsoft Defender is built into Windows. Antivirus software works by scanning files and comparing them with a database of known virus signatures. Encryption is the process of converting readable data, called plaintext, into an unreadable form, called ciphertext, using a key, so that even if the data is intercepted, it cannot be understood. The opposite process of converting ciphertext back to plaintext is called decryption. Encrypted data in transit is protected by HTTPS and by virtual private networks (VPNs).

4. Authentication, Safety Practices and Cyber Laws

Authentication is the process of verifying that a user is who he or she claims to be. The most common authentication methods are passwords and PINs, OTP (one-time password), which is a temporary password sent by SMS, and biometrics, which uses the physical features of the user such as fingerprints, iris and face recognition. Two-factor authentication (2FA) uses two different methods together, for example a password plus an OTP, which makes the account much safer.

Safe practices for the internet include using strong and different passwords for every account, never sharing passwords or OTPs with anyone, not opening attachments or links from unknown senders, keeping the antivirus and operating system updated, not sharing personal details on public websites, and logging out from public computers. In India, cyber crime is dealt with under the Information Technology (IT) Act, 2000, which was amended in 2008, and the Indian Penal Code for some offences. The CERT-In (Indian Computer Emergency Response Team) is the national agency that responds to cyber security incidents in India, and the National Cyber Crime Reporting Portal allows citizens to report cyber crimes.

5. Quick Revision Tables

Table 1: Types of Malware

Malware Behaviour Key Point
Virus Attaches to files and replicates Needs a host file
Worm Spreads itself over networks No host file needed
Trojan Hides inside useful programs Disguises its true purpose
Spyware Secretly collects information Monitors user activity
Ransomware Locks files, demands money Payment demanded for unlock

Table 2: Protection and Law

Tool / Law Purpose
Firewall Blocks unauthorised network traffic
Antivirus Detects and removes malware
Encryption Converts data into unreadable form
OTP One-time temporary password
Biometrics Identifies user by physical features
IT Act 2000 Indian law dealing with cyber crime
CERT-In National cyber security response team

6. Mind Map

flowchart TD
    A[Cyber Security] --> B[Threats]
    A --> C[Malware Types]
    A --> D[Protection Tools]
    A --> E[Authentication]
    A --> F[Cyber Laws]
    B --> B1[Phishing]
    B --> B2[Hacking]
    B --> B3[DoS Attack]
    B --> B4[Identity Theft]
    C --> C1[Virus]
    C --> C2[Worm]
    C --> C3[Trojan]
    C --> C4[Spyware]
    C --> C5[Ransomware]
    D --> D1[Firewall]
    D --> D2[Antivirus]
    D --> D3[Encryption]
    E --> E1[Password]
    E --> E2[OTP]
    E --> E3[Biometrics]
    F --> F1[IT Act 2000]
    F --> F2[CERT-In]

7. Important Diagrams (SVG)

The following diagrams show the working of a firewall and the process of encryption.

Working of a Firewall INTERNET Untrusted network FIREWALL Blocks bad traffic OFFICE NETWORK Trusted network Checks each packet of data Allows legitimate traffic, blocks unauthorised access Golden Rule A firewall is the first line of defence between the trusted internal network and the internet.

Encryption and Decryption PLAINTEXT Readable data ENCRYPTION with a key CIPHERTEXT Unreadable data Data travels safely over the internet Even if intercepted, it cannot be read DECRYPTION WITH KEY Ciphertext converted back to plaintext HTTPS and VPN use encryption to protect data Golden Rule Encryption makes data unreadable (ciphertext); only the right key can decrypt it.

Common Mistakes

  1. Candidates often say a worm needs to attach to a file like a virus. A worm spreads by itself over the network without needing a host file.
  2. A frequent error is to think a firewall removes viruses. A firewall controls network traffic, while antivirus software removes malware.
  3. Many students confuse a trojan with a virus. A trojan disguises itself as a useful program, while a virus attaches to files.
  4. Some candidates believe sharing an OTP is harmless if the number is known. The OTP must never be shared, because anyone with it can access the account.
  5. A common mistake is to say encryption makes data readable. Encryption converts readable plaintext into unreadable ciphertext.
  6. Students often forget that CERT-In is the national agency for cyber security incidents in India and confuse it with the RBI.

Exam Tips

  1. Learn the distinguishing feature of each malware, virus attaches to files, worm spreads alone, trojan disguises, spyware collects data and ransomware locks files.
  2. Remember that phishing is done through fake emails and messages that ask for passwords and card details, the most asked cyber attack.
  3. Note the pairing of tools to tasks, firewall for network traffic, antivirus for malware and encryption for making data unreadable.
  4. Remember OTP and biometrics as modern authentication methods, and note that two-factor authentication combines two methods.
  5. Memorise the IT Act 2000 as the Indian cyber law and CERT-In as the national response team, as these facts are asked in awareness questions.
  6. Practise safe-practice questions by remembering the golden rule, never share passwords or OTPs and never open unknown links or attachments.

Conclusion

Cyber security has become an essential part of computer awareness, and the RRB JE CBT-1 examination regularly tests a candidate's knowledge of the threats, the protection tools and the laws that govern the digital world. In this chapter we have studied the different types of malware, virus, worm, trojan, spyware and ransomware, the common attacks such as phishing and hacking, the protection tools of firewalls, antivirus and encryption, the authentication methods including passwords, OTP and biometrics, the safe internet practices, and the Indian cyber law under the IT Act 2000. By memorising the malware table, the tool-to-task pairings and the key facts about CERT-In, a candidate can secure full marks in this portion. Cyber security awareness also protects the candidate personally, because the same knowledge prevents falling victim to online fraud in daily life.