Docsity

Notes on cyber security, Study notes of Law

Toggle sidebar
bg1
CYBERSECURITY THREAT
LANDSCAPE
Technical Aspects of Current Cyber Security Threats
Comprehensive Study Notes with Terminology Reference
1. Introduction to Cybersecurity Threats
Cybersecurity threats are malicious acts that seek to damage data, steal data, or disrupt
digital systems. Modern threats are highly sophisticated, leveraging advanced technical
methods to bypass traditional defenses. Understanding the technical underpinnings of
these threats is essential for effective defense and incident response.
1.1 Threat Landscape Overview
•Attack Surface: The total sum of different points (vectors) where an
unauthorized user/hacker can try to enter data to, or extract data from an
environment. It includes all vulnerabilities, entry points, and pathways—digital,
physical, and human i.e. websites, servers, software, IoT devices, and
employees and reducing this surface is critical to lowering risks.
•Threat Actor: Any individual, group, or entity that poses a threat or causes
harm to cybersecurity, including nation-states, cybercriminals, hacktivists, and
insider threats.
•TTPs (Tactics, Techniques & Procedures): These are are a structured
framework used in cybersecurity to analyze and predict adversary behavior,
shifting defense from reactive indicator-matching to proactive behavior analysis
i.e. shifing from fixing after they happen to stopping them before they
start.They outline the "why" (Tactics), "how" (Techniques), and specific step-by-
step actions (Procedures) threat actors use and describes the behavior of a
threat actor; used in threat intelligence to classify and profile adversaries (as
defined in the MITRE ATTACK framework).
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe

Partial preview of the text

Download Notes on cyber security and more Study notes Law in PDF only on Docsity!

CYBERSECURITY THREAT

LANDSCAPE

Technical Aspects of Current Cyber Security Threats

Comprehensive Study Notes with Terminology Reference

1. Introduction to Cybersecurity Threats

Cybersecurity threats are malicious acts that seek to damage data, steal data, or disrupt digital systems. Modern threats are highly sophisticated, leveraging advanced technical methods to bypass traditional defenses. Understanding the technical underpinnings of these threats is essential for effective defense and incident response.

1.1 Threat Landscape Overview

  • Attack Surface : The total sum of different points (vectors) where an unauthorized user/hacker can try to enter data to, or extract data from an environment. It includes all vulnerabilities, entry points, and pathways—digital, physical, and human i.e. websites, servers, software, IoT devices, and employees and reducing this surface is critical to lowering risks.
  • Threat Actor : Any individual, group, or entity that poses a threat or causes harm to cybersecurity, including nation-states, cybercriminals, hacktivists, and insider threats.
  • TTPs (Tactics, Techniques & Procedures) : These are are a structured framework used in cybersecurity to analyze and predict adversary behavior, shifting defense from reactive indicator-matching to proactive behavior analysis i.e. shifing from fixing after they happen to stopping them before they start.They outline the "why" (Tactics), "how" (Techniques), and specific step-by- step actions (Procedures) threat actors use and describes the behavior of a threat actor; used in threat intelligence to classify and profile adversaries (as defined in the MITRE ATTACK framework).
  • IOC (Indicator of Compromise) : Digital Forensic evidence of a potential intrusion — examples include malicious IP addresses, file hashes, domain names, and registry keys.
  • Kill Chain (Cyber Kill Chain) : A framework developed by Lockheed Martin describing the phases of a cyberattack: Reconnaissance - The attacker gathers information on the target, such as searching for vulnerabilities or email addresses. Weaponization - The attacker creates a weaponized payload (e.g., malware or ransomware) to exploit the discovered vulnerabilities. Delivery - The weapon is delivered to the target through methods like phishing emails, malicious links, or USBs. Exploitation -The weapon is executed, exploiting a vulnerability in the target’s system. Installation -The malware installs itself, allowing the attacker to establish a persistent presence in the network. Command & Control (C2) -The attacker creates a communication channel to remotely control the compromised system. Actions on Objectives -The attacker achieves their goal, such as stealing data, destroying systems, or launching Cyber Kill Chain vs. MITRE ATTACK While the Cyber Kill Chain focuses on the high-level, linear flow of an attack, the MITRE ATTACK framework offers a more granular, tactical matrix of specific adversarial techniques, making them complementary tools. 2. Malware: Types and Technical Mechanisms Malware (malicious software) is designed to disrupt, damage, or gain unauthorized access to computer systems. Each type uses distinct technical mechanisms for infection, persistence, and payload delivery.
  • Lateral Movement : Techniques used to progressively move through a network after initial compromise — ransomware operators use this to infect as many endpoints and servers as possible before triggering encryption.

2.4 Spyware and Keyloggers

  • Spyware : Software that secretly monitors and collects user activity, including browsing habits, credentials, and personal data, transmitting it to a remote attacker.
  • Keylogger : Records all keystrokes made on a device. Can be hardware-based (physically attached to a keyboard port) or software-based (kernel-level or user- space hook).
  • Rootkit : A collection of tools that give an attacker administrator-level (root) access while hiding their presence from the OS. Kernel rootkits modify core OS components; bootkits persist at the firmware level. 3. Network-Based Attacks Network attacks exploit protocols, configurations, and communication channels to intercept, disrupt, or hijack data and services.

3.1 Denial-of-Service (DoS) and DDoS Attacks

DoS attacks flood a target with traffic or requests, exhausting resources and causing service outages. Distributed DoS (DDoS) attacks use thousands of compromised machines (a botnet) to amplify the attack volume.

  • Volumetric Attack : Overwhelms bandwidth with massive traffic — measured in Gbps. Techniques include UDP floods and ICMP floods.
  • Protocol Attack : Exploits weaknesses in Layer 3/4 protocols to consume server and network device resources (e.g., SYN Flood exploits TCP three-way handshake).
  • Application Layer Attack (L7) : Targets specific application services (e.g., HTTP GET/POST floods against web servers). More difficult to detect as traffic appears legitimate.
  • Amplification Attack : Uses protocols with asymmetric request/response sizes (DNS, NTP, Memcached) to magnify attack traffic — a small spoofed request triggers a large response directed at the victim.
  • Botnet : A network of infected devices (bots/zombies) controlled by an attacker (bot herder) via C2 infrastructure, used to launch DDoS attacks, send spam, or conduct credential stuffing.

3.2 Man-in-the-Middle (MitM) Attacks

MitM attacks intercept and potentially alter communications between two parties without their knowledge.

  • ARP Spoofing / ARP Poisoning : Sends forged ARP (Address Resolution Protocol) messages to associate the attacker's MAC address with a legitimate IP address on a local network segment.
  • SSL Stripping : Downgrades a victim's HTTPS connection to HTTP, enabling plaintext interception. Countered by HSTS (HTTP Strict Transport Security).
  • DNS Spoofing / DNS Cache Poisoning : Corrupts the DNS cache of a resolver, redirecting users to malicious IP addresses when they query legitimate domain names.
  • Session Hijacking : Steals a valid session token (e.g., HTTP cookie) to impersonate an authenticated user, bypassing login credentials entirely.

3.3 Packet Sniffing and Traffic Analysis

  • Packet Sniffer : A tool (e.g., Wireshark, tcpdump) that captures and analyzes packets on a network — used legitimately for diagnostics but maliciously for credential theft.
  • Promiscuous Mode : A network interface configuration where the NIC captures all packets on the segment, not just those addressed to it.
  • Deep Packet Inspection (DPI) : Examines the data (payload) portion of network packets as they pass an inspection point, enabling detection of malware, protocol violations, and data exfiltration. 4. Web Application Attacks Web applications are prime attack targets due to their public accessibility and often complex codebases. The OWASP Top 10 catalogues the most critical web vulnerabilities.

4.1 Injection Attacks

  • SQL Injection (SQLi) : Inserts malicious SQL code into input fields to manipulate database queries — can lead to unauthorized data access, modification, or deletion. Types include in-band, blind, and out-of-band SQLi.
  • Command Injection : Allows an attacker to execute arbitrary OS commands on a server by injecting them through vulnerable input fields processed by shell interpreters.
  • LDAP Injection : Manipulates LDAP queries to bypass authentication or extract directory information by injecting special characters into LDAP filters.
  • XXE (XML External Entity) : Exploits XML parsers that process external entity references — enables file disclosure, SSRF, and in some cases remote code execution.
  • Spear Phishing : Highly targeted phishing using personalized information about the victim (gathered via OSINT) to increase believability and success rates.
  • Whaling : Spear phishing specifically targeting senior executives (CEOs, CFOs) to gain access to high-value accounts or authorize fraudulent transfers.
  • Vishing (Voice Phishing) : Social engineering attacks conducted over phone calls, impersonating trusted organizations (banks, IT support) to extract sensitive information.
  • Smishing (SMS Phishing) : Phishing attacks delivered via SMS text messages, often containing malicious links or requests for sensitive information.
  • BEC (Business Email Compromise) : Sophisticated scam targeting businesses by impersonating executives or vendors via email to authorize fraudulent wire transfers or data disclosures.

5.2 Other Social Engineering Techniques

  • Pretexting : Creating a fabricated scenario (pretext) to extract information — e.g., impersonating an IT auditor to get employees to reveal system access details.
  • Baiting : Leaving infected physical media (USB drives) in public places hoping targets will plug them in, triggering malware execution.
  • Quid Pro Quo : Offering something in exchange for information — e.g., posing as IT support and offering to fix an issue in exchange for login credentials. 6. Advanced Persistent Threats (APTs) APTs are prolonged, targeted cyberattacks typically conducted by nation-state actors or sophisticated criminal groups. They aim to stealthily gain and maintain access to a target network over extended periods to exfiltrate data or cause disruption.

6.1 APT Lifecycle

  • Initial Access : Attackers gain entry through spear phishing, supply chain compromise, exploiting public-facing applications, or watering hole attacks.
  • Persistence : Techniques to maintain access after reboots or credential changes — e.g., registry run keys, scheduled tasks, WMI subscriptions, web shells.
  • Privilege Escalation : Moving from a low-privileged account to higher privileges (local admin or domain admin) to broaden access. Techniques include exploiting unpatched vulnerabilities, token impersonation, and pass-the-hash.
  • Defense Evasion : Techniques to avoid detection — including disabling security tools, timestomping, log clearing, and using living-off-the-land binaries (LOLBins).
  • Data Exfiltration : Stealthy transfer of stolen data outside the network — often using encrypted channels (HTTPS), DNS tunneling, or steganography to bypass DLP controls.

6.2 Zero-Day Exploits

A zero-day (0-day) vulnerability is an unknown flaw in software or hardware that the vendor has had zero days to patch. Zero-day exploits targeting such flaws are highly valuable and often used in APT campaigns.

  • Exploit : Code or technique that takes advantage of a vulnerability to cause unintended behavior in software — typically leading to code execution, privilege escalation, or denial of service.
  • Exploit Kit : Pre-packaged tool (e.g., Angler, Nuclear) that automates the exploitation of known vulnerabilities in browsers and plugins when a victim visits a compromised webpage (drive-by download).
  • Patch Gap : The window of time between public disclosure of a vulnerability and when organizations apply the patch — a critical risk window exploited by threat actors. 7. Cloud and Supply Chain Security Threats

7.1 Cloud-Specific Threats

  • Cloud Misconfiguration : Incorrectly configured cloud resources (e.g., open S buckets, unrestricted security groups) are the leading cause of cloud data breaches.
  • SSRF (Server-Side Request Forgery) : Forces the server to make requests to internal resources — in cloud environments, attackers exploit SSRF to access the instance metadata service (IMDS) and steal IAM credentials.
  • IAM Abuse (Identity and Access Management) : Exploitation of overly permissive IAM roles and policies to escalate privileges within cloud environments (AWS, Azure, GCP).
  • Container Escape : Vulnerability that allows an attacker to break out of a container runtime (e.g., Docker) to gain access to the underlying host operating system.

7.2 Supply Chain Attacks

Supply chain attacks compromise software or hardware upstream to affect downstream users — a single breach can impact thousands of organizations simultaneously.

  • Software Supply Chain Attack : Attackers inject malicious code into trusted software updates (e.g., SolarWinds Orion) that are then distributed to thousands of customers.
  • Dependency Confusion : Publishes a malicious package with the same name as an internal private package to public repositories — package managers may inadvertently download the malicious version.

10.1 Key Security Technologies

  • SIEM (Security Information and Event Management) : Aggregates and correlates log data from across the environment to detect threats, generate alerts, and support incident response and forensics.
  • EDR (Endpoint Detection and Response) : Provides continuous monitoring and response capabilities on endpoints — records activity, detects threats using behavioral analysis, and enables remote investigation.
  • XDR (Extended Detection and Response) : Extends EDR by integrating telemetry from endpoints, network, email, cloud, and identity into a unified detection and response platform.
  • WAF (Web Application Firewall) : Filters, monitors, and blocks HTTP traffic to and from a web application based on rules targeting OWASP Top 10 and other web attacks.
  • IDS/IPS (Intrusion Detection/Prevention System) : IDS monitors and alerts on suspicious traffic; IPS actively blocks identified threats. Both can be signature-based or anomaly-based (behavioral).

10.2 Defense Frameworks and Standards

  • Zero Trust Architecture : Security model based on the principle of 'never trust, always verify' — every access request is authenticated and authorized regardless of network location.
  • Defense in Depth : Layered security strategy using multiple controls across different domains (network, endpoint, application, data) so that if one layer fails, others remain.
  • CVE (Common Vulnerabilities and Exposures) : A publicly disclosed list of known cybersecurity vulnerabilities, each assigned a unique identifier (e.g., CVE-2021-44228 for Log4Shell).
  • CVSS (Common Vulnerability Scoring System) : Provides a numerical score (0-10) reflecting the severity of a vulnerability based on exploitability, scope, and impact metrics.
  • MITRE ATT&CK Framework : A globally accessible knowledge base of adversary tactics and techniques based on real-world observations — widely used for threat detection, threat hunting, and red/blue team exercises.

11. Quick Reference Glossary The following table provides concise definitions for key cybersecurity terms referenced throughout these notes. 0-Day / Zero-Day A previously unknown software vulnerability that has no official patch. Exploits targeting it are called zero-day exploits. APT Advanced Persistent Threat — long-term, stealthy, targeted attack typically by nation-state or sophisticated criminal actors. ARP Spoofing Sending forged ARP messages to associate attacker's MAC with a legitimate IP, enabling MitM attacks on local networks. Backdoor (^) Hidden method of bypassing authentication, often installed by malware for persistent unauthorized access. BEC (^) Business Email Compromise — impersonating executives via email to authorize fraudulent financial transactions. Botnet (^) Network of malware-infected devices controlled by an attacker to launch DDoS attacks, send spam, or perform other attacks. C2 / C&C (^) Command-and-Control — attacker infrastructure used to send commands to and receive data from compromised systems. CSRF (^) Cross-Site Request Forgery — tricks authenticated users into making unwanted requests to a web application. CVE (^) Common Vulnerabilities and Exposures — standardized identifiers for publicly known security vulnerabilities. CVSS (^) Common Vulnerability Scoring System — numeric score (0-10) representing the severity of a security vulnerability. DDoS (^) Distributed Denial-of-Service — overwhelming a target using traffic from many distributed sources (botnet). Defense in Depth (^) Layered security strategy using multiple controls so failure of one does not compromise the whole system.

MitM Man-in-the-Middle — attacker secretly intercepts and possibly alters communication between two parties. MITRE ATT&CK Knowledge base of real-world adversary tactics and techniques used for threat detection and red/blue teaming. Phishing Deceptive communications impersonating trusted entities to steal credentials or distribute malware. Polymorphic Virus Virus that mutates its code signature with each infection to evade signature-based detection. RaaS (^) Ransomware-as-a-Service — ransomware toolkit rented to affiliates who conduct attacks and share revenue. RAT (^) Remote Access Trojan — malware giving attackers full remote control over an infected system. Rootkit (^) Malware that hides its presence and provides persistent privileged access at the kernel or firmware level. SIEM (^) Security Information and Event Management — centralized log aggregation and correlation for threat detection. SMB (^) Server Message Block — network file sharing protocol; exploited by worms like WannaCry via EternalBlue vulnerability. Spear Phishing (^) Highly targeted phishing attack personalized for a specific individual using OSINT-gathered information. SQL Injection (^) Inserting malicious SQL into input fields to manipulate database queries and gain unauthorized data access. SSRF (^) Server-Side Request Forgery — forces server to make requests to internal resources, often used in cloud attacks. SSL Stripping Downgrading HTTPS to HTTP to intercept plaintext communications in a MitM attack.

Supply Chain Attack Compromising upstream software or hardware providers to affect all downstream customers simultaneously. TTPs Tactics, Techniques & Procedures — describes the behavior and methods of a threat actor. UEBA User and Entity Behavior Analytics — ML-based detection of anomalous user behavior indicating insider threats. Vishing (^) Voice phishing — social engineering attacks conducted over phone calls. WAF (^) Web Application Firewall — filters HTTP traffic to protect web applications from common attacks like SQLi and XSS. XDR (^) Extended Detection and Response — unified threat detection integrating endpoint, network, cloud, and email telemetry. XSS (^) Cross-Site Scripting — injecting malicious scripts into web pages to execute in other users' browsers. XXE (^) XML External Entity — exploiting XML parsers to disclose files, trigger SSRF, or execute code. Zero Trust (^) Security model requiring continuous verification for every access request regardless of network location. These notes are intended as a study reference for cybersecurity professionals and students. Frameworks referenced include MITRE ATT&CK, NIST, OWASP, and Lockheed Martin Cyber Kill Chain.