1/96
Looks like no tags are added yet.
How is malware classified in a working taxonomy?
By how it spreads and what it does once resident
What is a virus?
Malware that attaches to a host file or program and needs execution to activate and spread
What is a worm?
Malware that self-propagates across a network without user action or a host file
What is a trojan?
Malware disguised as legitimate software that opens a backdoor once run
What is a rootkit?
Malware that hides its presence by subverting the OS kernel or boot process
What is spyware?
Malware that covertly harvests credentials, keystrokes, or browsing data
What is a botnet agent?
Malware that enrolls the host into a remotely controlled attack network
What are the five stages of the ransomware kill chain?
Initial access, lateral movement, staging, encryption, and extortion
What happens in initial access?
Phishing, exposed RDP, or a vulnerable public app
What happens in lateral movement?
Credential theft and internal reconnaissance
What happens in staging?
Privilege escalation and disabling backups and EDR
What is double extortion?
Attackers exfiltrate data before encrypting so paying for the decryption key does not prevent a public leak
What is Conti?
Human-operated ransomware whose leaked playbooks revealed corporate-style operations
What is LockBit?
A RaaS affiliate-model ransomware with aggressive double extortion where affiliates conduct attacks
What is WannaCry?
Ransomware that spread like a worm via SMB using EternalBlue with no targeting needed
What are the four layers of defense in depth against ransomware?
Prevent, Detect, Contain, and Recover
What are the Prevent controls for ransomware?
Patch internet-facing services, MFA on remote access and VPN, and email filtering with user training
What are the Detect controls for ransomware?
EDR behavioral alerts on mass file changes and lateral movement monitoring
What are the Contain controls for ransomware?
Network segmentation and automated host isolation
What are the Recover controls for ransomware?
3-2-1 backups plus tested restoration runbooks and tabletop exercises
What is the 3-2-1 backup rule?
3 copies of data, 2 different types of media, and 1 copy kept off-site, offline, or isolated
What are the three types of insider threats?
Malicious, negligent, and compromised
What is a malicious insider?
An authorized user who deliberately steals data, sabotages, or commits fraud, often around resignation or termination
What is a negligent insider?
Someone who unintentionally exposes data through misconfigured sharing, lost devices, or policy shortcuts under pressure
What is a compromised insider?
A legitimate account taken over by an external attacker through phishing or credential reuse
What are behavioral indicators of insider threats?
Off-hours bulk data access, personal cloud or USB use, access outside job role, and resignation or termination notice
Should one behavioral indicator alone trigger action?
No, never act on any single indicator alone
What are the insider threat mitigations?
Least privilege, UEBA, separation of duties, and structured offboarding checklists
What does UEBA stand for?
User and Entity Behavior Analytics
What is a supply chain attack?
Compromising one trusted upstream vendor so every downstream customer inherits the breach
What was the SolarWinds incident?
In 2020 attackers inserted a backdoor into Orion builds and about 18,000 organizations pulled the signed trojanized update through normal patching
Why was SolarWinds so damaging?
The update was legitimately signed, which collapsed the trust boundary code signing was meant to protect
What are the supply chain mitigations?
SBOM, vendor security assessments, build-pipeline integrity checks, and dependency pinning with reproducible builds
What does SBOM stand for?
Software Bill of Materials
What is phishing?
Mass or targeted deceptive email driving a click, download, or credential entry
What is spear phishing?
Phishing tailored to a specific individual using researched personal or organizational context
What is pretexting?
A fabricated scenario such as posing as IT support to extract information or access
What is baiting?
An enticing offer such as a free download or planted USB drive that delivers a payload
What is tailgating?
Following an authorized person through a physical access-controlled door
What is vishing?
Voice-call social engineering often impersonating a bank, executive, or help desk
What changed with AI-generated phishing?
LLMs produce fluent personalized error-free attacks, public data is mined automatically, and voice cloning needs only seconds of audio
What are the defenses against AI phishing?
Phishing-resistant MFA like FIDO2 and passkeys, behavioral email analysis, SPF, DKIM, and DMARC, and AI-generated simulated phishing for training
Why do FIDO2 and passkeys help against phishing?
They remove the value of a stolen password
What are the three malware detection approaches?
Signature-based, heuristic or rule-based, and ML or behavioral
What are the pros and cons of signature-based detection?
Fast with low false positives but blind to novel or polymorphic malware
What are the pros and cons of heuristic detection?
Catches some unknowns but has brittle rules and moderate false positives
What are the pros and cons of ML or behavioral detection?
Detects novel and fileless malware and adapts over time but needs quality training data and can be evaded by adversarial samples
What are deepfakes?
Synthetic audio, image, or video that convincingly impersonates a real person
What are example deepfake attack scenarios?
A CEO-voice call authorizing a wire transfer, fake video confirmation in BEC, and cloned voice defeating voice verification
What do deepfakes attack?
Identity verification and not systems
What is the countermeasure to deepfakes?
Procedural, using independent verification channels such as calling back a known number
What is C2PA?
An open standard that embeds verifiable tamper-evident Content Credentials into photos, videos, audio, and documents
What is malicious logic?
A set of instructions that cause a site security policy to be violated
What is setuid?
A Unix permission that lets a program run with the privileges of the file's owner
Why does passwd use setuid?
It is owned by root so users get temporary root access for that limited purpose of changing their password
What command sets the setuid bit?
chmod u+s followed by the file name
What does an uppercase S mean in the permissions display?
Setuid is set on a file that is not executable, so it has no effect
What is a Trojan horse in Bishop's definition?
A program with an overt purpose known to the user and a covert purpose unknown to the user
Who named the Trojan horse?
Dan Edwards in the Anderson Report
What is a propagating Trojan horse?
A Trojan that can make copies of itself
What is a computer virus in Bishop's definition?
A program that inserts itself into one or more files and performs some action
What are the two phases of a virus?
Insertion phase and execution phase
Is the insertion phase always executed?
It must be present but need not always run, as with the Lehigh virus infecting only uninfected boot files
What did the Lehigh virus do?
Infected an uninfected boot file, incremented a counter, and erased the disk when the counter reached 4
What are the types of viruses?
Boot sector infectors, executable infectors, multipartite, TSR, stealth, encrypted, polymorphic, and macro
What is a boot sector infector?
A virus that copies the old boot sector elsewhere and inserts itself into the boot sector
What did the Brain virus do?
Moved the disk interrupt vector from 13H to 6DH, pointed 13H at itself, and checked for signature 1234H to decide whether to infect a floppy
What is an executable infector?
A virus that infects .EXE or .COM programs and may prepend itself or sit anywhere with the binary fixed up to run it
What is a multipartite virus?
A virus that can infect both boot sectors and executables with a part for each
What is a TSR virus?
A virus that stays active in memory after the program or disk mount completes, such as Brain and Jerusalem
What does TSR stand for?
Terminate and Stay Resident
What is a stealth virus?
A virus that conceals infection of files, such as IDF modifying the DOS interrupt handler to return the uninfected file length
What is an encrypted virus?
A virus that enciphers most of its code, leaving a small decryption routine and key in the clear to defeat signature detection
What is a polymorphic virus?
A virus that changes its form each time it infects by altering the deciphering routine, using instruction or algorithm substitution
What is an example of instruction substitution?
Add 0, subtract 0, xor 0, and no-op all have the same effect with different bit patterns
What is a macro virus?
A virus made of instructions that are interpreted rather than directly executed, and independent of machine architecture
What is a computer worm?
A variant of a virus that copies itself from one computer to another without human interaction
What is a rabbit or bacteria?
A program that absorbs all of some class of resources, creating a denial of service such as filling disk space or inodes
What is a logic bomb?
A program that violates security policy when some external event occurs, such as deleting payroll records when the author's own record is deleted
What are the six general defenses against malicious logic?
Distinguish data from instructions, limit accessible objects, inhibit sharing, detect altering of files, detect actions beyond specification, and analyze statistical characteristics
Why is separating data from instructions hard?
Malicious logic is both, since a virus is written as data and then executes as instructions
What is the approach to separating data and instructions?
Treat them as separate types and require a certifying authority to approve conversion
What is the flow distance metric?
Info starts with fd of 0, sharing increases fd by 1, and computed results take the max fd of the inputs, and info is accessible only if fd is less than V
What does the flow distance metric do to viruses?
It slows spread by limiting how far a virus can travel but does not stop it
What is the problem with flow distance in practice?
The metric attaches to information not objects, and stopping spread needs V equal to 0 which disallows sharing
What is reducing the protection domain?
Applying least privilege by removing rights so a process can only do its function
What is Karger's scheme?
A knowledge-based subsystem between kernel and application that checks whether a file access is reasonable, such as a C compiler trying to write a .c file
What are guardians or watchdogs?
Programs invoked when the system intercepts a file open request to decide whether access is allowed
What is sandboxing?
Restricting rights by inserting trap instructions for policy violations or replacing libraries with instrumented routines
How do multilevel policies defend against viruses?
Programs sit at the lowest level so nothing can write to them, but anyone can read and execute them
What is an MDC?
A manipulation detection code, a signature block for each file that is recomputed later and compared to detect changes
What is Tripwire?
A tool that stores file attributes and cryptographic checksums like MD5 to detect file alteration
How do antivirus programs work?
They look for specific byte sequences called virus signatures and warn or disinfect
What is the limit of antivirus signatures?
They cannot handle viruses not yet analyzed
What is N-version programming?
Run several different versions of an algorithm concurrently, compare intermediate results, and let the majority win
What is proof-carrying code?
The producer supplies a proof that the code meets the consumer's safety requirement and the consumer validates it, and changing the code invalidates the proof
How can statistical analysis detect malicious logic?
It can reveal code from an unexpected author, more conditionals, unusual identical byte sequences, file size increases, or frequent writes to executables