Top Banner Ad

BCC301 — Unit 3: TOOLS AND METHODS USED IN CYBERCRIME

Table of Contents (31 sections)

BCC301 · Cyber Security · Unit 3

TOOLS AND METHODS USED IN CYBERCRIME

Unit Scope & Exam Weightage: This is the largest theory unit of the paper: the tools criminals use (proxy/anonymizer, phishing, password cracking, keylogger, malware, steganography) and the attack methods they enable (DoS/DDoS, SQL injection, buffer overflow, wireless attacks, identity theft). The supplied question set has 24 recorded clusters for this unit, overwhelmingly 7-mark long answers; steganography, proxy servers, SQL injection/buffer overflow and malware are the repeated names.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 Steganography 4 (2023-24 ×2, 2024-25, 2025-26) 3m + 7m ×3 Survival Mode
2 Proxy Servers and Anonymizers 3 (2024-25 ×2, 2025-26) 2m + 7m ×2 High-Yield
3 DoS and DDoS At-tacks 3 (2023-24 ×2, 2024-25) 5m + 7m ×2 Comparison
4 SQL Injection; Buffer Overflow 4 (2023-24 ×2, 2024-25 ×2, 2025-26) 5m + 7m ×4 Web Attacks
5 Keyloggers and Spywares; Virus and Worms; Trojan-horses and Backdoors 7 (2023-24 ×3, 2025-26 ×4) 1m + 2m ×3 + 7m ×3 Malware Bank
6 Identity Theft (ID Theft); Phishing and Identity Theft: Introduction to Phishing 4 (2023-24, 2024-25 ×2, 2025-26) 2m + 7m ×3 Application
7 Password Cracking 1 (2025-26) 7m Predicted Repeat
8 Introduction; Phishing; Attacks on Wireless Networks Integrated in #1–#7 — Supporting Points

2-Hour Last-Night Survival Checklist:

  1. Steganography (Priority 1): Draw cover media + secret message + key → stego media → extraction; write the LSB example (0110 1100 → flip last bits) and a 5-row steganography-vs-cryptography table.
  2. Proxy/anonymizer (Priority 2): Memorise the request path victim → proxy → destination, the three uses (hide origin, bypass controls, launder traffic) and Tor's layered relays.
  3. Web attacks (Priority 4): Keep the SQL injection payload ' OR '1'='1 and the buffer-overflow chain no bounds check → overwrite return address → run shellcode ready with fixes (prepared statements, canaries/ASLR/DEP).
  4. Malware table (Priority 5): Write one line each for virus, worm, trojan, backdoor, keylogger, spyware, ransomware and bot agent — with propagation method and symptom.
  5. DoS vs DDoS (Priority 3): State the one-line difference (one source vs many bots) plus classes: volumetric, protocol and application-layer.

1. Introduction: Tool Categories Used in Cybercrime

Cybercrime tool: Any program, service or technique that helps an attacker hide identity, deliver malware, steal credentials, disrupt a service or covertly move data. The same tool may be legitimate in administration but becomes an offence when used without authorisation.

Category Tools / Methods in This Unit Criminal Purpose
Anonymity Proxy servers, anonymizers, Tor, VPN Hide the source IP and evade tracing
Deception Phishing, pretext pages, identity theft Obtain credentials and personal data
Credential attack Password cracking, keyloggers, spyware Capture or guess passwords
Malware Virus, worm, trojan, backdoor, bot agent Infect, persist and control machines
Concealment Steganography Hide the existence of a message
Disruption / intrusion DoS/DDoS, SQL injection, buffer overflow, wireless attacks Deny service or break into applications

After-Topic PYQ:

  • 2023-24 (Sec C, 7 Marks): "Explain 7 Tools used in Cyber Crime."

2. Proxy Servers and Anonymizers

Proxy server: An intermediary that accepts a client's request and forwards it to the destination, so the destination sees the proxy's IP rather than the client's.
Anonymizer: A service that deliberately strips or replaces identifying information (IP, headers, cookies) to make the user's activity untraceable.

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
    U["Attacker / Victim browser"] -->|"request"| P["Proxy / Anonymizer<br/>(new IP, filtered headers)"]
    P -->|"forwarded request"| W["Web server / Target"]
    W -->|"reply"| P
    P -->|"reply"| U
    T["Tor: Entry → Middle → Exit relay"] -.->|"layered encryption"| P

2.1 How They Are Used in Cybercrime

  1. Hide origin: logs at the victim show the proxy/Tor exit node, forcing investigators to subpoena several services.
  2. Bypass controls: access sites blocked by an organisation's filter or geo-restriction.
  3. Launder traffic: chain several proxies or compromised hosts so each hop only knows the previous one.
  4. Host fake services: a reverse proxy in front of a phishing site hides the real server.
  5. Tor: the circuit uses layered encryption; each relay knows only predecessor/successor, and the exit relay sees the plaintext destination.

2.2 Defensive Side (needed for balance)

  • Maintain proxy/Tor exit lists and apply risk-based blocking; inspect TLS at the enterprise boundary where lawful.
  • Correlate authentication logs with unusual geolocation or impossible travel.
  • Remember that anonymity is not invisibility: endpoint logs, payment trails and mistakes de-anonymise attackers.

After-Topic PYQs:

  • 2024-25 (Sec A, 2 Marks): "Define anonymizers with an example."
  • 2024-25 (Sec C, 7 Marks): "Explain the use of proxy servers and anonymizers in cybercrime."
  • 2025-26 (Sec C, 7 Marks): "Explain the role of proxy servers and anonymizers in cyber crimes."

3. Phishing and Identity Theft

Phishing (2 Marks): Sending a deceptive message that impersonates a trusted organisation to make the victim click a malicious link, download a file or reveal credentials.
Identity theft: Using someone else's personal identifiers (name, Aadhaar/PAN, account number, credentials, photos) without permission, usually for fraud.

3.1 Phishing Variants

Variant Channel Typical Lure
Bulk phishing Email "Your account will be suspended — verify now"
Spear phishing Targeted email Uses victim's name, colleague or project details
Whaling Email to executives Fake legal notice or invoice approval
Smishing / vishing SMS / phone call Delivery fee, KYC update, bank verification
Clone phishing Replied thread Replaces a genuine attachment with malware

3.2 How Identity Theft Is Done and Handled

How: collect data from phishing forms, breached databases, social media oversharing, dumped documents and malware; then open accounts, take over existing ones, or sell the identity packet.

Handling / prevention: unique passwords + MFA, never share OTP/PIN, limit personal data online, check statements and credit reports, freeze/report compromised identifiers immediately, preserve evidence and lodge a cybercrime complaint.

Cyber Security Examiner Tip: Connect phishing to identity theft explicitly in the answer: phishing is the collection method, identity theft is the outcome. Examiners often give a separate mark for this relationship.

After-Topic PYQs:

  • 2024-25 (Sec A, 2 Marks): "Define "phishing" and give a common example."
  • 2024-25 (Sec C, 7 Marks): "What is Identity Theft? How is it related to phishing and what are the preventive measures?"
  • 2023-24 (Sec C, 7 Marks): "What is Identity Theft. How it is done and how ID Theft can be handled?"

4. Password Cracking, Keyloggers and Spyware

4.1 Password Cracking Techniques

Key idea: Systems store password hashes, not plain text. Cracking means guessing a candidate, hashing it the same way and comparing the hash. Random salts make precomputed tables ineffective.

Technique Method Why It Succeeds
Dictionary attack Try wordlists plus common variants (Password@123) Humans choose memorable words
Brute force Try every character combination Short passwords have small search space
Rule-based / hybrid Apply substitutions (a→@, o→0) to dictionary words Mimics real password habits
Rainbow table Look up precomputed hash chains Fails if unique salt is used
Credential stuffing Reuse leaked username/password pairs on other sites Password reuse across services
Keylogger / phishing Capture the password at entry Bypasses hash strength entirely

Why weak passwords persist despite awareness: password reuse, predictability (name@123), writing passwords down, ignoring password managers, and the false belief that complexity alone is enough. Correct defence: long unique passphrases, a password manager, MFA, rate limiting, salted slow hashes (bcrypt/Argon2) and breach monitoring.

4.2 Keyloggers and Spyware

  • Keylogger: records keystrokes. Software forms hook the keyboard API, inject a DLL or run as a browser extension; hardware forms sit between keyboard and USB or inside the cable. Output is stored locally or exfiltrated over the network.
  • Spyware: broader surveillance software — captures screenshots, browsing history, contacts, location and microphone; often bundled with freeware or installed by a trojan.
  • Detection: unexplained network traffic, high CPU, new startup entries/extensions, unknown processes, security alerts, battery drain on mobiles; use EDR/antivirus and boot-time scans.
  • Prevention: install from trusted sources, update OS, use MFA (so a stolen keystroke is not enough), restrict admin rights, inspect browser extensions, and use virtual/on-screen keyboards for sensitive entry where appropriate.

After-Topic PYQs:

  • 2023-24 (Sec A, 1 Mark): "What is a keylogger, and how does it capture keystrokes?"
  • 2025-26 (Sec C, 7 Marks): "Describe the working of keyloggers and spyware. How can users detect and prevent them?"
  • 2025-26 (Sec C, 7 Marks): "Explain password cracking techniques. Why are weak passwords still a major security risk despite awareness?"

5. Virus, Worms, Trojan Horses and Backdoors

Virus: Malicious code that attaches itself to a legitimate file/program and executes when that host is run; it needs a host and usually user action.
Worm: Self-replicating malware that spreads across networks by exploiting vulnerabilities without needing a host file or user action.
Trojan horse: Software that appears useful (game, PDF viewer, "free antivirus") but secretly performs malicious actions.
Backdoor: A hidden method of accessing a system that bypasses normal authentication, often installed by a trojan or rootkit.

Property Virus Worm Trojan Backdoor
Needs host file Yes No Disguised as host No (hidden access point)
Self-replicates No (via infected hosts) Yes No No
Spread route Removable media, email attachments, infected files Network exploits, shares, mail Download, sideload, fake installer Installed after compromise
Typical damage Corrupts files, formats disk Consumes bandwidth, drops payload Credential theft, RAT installation Persistent remote control
Defence Antivirus signatures, scan media Patch services, segment network Trusted sources, code signing Audit ports/accounts, EDR

Examples for answers: a macro virus in an Excel invoice; a worm exploiting an unpatched SMB service; a "free movie player" trojan that installs a remote-access tool; a backdoor account left by an attacker for repeat access.

After-Topic PYQs:

  • 2023-24 (Sec A, 2 Marks): "What is virus and worms."
  • 2025-26 (Sec A, 2 Marks): "What is a worm in computer?"
  • 2025-26 (Sec A, 2 Marks): "What is a backdoor in cyber security?"
  • 2025-26 (Sec C, 7 Marks): "Explain Trojan horses and backdoors with suitable examples."

6. Steganography Survival Mode

Steganography (2–3 Marks): The art of hiding the existence of a message inside another medium (image, audio, video, text or network packet) so that casual inspection reveals nothing unusual.

6.1 Model and Terminology

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
    C["Cover medium<br/>(image/audio/text)"] --> EMB["Embedding algorithm + optional key"]
    S["Secret message"] --> EMB
    EMB --> ST["Stego medium<br/>(looks like original)"]
    ST --> EXT["Extraction algorithm + key"]
    EXT --> R["Recovered secret"]
    ST --> DET["Steganalysis<br/>(detect statistical anomalies)"]
  • Cover medium: original carrier. Payload: hidden data. Stego key: secret parameter controlling placement. Stego medium: modified carrier. Steganalysis: detecting that hidden data exists.

6.2 LSB Image Embedding (Worked Micro-Example)

In an 8-bit RGB image, changing the least significant bit of a colour byte alters intensity by only 1 — invisible to the eye.

Step Binary Byte Result Meaning
Original pixel byte 0110 1100 108 cover value
Secret bit to hide 1 — payload
Replace LSB 0110 1101 109 stego value (visually identical)
Extraction read LSB of each stego byte 1, 0, 1, … reconstruct secret bits in order

Capacity example: a 1024 × 1024 image with 3 colour channels has 3,145,728 LSBs, i.e. up to 393,216 bytes of payload if every channel is used — though heavy use creates detectable statistics.

6.3 Steganography vs. Cryptography

Feature Steganography Cryptography
Goal Hide the existence of data Make data unreadable but visible
Output Looks like an ordinary image/audio/file Ciphertext that looks random
Suspicion Observer may not know a secret exists Observer knows a secret is present
Key Optional; controls embedding positions Required for encryption/decryption
Attack Steganalysis (statistical detection) Cryptanalysis / key recovery
Example Secret text in image LSBs AES-encrypted file

6.4 Criminal Applications and Detection

  • Applications: covert C2 instructions in images posted on social media; exfiltration of stolen documents inside photos; hiding payloads in audio/video; watermark-like channels for coordination.
  • Detection (steganalysis): compare colour histograms and LSB distributions, chi-square analysis, file-size/format anomalies, mismatched metadata, and network flow timing analysis.
  • Exam caution: steganography does not encrypt by itself; criminals often combine both — encrypt first, then hide the ciphertext.

After-Topic PYQs:

  • 2023-24 (Sec B, 3 Marks): "What is steganography, and how is it used to conceal information?"
  • 2023-24 (Sec C, 7 Marks): "What is steganography. Explain in detail."
  • 2024-25 (Sec C, 7 Marks): "Analyze Steganography as a tool in cybercrime. How does it differ from cryptography?"
  • 2025-26 (Sec C, 7 Marks): "Describe steganography and its applications in cybercrime."

7. DoS and DDoS Attacks

DoS (Denial of Service): An attack from a source that exhausts a victim's bandwidth, CPU, memory or application capacity so legitimate users cannot be served.
DDoS (Distributed Denial of Service): The same effect produced by many distributed sources, usually a botnet, making filtering and tracing much harder.

Feature DoS DDoS
Sources One host/one link Many hosts/geographies
Traffic volume Limited by one machine Can be very large (botnet)
Tracing Relatively easy Difficult; bots are victims too
Mitigation Block the single IP Rate limiting, CDN/scrubbing, anycast, ISP aid
Example Single ping flood Botnet HTTP flood on a payment site

Three classes:

  1. Volumetric: UDP/DNS/NTP amplification floods saturate bandwidth.
  2. Protocol: SYN flood exhausts connection tables; Ping of Death/fragmentation consumes stack resources.
  3. Application-layer: HTTP GET/POST floods target expensive database/search calls with few packets.

Consequences: downtime and lost revenue, SLA penalties, reputational damage, diverted incident-response effort, and sometimes a smokescreen for a concurrent data breach.

After-Topic PYQs:

  • 2023-24 (Sec B, 5 Marks): "What is the difference between a DoS (Denial of Service) attack and a DDoS (Distributed Denial of Service) attack?"
  • 2024-25 (Sec C, 7 Marks): "Explain how DoS and DDoS attacks work and their potential consequences."

8. SQL Injection and Buffer Overflow

8.1 SQL Injection

SQL Injection (SQLi): Inserting malicious SQL fragments into user input that is concatenated into a database query, so the database executes attacker-chosen commands.

Vulnerable code concept: SELECT * FROM users WHERE name = '<input>' AND pass = '<input>'. If the input is ' OR '1'='1, the condition becomes true for every row, allowing login bypass.

Type Technique Example Idea
Tautology / in-band Force a true condition or return extra rows ' OR 1=1 --
UNION-based Append a second query to read other tables UNION SELECT card_no FROM cards
Error-based Trigger DB errors that leak schema malformed cast showing table names
Blind (boolean/time) Infer data from response or delay IF(...) WAITFOR DELAY '0:0:5'

Process and impact (7 marks): identify input parameter → test with a quote/tautology → map columns with ORDER BY/UNION → extract database contents → escalate to admin or pivot to file/system access. Impact: authentication bypass, data theft, data modification/deletion, and sometimes command execution.

Fix: use parameterised queries/prepared statements, stored procedures with bound parameters, input validation/allow-lists, least-privilege DB accounts, disable detailed errors, and a WAF as defence in depth.

8.2 Buffer Overflow

Buffer Overflow: Writing more data into a fixed-size memory buffer than it can hold, so adjacent memory — possibly a return address or function pointer — is overwritten.

Stack frame before:  [ buffer 64 bytes ][ saved EBP ][ return address ][ locals ]
After long input:    [ AAAA...AAAAAAAA ][ AAAAAAAA  ][ attacker address ][ shellcode ... ]
Stage What Happens
1. Unsafe copy strcpy(buf, input) has no length check
2. Overwrite Extra bytes cross the buffer boundary
3. Control hijack Saved return address is replaced
4. Payload execution Function returns into injected shellcode

Consequences: crash/DoS, arbitrary code execution, privilege escalation, persistence. Defences: bounds checking (strncpy, safe libraries), stack canaries, ASLR (randomises addresses), DEP/NX (no execute on stack), compiler fortification and fuzz testing.

After-Topic PYQs:

  • 2023-24 (Sec B, 5 Marks): "What is an SQL injection attack, and how does it exploit vulnerabilities in web applications?"
  • 2024-25 (Sec C, 7 Marks): "Describe the process and impact of SQL Injection and Buffer Overflow attacks on web applications."
  • 2024-25 (Sec C, 7 Marks): "Describe the methods used to exploit buffer overflows."
  • 2025-26 (Sec C, 7 Marks): "Describe buffer overflow attacks and their consequences."

9. Attacks on Wireless Networks

Attack Method Countermeasure
War driving / SSID scanning Search for open or weakly secured APs Hide SSID where appropriate, disable WPS
WEP/WPA cracking Capture handshake and guess passphrase offline Use WPA2/WPA3-Enterprise with strong keys
Evil twin / rogue AP Broadcast a familiar SSID to lure users 802.1X certificate validation, VPN
Deauthentication attack Send forged management frames to disconnect clients WPA3 management-frame protection
Bluetooth pairing abuse Unsolicited pairing or legacy insecure pairing Disable discoverability, verify PIN
MITM / SSL stripping Intercept and downgrade HTTPS HSTS, certificate pinning, VPN

After-Topic PYQ (integrated): Wireless-network attack points should be included whenever a 7-mark answer asks for "7 tools used in cyber crime" or "attacks on wireless networks".


Solved Exam-Ready Questions

Solved Q1 (2023-24 Sec C — 7 Marks)

Q: What is steganography. Explain in detail.

Solution:

  1. Definition: Steganography hides the existence of a secret inside a cover medium such as an image, audio file, video or text.
  2. Terminology: cover medium, secret payload, embedding algorithm, optional stego key, stego medium and extraction algorithm (draw Section 6.1 diagram).
  3. LSB method: replace the least significant bits of pixel colour bytes with payload bits; changing 0110 1100 to 0110 1101 changes intensity by one and is invisible. A 1024×1024 RGB image offers 3,145,728 LSB positions.
  4. Other carriers: audio LSBs, document whitespace, image metadata, TCP/IP header fields and unused packet bits.
  5. Criminal use: covert command-and-control, exfiltration of stolen files, and unobservable coordination among offenders.
  6. Detection: steganalysis using LSB histograms, chi-square tests, metadata/format anomalies and traffic-pattern analysis.
  7. Distinction: unlike cryptography, which makes data unreadable, steganography makes data unnoticed; criminals often use both together.

Solved Q2 (2024-25 Sec C — 7 Marks | Survival Mode)

Q: Analyze Steganography as a tool in cybercrime. How does it differ from cryptography?

Solution:

  • Analysis: An attacker encrypts a stolen document, embeds the ciphertext in a family photograph and posts it publicly. Investigators who only inspect visible content see an ordinary photo, so the covert channel evades casual monitoring and can carry C2 instructions.
  • Why criminals prefer it: low suspicion, enormous carrier capacity on social platforms, plausible deniability, and no need for a direct connection between attacker and victim.
  • Difference table (five rows): goal (existence hidden vs content unreadable), output (normal-looking carrier vs random ciphertext), key (optional vs essential), attack (steganalysis vs cryptanalysis), example (LSB image vs AES file).
  • Combined use: "encrypt then hide" gives both confidentiality and concealment — mention this to score the analysis mark.
  • Limitations: any modification changes statistics; compression or re-encoding can destroy the payload; steganalysis and endpoint monitoring can expose it.

Solved Q3 (2023-24 Sec C — 7 Marks)

Q: Explain 7 Tools used in Cyber Crime.

Solution (seven tools with purpose and one defence each):

  1. Proxy server / anonymizer — hides the attacker's IP; defence: exit-node blocking, log correlation.
  2. Phishing kit — clones a login page to collect credentials; defence: URL verification, MFA.
  3. Password cracker — hashes guesses offline against stolen hashes; defence: salted slow hashes, long unique passwords.
  4. Keylogger/spyware — records keystrokes and screens; defence: EDR, trusted downloads.
  5. Virus/worm/trojan — infects, replicates and opens remote access; defence: patching and antivirus.
  6. Steganography tool — hides data in images/audio; defence: steganalysis.
  7. DDoS/booter or SQL injection tool — disrupts service or extracts database data; defence: rate limiting, WAF, prepared statements.
  • Add one line on wireless attackers (rogue AP/WEP cracking) if space permits, and conclude that most tools are dual-use: legality depends on authorisation.

Solved Q4 (2024-25 Sec C — 7 Marks)

Q: Explain the use of proxy servers and anonymizers in cybercrime.

Solution:

  • Working: The attacker sends a request to a proxy; the proxy opens a new connection to the target, so the target logs the proxy IP. An anonymizer additionally strips identifying headers/cookies; Tor forwards through multiple relays with layered encryption.
  • Criminal uses (five points): (1) conceal source IP and identity; (2) bypass enterprise filtering or geo-blocks; (3) chain proxies to frustrate tracing; (4) mask the hosting server of a phishing site via reverse proxy; (5) route botnet C2 traffic through innocuous-looking hops.
  • Investigative angle: endpoint logs, account/payment trails, timing correlation and provider records can still identify the offender; anonymity is not absolute.
  • Defences: maintain proxy/Tor exit lists, enforce authenticated egress, monitor impossible-travel logins, inspect TLS where lawful, and use threat intelligence.

Solved Q5 (2024-25 Sec C — 7 Marks)

Q: Describe the process and impact of SQL Injection and Buffer Overflow attacks on web applications.

Solution:

  • SQLi process: find a user-controlled parameter → inject a quote and observe error/behaviour → build a tautology (' OR '1'='1) to bypass login → use UNION or blind boolean/time probes to map tables → extract or modify data. Impact: auth bypass, data theft, data corruption, possible DB/host compromise.
  • Buffer overflow process: locate a function copying input into a fixed buffer without bounds check → send input longer than the buffer → overwrite the saved return address → redirect execution to injected shellcode. Impact: crash (DoS), arbitrary code execution, privilege escalation, persistence.
  • Fixes: prepared statements/parameterised queries, least-privilege DB accounts and hidden errors for SQLi; bounds checking, stack canaries, ASLR and DEP/NX for overflow; fuzz testing and patching for both.
  • Conclusion: both exploit missing input/bounds validation; validating and constraining untrusted input is the common root defence.

Solved Q6 (2025-26 Sec C — 7 Marks)

Q: Explain password cracking techniques. Why are weak passwords still a major security risk despite awareness?

Solution:

  • Techniques: dictionary, brute force, rule-based/hybrid, rainbow table (defeated by salt), credential stuffing, keylogger/phishing capture.
  • Why hashes matter: systems compare hashes; an attacker guesses a candidate, hashes it with the same algorithm and compares. Slow salted hashes (bcrypt/Argon2) raise the cost per guess.
  • Why weak passwords persist: reuse across sites, short length, predictable patterns (India@123), writing them down, lack of password managers, and the mistaken belief that occasional complexity is enough.
  • Risk: one leaked database unlocks many accounts through stuffing; stolen OTP or keylogged password defeats hashing strength; legacy unsalted fast hashes (MD5/SHA-1) fall quickly to GPU cracking.
  • Defence: long unique passphrases, password manager, MFA, per-user salt with slow KDF, rate limits/lockouts and breach-alert monitoring.

Solved Q7 (2024-25 Sec C — 7 Marks)

Q: Describe the working of keyloggers and spyware. How can users detect and prevent them?

Solution:

  • Working: Software keyloggers hook keyboard events, inject into processes or run as browser extensions; hardware keyloggers sit on the keyboard cable or inside the device. Spyware additionally collects screenshots, history, location, contacts and microphone data, and sends them to a remote server.
  • Infection routes: bundled freeware, malicious attachments, fake installers, exploited browser vulnerabilities and physical tampering.
  • Detection: unexplained outbound traffic, new startup entries/extensions, unknown processes, high CPU/battery use, security warnings and altered browser settings; boot-time AV/EDR scans and startup audits.
  • Prevention: install only trusted software, keep OS patched, avoid admin rights for daily work, review extension permissions, use MFA so captured passwords alone are insufficient, and inspect hardware on shared machines.
  • Conclusion: keyloggers defeat password strength, so layered controls (endpoint protection + MFA + user care) are required.

Practice Questions (Self-Test)

  1. (2 Marks) What is a worm? State one way it differs from a virus.
  2. (2 Marks) Define a backdoor and give one example.
  3. (3 Marks) Explain how steganography conceals information in an image.
  4. (7 Marks) Compare DoS and DDoS with three classes of each attack and two defences.
  5. (7 Marks) Explain SQL injection with an example payload and four countermeasures.
  6. (7 Marks) Describe a buffer overflow with a stack diagram and four defences.
  7. (7 Marks) Explain how identity theft is linked to phishing and list five preventive measures.