1/63
Comprehensive practice flashcards covering ports, network architectures, malware analysis, threat intelligence, vulnerability scanning, CVSS scoring, risk calculation, incident response lifecycle, and digital forensics.
What network services are associated with ports 20 and 21?
FTP (File Transfer Protocol)
Which port is used by SSH, and which port is used by Telnet?
SSH uses port 22; Telnet uses port 23.
Which network services run on ports 25 and 53?
Port 25 runs SMTP; port 53 runs DNS.
What ports are assigned to HTTP and HTTPS?
HTTP runs on port 80; HTTPS runs on port 443.
Which email retrieval protocols use ports 110 and 143?
POP3 uses port 110; IMAP uses port 143.
What ports are associated with LDAP in the notes?
Port 389 and port 636.
Which ports are used for SQL, Oracle, PPTP, and RDP?
Port 1433 for SQL, port 1521 for Oracle, port 1723 for PPTP, and port 3389 for RDP.
What is SASE and what does it combine?
Secure Access Service Edge (SASE) is a solution for edge-focused security that combines software-defined networking with other security products and services to control edge device security.
What are the four factors of authentication mentioned in the notes and their examples?
Biometric (Fingerprint), Possession (Security Token such as Yubikey), Knowledge (Password or PIN), and Location (relying on physical location).
What is the function of Identity Service Providers (IDPs)?
IDPs make assertions about identities to relying parties and service providers in federation.
How do OAuth and OpenID differ in their focus?
OAuth focuses on authorization only, whereas OpenID focuses on authentication (who you are, not what you can do).
What is SAML?
An XML-based language used to send authorization and authentication data.
What is the role of a Cloud Access Security Broker (CASB)?
A CASB is used to manage cloud access rights.
Is CVV considered part of cardholder data?
No, CVV is not part of cardholder data.
What is Zone routing protocol?
A network protocol used to maintain routes in a local network region.
What are the Cisco logging levels and their names from level 0 to level 7?
Level 0: Emergencies; Level 1: Alerts; Level 2: Critical; Level 3: Errors; Level 4: Warning; Level 5: Notifications; Level 6: Information; Level 7: Debugging.
In Linux, what information do the commands 'df', 'top', 'ps', and 'tail' provide?
'df' displays disk space; 'top' and 'ps' show information about processes, CPU, and memory; 'tail' displays the end of a file.
What types of metrics do Perfmon and Resmon monitor?
Perfmon monitors USB Host info, Memory Usage, and Disk Transfers. Resmon monitors CPU, Memory, and Disk info.
What is the primary reporting difference between SCOM and Microsoft Configuration Manager regarding disk space?
SCOM provides real-time centralized reporting (on computer health, active alerts, performance metrics, event monitoring, and applications), whereas Microsoft Configuration Manager provides non-real-time reporting for disk space.
What is port security limited to recognizing?
Port security is limited to recognizing MAC addresses.
What brackets are used by JSON statements versus HTML and XML?
JSON statements use curly brackets {}, while HTML and XML use angle brackets <>.
What is the function of the Strings program?
The Strings program can show text in binary, but it does not compare files.
How do SPF, DKIM, and DMARC work together for email security?
SPF lists the servers authorized to send from your domain; DKIM hashes email to ensure integrity; DMARC acts as the police, using SPF and DKIM to determine if a sender is who they claim to be.
What three factors are critical to determining whether threat intelligence should be used?
Timeliness, accuracy, and relevance.
What are STIX, TAXII, and OpenIOC?
STIX (Structured Threat Information Expression) is an XML language used to manage IOCs; TAXII is the protocol used to transmit threat data; OpenIOC is an XML framework like STIX developed by Mandiant.
What are the 5 phases of the Threat Intelligence Cycle?
Why did the US government create Information Sharing and Analysis Centers (ISACs)?
To help infrastructure owners and operators share threat information, as well as provide tools and assistance to their members.
What are three common Indicators of Compromise (IOCs) listed in the notes?
What do the Nmap scan flags -O, -sV, -sC, and -A perform?
-O is for OS identification; -sV is for service validation via banner grabbing; -sC runs script scanning against the target; -A is an aggressive scan that runs OS detection, service version, and script scanning all in one.
What do Nmap flags -Pn, -PS, -sS, -sn, and -sL do?
-Pn (or -P0) skips ping and scans ports; -PS performs TCP SYN probes; -sS sends a TCP SYN to connect on a port; -sn skips port scanning after discovery; -sL lists hosts by performing DNS lookups.
How do TCP SYN and TCP ACK packets differ in reconnaissance scanning?
A TCP SYN is a request to open a connection, whereas TCP ACK packets are used to map firewall rules.
What key features define the OSINT tool Maltego?
It gathers OSINT and connects data points via a GUI to document correlations and hierarchies; it uses 'transforms' (server actions providing additional data/processing) and conducts network footprinting starting from a domain name.
How does Recon-ng differ from Metasploit?
Metasploit is used for finding vulnerabilities and exploiting them, whereas Recon-ng is a passive command-line OSINT framework used for information gathering and centralizing collected data.
What are the characteristics of Angry IP Scanner?
It is a fast, multiplatform GUI port scanner supporting TCP/UDP pings that requires only an IP, hostname, or IP range. It does not provide detailed service/OS identification and is not a vulnerability scanner.
What is the difference between active and passive discovery?
Active discovery uses tools to discover assets directly, while passive discovery relies on information already provided by the organization.
What vulnerability scanning frequency does PCI DSS mandate?
At least quarterly or after any significant change in the payment card environment (internal scans by a qualified individual; external scans by an approved scanning vendor).
What are the specific penetration testing use cases for Nikto, Arachni, Zap, Burp Suite, Pacu, and Scout Suite?
Nikto and Arachni are web application vulnerability scanners; Zap and Burp Suite intercept/modify HTTP traffic; Pacu is used for cloud penetration testing on AWS; Scout Suite is used for cloud environment assessments.
What are the three stages of the Vulnerability Management Lifecycle?
Detection, Remediation, and Testing.
What are the CVSS 3.1 Base Score classifications and their numerical ranges?
Low: 0.1−3.9; Medium: 4.0−6.9; High: 7.0−8.9; Critical: 9.0−10.0.
What are the four metric values for CVSS Attack Vector (AV)?
Physical (P), Local (L), Adjacent Network (A), and Network (N).
Define false positive, false negative, true positive, and true negative in vulnerability scanning.
False positive: Problem does not exist, but software says it does. False negative: Problem exists, but software says it does not. True positive: Problem exists, and software says it does. True negative: Problem does not exist, and software says it does not.
What is the vulnerability known as Dirty COW?
A privilege escalation security vulnerability in the Linux kernel.
How do Cross-Site Request Forgery (XSRF) and Cross-Site Scripting (XSS) attacks work?
XSRF embeds code in one website that sends unauthorized commands to a second website where the user is already logged in. XSS embeds malicious scripting commands into a trusted website that execute in an unsuspecting visitor's browser.
What characters are characteristic of SQL injection attacks?
Semicolons (;) and apostrophes (').
How are Single Loss Expectancy (SLE) and Annualized Loss Expectancy (ALE) calculated?
SLE=AV×EF (Asset Value multiplied by Exposure Factor) and ALE=SLE×ARO (Single Loss Expectancy multiplied by Annualized Rate of Occurrence).
If an asset has an Asset Value (AV) of "$"500{,}000, an Exposure Factor (EF) of 100%, and an ARO of 0.05, what are the SLE and ALE?
SLE = \500{,}000 \times 1.00 = \500,000 and ALE = \500{,}000 \times 0.05 = \25,000.
What are the four primary Risk Management Strategies?
Risk Acceptance (taking no further action), Risk Avoidance (changing activities to eliminate risk), Risk Mitigation (reducing probability or magnitude), and Risk Transference (shifting risk, e.g., insurance).
What are the focuses of LIDDUN, STRIDE, and PASTA?
LIDDUN focuses on threats to privacy; STRIDE is a Microsoft threat modeling tool; PASTA is an attacker-centric threat modeling tool.
What is the difference between static and dynamic code analysis?
Dynamic analysis executes the code during testing, whereas static code analysis analyzes structure and content without executing the code.
What are the four phases of the Incident Response process?
What are the NIST functional impact definitions for None, Low, Medium, and High?
None: No effect on services. Low: Critical services provided at diminished efficiency. Medium: Loss of a critical service to a subset of users. High: A critical service is unavailable to all users.
What are the seven phases of the Cyber Kill Chain in order?
What are the four recoverability effort classifications?
Regular (predictable with existing resources), Supplemented (predictable with additional resources), Extended (unpredictable, outside help needed), and Not Recoverable (recovery not possible; launch investigation).
How do segmentation, isolation, and removal differ as containment strategies?
Segmentation limits access to other networked devices; Isolation retains internet access while blocking access to other local networked devices; Removal completely removes the machine from the internet.
What information should incident reports NOT normally focus on uncovering?
Incident response efforts should not normally focus on uncovering the identity of the attacker.
What file output format does the 'dd' forensic imaging tool produce?
RAW format.
What is the Volatility Framework used for?
In-depth memory forensics and analysis across Windows, macOS, and Linux.
What is process hollowing?
An evasion technique that executes malicious code inside a legitimate process, often by starting the legitimate process in a suspended state and replacing its memory.
How does a MAC flooding attack impact a network switch?
It overwhelms switch CAM tables, forcing the switch to broadcast traffic out of all ports like a hub.
What is a Cold Boot Attack?
An attack that steals encryption keys directly from RAM shortly after a device loses power.
What does Mimikatz do?
It is a credential-gathering tool used to extract authentication data directly from Windows memory.
What is a BGP hijack?
The malicious rerouting of internet traffic achieved by falsifying the ownership of IP address blocks.
What do the Windows registry hives HKU, HKCC, HKCR, and HKLM contain?
HKU (HKey User): specific user preferences; HKCC (HKey Current Config): current hardware configuration like display and printers; HKCR (HKey Classes Root): file associations and extensions; HKLM (HKey Local Machine): settings and configurations applying to the entire system (services, drivers).
On what port does Command and Control (C2) activity commonly occur according to the notes?
Port 4444.