1/74
Looks like no tags are added yet.
Malware
Code or software designed to damage, disrupt, steal, or inflict some other bad or illegitimate action on data, hosts, or networks. The three most common types: virus, worm, and Trojan horse.
Virus
Malware that spreads by inserting a copy of itself into another program; spreads from computer to computer once the program is run. Can be harmless or destructive (modify or delete files). A simple virus may install itself at the first line of code in an executable.
How viruses spread
Most spread by USB drives, CDs, DVDs, network shares, and email; email viruses are a common type.
Trojan horse
Software that appears legitimate but contains malicious code exploiting the privileges of the user who runs it. Often found attached to online games; users are tricked into running it. Can cause immediate damage, give remote access, or open a back door; custom-written Trojans are hard to detect.
Remote-access Trojan
Enables unauthorized remote access.
Data-sending Trojan
Provides the threat actor with sensitive data, such as passwords.
Destructive Trojan
Corrupts or deletes files.
Proxy Trojan
Uses the victim's computer as the source device to launch attacks and perform other illegal activities.
FTP Trojan
Enables unauthorized file transfer services on end devices.
Security software disabler Trojan
Stops antivirus programs or firewalls from functioning.
Denial of Service (DoS) Trojan
Slows or halts network activity.
Keylogger Trojan
Steals confidential information, such as credit card numbers, by recording keystrokes entered into a web form.
Worm
Malware similar to a virus that replicates itself by independently exploiting vulnerabilities in networks; runs without a host program, slows networks, and spreads rapidly once a host is infected. Keeps propagating until all possible sources of infection are patched.
Virus vs worm
A virus needs a host program to be run to spread; a worm replicates independently by exploiting network vulnerabilities and can run without a host program.
Code Red worm
2001 worm that initially infected 658 servers and infected over 300,000 servers within 19 hours. Cycle shown in the module: propagate, launch a DoS attack, go dormant, repeat.
SQL Slammer
"The worm that ate the internet"; a DoS attack exploiting a buffer overflow bug in Microsoft's SQL Server. Infected servers doubled every 8.5 seconds; they lacked a patch released 6 months earlier, showing why timely patching policies matter.
Three worm components
Enabling vulnerability, propagation mechanism, and payload.
Worm: enabling vulnerability
The worm installs itself on a vulnerable system using an exploit mechanism such as an email attachment, executable file, or Trojan horse.
Worm: propagation mechanism
After gaining access to a device, the worm replicates itself and locates new targets.
Worm: payload
Any malicious code that results in some action; most often used to create a backdoor for the threat actor or to launch a DoS attack.
Ransomware
Malware that denies access to the infected computer system or its data, frequently by encrypting files. Vectors: email and malvertising (malicious advertising); also social engineering (fake security technician calls leading users to a site that downloads ransomware).
Scareware
Scam software that uses social engineering to shock or induce anxiety by creating the perception of a threat, persuading the user to take action that infects the computer.
Phishing (malware)
Attempts to convince people to divulge sensitive information, e.g., an email from a "bank" asking for account and PIN numbers.
Rootkit (malware)
Installed on a compromised system; hides its intrusion and provides privileged access to the threat actor.
Spyware
Gathers information about a user and sends it to another entity without consent; can be a system monitor, Trojan horse, adware, tracking cookies, or keyloggers.
Adware
Displays annoying pop-ups to generate revenue for its author; may track websites visited to send relevant ads.
Common malware behaviors
Strange files/programs/icons; antivirus or firewall turning off; freezing or crashing; emails sent without your knowledge; files modified or deleted; high CPU/memory use; network problems; slow computer or browser; unknown processes, services, or open TCP/UDP ports; unprompted connections to Internet hosts.
Three categories of network attacks
Reconnaissance attacks, access attacks, and DoS attacks. Malware is a means to get a payload delivered.
Reconnaissance attack
Information gathering; unauthorized discovery and mapping of systems, services, or vulnerabilities. Precedes access attacks or DoS attacks.
Recon step 1: information query
Looking for initial information about a target using Google search, the organization's website, whois, and more.
Recon step 2: ping sweep
Determines which IP addresses on the target network are active.
Recon step 3: port scan
Determines which ports or services are available on active IPs. Tools: Nmap, SuperScan, Angry IP Scanner, NetScanTools.
Recon step 4: vulnerability scanners
Query identified ports to determine the application and OS type and version. Tools: Nipper, Secunia PSI, Core Impact, Nessus v6, SAINT, OpenVAS.
Recon step 5: exploitation tools
Discover vulnerable services that can be exploited. Tools: Metasploit, Core Impact, Sqlmap, Social Engineer Toolkit, Netsparker.
Access attack
Exploits known vulnerabilities in authentication services, FTP services, and web services to gain entry to web accounts, confidential databases, and other sensitive information.
Password attack
The threat actor tries to discover critical system passwords using password cracking tools.
Spoofing attack
The threat actor's device poses as another device by falsifying data. Common types: IP spoofing, MAC spoofing, DHCP spoofing.
Trust exploitation
Using a compromised host that other systems trust to gain access to those systems (e.g., attacker controls System B, which System A trusts, to reach System A).
Port redirection
Using a compromised trusted host to pass traffic through; e.g., attacker uses SSH (port 22) to reach compromised Host A, trusted by Host B, then uses Telnet (port 23) to access Host B.
Man-in-the-middle attack (access)
The threat actor positions themselves between a source and destination to intercept and relay traffic.
Buffer overflow attack
A DoS/access attack where the threat actor finds a memory-related flaw on a server and exploits it by sending more data than the buffer can hold. Estimated to cause about one third of malicious attacks. Example: ping of death.
Ping of death
An echo request in an IP packet larger than the maximum packet size; the receiving host can't handle it and crashes.
Social engineering
An access attack that manipulates individuals into performing actions or divulging confidential information; done in person, by phone, or online.
Pretexting
A threat actor pretends to need personal or financial data to confirm the identity of the recipient.
Phishing (social engineering)
Fraudulent email disguised as from a trusted source to trick the recipient into installing malware or sharing personal or financial information.
Spear phishing
A targeted phishing attack tailored for a specific individual or organization.
Spam
Unsolicited junk email that often contains harmful links, malware, or deceptive content.
Something for something (quid pro quo)
A threat actor requests personal information in exchange for something, such as a gift.
Baiting
A threat actor leaves a malware-infected flash drive in a public location; a victim plugs it in and installs the malware.
Impersonation
A threat actor pretends to be someone else to gain a victim's trust.
Tailgating
A threat actor quickly follows an authorized person into a secure location.
Shoulder surfing
A threat actor inconspicuously looks over someone's shoulder to steal passwords or other information.
Dumpster diving
A threat actor rummages through trash bins to find confidential documents.
Social Engineer Toolkit (SET)
Designed to help white hat hackers and security professionals create social engineering attacks to test their own networks.
Social engineering protection practices
Never give or leave credentials where they can be found; never open emails from untrusted sources; never release work information on social media; never reuse work passwords; lock or sign out of your computer when unattended; report suspicious individuals; destroy confidential information per policy.
Weakest link in cybersecurity
Often the personnel in an organization; one of the most effective measures is training staff and building a "security-aware culture."
Denial of Service (DoS) attack
Interrupts network services to users, devices, or applications. Two types: overwhelming quantity of traffic, and maliciously formatted packets.
DoS: overwhelming quantity of traffic
The threat actor sends data at a rate the network, host, or application cannot handle.
DoS: maliciously formatted packets
The threat actor sends a malformed packet to a host or application and the receiver can't handle it.
DDoS attack
Similar in intent to DoS but larger in magnitude because it comes from multiple, coordinated sources.
Zombies
A group of compromised hosts running malicious code.
Bots
Malware designed to infect a host and communicate with a handler system.
Botnet
A group of zombies infected by self-propagating malware and controlled by handlers.
Handlers
A master command-and-control (CnC or C2) server controlling groups of zombies.
Botmaster
The threat actor who controls the botnet (the module's table repeats the FTP Trojan description for this row by mistake).
Mirai botnet
Malware that targeted IoT devices configured with default login information; the botnet was used in a DDoS attack.
Evasion: encryption and tunneling
Tunneling hides, or encryption scrambles, malware files so security detection can't identify them; tunneling can hide stolen data inside legitimate packets.
Evasion: resource exhaustion
Makes the target host too busy to properly use security detection techniques.
Evasion: traffic fragmentation
Splits a malicious payload into smaller packets to bypass detection; the malware is reassembled after passing the security system.
Evasion: protocol-level misinterpretation
Exploits network defenses not properly handling PDU features like checksum or TTL values, tricking a firewall into ignoring packets it should check.
Evasion: traffic substitution
Obfuscates payload data by encoding it in a different format (e.g., Unicode instead of ASCII) so an IPS misses it but the target can read it.
Evasion: traffic insertion
Like substitution, but inserts extra bytes in a malicious data sequence so IPS rules miss it and accept the whole sequence.
Evasion: pivoting
After compromising an inside host, the threat actor expands access deeper into the network, e.g., reusing a captured administrator password to log in to another host.
Evasion: rootkits
Complex tools integrated with the lowest levels of the OS that present sanitized output when programs list files, processes, or connections, completely hiding the attacker's activities locally.
Evasion: proxies
Traffic is redirected through intermediate systems to hide the ultimate destination of stolen data; known C2 servers can't be blocked and stolen data can be spread across many proxies.