Comprehensive Study Guide on Malware and Cybersecurity

Comprehensive Overview of Malware

  • Definition of Malware: Malware is malicious software designed to disrupt, damage, or gain unauthorised access to a computer system.
  • Criminal Objectives: Cybercriminals employ malware to:     - Steal data.     - Obtain banking credentials.     - Sell access to computing resources.     - Extort money from victims.
  • Primary Types of Malware:     - Trojan horse: This software masquerades as legitimate software in order to deceive the user.     - Ransomware: A type of malware that locks or encrypts data and subsequently demands a ransom.     - Adware: Software that displays unwanted advertisements.     - Spyware: Software designed to spy on the activities of the user.     - Worm: A program that spreads automatically from one computer to another.
  • Historical Milestone: The first known self-replicating programme was Creeper, which appeared in 19711971 on ARPANET. While not a virus in the modern sense, it is considered an important precursor.
  • General Objectives of Malware:     - To steal data.     - To make money.     - To cause damage.     - To take control of a system.     - To install other types of malware.
  • Case Study: The Melissa Virus (19991999):     - Spread via an infected Microsoft Word document.     - Upon opening, the virus sent the infected file to numerous contacts within the user's Outlook address book.     - Resulted in significant server overloads and considerable damage.

Infection Vectors and Processes

  • Main Vectors of Infection:     - Phishing: Utilises fake emails, text messages, or social media messages.     - Software Flaws: Exploitation of vulnerabilities, including zero-day flaws.     - Malicious Advertising and Dubious Downloads: Includes booby-trapped adverts or fake software.     - Removable Media: Use of infected USB sticks.     - Pirated Software: Files or installations containing hidden Trojan horses.
  • The Email Attachment Infection Process:     1. The victim receives a phishing email containing a suspicious attachment.     2. The message leverages psychological triggers such as fear or a sense of urgency.     3. The user opens the file and may be prompted to enable macros.     4. A malicious script is launched, which then downloads other malicious components.
  • Vulnerabilities and Zero-Day Exploits:     - Vulnerability: A weakness in software.     - Unpatched Vulnerability: A flaw that can be exploited if a corrective update has not been installed by the user.     - Zero-day Vulnerability: A flaw that is unknown to the software developer at the time the attack occurs.
  • Social Engineering: The act of manipulating a person rather than a technical system to gain access. Examples include:     - Fake bank emails.     - Fake antivirus software notifications.     - Fraudulent calls from individuals posing as technical support.
  • Case Study: Medibank (20222022):     - An attack that exposed the data of 9.7×1069.7 \times 10^6 (9.7 million) people.     - Publicly available information indicates that a major contributing factor was the lack of multi-factor authentication (MFA) on a critical access point.

Ransomware and Response Strategies

  • Definition: Ransomware is malware that encrypts a victim\'s data and demands a ransom payment for the decryption key.
  • High-Risk Targets: Attacks frequently target hospitals, businesses, and local authorities because these entities are heavily reliant on their systems and cannot afford long operational interruptions.
  • WannaCry: A notable ransomware example that exploited a Windows vulnerability related to SMBv1, spreading rapidly across unpatched machines.
  • Impact on Healthcare: In a hospital setting, an attack can directly disrupt patient care and put lives at risk.
  • Incident Response Protocol:     1. Disconnect from the internet.     2. Disconnect the specific affected machines.     3. Do not force-shut down infected workstations.     4. Notify the IT department immediately.     5. Preserve evidence and alert relevant authorities.     6. Restore systems using verified offline backups.
  • The Policy Against Paying Ransoms:     - Payment does not guarantee data recovery.     - Attackers may not disappear after payment.     - Paying funds criminal activities.     - Data may remain compromised even after the transaction.

Cybersecurity Frameworks and Protection

  • Consequences of Infection:     - Data loss.     - Financial costs.     - Business disruption.     - Identity theft.     - Damage to reputation.
  • ANSSI: The French national authority for cybersecurity and cyber defence. It publishes guides, alerts, and recommendations for incident prevention and management.
  • Legal Frameworks: Protection rules include the GDPR (General Data Protection Regulation) and the Data Protection Act, which outline obligations regarding data protection and process security.
  • Protection Tools:     - Antivirus software.     - Firewalls.     - Regular Backups.
  • Detection Methods:     - Signature-based detection: Searches for known patterns of malware.     - Behavioural detection: Identifies suspicious actions even if the malware is previously unknown.
  • Ten Essential Rules for Digital Hygiene:     1. Keep systems up to date.     2. Use strong passwords.     3. Enable two-factor authentication (2FA2FA).     4. Back up data regularly.     5. Limit administrator rights.     6. Avoid suspicious attachments.     7. Download only from official sources.     8. Use antivirus software.     9. Be wary of unknown USB drives.     10. Train users in security awareness.

Mobile Malware and Evolution

  • Mobile Malware Characteristics: Targets smartphones and tablets. Android is generally more vulnerable due to its open ecosystem, whereas iOS maintains tighter control.
  • Mobile Attack Goals: Stealing login credentials, intercepting text messages, spying, or hijacking banking services.
  • Mobile User Habits: Smaller screens and hurried habits increase the likelihood of user error.
  • Mobile Infection Techniques:     - Third-party applications.     - SMS messages and phishing links.     - Trapped Wi-Fi networks.     - Fake updates.     - Excessive app permissions.     - Malicious websites or misleading downloads.
  • Mobile Examples:     - Pegasus: A highly sophisticated form of spyware.     - FakeBank: Banking malware that targets login credentials.
  • Mobile Protection Measures: Update the OS (Operating System), check permissions, use official app stores, use strong passwords, enable 2FA2FA, and avoid unsecured public Wi-Fi.

Advanced Threats and Technical Analysis

  • Fileless Malware: Malicious software that executes commands directly in a computer's RAM (Random Access Memory) without creating files on the hard drive, making it harder to detect.
  • AI-Assisted Attacks: Cybercriminals use AI to write convincing fake messages, automate attacks, and bypass detection mechanisms.
  • IoT (Internet of Things): Connected devices are often vulnerable due to limited security. They serve as entry points to broader systems.
  • Cyberwarfare: The use of cyberattacks by states or state-sponsored groups to spy on, disrupt, or destroy infrastructure.     - Stuxnet: An attack specifically targeting industrial systems.     - NotPetya: A destructive malware that caused massive global damage.
  • Malware Components: Technically consists of an Infection Vector, a Payload, and an Objective (and sometimes persistence/evasion mechanisms).
  • Advanced Malware Types:     - Rootkits: Hide deep within the system architecture.     - Fileless Malware: Operates purely in memory.
  • Secure Analysis Environment: Professionals use Virtual Machines (VMs) and isolated environments with copies of data that do not contain sensitive information.
  • Response Steps after Infection:     1. Insulation.     2. Analysis.     3. Cleaning.     4. Data recovery.     5. Verification of threat elimination.     6. Documentation of the resolved threat.

Viruses, Worms, Trojans, and Spyware

  • Viruses: Malicious programs that attach to a host file or macro to replicate. They require a host to spread. Examples: Melissa, ILOVEYOU.
  • Worms: Self-contained malware that spreads autonomously, often via networks. They do not need a host file. Examples: WannaCry, Conficker.
  • Trojan Horse: Disguised as legitimate programs. Examples: Zeus, Emotet. Named after Greek mythology.
  • Backdoor: A hidden means of bypassing security to gain system access. While sometimes used legitimately for administration, they are dangerous when unauthorized.
  • Spyware: Secretly monitors activity to collect personal, banking, or professional data. Examples: Pegasus, FinFisher.
  • Botnet: A network of infected "zombie" devices controlled remotely for DDoS (Distributed Denial of Service) attacks, spam, data theft, or cryptocurrency mining.
  • Keylogger: Records keystrokes to steal passwords and bank details. It often hides in system processes. Examples: Zeus, Spyrix.
  • Exploit: Code that uses a vulnerability to compromise a system. A famous example is EternalBlue.

Passwords and Cookies

  • Password Best Practices: Must be long, unique, hard to guess, and different for every account. Use of a password manager is the safest option.
  • Cookies: Small text files stored by browsers to remember browsing information. Types include:     - Session cookies.     - Persistent cookies.     - Third-party cookies.
  • Cookie Risks: Can be used to track activity, target advertising, or hijack sessions.
  • Legal Requirements (France/EU): Non-essential cookies require free, specific, informed, and unambiguous consent. Simply continuing to browse is insufficient for consent.