CEH overview

  • 200 practice questions
  • 32 flashcards
  • 10 study guide topics
  • 40 key terms

What you'll study

  • Introduction to Ethical Hacking10%
  • Footprinting and Reconnaissance10%
  • Scanning Networks and Enumeration10%
  • Vulnerability Analysis10%
  • System Hacking10%
  • Malware Threats, Sniffing, and Social Engineering10%
  • Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots10%
  • Hacking Web Servers, Web Applications, and SQL Injection10%
  • Hacking Wireless Networks, Mobile Platforms, IoT, and OT10%
  • Cloud Computing and Cryptography10%

The Certified Ethical Hacker (CEH) is EC-Council's flagship ethical hacking credential, currently delivered as CEH v13 with AI capabilities built into the curriculum. It is aimed at security analysts, administrators, auditors, SOC staff, consultants and aspiring penetration testers who need to understand how attackers reconnoiter, exploit and persist - so they can find and fix weaknesses first. The program is structured across 20 learning modules covering over 550 attack techniques and 221 hands-on labs, with access to a cloud-based cyber range containing more than 4,000 hacking and security tools. Content spans footprinting and reconnaissance, scanning and enumeration, vulnerability analysis, system hacking, malware, sniffing, social engineering, denial-of-service, session hijacking, IDS/firewall/honeypot evasion, web server and web application attacks, SQL injection, wireless, mobile, IoT/OT, cloud and cryptography. Assessment is two-tier: a 125-question, 4-hour multiple-choice knowledge exam delivered online via the ECC exam portal, and an optional 6-hour practical exam of 20 real-world challenges in the iLabs Cyber Range. Passing the knowledge exam awards the certification; adding the practical earns CEH Master. EC-Council states there are no specific prerequisites but strongly recommends at least two years of IT security experience. Effective preparation means working the modules in order, completing the labs on live targets rather than reading only, and rehearsing the four-phase mock engagement and CTF challenges before exam day. This page is independent study material and is not affiliated with or endorsed by EC-Council.

Common mistakes

Classifying a hacker in a scenario stem by the attacker's intent or by the tools used instead of by authorization - e.g., labelling an uninvited political defacement as 'white hat' because it exposed a flaw, or labelling a contractually hired tester as 'grey hat' because the work was intrusive.

Candidates memorise the colour labels as personality traits and never anchor them to the presence or absence of written permission and scope. The stem usually hides the deciding fact in one clause (contract, scope document, no authorization), and the tool vocabulary (Nmap, Metasploit) is identical across all categories, so it feels like a distractor.

What to do instead

Build a two-axis table: authorization (yes/no) crossed with intent (good/malicious). White hat = authorized + ethical; black hat = unauthorized + malicious; grey hat = unauthorized but non-malicious. Then separately memorise the actor labels (script kiddie = low skill/tool reuse; hacktivist = ideology; state-sponsored/APT = long dwell time, high resources; suicide hacker = no intent to escape). For any scenario, write down 'authorized? yes/no' before reading the answer choices.

Answering 'which phase / which technique' questions by keyword association - calling a ping sweep or Nmap port scan 'footprinting', calling a Google dork or whois lookup 'scanning', or picking traceroute when the question specifies a passive technique.

Footprinting and scanning are taught back-to-back with overlapping tools (DNS utilities appear in both), so the tool name triggers the wrong phase. Candidates also equate 'passive' with 'not using a tool' rather than with 'no packets reach the target's own infrastructure'.

What to do instead

Apply a single test before choosing: does this activity cause the target's own systems to log a query or receive a packet? If no - search engines, Google dorks, whois, archive.org, job postings, social media, public DNS records - it is footprinting/passive. If yes - ping sweeps, port scans, banner grabbing, zone transfer requests against the target's name server, SNMP walks - it is active reconnaissance/scanning. Drill with a shuffled list of 30 techniques you classify from scratch each time.

Reading scan and vulnerability-scanner output literally and interchangeably - marking a 'filtered' port as closed, treating a Nessus/OpenVAS CVE hit as proof the host is compromised, or scoring CVSS 7.5 as 'medium' and 5.3 as 'high'.

Candidates practise running the tools but not interpreting the results, and the exam tests the interpretation layer. Port-state semantics (open / closed / filtered / unfiltered) and the FIN/NULL/XMAS response matrix differ between Unix-like and Windows targets, and scanner findings are only potential vulnerabilities requiring validation.

What to do instead

Memorise two compact matrices: (1) TCP flag scans - a FIN/NULL/XMAS scan gets RST from closed ports on Unix-like systems, but Windows sends RST regardless of state, which is why those scans are unreliable against Windows; (2) CVSS v3 severity bands - 0.0 none, 0.1–3.9 low, 4.0–6.9 medium, 7.0–8.9 high, 9.0–10.0 critical. State the rule out loud for each practice item: a vulnerability assessment enumerates and ranks findings without exploiting; a penetration test validates by exploiting under authorization.

Muddling the password-attack taxonomy and the Windows credential formats - calling pass-the-hash a cracking technique, calling password spraying a brute-force variant that triggers lockout, or saying a rainbow table defeats salted hashes.

Every option in these items sounds like 'guessing passwords', and the distinguishing facts (offline vs online, precomputed vs computed live, whether a lockout counter is involved, whether the plaintext is ever recovered) sit in one short clause of the stem.

What to do instead

Make an attack→precondition table: dictionary = wordlist, offline or online, no lockout offline; rule-based/hybrid = wordlist plus mutations; brute force = keyspace exhaustion, slow; rainbow table = precomputed hash chains, defeated by salting; credential stuffing = reused credentials across sites; password spraying = a few common passwords across many accounts to stay under lockout thresholds. For Windows, remember LM is disabled by default on modern systems, the SAM holds local hashes, NTLM/NTLMv2 are challenge-response, and pass-the-hash reuses the hash itself - no cracking step exists.

Confusing malware sub-types that the exam separates deliberately - treating polymorphic and metamorphic as synonyms, calling a rootkit a backdoor, or describing a worm as needing a host file or user execution.

The categories overlap in real-world samples, so candidates reason from malware they have read about rather than from the textbook definition. The differentiator is usually one property: self-replication, mutation mechanism, or stealth mechanism.

What to do instead

Learn each type by its single defining property: worm = self-propagating over networks, no host file, no user action; trojan = disguised as legitimate, does not self-replicate; backdoor/RAT = remote access path; rootkit = kernel/user-mode stealth and persistence; polymorphic = encrypted body with a mutated decryption routine each infection; metamorphic = rewrites its own entire code body, no decryptor; armored = anti-debugging/anti-VM; stealth = intercepts AV/OS queries; multipartite = infects boot sector and files; retrovirus = targets antivirus. Also separate dropper (delivery) from payload (action) from exploit kit (delivery platform).

Pairing a sniffing attack with the wrong countermeasure, or picking the wrong social-engineering label - e.g., answering 'port security' for ARP spoofing, 'DHCP snooping' for MAC flooding, or calling a voice-phone pretext 'phishing' instead of 'vishing'.

The countermeasures are all switch features with similar-sounding names, and candidates match on 'switch security' rather than on what the attack actually poisons (CAM table, ARP cache, DHCP pool, DNS answers). Social-engineering labels are tested purely as vocabulary.

What to do instead

Lock in four attack→control pairs: MAC flooding → port security / MAC limiting; ARP spoofing → dynamic ARP inspection plus static ARP entries; DHCP starvation → DHCP snooping with port rate limits; DNS spoofing → DNSSEC plus resolving to trusted servers. Memorise the channel-based labels: phishing (email), vishing (voice), smishing (SMS), pharming (DNS/hosts redirect), whaling (executive target), spear phishing (targeted), tailgating/piggybacking (physical), shoulder surfing (observation), dumpster diving (trash).

Misattributing DoS mechanics and IDS/firewall evasion techniques - calling smurf a UDP attack, calling teardrop a bandwidth flood, naming fragmentation as an IDS detection strength, or placing an IPS out-of-band.

These attacks are historical and rarely encountered hands-on, so candidates memorise names without the packet-level mechanism. Evasion techniques are tested as labels, and the IDS-vs-IPS distinction is assumed rather than reviewed.

What to do instead

Attach each name to one packet fact: SYN flood = half-open connections exhausting the backlog; smurf = ICMP echo to a broadcast address with a spoofed source (ICMP amplifier); fraggle = the same idea over UDP (chargen/echo ports 7 and 19); teardrop = overlapping fragment offsets; ping of death = oversized ICMP packet; reflected/amplified DDoS = third-party responders. For evasion, learn the mechanism not the word: fragmentation and overlapping fragments, session splicing, polymorphic shellcode, encoding/obfuscation, tunnelling through allowed protocols, source-port and TTL manipulation. Fix placement in one line: IDS is passive/out-of-band and alerts; IPS is inline and blocks.

Choosing the wrong SQL injection variant for a described condition - answering 'time-based blind' when the stem says error messages are displayed, or 'UNION-based' when the application returns only a true/false difference - and conflating SQLi with XSS or CSRF.

All injection answers look plausible until you check what the application gives back. Candidates also group every web input flaw under 'injection' without checking whether the payload executes in the database, in the victim's browser, or as an authenticated cross-site request.

What to do instead

Use a decision tree keyed to observable feedback: database errors echoed → error-based; query output reflected in the page → UNION-based (match column count/types); only a difference between true and false pages → boolean-based blind; only a response-time change → time-based blind; input echoed unescaped into HTML → XSS; state-changing request forged from another site using the victim's session → CSRF; object reference changed in a URL → IDOR. For web server items, keep directory traversal, unicode/encoding bypass, and SSI injection distinct from SQL injection.

Mixing wireless attack names and the layer they exploit, and applying IT answers to OT - saying WPA2-PSK is broken by capturing IVs (that is WEP), calling an attacker's look-alike SSID a 'rogue AP' when the stem describes an evil twin, or answering a Modbus/SCADA question with 'patch the PLC and enforce TLS'.

The wireless acronyms and handshake steps blur together, and OT/IoT content is the least-practised material on the exam, so candidates fall back on enterprise IT instincts that are actively wrong in OT environments.

What to do instead

Anchor each attack to its primitive: WEP → IV collection with RC4 weaknesses (FMS/PTW); WPS → PIN brute force (Pixie Dust); WPA2-PSK → capture the 4-way handshake via deauthentication and crack offline, or capture the PMKID; evil twin = attacker's AP impersonating a legitimate SSID to lure clients; rogue AP = unauthorized AP on the corporate network; karma = AP answers any probe request. For mobile/IoT/OT: Android rooting and ADB/backup exposure, OWASP IoT Top 10 defaults, and for OT remember Modbus/TCP port 502 has no authentication, the Purdue model separates levels, availability and safety outrank confidentiality, and active scanning can crash legacy devices.

Applying an on-premises mental model to cloud questions and picking 'encryption' as the answer to every cryptographic scenario - e.g., saying hashing provides confidentiality, calling a digital certificate a digital signature, or assigning OS patching to the provider in IaaS.

Shared-responsibility boundaries move with the service model, and the cryptographic primitives are taught together with one-line definitions that candidates never map back to the security goal (confidentiality vs integrity vs authenticity vs non-repudiation).

What to do instead

Memorise one mapping line and apply it mechanically: symmetric (AES, 3DES) = bulk confidentiality, fast, key distribution problem; asymmetric (RSA, ECC, Diffie-Hellman) = key exchange and signatures, slow; hash (SHA-2/SHA-3) = integrity only, no confidentiality, no key; digital signature = hash + sender's private key, giving integrity, authentication and non-repudiation but not confidentiality; digital certificate = a CA-signed binding of identity to a public key, used to establish trust. For cloud, state the boundary the same way every time: IaaS = customer owns OS and above; PaaS = customer owns application and data; SaaS = provider owns almost everything; customer always owns data, identities and access decisions.

Exam requirements can change. Confirm current details with the exam provider.

CEH practice

200 questions. Each one lists the choices, the correct answer, and an explanation. With JavaScript, this list opens one question at a time. The checker at the top of this page saves progress in this browser when it is available.

  1. Question 1Introduction to Ethical Hacking

    Which type of hacker tests a system only after receiving explicit permission from its owner and then reports the findings?

    1. White hat hacker Correct answer.
    2. Grey hat hacker
    3. Black hat hacker
    4. Script kiddie

    Explanation

    Ethical hacking is defined by authorization and lawful intent, not by the tools used. A white hat hacker obtains the owner's consent, stays within the agreed scope, and reports discovered weaknesses so they can be fixed. Attackers who act without permission fall into different classes regardless of skill.

  2. Question 2Introduction to Ethical Hacking

    Which element of the CIA triad guarantees that data has not been modified in transit or at rest?

    1. Integrity Correct answer.
    2. Confidentiality
    3. Availability
    4. Authenticity

    Explanation

    The CIA triad splits security goals into confidentiality, integrity, and availability. Integrity means data remains accurate and complete and has not been altered by an unauthorized party. Hashes and digital signatures are common controls used to detect unauthorized change.

  3. Question 3Introduction to Ethical Hacking

    In a standard hacking methodology, which phase immediately precedes gaining access to a target?

    1. Reconnaissance Correct answer.
    2. Covering tracks
    3. Reporting
    4. Maintaining access

    Explanation

    Hacking methodologies generally flow from information gathering through exploitation, persistence, cleanup, and reporting. Reconnaissance gathers information about the target so that an attack can be planned and executed. Only after this preparation does the attacker attempt to gain access.

  4. Question 4Introduction to Ethical Hacking

    Which term describes an unskilled attacker who runs existing tools and scripts without understanding how they work?

    1. Hacktivist
    2. Cyberterrorist
    3. Script kiddie Correct answer.
    4. State-sponsored attacker

    Explanation

    Hacker classes are often distinguished by skill, motive, and sponsorship. A script kiddie lacks deep technical understanding and depends on tools and exploits written by others. The label says nothing about the target or the attacker's ideology.

  5. Question 5Introduction to Ethical Hacking

    Before beginning a penetration test, what must the tester obtain to make the activity lawful and ethical?

    1. A full copy of the application source code
    2. A public vulnerability disclosure post
    3. Full anonymization of all test traffic
    4. Signed authorization and a defined scope Correct answer.

    Explanation

    Testing without permission is an attack, no matter how good the intentions are. A written agreement defines the targets, timing, limits, and liabilities of the engagement. Technical details such as source code access depend on the chosen testing type and are not legal prerequisites.

  6. Question 6Introduction to Ethical Hacking

    A misconfigured firewall rule that allows unintended inbound traffic is best described as which of the following?

    1. A risk
    2. A vulnerability Correct answer.
    3. A threat
    4. An exploit

    Explanation

    A vulnerability is a weakness in a system, configuration, or process that can be used to violate security. Threats are the actors or events that could cause harm, while risk combines likelihood and impact. Keeping these terms distinct is essential for accurate reporting.

  7. Question 7Introduction to Ethical Hacking

    A researcher discovers a flaw in a vendor's product without permission, confirms it causes no harm, and publishes details after the vendor issues a fix. Which label fits best?

    1. Grey hat hacker Correct answer.
    2. Black hat hacker
    3. Cyberterrorist
    4. White hat hacker

    Explanation

    Grey hat activity sits between the white and black hat categories: the work is unauthorized, but the intent is not malicious and findings are usually disclosed. Permission is what separates grey hat conduct from white hat conduct. Coordinated disclosure mitigates harm but does not supply the missing authorization.

  8. Question 8Introduction to Ethical Hacking

    In a black-box penetration test, what information does the tester receive about the target before testing begins?

    1. Complete network diagrams and credentials
    2. Source code and database schema
    3. A list of known vulnerabilities from the vendor
    4. Only publicly available information Correct answer.

    Explanation

    Testing types are defined by how much knowledge the tester is given up front. In black-box testing the tester starts with the same view an outside attacker would have. Greater levels of supplied information correspond to grey-box and white-box engagements.

  9. Question 9Introduction to Ethical Hacking

    Within a security program, what is the primary role of a red team?

    1. To emulate adversary attacks on the organization Correct answer.
    2. To patch systems and apply configuration baselines
    3. To draft security policies and standards
    4. To monitor and respond to detected intrusions

    Explanation

    Red teams adopt an attacker's perspective and emulate realistic adversary behavior to test people, processes, and technology together. Blue teams defend, detect, and respond, and the two functions are often exercised against each other. Hardening and policy work belong to operational and governance functions.

  10. Question 10Introduction to Ethical Hacking

    An attacker defaces a government website to protest a new environmental law. Which attacker class does this best illustrate?

    1. State-sponsored attacker
    2. Script kiddie
    3. Hacktivist Correct answer.
    4. Insider threat

    Explanation

    Attacker classes can be inferred from motive as well as skill. Defacement carried out to publicize a political or social cause is the hallmark of hacktivism. The label does not depend on the technical sophistication of the attack.

  11. Question 11Introduction to Ethical Hacking

    In the Cyber Kill Chain model, which phase involves combining an exploit with a payload into a deliverable file?

    1. Delivery
    2. Weaponization Correct answer.
    3. Command and control
    4. Reconnaissance

    Explanation

    The kill chain describes an intrusion as a sequence of stages that must each succeed. Weaponization couples an exploit with malicious code to produce a usable payload. Delivery then transmits that payload to the victim.

  12. Question 12Introduction to Ethical Hacking

    A risk assessment finds a highly likely threat against a system with a severe unpatched weakness. Which statement best expresses the risk?

    1. The risk is high due to high likelihood and impact Correct answer.
    2. The risk is eliminated once a firewall is installed
    3. The risk equals the annual cost of the firewall license
    4. The risk is negligible because no attack has occurred

    Explanation

    Risk is a function of the likelihood that a threat exploits a weakness and the impact if it does. High likelihood combined with severe impact yields high risk that should be prioritized for treatment. The cost of a control is a budget consideration, not a measure of risk itself.

  13. Question 13Introduction to Ethical Hacking

    What does the principle of defense in depth require?

    1. A single strong perimeter firewall guarding the network edge
    2. Encrypting only the data that leaves the building
    3. Hiding the network topology from all internal users
    4. Layered controls so a single failure is not fatal Correct answer.

    Explanation

    Defense in depth places multiple, overlapping controls at different layers so that no single control failure exposes the whole environment. The strategy assumes that any one control can be bypassed. A monolithic perimeter control is the opposite of layered defense.

  14. Question 14Introduction to Ethical Hacking

    Which mechanism provides non-repudiation for a message?

    1. Symmetric encryption using a key shared by both parties
    2. Lossless compression applied before transmission
    3. A digital signature made with the sender's private key Correct answer.
    4. A message hash stored on the sender's local hard disk

    Explanation

    Non-repudiation means the sender cannot credibly deny having produced a message. Only the holder of a private key can create the matching signature, and anyone with the public key can verify it. Shared-key techniques cannot settle disputes because both parties hold the same secret.

  15. Question 15Introduction to Ethical Hacking

    Which item belongs in the rules of engagement for a penetration test?

    1. The defined target scope and testing window Correct answer.
    2. The list of commercial tools the tester avoids
    3. The penetration testing vendor's marketing materials
    4. The tester's preferred operating system

    Explanation

    Rules of engagement define what may be tested, when, how, and under what constraints, including targets, exclusions, and escalation contacts. They protect both the client and the tester by fixing the boundaries of authorized activity. Personal preferences and promotional content are irrelevant to those boundaries.

  16. Question 16Introduction to Ethical Hacking

    An organization invites independent researchers to find and report flaws in exchange for monetary rewards, with no individual contract signed in advance. This is best described as:

    1. A bug bounty program Correct answer.
    2. A compliance review
    3. A vulnerability disclosure policy
    4. A closed internal audit

    Explanation

    A bug bounty program rewards researchers for valid findings under published program rules. A vulnerability disclosure policy invites reports but typically does not pay for them. Internal audits and compliance reviews are performed for the organization rather than by outside researchers.

  17. Question 17Introduction to Ethical Hacking

    Which characteristic best distinguishes an advanced persistent threat group from a typical script kiddie?

    1. Motivation limited to public bragging rights
    2. Long-term, well-funded campaigns with custom tooling Correct answer.
    3. Use of well-known free hacking tools against random targets
    4. Reliance on a single phishing email sent to one user

    Explanation

    Advanced persistent threats are characterized by sustained, resourced operations that target specific victims over long periods. They typically develop or buy custom tools and adapt when detected. Script kiddies, by contrast, reuse public tools opportunistically and lack persistence.

  18. Question 18Introduction to Ethical Hacking

    How does a penetration test differ from a vulnerability assessment?

    1. A penetration test exploits findings to prove real impact Correct answer.
    2. A vulnerability assessment always requires a red team
    3. A penetration test scans and lists findings without validating them
    4. A vulnerability assessment cannot use automated scanners

    Explanation

    A vulnerability assessment identifies and reports weaknesses, while a penetration test goes further by safely exploiting them to demonstrate business impact. Exploitation is what distinguishes the two activities. Both may use automated scanners as a starting point.

  19. Question 19Introduction to Ethical Hacking

    Two people use identical exploits against the same server. One is an ethical hacker and the other is a criminal. Which factor determines the difference?

    1. Documented authorization from the owner Correct answer.
    2. The exploit's technical sophistication
    3. The speed at which the exploit is delivered
    4. The operating system of the target server

    Explanation

    Ethical hacking is distinguished by permission and lawful intent, not by technique. The same tool used inside an authorized engagement is legitimate, while the same tool used without consent is an attack. Documentation such as a signed scope and rules of engagement evidences that authorization.

  20. Question 20Introduction to Ethical Hacking

    A US-based healthcare provider stores electronic patient records. Which regulation most directly mandates safeguards for that data?

    1. SOX
    2. PCI DSS
    3. GDPR
    4. HIPAA Correct answer.

    Explanation

    HIPAA governs the privacy and security of protected health information held by US healthcare providers and their business associates. Each regulation targets a specific data category or industry. Identifying the data type first makes selecting the applicable rule straightforward.

  21. Question 21Footprinting and Reconnaissance

    Which TCP port does the WHOIS service use to answer registration queries?

    1. 53
    2. 80
    3. 43 Correct answer.
    4. 25

    Explanation

    WHOIS queries are sent over TCP port 43 to a registrar or regional internet registry, which returns registration details for a domain or IP range. The other ports listed belong to unrelated services that do not serve registration records.

  22. Question 22Footprinting and Reconnaissance

    Which DNS query type is used to request a full copy of a zone from an authoritative name server?

    1. CNAME
    2. SOA
    3. AXFR Correct answer.
    4. PTR

    Explanation

    AXFR is the zone transfer query type that asks an authoritative server for the complete set of records in a zone. SOA, PTR and CNAME are ordinary record types returned during normal lookups rather than requests for a zone copy.

  23. Question 23Footprinting and Reconnaissance

    Which Google search operator limits results to pages belonging to one specific domain?

    1. cache:
    2. filetype:
    3. inurl:
    4. site: Correct answer.

    Explanation

    The site: operator restricts results to a specified domain or subdomain, which is useful for enumerating indexed pages of a target. The other operators filter on URL text, file extension, or retrieve a cached copy respectively.

  24. Question 24Footprinting and Reconnaissance

    What is the primary purpose of a robots.txt file on a web server?

    1. It stores the encryption keys used for HTTPS sessions.
    2. It tells automated crawlers which paths should not be indexed. Correct answer.
    3. It authenticates automated crawlers before they connect.
    4. It enforces access control for human visitors to the site.

    Explanation

    robots.txt is a voluntary convention that advertises which directories a crawler is asked to avoid, and analysts read it because it often discloses sensitive path names. It is not an authentication mechanism and offers no enforcement against a direct request.

  25. Question 25Footprinting and Reconnaissance

    Which DNS record type identifies the mail servers responsible for accepting email for a domain?

    1. A
    2. NS
    3. CNAME
    4. MX Correct answer.

    Explanation

    MX records list the hosts that handle inbound mail for a domain, with preference values that set delivery order. Enumerating them during footprinting identifies mail infrastructure and third-party filtering providers.

  26. Question 26Footprinting and Reconnaissance

    Which service would an analyst use to view versions of a target website that were published years ago?

    1. Shodan
    2. Maltego
    3. Netcraft
    4. The Internet Archive Wayback Machine Correct answer.

    Explanation

    The Wayback Machine stores historical snapshots of public web pages, letting an analyst recover old contact details, employee names, and technology references that were removed from the live site. The other services provide device indexing, hosting information, or link analysis rather than archived page content.

  27. Question 27Footprinting and Reconnaissance

    Which command queries the MX records of example.com using dig?

    1. dig example.com /MX
    2. dig -x example.com
    3. dig MX @example.com
    4. dig example.com MX Correct answer.

    Explanation

    In dig the query type is supplied as a positional argument after the name, so the record type MX follows the domain. Supplying @ before a name is how an alternate name server is specified, not a record type.

  28. Question 28Footprinting and Reconnaissance

    Which command performs a reverse DNS lookup of the address 203.0.113.10?

    1. nslookup -type=MX example.com
    2. host -a example.com
    3. dig example.com A
    4. dig -x 203.0.113.10 Correct answer.

    Explanation

    Reverse lookups resolve an address to a name and are issued in dig with the -x option followed by the IP address, which builds a query in the in-addr.arpa zone. Forward queries take a name and a record type instead.

  29. Question 29Footprinting and Reconnaissance

    What role does the serial number field of an SOA record play?

    1. It holds the email address of the zone administrator.
    2. It is the zone version number, incremented on change so secondaries know to reload. Correct answer.
    3. It sets the time-to-live applied to every cached record in the zone.
    4. It defines how often a secondary polls the primary server.

    Explanation

    The serial acts as a version stamp for the zone; secondary servers compare it against their stored copy and request a transfer when it increases. The remaining SOA fields cover refresh, retry, expiry, minimum TTL, and the responsible mailbox.

  30. Question 30Footprinting and Reconnaissance

    Why is enumerating a domain's TXT records useful during footprinting?

    1. They often publish SPF data, showing which hosts may send mail for the domain. Correct answer.
    2. They reveal the registrar that holds the domain registration.
    3. They contain the domain's DNSSEC public signing keys.
    4. They encode the physical location of each mail server.

    Explanation

    TXT records commonly carry SPF and DMARC policy text, which lists the hosts and third parties authorized to send email as the domain. That list informs an assessment of whether spoofed messages would pass receiving-side checks.

  31. Question 31Footprinting and Reconnaissance

    Which tool gathers email addresses, employee names, subdomains and hosts for a target from public sources?

    1. theHarvester Correct answer.
    2. Netcat
    3. Nmap
    4. Hydra

    Explanation

    theHarvester aggregates open-source intelligence such as addresses, names, and hosts by querying search engines, public databases, and certificate sources. It performs passive collection rather than authentication attacks or port scanning.

  32. Question 32Footprinting and Reconnaissance

    A job advertisement for a target company lists experience with Cisco ASA firewalls and Windows Server 2019. What does this most directly tell a footprinting analyst?

    1. The company is vulnerable to a specific published exploit.
    2. Technologies in use at the company that are worth further investigation. Correct answer.
    3. The company runs an unpatched build of each product.
    4. Valid employee credentials for those systems are exposed.

    Explanation

    Recruitment material is a passive source that discloses platform and product names in the environment, which helps an analyst focus later research. It does not establish patch levels, vulnerabilities, or credentials on its own.

  33. Question 33Footprinting and Reconnaissance

    What kind of information does Shodan provide to a reconnaissance analyst?

    1. Historical snapshots of web pages that have since been removed.
    2. Results of authenticated vulnerability scans on remote hosts.
    3. Banners and metadata for internet-facing devices and services. Correct answer.
    4. Answers to DNS zone transfer requests.

    Explanation

    Shodan continuously indexes service banners, TLS certificate details, and product metadata from devices reachable on the internet, which reveals exposed services without direct contact from the analyst. It does not authenticate to targets or archive page history.

  34. Question 34Footprinting and Reconnaissance

    How can certificate transparency logs assist subdomain discovery?

    1. They record issued certificates, whose subject alternative names often include internal hostnames. Correct answer.
    2. They log the router hops between the analyst and the target.
    3. They list the registration details of the domain owner.
    4. They store every path a web crawler has indexed.

    Explanation

    Certificates are published to public transparency logs, and the subject alternative name field frequently enumerates hostnames the organization requested certificates for. Querying those logs surfaces subdomains that no longer resolve or are not linked publicly.

  35. Question 35Footprinting and Reconnaissance

    What does a traceroute to a target primarily reveal?

    1. The operating system patch level of each hop.
    2. The sequence of routers between the analyst and the target. Correct answer.
    3. The registrar and expiry date of the target domain.
    4. The plaintext contents of encrypted traffic along the path.

    Explanation

    Traceroute sends probes with increasing hop limits and reports the responding routers, mapping the path and rough latency between networks. This helps identify upstream providers and network boundaries near the target.

  36. Question 36Footprinting and Reconnaissance

    What does DNS cache snooping attempt to determine?

    1. Whether specific domains were recently resolved through a caching resolver. Correct answer.
    2. Whether a zone can be copied from an authoritative server.
    3. Whether forged records can be injected into a resolver's cache.
    4. Whether local DNS traffic can be captured on the same segment.

    Explanation

    Cache snooping probes a recursive resolver for names it may already hold, because a cached answer implies that someone recently queried that name. This can hint at an organization's browsing interests without generating a fresh authoritative lookup.

  37. Question 37Footprinting and Reconnaissance

    An AXFR request sent to ns1.example.com returns 'Transfer failed.' Which conclusion is best supported?

    1. The zone is protected by DNSSEC and therefore cannot be enumerated.
    2. The domain has no subdomains configured in its zone.
    3. The server restricts transfers to authorized secondary servers, so subdomains must be gathered another way. Correct answer.
    4. The name server is unreachable from the network.

    Explanation

    A refusal means the server did not authorize the requesting host, which is the normal hardened configuration; it says nothing about whether subdomains exist. Enumeration then continues through dictionary-based resolution, certificate transparency, and passive DNS sources.

  38. Question 38Footprinting and Reconnaissance

    Which activity counts as active footprinting rather than passive reconnaissance?

    1. Reading the target's published press releases.
    2. Querying WHOIS records at a regional internet registry.
    3. Reviewing employee profiles on a social networking site.
    4. Requesting a zone transfer from the target's authoritative name server. Correct answer.

    Explanation

    Active footprinting involves sending traffic directly to systems the target controls, so a zone transfer request reaches the target's own server and may be logged. The other choices draw on third-party or published sources that never contact the target's infrastructure.

  39. Question 39Footprinting and Reconnaissance

    A WHOIS lookup returns 'REDACTED FOR PRIVACY' for the registrant fields. Which remaining data is most useful for mapping the target's infrastructure?

    1. The registrant street address
    2. The authoritative name servers Correct answer.
    3. The registrant telephone number
    4. The registrant email address

    Explanation

    Privacy shielding hides personal registrant details but normally leaves the delegated name servers and registrar visible, and those name servers lead directly into the organization's DNS infrastructure. Enumerating those servers supports further zone and host discovery.

  40. Question 40Footprinting and Reconnaissance

    An email contains several Received headers. Which one is closest to the sender's originating system?

    1. The bottom-most, added by the first server that handled the message Correct answer.
    2. The one listing the numerically highest IP address
    3. The one containing the Message-ID value
    4. The topmost, added by the recipient's mail server

    Explanation

    Each relay prepends a Received header, so the earliest hop appears lowest in the list and is nearest the originating host, while the topmost entry records the final delivery step. Analysts read the headers from the bottom upward to trace the true origin.

  41. Question 41Scanning Networks and Enumeration

    An Nmap scan is launched with administrator or root privileges and no scan-type flag is specified. Which scan technique does Nmap apply by default?

    1. TCP SYN scan Correct answer.
    2. TCP ACK scan
    3. UDP scan
    4. TCP connect scan

    Explanation

    With raw-socket privileges Nmap defaults to the half-open TCP SYN scan, which sends a SYN, reads the reply, and tears the connection down before the handshake completes. Without those privileges it falls back to the full connect scan.

  42. Question 42Scanning Networks and Enumeration

    Which Nmap option requests a UDP port scan?

    1. -sU Correct answer.
    2. -sN
    3. -sA
    4. -sT

    Explanation

    The -sU flag selects UDP scanning, in which Nmap sends UDP datagrams and treats an ICMP port-unreachable reply as evidence that the port is closed. Open UDP ports usually answer with nothing at all.

  43. Question 43Scanning Networks and Enumeration

    Which Nmap option limits the run to host discovery only, without probing any ports?

    1. -sn Correct answer.
    2. -sV
    3. -sS
    4. -O

    Explanation

    The -sn option performs a ping sweep: Nmap sends discovery probes such as ICMP echo, TCP SYN to common ports, and ARP, then reports which hosts are up without scanning ports.

  44. Question 44Scanning Networks and Enumeration

    Which DNS request is used to copy an entire zone from an authoritative name server?

    1. AXFR Correct answer.
    2. SRV
    3. PTR
    4. MX

    Explanation

    An AXFR request asks an authoritative server to transfer the full contents of a zone. If the server is misconfigured to answer anyone, the transfer discloses every hostname and record in that zone.

  45. Question 45Scanning Networks and Enumeration

    During a TCP FIN scan, a target port replies with an RST segment. What does this indicate about the port?

    1. The port is filtered
    2. The target is offline
    3. The port is closed Correct answer.
    4. The port is open

    Explanation

    A closed port answers an unexpected FIN segment with RST, whereas an open port silently discards the segment and produces no reply. The technique depends on that asymmetry in RFC-compliant TCP stacks.

  46. Question 46Scanning Networks and Enumeration

    What is the purpose of banner grabbing during enumeration?

    1. Reading identification text a service presents on connection Correct answer.
    2. Guessing valid credentials against a remote service
    3. Overwhelming a listener until it refuses connections
    4. Mapping firewall rule sets with crafted probes

    Explanation

    Banner grabbing connects to a service and reads the greeting text it returns, which often discloses the software name, version, and sometimes the host or platform. That text feeds later version-matching and exploit selection.

  47. Question 47Scanning Networks and Enumeration

    Which property must a host satisfy to be usable as the zombie in an Nmap idle scan (-sI)?

    1. It must run an open recursive DNS resolver
    2. It must sit in the target's broadcast domain
    3. It must accept fragmented IP packets
    4. It must assign IP ID values predictably Correct answer.

    Explanation

    Idle scanning infers the target's port states by watching the zombie's IP identification counter. The zombie must increment that counter globally and predictably so the scanner can detect the increment caused by the target's response.

  48. Question 48Scanning Networks and Enumeration

    Nmap reports a live host as down because the host ignores ICMP echo requests. Which option forces Nmap to scan the host anyway?

    1. -O
    2. -n
    3. -sA
    4. -Pn Correct answer.

    Explanation

    The -Pn option disables host discovery and treats every supplied target as online, so the port scan proceeds even when discovery probes go unanswered. It is the standard fix for hosts that silently drop ping traffic.

  49. Question 49Scanning Networks and Enumeration

    Nmap reports a port as filtered. What does that state mean?

    1. The port is open and accepting connections
    2. The port is closed and returned an RST
    3. Probes are dropped, leaving the state unknown Correct answer.
    4. The host answered but runs no service

    Explanation

    A filtered result means Nmap received no usable answer: packets were dropped, or an ICMP error such as administratively prohibited came back. Because no TCP response was seen, the scanner cannot tell whether a service is listening.

  50. Question 50Scanning Networks and Enumeration

    Why are FIN, NULL, and XMAS scans unreliable against Microsoft Windows targets?

    1. Windows drops segments that carry no payload
    2. Windows rate-limits half-open connections
    3. Windows resets ports regardless of their state Correct answer.
    4. Windows strips all TCP options from its replies

    Explanation

    These three scan types rely on open ports staying silent and closed ports answering with RST. The Windows TCP stack instead returns RST for any segment that reaches a port, so every probed port appears closed and the results cannot be trusted.

  51. Question 51Scanning Networks and Enumeration

    Which SNMP community string is the most common vendor default for read-only access?

    1. cisco
    2. private
    3. monitor
    4. public Correct answer.

    Explanation

    Many devices ship with the read-only community string public and the read-write string private. Leaving public in place lets an attacker walk the MIB and collect interface, routing, and system details.

  52. Question 52Scanning Networks and Enumeration

    Which SMTP verb asks a mail server to confirm whether a specific mailbox exists?

    1. DATA
    2. HELO
    3. VRFY Correct answer.
    4. RCPT

    Explanation

    VRFY asks the server to verify a user or mailbox name and returns a code that reveals whether the address exists. Many hardened servers disable it or return a generic response precisely because it enables account enumeration.

  53. Question 53Scanning Networks and Enumeration

    Which command retrieves the NetBIOS name table of a remote Windows host?

    1. nslookup
    2. netstat -an
    3. nbtstat -A Correct answer.
    4. arp -a

    Explanation

    nbtstat -A performs a NetBIOS adapter status query against a remote IP address and returns its name table, including the computer name, domain or workgroup name, and registered services.

  54. Question 54Scanning Networks and Enumeration

    Which Nmap option inserts spoofed source addresses into a scan so the real source is hidden among them?

    1. -S
    2. -D Correct answer.
    3. -g
    4. -e

    Explanation

    The -D option adds decoy addresses that are sent alongside the genuine probes, making it difficult for a defender to identify which source is the actual scanner. Replies to the decoys are not received by the attacker.

  55. Question 55Scanning Networks and Enumeration

    Which Nmap option probes open ports to determine the application and version behind them?

    1. -sL
    2. -T4
    3. -O
    4. -sV Correct answer.

    Explanation

    Service detection, enabled by -sV, sends crafted probes to each open port and matches the responses against a signature database to identify the product and version. That output is what later vulnerability research is built on.

  56. Question 56Scanning Networks and Enumeration

    What does a TCP ACK scan (-sA) reveal about a target?

    1. A complete inventory of open TCP ports
    2. Active sequence numbers
    3. Which packets the firewall lets through Correct answer.
    4. The operating system of the target

    Explanation

    An ACK scan sends an ACK segment, which no stateless filter can match against session state. A returned RST means the probe passed the filtering device, while no reply or an ICMP error means it was blocked, so the scan maps rules rather than open ports.

  57. Question 57Scanning Networks and Enumeration

    How does the TCP Maimon scan differ from a NULL scan?

    1. It sends SYN and FIN flags together
    2. It sends only the URG flag
    3. It sends FIN and ACK flags together Correct answer.
    4. It sends only the PSH flag

    Explanation

    Named after its author, the Maimon scan sets the FIN and ACK bits in the same segment. Many BSD-derived stacks drop such a segment when the port is open and answer RST when it is closed, which is the same inference logic used by FIN, NULL, and XMAS scans.

  58. Question 58Scanning Networks and Enumeration

    Which Nmap option attempts an FTP bounce scan?

    1. -sW
    2. -sF
    3. -b Correct answer.
    4. -sM

    Explanation

    The -b option asks an FTP server to open data connections on the scanner's behalf using the PORT command, so probes appear to originate from the FTP host. The technique only works against servers that permit PORT to arbitrary addresses and port 21 access to the target.

  59. Question 59Scanning Networks and Enumeration

    A firewall ACL permits inbound traffic only when the source port is 53. Which Nmap option helps a scan pass this rule?

    1. -f
    2. --source-port 53 Correct answer.
    3. --data-length 53
    4. --ttl 53

    Explanation

    The --source-port option sets the source port of the probes, so packets appear to be DNS responses returning to the host. Poorly written ACLs that trust the source port alone are bypassed this way.

  60. Question 60Scanning Networks and Enumeration

    Which technique maps firewall ACLs by sending probes with steadily increasing TTL values toward the target?

    1. ACK scanning
    2. Firewalking Correct answer.
    3. Idle scanning
    4. Banner grabbing

    Explanation

    Firewalking sends packets with a TTL one hop short of the firewall, then one greater, and observes which probe is dropped or answered. The hop at which filtering occurs identifies the ACL device and the rules it enforces.

  61. Question 61Vulnerability Analysis

    What does a CVE identifier represent?

    1. A publicly disclosed cybersecurity vulnerability with a unique reference Correct answer.
    2. A configuration baseline published by a software vendor
    3. A proprietary exploit sold by a commercial vendor
    4. A cryptographic key used to sign security patches

    Explanation

    CVE is a catalog of publicly disclosed cybersecurity vulnerabilities, and each entry receives a unique identifier so scanners, vendors, and analysts can reference the same issue consistently. It is not an exploit, a configuration baseline, or a signing key.

  62. Question 62Vulnerability Analysis

    Which two metric groups make up the CVSS v3.1 base score?

    1. Confidentiality and availability only
    2. Exploitability and impact Correct answer.
    3. Access vector and authentication
    4. Temporal and environmental

    Explanation

    The CVSS v3.1 base score is calculated from the exploitability sub-score and the impact sub-score. Temporal and environmental metrics are optional groups used to refine the base score for specific conditions.

  63. Question 63Vulnerability Analysis

    What is the main advantage of a credentialed vulnerability scan over a non-credentialed scan?

    1. It can run without any network access to the target host
    2. It guarantees that the target can never be exploited
    3. It detects installed patches and settings more accurately Correct answer.
    4. It avoids writing any log entries on the target system

    Explanation

    Credentials allow the scanner to read local patch levels, installed software, and configuration settings directly, producing more accurate results. A non-credentialed scan can only infer issues from externally visible behavior.

  64. Question 64Vulnerability Analysis

    A vulnerability scanner reports a weakness that does not actually exist on the target. What is this result called?

    1. False positive Correct answer.
    2. False negative
    3. True positive
    4. True negative

    Explanation

    A false positive occurs when a scanner reports a vulnerability that is not actually present, which can waste remediation time. A false negative is the opposite: a real vulnerability that the scanner fails to report.

  65. Question 65Vulnerability Analysis

    What does CWE classify?

    1. Exploit kits available on the market
    2. Network perimeter firewall rules
    3. Individual vulnerable product versions
    4. Software design and implementation flaws Correct answer.

    Explanation

    CWE provides a taxonomy of software weakness types, such as injection or buffer overflow, rather than specific vulnerable products. Specific product instances are typically identified with CVE and CPE.

  66. Question 66Vulnerability Analysis

    Which statement distinguishes a vulnerability assessment from a penetration test?

    1. A penetration test never produces a written report
    2. A vulnerability assessment always exploits findings to prove impact
    3. A penetration test only uses automated scanners
    4. Assessment identifies weaknesses without necessarily exploiting them Correct answer.

    Explanation

    A vulnerability assessment identifies and prioritizes weaknesses, often without exploitation, while a penetration test typically attempts to exploit vulnerabilities to demonstrate real-world impact. Both can use automated tools and both normally produce reports.

  67. Question 67Vulnerability Analysis

    In the CVSS v3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, what does PR:N indicate?

    1. No privileges are required to exploit the vulnerability Correct answer.
    2. The vulnerability affects a network service
    3. The attacker must be physically present
    4. The attack requires user interaction

    Explanation

    PR stands for Privileges Required, and the value N means None, so the attacker does not need an account or privileges on the target. Physical access is represented by AV, and user interaction by UI.

  68. Question 68Vulnerability Analysis

    What is the primary purpose of OVAL?

    1. Sharing working exploit code between security researchers
    2. Machine-readable vulnerability and configuration checks Correct answer.
    3. Assigning CVSS base scores to published CVE entries
    4. Encrypting all traffic generated by vulnerability scanners

    Explanation

    OVAL is a language for expressing machine-readable vulnerability and configuration checks so tools can exchange and evaluate them consistently. It does not encrypt traffic, assign CVSS scores, or distribute exploit code.

  69. Question 69Vulnerability Analysis

    What does the EPSS score estimate?

    1. Estimated time required to fully patch a vulnerable host
    2. Maximum technical severity of a vulnerability on a ten-point scale
    3. Likelihood a vulnerability is exploited within 30 days Correct answer.
    4. Total number of products and versions affected by a CVE

    Explanation

    EPSS estimates the probability that a vulnerability will be exploited in the wild in the next 30 days. It complements severity scoring by adding exploitation likelihood rather than replacing CVSS severity.

  70. Question 70Vulnerability Analysis

    What does a CPE name identify?

    1. A weaponized exploit payload module
    2. A standardized vulnerability scoring vector string
    3. A reusable scanning policy template
    4. A specific product, version, and platform Correct answer.

    Explanation

    CPE provides a standardized naming scheme for a product, version, and platform so tools can consistently identify affected software. It is not a scoring vector, a scan policy, or an exploit payload.

  71. Question 71Vulnerability Analysis

    An external non-credentialed scan is most likely to miss which issue?

    1. An expired TLS certificate on the public site
    2. An outdated web server banner exposed on port 80
    3. A missing OS patch with no visible effect Correct answer.
    4. An open TCP port reachable from the internet

    Explanation

    Without credentials, the scanner cannot directly inspect local patch levels, so a missing patch that produces no externally visible behavior may be missed. Banner versions, open ports, and TLS certificate status are externally observable.

  72. Question 72Vulnerability Analysis

    Why would an analyst enable scan throttling or low-bandwidth mode?

    1. To encrypt all stored scan results
    2. To avoid disrupting fragile production hosts Correct answer.
    3. To increase the number of false positives reported
    4. To bypass authentication on scanned targets

    Explanation

    Throttling reduces scan intensity and network load, helping prevent timeouts, service disruption, or crashes on sensitive production systems. It does not improve authentication bypass or encrypt results.

  73. Question 73Vulnerability Analysis

    A scanner connects to TCP port 22 and reads "SSH-2.0-OpenSSH_7.4". Which technique has it used?

    1. ARP poisoning on the local network segment
    2. Banner grabbing for version fingerprinting Correct answer.
    3. Fuzzing the SSH daemon with malformed packets
    4. Credentialed patch auditing using local agents

    Explanation

    Reading the service greeting on a port is banner grabbing, which helps identify the service and version for fingerprinting. It does not by itself authenticate, fuzz, or manipulate local network traffic.

  74. Question 74Vulnerability Analysis

    Two hosts share the same CVSS score: one is an internet-facing payment server and the other is an isolated lab VM. What is the best prioritization decision?

    1. Prioritize the payment server based on asset criticality Correct answer.
    2. Patch the isolated lab VM first because it is easier to reboot
    3. Ignore both because the CVSS scores are equal
    4. Disable scanning on both hosts until next quarter

    Explanation

    CVSS measures technical severity but not business context, so asset criticality and exposure should influence prioritization. An internet-facing payment server generally warrants remediation before an isolated lab VM with the same score.

  75. Question 75Vulnerability Analysis

    A scanner fails to detect a vulnerability that actually exists. What is this called and why does it matter?

    1. True negative; confirms no exposure
    2. False negative; leaves a real flaw unaddressed Correct answer.
    3. False positive; causes wasted remediation effort
    4. True positive; confirms exploitability

    Explanation

    A false negative occurs when a real vulnerability is missed, leaving the weakness unaddressed and creating a false sense of security. A false positive is the opposite: a reported issue that is not actually present.

  76. Question 76Vulnerability Analysis

    Which finding is most specific to a database vulnerability scan?

    1. Operating system kernel version of the database host
    2. Weak default database accounts and authentication Correct answer.
    3. Open TCP ports detected on the database subnet
    4. DNS zone transfer allowed by the database domain

    Explanation

    Database vulnerability scanning checks database-specific configuration, accounts, permissions, and authentication settings. Ports, OS kernel versions, and DNS zone transfers are host or network findings rather than database configuration issues.

  77. Question 77Vulnerability Analysis

    What is the purpose of enabling "safe checks" in a vulnerability scanner?

    1. Avoid tests that may crash the target Correct answer.
    2. Only test hosts with no firewall
    3. Skip all authenticated checks
    4. Report every finding with critical severity

    Explanation

    Safe checks limit or avoid tests that could destabilize, crash, or disrupt the target service. They do not bypass firewalls, skip all authentication, or artificially raise severity.

  78. Question 78Vulnerability Analysis

    Why configure login credentials or a session for an authenticated web application scan?

    1. To reach pages available only after login Correct answer.
    2. To avoid crawling the application at all
    3. To disable HTTPS during the scan
    4. To reduce the number of pages discovered by the crawler

    Explanation

    Authenticated scanning lets the crawler and test engine access pages and functions that are available only after authentication. This improves coverage of protected areas that an unauthenticated scan cannot see.

  79. Question 79Vulnerability Analysis

    In a vulnerability management workflow, what should follow discovery and prioritization?

    1. Rescan the same hosts without applying any fixes
    2. Remediate and then verify with a follow-up scan Correct answer.
    3. Publish working exploit code for the findings
    4. Delete the asset inventory and start over

    Explanation

    After vulnerabilities are discovered and prioritized, the organization should remediate them and then verify the fixes with a follow-up scan. Rescanning without remediation does not reduce risk, and publishing exploit code is not a remediation step.

  80. Question 80Vulnerability Analysis

    In CVSS v3.1, what does the scope metric value S:C indicate?

    1. The vulnerability has no impact on confidentiality
    2. The vulnerable component and the impacted component are identical
    3. Impact can extend beyond the vulnerable component's scope Correct answer.
    4. The attack requires physical access to the target device

    Explanation

    S:C means Scope Changed, indicating that exploitation can affect resources beyond the vulnerable component's security authority or scope. S:U would mean the vulnerable and impacted components are in the same scope.

  81. Question 81System Hacking

    A penetration tester needs an interactive shell on a target that sits behind a firewall blocking inbound connections and behind NAT. Which approach works?

    1. Reverse shell, where the target connects out to the tester Correct answer.
    2. SNMP trap sent from the target to the tester
    3. Bind shell, where the target listens for an inbound connection
    4. Telnet session to port 23 on the target host

    Explanation

    A reverse shell makes the compromised host open an outbound connection to a listener controlled by the attacker, so inbound filtering and NAT on the target side are irrelevant. Outbound traffic from internal hosts is usually permitted, which is why reverse shells are the common choice in this situation.

  82. Question 82System Hacking

    In a pass-the-hash attack, which credential element is reused to authenticate?

    1. The Kerberos TGT encrypted with the krbtgt key
    2. The NTLM hash of the user's password Correct answer.
    3. The plaintext password recovered from memory
    4. The LM hash of the local Administrator account

    Explanation

    NTLM authentication proves knowledge of the password hash rather than the plaintext, so an attacker holding the hash can authenticate directly. The hash never needs to be cracked, which is the defining feature of pass-the-hash.

  83. Question 83System Hacking

    The Mimikatz sekurlsa module reads credential material from the memory of which Windows process?

    1. explorer.exe
    2. lsass.exe Correct answer.
    3. winlogon.exe
    4. svchost.exe

    Explanation

    The Local Security Authority Subsystem Service caches authentication material for active logon sessions, including NTLM hashes and Kerberos tickets. Reading it requires administrator or debug privilege, and mitigations such as RunAsPPL or Credential Guard restrict such access.

  84. Question 84System Hacking

    What is the primary defensive value of adding a unique salt to each stored password hash?

    1. It shortens the stored hash so users can type it manually
    2. It converts the hash into a reversible encoding for support staff
    3. It makes precomputed rainbow tables ineffective for that password Correct answer.
    4. It encrypts the stored hash with a symmetric key held by the server

    Explanation

    A salt is per-user random data mixed into the password before hashing, so two users with the same password produce different stored values. A precomputed table can no longer be matched against the stored value, though an attacker can still brute force each hash individually.

  85. Question 85System Hacking

    Which NTFS feature lets an attacker hide data inside an existing file without changing the file's reported size?

    1. Volume shadow copies
    2. Sparse file allocation
    3. Alternate data streams Correct answer.
    4. Extended attributes on FAT32 volumes

    Explanation

    NTFS supports multiple data streams per file, and alternate data streams are not displayed by a normal directory listing or counted in the file size. Investigators reveal them with tools such as dir /r or dedicated stream utilities.

  86. Question 86System Hacking

    Where does Windows store the local account password hashes that an attacker would extract for offline cracking?

    1. C:\Users\Default\NTUSER.DAT
    2. C:\Windows\System32\drivers\etc\SAM
    3. C:\Windows\System32\config\SAM Correct answer.
    4. C:\Windows\SysWOW64\SAM

    Explanation

    Local account hashes live in the SAM registry hive under System32\config, and the SYSTEM hive holds the boot key needed to decrypt them. Both files are locked while the system runs, so extraction normally uses volume shadow copies, a boot disk, or memory-based techniques.

  87. Question 87System Hacking

    During Linux post-exploitation, which command lists binaries that will execute with the privileges of their file owner?

    1. find / -perm -2000 -type f 2>/dev/null
    2. find / -writable -type f 2>/dev/null
    3. find / -nouser -type f 2>/dev/null
    4. find / -perm -4000 -type f 2>/dev/null Correct answer.

    Explanation

    The -perm -4000 test matches files carrying the SUID bit, which run with the owner's privileges, often root. Any such binary that can be abused to run commands becomes a direct privilege escalation path.

  88. Question 88System Hacking

    Which account characteristic makes a target suitable for Kerberoasting?

    1. A user account with an SPN whose ticket can be cracked offline Correct answer.
    2. A domain controller configured with unconstrained Kerberos delegation
    3. A computer account with a 30-day machine password rotation policy
    4. An account with a blank password that is set never to expire

    Explanation

    Any authenticated domain user can request a service ticket for an account that has a service principal name registered. The ticket is encrypted with that account's password hash, so the attacker can crack it offline and the weaknesses are the service account's password strength and its privileges.

  89. Question 89System Hacking

    An attacker on the same subnet wants to capture NetNTLMv2 challenge/response hashes from Windows hosts that fail to resolve a hostname. Which traffic must be poisoned?

    1. DHCP discover packets from newly connected clients
    2. ARP requests for the default gateway address
    3. LLMNR and NBT-NS name-resolution broadcasts Correct answer.
    4. DNS zone transfers from the internal recursive resolver

    Explanation

    When normal DNS resolution fails, Windows falls back to multicast and broadcast name resolution using LLMNR and NBT-NS, and tools such as Responder answer those queries. The victim then authenticates to the attacker, exposing a challenge/response hash that can be cracked or relayed.

  90. Question 90System Hacking

    Which control most directly prevents an NTLM relay attack against SMB servers?

    1. Disabling the built-in local Administrator account
    2. Enabling audit policy for account logon events
    3. Requiring SMB signing on servers and clients Correct answer.
    4. Enforcing Kerberos AES encryption for all service accounts

    Explanation

    SMB signing binds each session to a key derived from the credentials, and a relay cannot produce that signature, so the forwarded authentication fails. Requiring signing on both sides, or removing NTLM where feasible, closes the relay path.

  91. Question 91System Hacking

    A service binary path is stored as C:\Program Files\Acme Agent\agent.exe with no quotation marks. Which condition allows privilege escalation through this misconfiguration?

    1. The service startup type is set to Manual
    2. The attacker can create C:\Program.exe and the service runs as SYSTEM Correct answer.
    3. The attacker can write files to C:\Windows\System32 and its subfolders
    4. The service runs under the LocalService account

    Explanation

    When the path contains spaces and is unquoted, the service control manager tries each space-delimited prefix in order, so C:\Program.exe is attempted before the intended binary. If an attacker can place a file at an earlier prefix and the service runs with high privileges, that file executes with those privileges.

  92. Question 92System Hacking

    A legitimate application loads a helper DLL by filename only. On a default modern Windows system, where should the attacker place a malicious copy so it loads first?

    1. In the current user's Desktop folder
    2. In the %TEMP% directory
    3. In C:\Windows\System32
    4. In the application's own directory Correct answer.

    Explanation

    With SafeDllSearchMode enabled by default, Windows searches the directory of the loading executable before the system directories. A DLL dropped next to the application therefore resolves before the legitimate copy stored in System32.

  93. Question 93System Hacking

    Which statement describes how Meterpreter's getsystem command usually obtains SYSTEM privileges?

    1. It exploits a Windows kernel memory corruption vulnerability to gain ring-0 code execution
    2. It reads the SAM registry hive to recover the local Administrator password
    3. It adds the compromised user to the local Administrators group and then re-logs on
    4. It abuses named pipe impersonation or token duplication of a SYSTEM process Correct answer.

    Explanation

    The default technique chain creates a named pipe and impersonates a client, or duplicates the token of an existing process running as SYSTEM. It is an abuse of legitimate Windows features rather than a kernel exploit, so it needs privileges such as SeDebug or SeImpersonate to succeed.

  94. Question 94System Hacking

    A tester holds 2,000 usernames and a list of 500 common passwords, and the domain locks accounts after five failed attempts. Which approach is appropriate?

    1. Try every password against each account in sequence until one succeeds
    2. Try each password against a single account until it succeeds
    3. Try one password against all accounts, then wait before the next password Correct answer.
    4. Try the top five passwords against each account and then stop testing that account

    Explanation

    Spraying applies a single password across many accounts so no account exceeds the lockout threshold, then pauses before rotating to the next password. This trades speed for stealth and avoids the lockouts that per-account guessing triggers.

  95. Question 95System Hacking

    A hash in /etc/shadow begins with the prefix $6$. Which algorithm produced it?

    1. bcrypt
    2. SHA-512 crypt Correct answer.
    3. DES crypt
    4. MD5 crypt

    Explanation

    The modular crypt format encodes the algorithm in the prefix: $1$ is MD5, $5$ is SHA-256, $6$ is SHA-512, and $2a$ or $2b$ is bcrypt. Recognising the prefix lets a cracking tool select the correct mode automatically.

  96. Question 96System Hacking

    Which command clears the Security event log on a Windows host from the command line?

    1. net stop eventlog
    2. logman delete Security
    3. auditpol /clear
    4. wevtutil cl Security Correct answer.

    Explanation

    wevtutil cl followed by a log name clears that log, and Security is the log name for security auditing. The clearing action itself is recorded as event ID 1102, so defenders can still tell that the log was wiped.

  97. Question 97System Hacking

    After compromising a dual-homed host, a tester must reach hosts on the internal network that are not routable from the tester's machine. Which technique accomplishes this?

    1. Port forwarding with a route added in the tester's Metasploit session Correct answer.
    2. Running an authenticated vulnerability scan from the tester's own workstation
    3. Uploading a keylogger to the dual-homed host for later collection
    4. Clearing the ARP cache on the internal router to redirect traffic

    Explanation

    Pivoting sends attack traffic through the compromised host so the internal subnet sees that host as the source. Metasploit's route and portfwd commands, or a SOCKS proxy on the host, implement this tunnelling.

  98. Question 98System Hacking

    A 32-bit application crashes after a payload of 200 'A' bytes followed by four 'B' bytes, and the debugger shows EIP equal to 0x42424242. What does this indicate?

    1. The offset to EIP is 204 bytes and the shellcode begins after it
    2. The offset to EIP is 200 bytes Correct answer.
    3. The offset to EIP is 196 bytes
    4. ASLR is disabled on the target host

    Explanation

    Because the four 'B' bytes (0x42) overwrote EIP, the saved return address begins exactly 200 bytes into the payload. Those four bytes therefore control EIP, and the remaining buffer space holds the NOP sled and shellcode.

  99. Question 99System Hacking

    An attacker extracts the NTLM hash of the domain's krbtgt account. Which capability does this provide?

    1. Decrypting all user password hashes stored in the domain controller's database
    2. Reading the NTDS.dit file without any domain credentials
    3. Resetting user passwords without being audited
    4. Forging TGTs for any account, valid until krbtgt is reset twice Correct answer.

    Explanation

    The krbtgt key encrypts every TGT issued by the domain, so possession of its hash allows forging golden tickets for any account, including invented ones with arbitrary group membership. The forgery continues to work until the krbtgt password is reset twice, which invalidates previously issued tickets.

  100. Question 100System Hacking

    Which statement best describes Windows Defender Credential Guard?

    1. It isolates LSASS secrets in a virtualization-based security container Correct answer.
    2. It requires smart cards for all interactive logons
    3. It encrypts the SAM hive with a TPM-bound key and blocks offline dumping
    4. It enforces NTLMv2 for network logons and blocks LM authentication everywhere

    Explanation

    Credential Guard uses virtualization-based security to hold LSA secrets in an isolated environment that the running kernel cannot read, so tools such as Mimikatz fail to dump hashes from LSASS. It protects derived credentials only, so it does not stop plaintext harvesting or abuse of legitimate Kerberos tickets.

  101. Question 101Malware Threats, Sniffing, and Social Engineering

    Which type of malware self-replicates across networks by exploiting vulnerabilities and does not need a host file or user action to spread?

    1. Trojan
    2. Rootkit
    3. Logic bomb
    4. Worm Correct answer.

    Explanation

    A worm is a standalone, self-replicating program that propagates over networks by exploiting vulnerable services, without attaching itself to a host file or needing the user to execute it. Trojans, rootkits, and logic bombs each depend on user action, stealth installation, or a triggering condition rather than autonomous network replication.

  102. Question 102Malware Threats, Sniffing, and Social Engineering

    Why does a switch limit the effectiveness of passive sniffing by a host plugged into a normal access port?

    1. It forwards unicast frames only toward the destination port Correct answer.
    2. It re-encrypts every frame before forwarding it
    3. It drops frames whose destination MAC is unknown
    4. It disables promiscuous mode on all of the connected network adapters

    Explanation

    A switch builds a MAC address table and forwards a unicast frame only out of the port where the destination MAC was learned, so a third host normally never sees that traffic. Promiscuous mode only helps when frames actually reach the NIC, which is why sniffing on switches requires techniques such as ARP spoofing, MAC flooding, or port mirroring.

  103. Question 103Malware Threats, Sniffing, and Social Engineering

    An attacker telephones a company's help desk, claims to be a traveling executive, and persuades the agent to reset a password. Which term best describes this attack?

    1. Shoulder surfing
    2. Phishing
    3. Tailgating
    4. Vishing Correct answer.

    Explanation

    Vishing is voice phishing: the attacker uses a phone call and a fabricated identity to extract information or action from the target. The distinguishing feature is the voice channel combined with impersonation and urgency.

  104. Question 104Malware Threats, Sniffing, and Social Engineering

    Which malware family encrypts user data and then demands payment in exchange for the decryption key?

    1. Spyware
    2. Adware
    3. Wiper
    4. Ransomware Correct answer.

    Explanation

    Ransomware denies access to data, usually through encryption, and monetizes the attack by selling the recovery key or threatening publication. A wiper also destroys data but offers no recovery path, and adware and spyware focus on advertising and covert collection respectively.

  105. Question 105Malware Threats, Sniffing, and Social Engineering

    Which command-line utility captures packets on a Linux host and can write them to a .pcap file for later analysis?

    1. Nmap
    2. Netstat
    3. tcpdump Correct answer.
    4. Nslookup

    Explanation

    tcpdump is a libpcap-based command-line sniffer that captures live traffic and can save it with the -w option for later review in tools such as Wireshark. The other utilities perform scanning, local connection listing, or DNS queries and do not produce capture files.

  106. Question 106Malware Threats, Sniffing, and Social Engineering

    An attacker recovers old org charts, printed emails, and discarded hard drives from a company's outdoor bins. Which social engineering technique is this?

    1. Quid pro quo
    2. Piggybacking
    3. Baiting
    4. Dumpster diving Correct answer.

    Explanation

    Dumpster diving is the recovery of information from discarded physical material such as documents, media, and hardware. Because the discarded items are outside the organization's controls, the countermeasure is shredding, secure destruction, and a clean-desk policy.

  107. Question 107Malware Threats, Sniffing, and Social Engineering

    Why does ARP spoofing let an attacker on the same LAN intercept traffic between a victim and the default gateway?

    1. ARP is unauthenticated, so forged replies can bind the gateway IP to the attacker's MAC Correct answer.
    2. ARP replies are signed with the sender's private key, which the attacker can replay
    3. ARP tables live on the switch, and the attacker can overwrite them with a crafted frame
    4. ARP requests are broadcast, so the attacker can simply answer before the gateway does

    Explanation

    ARP has no authentication mechanism, so a host accepts an unsolicited reply that maps a known IP address to a new MAC address and updates its cache. By mapping the gateway IP to the attacker's MAC, the attacker receives the victim's outbound frames and can forward them onward to complete a man-in-the-middle position.

  108. Question 108Malware Threats, Sniffing, and Social Engineering

    A tool floods a switch with thousands of frames carrying random source MAC addresses. What is the result?

    1. The switch reboots and falls back to static routing
    2. The CAM table overflows and the switch floods frames out of every port Correct answer.
    3. The attacker's port is placed into an error-disabled state
    4. VLAN tags are stripped and traffic leaks between VLANs

    Explanation

    MAC flooding fills the switch's content-addressable memory table with bogus entries until legitimate mappings are evicted. In fail-open behaviour the switch then treats most frames as unknown-unicast and floods them to all ports, letting a sniffer see traffic it should never receive.

  109. Question 109Malware Threats, Sniffing, and Social Engineering

    An attacker sends DHCP Discover requests with many spoofed source MAC addresses until the server's address pool is exhausted. What is the primary goal?

    1. To force every client on the segment onto the same isolated VLAN
    2. To poison the DNS cache records held by the DHCP server itself
    3. To capture the preshared key that the DHCP server uses to sign every lease
    4. To exhaust the lease pool so a rogue server can act as gateway Correct answer.

    Explanation

    DHCP starvation denies legitimate clients an address, after which the attacker runs a rogue DHCP server that hands out leases pointing the default gateway and DNS server to the attacker's host. This converts a denial of service into a man-in-the-middle position for all new clients.

  110. Question 110Malware Threats, Sniffing, and Social Engineering

    An analyst executes a suspicious sample inside an isolated virtual machine with process, file, and network monitoring enabled. Which analysis approach is this?

    1. Static analysis
    2. Dynamic analysis Correct answer.
    3. Heuristic string extraction
    4. Signature-based scanning

    Explanation

    Dynamic analysis observes the behaviour of malware while it runs, capturing process creation, file system changes, registry writes, and network callbacks in a controlled sandbox. Static techniques examine the sample without executing it, and signature scanning merely compares it to known patterns.

  111. Question 111Malware Threats, Sniffing, and Social Engineering

    A kernel-mode rootkit is suspected on a running Windows server. Which approach gives the most reliable evidence of its presence?

    1. Running a full antivirus scan with the product's default heuristic settings
    2. Acquiring a memory image and analyzing it from trusted external media Correct answer.
    3. Comparing file sizes reported by the built-in dir command
    4. Checking the Add/Remove Programs list for unknown entries

    Explanation

    A kernel-mode rootkit hooks or filters the very system calls that on-box tools rely on, so results produced by the infected host cannot be trusted. Acquiring physical memory and examining it with a clean analysis platform exposes hidden processes, drivers, and hooked tables that the rootkit tries to conceal.

  112. Question 112Malware Threats, Sniffing, and Social Engineering

    An email is sent to twelve finance staff, addressing each by name and referencing a real internal project, asking them to open an attached invoice. Which term fits best?

    1. Watering hole
    2. Spear phishing Correct answer.
    3. Pharming
    4. Smishing

    Explanation

    Spear phishing is a targeted phishing message tailored with reconnaissance details such as names, roles, and real project references to make the lure credible to a small group. Generic mass phishing lacks this personalization.

  113. Question 113Malware Threats, Sniffing, and Social Engineering

    Which statement correctly distinguishes passive from active sniffing?

    1. Passive sniffing requires a hub, while active sniffing requires a tap
    2. Passive sniffing injects forged packets, while active sniffing only listens
    3. Passive sniffing only captures traffic, while active sniffing also injects traffic Correct answer.
    4. Passive sniffing works only on wireless, while active sniffing works only on wired LANs

    Explanation

    Passive sniffing simply listens to frames that reach the interface, whereas active sniffing additionally transmits crafted traffic such as ARP replies, DHCP requests, or 802.11 frames to force traffic toward the attacker. This is why active sniffing can succeed on switched networks where pure listening cannot.

  114. Question 114Malware Threats, Sniffing, and Social Engineering

    An attacker invents a plausible story about being an auditor from headquarters to persuade an employee to disclose an internal procedure. Which technique is this?

    1. Tailgating
    2. Baiting
    3. Shoulder surfing
    4. Pretexting Correct answer.

    Explanation

    Pretexting is the creation of a fabricated scenario and identity that gives the attacker a legitimate-sounding reason to request information or access. The story itself is the pretext, and it works by exploiting the target's willingness to help an apparent authority figure.

  115. Question 115Malware Threats, Sniffing, and Social Engineering

    Malicious code is written to delete a database when the HR system no longer returns a specific employee ID. What is this called?

    1. Logic bomb Correct answer.
    2. Keylogger
    3. Dropper
    4. Bootkit

    Explanation

    A logic bomb is code that stays dormant until a predefined condition, such as a date, a file state, or a missing account, is satisfied. The trigger in this scenario is the absence of an employee record, which typically corresponds to a terminated insider.

  116. Question 116Malware Threats, Sniffing, and Social Engineering

    An attacker sends forged DNS responses to a resolver so that www.example.com resolves to an IP the attacker controls. What is this attack called?

    1. DNS tunneling
    2. DNS cache poisoning Correct answer.
    3. DNS zone transfer abuse
    4. Domain fronting

    Explanation

    DNS cache poisoning injects false mapping records into a resolver's cache, so subsequent queries from many clients resolve to the attacker's address. The forged response must match a pending query's transaction ID and source port to be accepted.

  117. Question 117Malware Threats, Sniffing, and Social Engineering

    Which property distinguishes a metamorphic virus from a polymorphic one?

    1. A metamorphic virus spreads only through email attachments, while a polymorphic virus spreads over SMB shares
    2. A metamorphic virus hides in the boot sector, while a polymorphic virus hides in the kernel
    3. A metamorphic virus encrypts its payload, while a polymorphic virus does not
    4. A metamorphic virus rewrites its own code, while a polymorphic virus only changes its encryption Correct answer.

    Explanation

    A polymorphic virus keeps a constant body but mutates the encryption routine and key so each copy looks different while the decryptor stub changes too. A metamorphic virus goes further and mutates its actual instruction sequence, using techniques such as code reordering, register swapping, and garbage insertion, so no stable signature remains.

  118. Question 118Malware Threats, Sniffing, and Social Engineering

    An attacker on the same Wi-Fi network ARP-spoofs the gateway, proxies HTTP and HTTPS, and rewrites links so the victim's browser never upgrades to HTTPS. Which attack is this?

    1. Session fixation
    2. SSL stripping Correct answer.
    3. DNS rebinding
    4. Cross-site scripting

    Explanation

    SSL stripping downgrades the victim's connection to plain HTTP by intercepting the initial request and removing or rewriting the redirect to the secure version, while the attacker keeps a separate HTTPS session to the real server. HSTS and certificate pinning are the standard mitigations because they prevent the silent downgrade.

  119. Question 119Malware Threats, Sniffing, and Social Engineering

    Which characteristic best identifies fileless malware?

    1. It stores its entire payload only inside password-protected archive files on disk
    2. It runs in memory and abuses legitimate system tools such as PowerShell and WMI Correct answer.
    3. It infects the master boot record and loads before the operating system
    4. It deletes its executable after the first reboot of the infected machine

    Explanation

    Fileless malware avoids writing a conventional executable to disk, instead executing in memory and using signed, built-in utilities, a technique often called living off the land, which leaves few artifacts for file-based scanning. Detection therefore depends on memory analysis and monitoring of script and process behaviour.

  120. Question 120Malware Threats, Sniffing, and Social Engineering

    On a switched network, which technique can reveal a host running a packet sniffer in promiscuous mode?

    1. Comparing the initial TTL values carried in ICMP echo replies from each host on the segment
    2. Querying the SNMP sysDescr object on every host to compare advertised operating system versions
    3. Sending ARP frames with a bogus destination IP and checking which hosts cached it Correct answer.
    4. Sending a TCP SYN to closed ports on every host and recording which hosts return a reset

    Explanation

    A NIC in promiscuous mode passes frames to the stack even when the destination MAC is not its own, so a host that is not the intended recipient will still process a unicast ARP frame carrying a bogus IP and add the entry to its cache. Normal hosts discard the frame without touching their ARP table, which makes the cached bogus entry a reliable indicator.

  121. Question 121Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    During a SYN flood, which server-side resource is exhausted by the attacker's packets?

    1. The switch table mapping MAC addresses to switch ports
    2. The cache mapping IP addresses to hardware addresses
    3. The backlog of half-open TCP connections awaiting ACK Correct answer.
    4. The resolver cache holding recently queried domain names

    Explanation

    A SYN flood sends many SYN segments from spoofed or unreachable sources and never completes the three-way handshake. Each SYN causes the server to allocate a transmission control block in its connection backlog, and these entries persist until they time out, so legitimate clients can no longer be served.

  122. Question 122Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    An attacker sends ICMP echo requests to a network's broadcast address with the source address set to the victim's IP. Which attack is this?

    1. Teardrop attack
    2. Fraggle attack
    3. Smurf attack Correct answer.
    4. Ping of death

    Explanation

    A Smurf attack directs broadcast ICMP echo requests with a spoofed victim source address, so every host on the amplified network replies to the victim at once. The Fraggle variant performs the same trick using UDP echo traffic rather than ICMP.

  123. Question 123Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    What does session hijacking mean in the context of web applications?

    1. Recovering a password hash offline through brute force
    2. Injecting operating system commands through a web form
    3. Taking over an already authenticated session by stealing its identifier Correct answer.
    4. Flooding a server until legitimate users cannot connect

    Explanation

    Session hijacking occurs after authentication succeeds: the attacker obtains the session identifier (by sniffing, XSS, or prediction) and presents it to the server, which treats the attacker as the logged-in user. No password is needed because the token itself is the proof of identity.

  124. Question 124Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    What is the primary purpose of deploying a honeypot?

    1. To balance client requests across a pool of web servers
    2. To encrypt traffic between two remote branch offices
    3. To lure attackers and record their activity for analysis Correct answer.
    4. To block malicious traffic before it reaches production hosts

    Explanation

    A honeypot is a decoy system with no legitimate production role, so any interaction with it is suspicious by definition. It exists to attract attackers, capture their tools and techniques, and generate early-warning intelligence.

  125. Question 125Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Why is a DNS amplification attack effective against the victim?

    1. A small spoofed query triggers a much larger response sent to the victim Correct answer.
    2. The attacker completes the handshake from many spoofed source addresses
    3. The attacker opens many half-open connections to the open resolver
    4. The attacker encrypts the payload so filtering devices cannot inspect it

    Explanation

    The attacker spoofs the victim's address in queries sent to open recursive resolvers, so large DNS responses are delivered to the victim. Because the response is many times larger than the request, modest attacker bandwidth produces a much larger flood at the target.

  126. Question 126Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which cookie attribute most directly limits the impact of cross-site scripting stealing a session token?

    1. HttpOnly flag Correct answer.
    2. Secure flag
    3. SameSite=Strict attribute
    4. Domain attribute

    Explanation

    The HttpOnly attribute prevents client-side scripts from reading the cookie through document.cookie, so an injected script cannot exfiltrate the session token. The Secure flag only restricts transmission to encrypted channels, and SameSite only restricts when the browser attaches the cookie to cross-site requests.

  127. Question 127Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which description matches a session fixation attack?

    1. Replaying a captured authentication hash against the server
    2. Planting a known session ID so the victim authenticates into that session Correct answer.
    3. Brute-forcing token values until a valid session is found
    4. Reading the token from the wire after stripping TLS from the connection

    Explanation

    In session fixation the attacker supplies the victim with a session identifier the attacker already knows, for example through a URL parameter or a planted cookie. When the victim logs in, the server binds authenticated state to that identifier and the attacker, who already holds it, is now logged in too.

  128. Question 128Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    To inject data into an established TCP session, what must an attacker determine about the connection?

    1. The MAC address of the target's default gateway
    2. The current sequence and acknowledgment numbers in use Correct answer.
    3. The private key used by the server's TLS certificate
    4. The victim's plaintext account password

    Explanation

    A receiving host accepts only segments whose sequence numbers fall inside the current receive window, so injected packets must carry the correct sequence and acknowledgment values. When the attacker cannot sniff the traffic, these values must be predicted, which is the basis of blind TCP hijacking.

  129. Question 129Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    An IDS alerts whenever observed traffic deviates from a learned profile of normal network activity. Which detection method is it using?

    1. Reputation-based blacklisting
    2. Honeypot correlation
    3. Signature-based detection
    4. Anomaly-based detection Correct answer.

    Explanation

    Anomaly-based detection builds a baseline of expected behavior and flags deviations from that baseline, which lets it catch previously unseen attacks. Its weakness is a higher false positive rate because legitimate but unusual activity also deviates from the profile.

  130. Question 130Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    An attacker must exfiltrate data through a firewall that permits only DNS requests to an internal resolver. Which technique applies?

    1. Splitting the data into many tiny IP fragments
    2. ARP poisoning of the internal gateway
    3. Flooding the resolver until it fails open
    4. Tunneling the data inside DNS query and response records Correct answer.

    Explanation

    Protocol tunneling hides one protocol's payload inside another protocol that the firewall already permits. Because outbound DNS to the resolver is allowed, encoding data in query names and response records carries it past the filtering rule.

  131. Question 131Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    An attacker rebuilds the payload so that its byte pattern differs on every attempt and existing IDS signatures stop matching. Which evasion method is this?

    1. Packet padding
    2. IP fragmentation
    3. Polymorphic encoding Correct answer.
    4. Session splicing

    Explanation

    Polymorphic techniques mutate the encoding of the payload, often by inserting a variable decoding routine, so the byte sequence the IDS searches for never appears twice. Signature-based engines must then rely on behavioral or heuristic detections instead of fixed strings.

  132. Question 132Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    How does a low-interaction honeypot differ from a high-interaction honeypot?

    1. It runs a full operating system with genuinely vulnerable services
    2. It records only flow metadata and captures no payload content
    3. It emulates a limited set of services without exposing a real OS Correct answer.
    4. It is always placed outside the perimeter ahead of the DMZ

    Explanation

    A low-interaction honeypot emulates a small number of services and replies with scripted responses, so it is safe to deploy but captures little post-exploitation activity. A high-interaction honeypot exposes a real operating system and services, yielding richer intelligence at the risk of the attacker gaining a foothold.

  133. Question 133Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which attack crashes a target by sending IP fragments with overlapping, invalid offset values during reassembly?

    1. Smurf
    2. Slowloris
    3. Teardrop Correct answer.
    4. SYN flood

    Explanation

    The Teardrop attack crafts fragments whose offset and length fields overlap, so the target cannot reassemble them consistently and may crash or hang. It abuses flaws in the IP reassembly code rather than exhausting connection or bandwidth resources.

  134. Question 134Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which technique holds many connections to a web server open by transmitting HTTP headers extremely slowly?

    1. DNS amplification
    2. Slowloris Correct answer.
    3. UDP flood
    4. Ping of death

    Explanation

    Slowloris opens numerous connections and sends incomplete request headers a few bytes at a time, so the server keeps each connection alive waiting for the rest of the request. Because the requests never finish, worker threads or connection slots are consumed with very little attacker bandwidth.

  135. Question 135Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which control most directly prevents an attacker on the same wireless network from capturing a usable session token?

    1. Limiting login attempts per source IP address
    2. Enforcing TLS for all traffic and marking cookies Secure Correct answer.
    3. Requiring a CAPTCHA on the login form
    4. Rotating the session identifier after every page load

    Explanation

    Passive capture on a shared wireless network only yields a usable token when the traffic is readable, so encrypting all session traffic with TLS removes the exposure. The Secure attribute complements this by stopping the browser from ever sending the cookie over plaintext HTTP.

  136. Question 136Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which firewall capability allows return traffic for an outbound connection without an explicit inbound rule?

    1. Static packet filtering based on ACLs
    2. Stateful inspection of the connection table Correct answer.
    3. Application-layer proxy authentication
    4. Network address translation of internal addresses

    Explanation

    A stateful firewall records each permitted outbound flow in a connection table and automatically allows the matching return packets. A stateless packet filter evaluates every packet in isolation and therefore needs a separately written inbound rule.

  137. Question 137Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which service has been abused for DDoS reflection with amplification factors in the tens of thousands, because a tiny UDP request can return a very large cached value?

    1. SNMP GET on UDP port 161
    2. Memcached over UDP port 11211 Correct answer.
    3. DNS over UDP port 53
    4. NTP mode 6 monitoring on port 123

    Explanation

    Memcached instances exposed on UDP can return a large cached item in response to a very small request, giving amplification ratios far beyond those of classic reflectors such as DNS or NTP. Attackers spoof the victim's address so the oversized replies are all directed at the target.

  138. Question 138Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    Which evasion class exploits differences between how an IDS and the target operating system reassemble overlapping IP fragments?

    1. Session splicing
    2. Fragment overlap ambiguity Correct answer.
    3. TTL-based filtering
    4. TCP window shrinking

    Explanation

    Operating systems differ in whether they favor the first or last fragment when offsets overlap, and an IDS may make the opposite choice from the target. The attacker crafts overlapping fragments so the sensor sees benign data while the host reassembles the malicious payload.

  139. Question 139Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    During TCP session hijacking, what causes an ACK storm?

    1. The attacker floods the server with spoofed SYN segments
    2. The intrusion detection system resets the connection after detecting injection
    3. Each endpoint keeps acknowledging sequence numbers the other never sent Correct answer.
    4. The hijacked host broadcasts gratuitous ARP replies

    Explanation

    After the attacker injects packets with unexpected sequence numbers, both legitimate endpoints receive acknowledgments that do not match their state. Each replies with an ACK carrying its expected sequence number, which the other side answers in turn, producing a loop of ACKs that degrades the connection and the network until packets are dropped or the session resets.

  140. Question 140Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

    What distinguishes a reflected DDoS attack from a direct volumetric DDoS attack?

    1. Reflected attacks come from a botnet of hosts the attacker has compromised
    2. Reflected attacks carry only TCP traffic while direct attacks carry only UDP
    3. Reflected attacks require completing a TCP handshake with every reflector first
    4. Reflected replies come from legitimate servers answering a spoofed source address Correct answer.

    Explanation

    In a reflection attack the attacker never controls the responding systems; they are legitimate public services that answer requests carrying the victim's spoofed source address. In a direct volumetric attack the traffic is generated by compromised hosts the attacker does control, which makes the source infrastructure traceable.

  141. Question 141Hacking Web Servers, Web Applications, and SQL Injection

    A web application responds to a request with HTTP status code 403. What does this status indicate?

    1. The requested resource does not exist on the server
    2. The request is understood but authorization is refused Correct answer.
    3. The server hit an unhandled internal error while processing
    4. The request succeeded and the response body carries the requested resource

    Explanation

    403 Forbidden means the server received and understood the request but will not fulfil it for the current identity, and re-authenticating usually will not help. It is distinct from 401 Unauthorized, which signals missing or invalid credentials, and from 404, which signals a missing resource.

  142. Question 142Hacking Web Servers, Web Applications, and SQL Injection

    Which technique most directly reveals the software name and version a web server is running?

    1. Reading the Server header in the HTTP response Correct answer.
    2. Requesting a zone transfer from the authoritative name server
    3. Querying DNS TXT records for the domain
    4. Reviewing the entries listed in robots.txt

    Explanation

    Many web servers advertise their product and version in the Server response header unless that disclosure has been suppressed. Header inspection is therefore the quickest fingerprinting step, and hardening guides recommend removing or truncating the banner.

  143. Question 143Hacking Web Servers, Web Applications, and SQL Injection

    An attacker appends ' UNION SELECT username, password FROM users-- - to a product-detail query that returns two columns. Which condition must hold for this attack to work?

    1. The users table must be owned by the account the application connects with
    2. The parameter must be submitted with POST rather than GET
    3. The backend database engine must be Microsoft SQL Server 2019
    4. The injected query must return the same column count as the original query Correct answer.

    Explanation

    A UNION statement requires every participating SELECT to expose the same number of columns with compatible data types, otherwise the database raises an error. Attackers therefore determine the column count first, often with ORDER BY or NULL padding, before injecting the data-extraction query.

  144. Question 144Hacking Web Servers, Web Applications, and SQL Injection

    A page renders identically no matter what the query returns, but requests containing ' AND 1=1 complete quickly while requests containing ' AND SLEEP(5)-- - take about five seconds. Which class of SQL injection is being exploited?

    1. Blind time-based injection Correct answer.
    2. Out-of-band injection via DNS
    3. Error-based in-band injection
    4. Union-based in-band injection

    Explanation

    When no query output or error text reaches the attacker, inference can be made through response timing, which is the definition of time-based blind SQL injection. The attacker encodes each yes/no question as a conditional delay and reads the answer from the elapsed time.

  145. Question 145Hacking Web Servers, Web Applications, and SQL Injection

    A request for download.aspx?file=../../../../etc/passwd returns the contents of /etc/passwd. Which vulnerability does this demonstrate?

    1. Path traversal Correct answer.
    2. Cross-site scripting
    3. SQL injection
    4. Command injection

    Explanation

    Path traversal, also called directory traversal, occurs when user-supplied input is used to build a filesystem path without restricting it to an intended directory. Dot-dot-slash sequences let the attacker escape the base directory and read arbitrary files the web process can access.

  146. Question 146Hacking Web Servers, Web Applications, and SQL Injection

    A script submitted in a comment field is saved to the database and runs in the browser of every visitor who views the comment page. Which type of cross-site scripting is this?

    1. DOM-based XSS
    2. Stored XSS Correct answer.
    3. Reflected XSS
    4. Self-XSS

    Explanation

    Stored, or persistent, XSS occurs when the payload is saved server-side and later served to other users without proper output encoding. Because the payload executes for every viewer rather than only the person who submitted it, it is generally the most damaging XSS variant.

  147. Question 147Hacking Web Servers, Web Applications, and SQL Injection

    Which control most directly prevents cross-site request forgery against state-changing requests?

    1. Validating a per-session anti-CSRF token server-side Correct answer.
    2. Escaping all user input before rendering it in HTML pages
    3. Using parameterized queries for every database access
    4. Setting the HttpOnly and Secure flags on session cookies

    Explanation

    CSRF succeeds because the victim's browser automatically attaches ambient credentials to a forged request. A unique, unpredictable token tied to the user's session and verified on the server proves the request originated from the application itself.

  148. Question 148Hacking Web Servers, Web Applications, and SQL Injection

    PHP code executes system('ping -c 1 ' . $_GET['host']); and the attacker supplies 127.0.0.1; id. What is the result?

    1. The semicolon is escaped, so only ping runs
    2. The request fails because id is not a resolvable hostname
    3. The id command also runs and its output is returned Correct answer.
    4. Only ping executes because system() accepts a single argument

    Explanation

    The user input is concatenated into a string that is handed to a shell, so shell metacharacters such as the semicolon terminate the intended command and start a new one. This is classic OS command injection; the fix is to avoid the shell entirely and validate input against a strict allowlist.

  149. Question 149Hacking Web Servers, Web Applications, and SQL Injection

    A request to /images/ returns a page listing every file stored in that directory. Which web server misconfiguration is present?

    1. WebDAV is enabled with write access
    2. Server-side includes are enabled
    3. Directory browsing is enabled Correct answer.
    4. The TRACE method is enabled on the server

    Explanation

    Directory browsing causes the server to generate an index of a folder when no default document exists. It aids reconnaissance by exposing backup files, scripts and naming conventions that are not linked from the site.

  150. Question 150Hacking Web Servers, Web Applications, and SQL Injection

    Which practice most effectively prevents SQL injection in a login form?

    1. Escaping single quotes with a backslash before query execution
    2. Enforcing a maximum length on the username field
    3. Binding parameters in prepared statements Correct answer.
    4. Suppressing database error messages from end users

    Explanation

    Prepared statements with bound parameters separate the query structure from the data, so user input can never be reinterpreted as SQL syntax. This closes the vulnerability at the source rather than relying on filtering tricks.

  151. Question 151Hacking Web Servers, Web Applications, and SQL Injection

    A registration form safely parameterizes its INSERT and stores the username. Later, a password-change function reads that stored username and concatenates it into an UPDATE statement. Which attack does this enable?

    1. Second-order SQL injection at password change Correct answer.
    2. Reflected XSS through the username field
    3. First-order union-based injection during registration
    4. Session fixation through the username cookie

    Explanation

    Second-order SQL injection occurs when tainted data is stored safely but later reused in an unsafe query without parameterization. The payload lies dormant in the database until a different code path concatenates it into SQL, which is why every sink must be parameterized, not just the entry point.

  152. Question 152Hacking Web Servers, Web Applications, and SQL Injection

    A MongoDB-backed login endpoint runs db.users.find({username: req.body.u, password: req.body.p}). Sending {"u":{"$ne":null},"p":{"$ne":null}} authenticates the attacker. Why?

    1. The attacker supplied a valid username with an empty password
    2. MongoDB rejects objects in queries and falls back to anonymous access
    3. The JSON parser converts $ne into a SQL OR clause
    4. The $ne operator matches any document that exists Correct answer.

    Explanation

    MongoDB accepts operator objects wherever a scalar is expected, so passing {$ne: null} turns an equality test into a not-equal condition that is true for every stored document. The query then returns the first matching user and the attacker is logged in; the fix is to reject non-scalar input and cast values to the expected type.

  153. Question 153Hacking Web Servers, Web Applications, and SQL Injection

    An application fetches the URL given in the ?image= parameter from the server side. An attacker supplies http://169.254.169.254/latest/meta-data/. What is the attacker trying to accomplish?

    1. Use the server to reach cloud metadata it can access Correct answer.
    2. Overflow the buffer used by the image parser
    3. Inject SQL into the image-fetching query
    4. Make the victim's browser send the request instead

    Explanation

    This is server-side request forgery: the request originates from the application host, which can reach internal-only addresses that the attacker cannot. The 169.254.169.254 link-local address commonly exposes cloud instance metadata, including temporary credentials.

  154. Question 154Hacking Web Servers, Web Applications, and SQL Injection

    Which control set best mitigates an unrestricted file upload vulnerability?

    1. Requiring authentication and limiting each uploaded file to 2 MB
    2. Allowlisting file types and disabling execution in the upload directory Correct answer.
    3. Renaming each upload to a random UUID and storing it under the web root alongside the original
    4. Scanning each upload with antivirus and preserving the original filename

    Explanation

    A web shell requires two things: an executable script reaching the server and the server being willing to execute it. Type allowlisting blocks the first and storing files outside the document root or removing script handlers blocks the second, so both controls are needed.

  155. Question 155Hacking Web Servers, Web Applications, and SQL Injection

    A scan finds /manager/html on port 8080 returning 200 behind a Basic authentication prompt on an Apache Tomcat host. Which action is the most direct next step?

    1. Send a malformed request to overflow the manager
    2. Fuzz the Host header to enumerate virtual hosts
    3. Attempt a zone transfer for the discovered hostname
    4. Try default manager credentials and deploy a WAR Correct answer.

    Explanation

    The Tomcat Manager application accepts WAR archives and deploys them, so access with manager-script or manager-gui rights is equivalent to code execution. Installations frequently retain default or weak credentials, making credential guessing against the manager the highest-value next step.

  156. Question 156Hacking Web Servers, Web Applications, and SQL Injection

    A WAF blocks the literal token sequence UNION SELECT. Which technique is most likely to bypass this signature filter while still executing on the database?

    1. Appending a trailing semicolon and a null byte to the payload
    2. Replacing spaces with inline comments and varying case Correct answer.
    3. Base64-encoding the entire payload and appending a SQL comment
    4. Sending the same payload twice in a single HTTP request

    Explanation

    Naive signature filters match exact strings, so comment-based whitespace substitution plus mixed case produces a payload the database still parses as UNION SELECT. The filter sees different bytes; the SQL parser normalizes them back to the same keywords.

  157. Question 157Hacking Web Servers, Web Applications, and SQL Injection

    What does setting the HttpOnly attribute on a session cookie accomplish?

    1. It deletes the cookie when the browser tab is closed
    2. It limits the cookie to the issuing domain and its subdomains
    3. It blocks client-side JavaScript from reading the cookie Correct answer.
    4. It sends the cookie only over HTTPS connections

    Explanation

    HttpOnly removes the cookie from the document.cookie API, so a script injected through XSS cannot read and exfiltrate the session identifier. It reduces the impact of XSS but does not prevent the script from performing actions as the victim.

  158. Question 158Hacking Web Servers, Web Applications, and SQL Injection

    An Apache server replies to an OPTIONS request with Allow: GET, POST, PUT, DELETE. What is the most significant risk from this configuration?

    1. An attacker may upload or overwrite files Correct answer.
    2. Session cookies will be sent without the Secure flag
    3. Search engine crawlers will index unintended pages
    4. TLS termination will be bypassed for PUT requests

    Explanation

    When PUT is enabled and write permissions exist, a client can place new content on the server, and with DELETE it can remove existing content. Attackers use this to plant web shells or deface the site, so unnecessary HTTP methods should be disabled.

  159. Question 159Hacking Web Servers, Web Applications, and SQL Injection

    An attacker plants a known session identifier in a victim's browser, then waits for the victim to authenticate with it. Which attack is this?

    1. Session hijacking through cookie theft
    2. Credential stuffing
    3. Session fixation Correct answer.
    4. Cross-site request forgery

    Explanation

    Session fixation works by making the victim use an identifier the attacker already knows, so no theft is needed after login. Defences include issuing a fresh session identifier at authentication and refusing identifiers supplied by the client.

  160. Question 160Hacking Web Servers, Web Applications, and SQL Injection

    A page returns a stack trace showing the database type, table names and the failing SQL statement. Which action most reduces the risk this presents?

    1. Adding the Secure flag to the session cookie
    2. Showing a generic error page and logging details Correct answer.
    3. Increasing the session timeout value
    4. Upgrading the web server to the latest stable release

    Explanation

    Verbose errors give attackers the schema and query structure needed to craft precise injections, so production systems should fail generically while retaining full detail in server-side logs. The diagnostic information is preserved for defenders without being disclosed to the client.

  161. Question 161Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which 802.11 encryption scheme is considered broken mainly because it reuses short initialization vectors, allowing an attacker to recover the keystream?

    1. WPA2-CCMP
    2. WEP Correct answer.
    3. WPA3-SAE
    4. WPA2-Enterprise with EAP-TLS

    Explanation

    WEP uses a 24-bit initialization vector that repeats quickly on a busy network; once enough frames share an IV, the keystream can be recovered and the key derived. CCMP and SAE were designed specifically to replace this weak construction.

  162. Question 162Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    An attacker on a wireless assessment transmits 802.11 management frames telling clients they are leaving the network, forcing repeated reassociation. Which attack is being performed?

    1. Deauthentication flood Correct answer.
    2. WPS PIN brute forcing
    3. Evil twin access point deployment
    4. PMKID capture from EAPOL

    Explanation

    Forged deauthentication frames are unauthenticated management frames (unless 802.11w is enforced) that terminate a client's association. Sending them repeatedly is a deauthentication flood, typically used to push handshakes into the air for capture.

  163. Question 163Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Why can the WPS PIN on many consumer access points be recovered in roughly 11,000 attempts?

    1. The PIN is sent in cleartext in the M8 message
    2. The PIN is validated in two halves Correct answer.
    3. The registrar accepts an unlimited number of attempts
    4. The PIN is derived from the SSID and is therefore predictable

    Explanation

    The 8-digit WPS PIN is checked as two segments, the first four digits and the last three, with the eighth digit acting as a checksum. That reduces the search space to about 10^4 + 10^3, or roughly 11,000 guesses.

  164. Question 164Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    How did the Mirai botnet primarily recruit the devices that formed its attack network?

    1. By exploiting a heap overflow in the Linux TCP stack
    2. By hijacking DNS resolution through BGP route leaks
    3. By spreading over Bluetooth to nearby Android handsets
    4. By logging in with default IoT credentials Correct answer.

    Explanation

    Mirai scanned the internet for exposed IoT devices such as cameras and routers, then logged in using a short list of well-known default telnet and SSH credentials. Each infected device became a bot used for volumetric DDoS.

  165. Question 165Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    What does rooting an Android device actually change?

    1. Unlocks the baseband firmware to accept foreign SIM cards
    2. Removes the device IMEI from the carrier's equipment identity register
    3. Permanently disables the hardware-backed keystore
    4. Gives the user superuser control of the operating system Correct answer.

    Explanation

    Rooting installs an su binary and a privilege manager so that authorised processes can run as UID 0. It alters the Android security model itself, not the device's cellular identity or modem firmware.

  166. Question 166Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which Bluetooth attack involves pulling contacts, calendar entries and other data from a victim device without the owner's knowledge?

    1. Bluebugging
    2. BlueBorne
    3. Bluesnarfing Correct answer.
    4. Bluejacking

    Explanation

    Bluesnarfing is unauthorised data extraction over an OBEX or RFCOMM channel from a discoverable device. Bluejacking only sends unsolicited messages, BlueBorne is a set of over-the-air code execution flaws, and Bluebugging establishes full command control.

  167. Question 167Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    An attacker replays message 3 of the WPA2 four-way handshake so the client reinstalls an already-in-use key, resetting the nonce and packet counter. Which attack is this?

    1. PMKID attack
    2. Dragonblood
    3. KRACK Correct answer.
    4. Evil twin with captive portal

    Explanation

    KRACK (Key Reinstallation Attack) exploits the state machine of the four-way handshake, forcing a key reinstallation that resets the transmit nonce. This enables decryption of frames and, with some cipher suites, frame injection.

  168. Question 168Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which technique obtains a value from the RSN information element of the AP's first EAPOL frame so the Wi-Fi password can be cracked offline without a full handshake or a waiting client?

    1. WPS registrar brute force
    2. PMKID attack Correct answer.
    3. FragAttacks
    4. Deauthentication attack

    Explanation

    The PMKID is computed as HMAC-SHA1-128(PMK, "PMK Name" || AP MAC || STA MAC) and some access points include it in the first EAPOL message. An attacker who associates can request that frame and crack the captured value offline.

  169. Question 169Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    A wireless tester spots two BSSIDs advertising the same corporate SSID, one from an unfamiliar vendor OUI with a stronger signal, and clients associating to it receive a different default gateway. What is the most likely explanation?

    1. A legitimate roaming configuration across two controllers
    2. A WPA3 transition-mode artefact
    3. A hidden SSID broadcast anomaly
    4. An evil twin rogue access point Correct answer.

    Explanation

    A rogue AP cloning the SSID with a stronger signal and issuing its own DHCP scope matches the evil twin pattern, used to intercept traffic or serve a credential-harvesting portal. Legitimate controller pairs keep a consistent network configuration and use enrolled infrastructure hardware.

  170. Question 170Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    The Dragonblood research disclosed weaknesses in early WPA3-Personal deployments. What did it primarily demonstrate?

    1. Side-channel leaks that partition the SAE password Correct answer.
    2. Key reinstallation during the WPA2 four-way handshake
    3. Predictable WPS PIN generation by the registrar
    4. Reuse of WEP initialization vectors across frames

    Explanation

    Dragonblood found timing and cache-based side channels in the SAE (Dragonfly) exchange that let an attacker narrow down the password, along with downgrade and denial-of-service issues. Vendors responded with constant-time implementations and patches.

  171. Question 171Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which Android developer option lets a host computer with an authorised RSA key install packages and open a shell on the device over USB?

    1. Verify apps over USB
    2. USB debugging (ADB) Correct answer.
    3. OEM unlocking
    4. Install unknown apps

    Explanation

    USB debugging exposes the Android Debug Bridge daemon, which accepts host commands once the device owner approves the host's RSA fingerprint. It is a legitimate development feature but also a common post-exploitation path on an unlocked device.

  172. Question 172Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which iOS distribution route lets an organisation push apps to employee devices without App Store review and has been abused when signing certificates leak?

    1. Ad Hoc provisioning to registered UDIDs
    2. App Store volume purchase programme
    3. TestFlight beta distribution
    4. Enterprise in-house distribution Correct answer.

    Explanation

    Apple's enterprise (in-house) programme issues provisioning profiles that let an organisation sign and distribute its own apps to employees outside App Store review. Leaked or misused enterprise certificates have been used to push malware and grey-market apps at scale.

  173. Question 173Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Many IoT deployments expose an MQTT broker on TCP 1883 with anonymous access enabled. What is the main security consequence?

    1. Any unauthenticated client can read all published telemetry Correct answer.
    2. Clients are forced to negotiate TLS 1.3 sessions
    3. Messages are compressed with an insecure algorithm
    4. The broker automatically bridges to the public internet

    Explanation

    MQTT topic subscriptions are the access-control boundary; if anonymous clients may subscribe to the wildcard '#' they receive every message on the broker. Port 1883 is also cleartext, so credentials and payloads are readable in transit.

  174. Question 174Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which statement about Modbus/TCP is accurate?

    1. It performs a challenge-response before executing function codes
    2. It encrypts payloads with a shared key distributed by the master station
    3. It requires mutual TLS between master and slave
    4. It lacks authentication, so any host on port 502 can send commands Correct answer.

    Explanation

    Modbus/TCP was designed for serial-to-Ethernet bridging and carries no session authentication, integrity checking or encryption; function codes execute on request. Defence therefore relies on segmentation, firewalls and protocol-aware monitoring rather than on the protocol.

  175. Question 175Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    In the Purdue enterprise reference model for ICS, which level is designated as the industrial demilitarised zone at the IT/OT boundary?

    1. Level 3.5 Correct answer.
    2. Level 5
    3. Level 2
    4. Level 0

    Explanation

    Purdue levels run from 0 (physical process) through 1 (basic control), 2 (supervisory) and 3 (site operations) up to 4 and 5 in the enterprise. Level 3.5 is the DMZ that brokers traffic between the plant and enterprise zones.

  176. Question 176Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which IEEE 802.15.4-based mesh standard used in building automation protects frames with a single network-wide key that, once recovered, lets an attacker decrypt and inject traffic?

    1. NB-IoT
    2. Zigbee Correct answer.
    3. Sigfox
    4. LoRaWAN

    Explanation

    Zigbee nodes share a network key used to protect link-layer frames, so recovering that key (for example from a weakly protected trust centre or via the well-known default link key) compromises the whole mesh. Because encryption is hop-by-hop, one key exposes all traffic.

  177. Question 177Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    Which malware family targeted Schneider Electric Triconex safety instrumented systems by reimplementing the proprietary TriStation protocol to alter the logic running on the controllers?

    1. TRITON (Trisis) Correct answer.
    2. Industroyer
    3. BlackEnergy
    4. Stuxnet

    Explanation

    TRITON, also tracked as Trisis or HatMan, was built to speak TriStation to Triconex SIS controllers and could modify or disable safety logic. It is notable for attacking safety systems rather than the process-control layer.

  178. Question 178Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    DNP3 Secure Authentication version 5 was added to address which gap in the original DNP3 specification?

    1. Confidentiality of polled measurement values in transit
    2. Compression of high-volume time-series data
    3. Rate limiting of unsolicited response frames
    4. Authentication of critical control requests Correct answer.

    Explanation

    DNP3 SAv5 adds a challenge-response HMAC mechanism that authenticates critical function codes such as operate, direct operate and cold restart. It provides integrity and origin authentication but not confidentiality, so payloads still travel in the clear.

  179. Question 179Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    An attacker places one device near a victim's phone and another near a payment terminal, forwarding contactless traffic between them in real time so the short-range assumption is defeated. What is this called?

    1. Magnetic stripe shimming
    2. EMV fallback downgrade
    3. NFC relay attack Correct answer.
    4. Bump and ghost

    Explanation

    An NFC relay extends the contactless link beyond its physical range by tunnelling APDUs between two coupled devices, so the terminal believes the card is present. Countermeasures include distance bounding and short transaction time limits.

  180. Question 180Hacking Wireless Networks, Mobile Platforms, IoT, and OT

    An attacker configures a rogue AP to answer every probe request with the SSID that was probed and with a BSSID the client expects, so nearby devices associate automatically. Which technique is this?

    1. Captive portal phishing
    2. Beacon flooding
    3. Channel switch announcement abuse
    4. KARMA attack Correct answer.

    Explanation

    The KARMA attack exploits client behaviour that treats a matching probe response as a known network, making the attacker an auto-connect target for every SSID in the client's preferred network list. Modern variants such as mana also harvest and replay probe requests.

  181. Question 181Cloud Computing and Cryptography

    In which cloud service model does the customer retain the greatest responsibility for managing the operating system, middleware, and runtime?

    1. Function as a Service (serverless)
    2. Software as a Service
    3. Platform as a Service
    4. Infrastructure as a Service Correct answer.

    Explanation

    In IaaS the provider manages the facility, hardware, and hypervisor, while the customer patches and configures the guest operating system and everything running above it. Higher-level models shift OS and runtime management to the provider.

  182. Question 182Cloud Computing and Cryptography

    Which essential characteristic of cloud computing, as defined by NIST, describes a provider's capability to serve multiple consumers from a shared pool of configurable resources?

    1. Rapid elasticity
    2. On-demand self-service
    3. Measured service
    4. Resource pooling Correct answer.

    Explanation

    Resource pooling describes multi-tenant assignment of pooled compute, storage, and network resources to many consumers. The other characteristics describe scaling, metering, and self-provisioning rather than sharing.

  183. Question 183Cloud Computing and Cryptography

    A hypervisor that runs directly on the physical host hardware without an intervening general-purpose operating system is classified as which type?

    1. Hosted virtualization layer
    2. Type 1 hypervisor Correct answer.
    3. Type 2 hypervisor
    4. OS-level container runtime

    Explanation

    Type 1 hypervisors, also called bare-metal hypervisors, execute directly on the hardware and control the guest virtual machines themselves. Type 2 hypervisors sit on top of a conventional host operating system.

  184. Question 184Cloud Computing and Cryptography

    Which set of key sizes is supported by the Advanced Encryption Standard?

    1. 128, 192, and 256 bits Correct answer.
    2. 128, 256, and 512 bits
    3. 64, 128, and 256 bits
    4. 56, 112, and 168 bits

    Explanation

    AES is defined with three key lengths: 128, 192, and 256 bits, corresponding to 10, 12, and 14 rounds. Other listed sizes belong to older algorithms or are not valid AES lengths.

  185. Question 185Cloud Computing and Cryptography

    A cloud deployment model in which the infrastructure is provisioned for exclusive use by a single organization is known as:

    1. Community cloud
    2. Public cloud
    3. Private cloud Correct answer.
    4. Hybrid cloud

    Explanation

    A private cloud is provisioned for exclusive use by a single organization comprising multiple consumers. The other models involve open use by the general public, shared use by a specific community, or a composition of two or more distinct models.

  186. Question 186Cloud Computing and Cryptography

    Which property of a cryptographic hash function makes it computationally infeasible to determine the original input from a hash value?

    1. Key whitening
    2. Preimage resistance Correct answer.
    3. Collision resistance
    4. Avalanche effect

    Explanation

    Preimage resistance means that given a digest, finding any input that hashes to it is infeasible, which is the one-way property. Collision resistance concerns finding two distinct inputs with the same digest.

  187. Question 187Cloud Computing and Cryptography

    Under the cloud shared responsibility model for a virtual machine hosted on IaaS, which task belongs to the customer?

    1. Securing the data center facility
    2. Maintaining the underlying network fabric
    3. Patching the physical host hypervisor
    4. Patching the guest operating system Correct answer.

    Explanation

    The provider owns security of the facility, hardware, hypervisor, and physical network, while the customer secures everything from the guest OS upward, including applications and data. Guest OS patching therefore falls to the customer.

  188. Question 188Cloud Computing and Cryptography

    An organization discovers that objects in a cloud storage bucket can be read by anyone who knows the object URL. Which control most directly prevents this exposure?

    1. Enabling versioning on the bucket
    2. Configuring cross-region replication
    3. Enabling server-side encryption with provider-managed keys
    4. Blocking public access at the bucket level Correct answer.

    Explanation

    Anonymous readability results from permissive bucket policies or object ACLs, and a public access block overrides those settings to deny anonymous grants. The other controls change durability, at-rest protection, or availability without removing public readability.

  189. Question 189Cloud Computing and Cryptography

    Which technology is placed between cloud users and cloud services to enforce data loss prevention and visibility over both sanctioned and unsanctioned SaaS usage?

    1. Virtual desktop infrastructure
    2. Web application firewall
    3. Cloud access security broker Correct answer.
    4. Security information and event management

    Explanation

    A cloud access security broker sits inline or in API mode between consumers and cloud providers to discover shadow IT, enforce policy, and apply DLP controls. The other technologies address application attacks, desktop delivery, or log aggregation.

  190. Question 190Cloud Computing and Cryptography

    Which protocol is most commonly used to pass authentication and authorization assertions from an enterprise identity provider to a SaaS application?

    1. RADIUS
    2. IPsec
    3. Kerberos
    4. SAML Correct answer.

    Explanation

    SAML is an XML-based framework in which an identity provider issues signed assertions that a service provider consumes to establish a federated session. It is the classic standard for browser-based single sign-on to SaaS.

  191. Question 191Cloud Computing and Cryptography

    Compared with virtual machines, what is a key security characteristic of containers?

    1. Containers rely on hardware virtualization for isolation
    2. Containers share the host kernel and its exploit surface Correct answer.
    3. Each container runs its own complete guest operating system kernel
    4. Containers cannot be confined by Linux security modules

    Explanation

    Containers are isolated processes on a shared host kernel, so a kernel-level exploit can cross container boundaries. Virtual machines each carry a separate guest kernel behind a hypervisor boundary.

  192. Question 192Cloud Computing and Cryptography

    A digital signature applied to a message provides which combination of security services?

    1. Confidentiality and non-repudiation only
    2. Integrity, authentication, and non-repudiation Correct answer.
    3. Confidentiality, integrity, and availability
    4. Authentication and confidentiality only

    Explanation

    A signature is produced over a message digest with the signer's private key, so any alteration breaks verification and only the key holder could have produced it. It does not conceal the message content.

  193. Question 193Cloud Computing and Cryptography

    When a client validates a server certificate during a TLS connection, which check must succeed before the certificate is trusted?

    1. It was issued using symmetric encryption
    2. It chains to a trusted root and matches the hostname Correct answer.
    3. It is stored in the provider's hardware security module
    4. Its public key matches the client's session key

    Explanation

    The client builds a chain from the server certificate up to a locally trusted root, verifying each signature, validity period, and the subject alternative names against the requested host. Failure of any of these checks aborts the connection.

  194. Question 194Cloud Computing and Cryptography

    After a TLS handshake completes, which key protects the application data exchanged between client and server?

    1. The server's long-term RSA private key
    2. The root CA's signing key
    3. The client's public key
    4. A shared symmetric session key Correct answer.

    Explanation

    The handshake authenticates the parties and derives shared symmetric keys, which are then used with an AEAD cipher to protect bulk data efficiently. Asymmetric keys are used only for authentication and key establishment.

  195. Question 195Cloud Computing and Cryptography

    Which security service does Galois/Counter Mode add beyond confidentiality?

    1. Non-repudiation
    2. Perfect forward secrecy
    3. Key exchange
    4. Authenticated integrity Correct answer.

    Explanation

    GCM is an authenticated encryption mode that combines counter-mode encryption with a GHASH message authentication code, so tampering with ciphertext or associated data is detected. It does not perform key exchange or prove who sent the data.

  196. Question 196Cloud Computing and Cryptography

    In an asymmetric cryptosystem used to send a confidential message to Alice, which key does the sender use to encrypt?

    1. The sender's private key
    2. Alice's private key
    3. Alice's public key Correct answer.
    4. The sender's public key

    Explanation

    The sender encrypts with Alice's public key so that only Alice's matching private key can decrypt. Using the sender's private key would sign rather than conceal the message.

  197. Question 197Cloud Computing and Cryptography

    An attacker achieves server-side request forgery against a cloud virtual machine. Which address is commonly queried to retrieve the instance's temporary role credentials?

    1. 127.0.0.1
    2. 169.254.169.254 Correct answer.
    3. 192.168.0.1
    4. 10.0.0.1

    Explanation

    Cloud providers expose an instance metadata service on the link-local address 169.254.169.254, and it can return IAM credentials associated with the instance profile. SSRF lets an attacker make the instance fetch that address on their behalf.

  198. Question 198Cloud Computing and Cryptography

    An unauthenticated Diffie-Hellman key exchange is exposed to which attack?

    1. Birthday collision search
    2. Man-in-the-middle key substitution Correct answer.
    3. Rainbow table precomputation
    4. Chosen-ciphertext padding oracle attack

    Explanation

    Because the exchange proves nothing about the identity of the peers, an active attacker can complete a separate exchange with each side and relay traffic. Binding the exchange to authenticated identities, as in TLS with certificates, closes this gap.

  199. Question 199Cloud Computing and Cryptography

    Why should Electronic Codebook mode be avoided when encrypting structured data?

    1. Identical plaintext blocks produce identical ciphertext Correct answer.
    2. It cannot be accelerated by hardware in any form
    3. It requires a unique nonce for every plaintext block
    4. It expands the ciphertext by one full block per message

    Explanation

    ECB encrypts each block independently with the same key, so repeated plaintext blocks yield repeated ciphertext blocks and reveal structure in the data. A mode with chaining or a nonce, such as CBC or GCM, hides these patterns.

  200. Question 200Cloud Computing and Cryptography

    In a cloud key management service, what does envelope encryption refer to?

    1. Encrypting data with a data key that is itself encrypted by a master key Correct answer.
    2. Deriving a fresh data key from the user's password on each request
    3. Storing the data key in plaintext beside the encrypted object
    4. Signing every stored object with the organization's long-term private key

    Explanation

    Envelope encryption generates a data key to encrypt the object, then wraps that data key with a key encryption key held in the KMS or HSM. Only the small wrapped key needs protection by the master key, which limits how often the master key is used.

CEH flashcards

32 cards. Read the term and the definition here. The deck at the top of this page is optional.

CIA Triad
Confidentiality, integrity, and availability are the three core security objectives: preventing unauthorized disclosure, preventing unauthorized modification, and ensuring timely, reliable access for authorized users.
Single Loss Expectancy
The monetary loss from one incident, calculated as asset value multiplied by exposure factor. Annualized loss expectancy equals SLE multiplied by the annualized rate of occurrence.
DNS Zone Transfer
A secondary DNS server pulls the complete zone record set from the primary over TCP port 53; when unrestricted, an attacker obtains every hostname and IP address in the domain.
Google Dork
A search operator such as site:, filetype:, inurl:, or intitle: used to surface exposed files, login portals, and indexed sensitive content that ordinary queries never reveal.
SYN Stealth Scan
Nmap -sS sends only a SYN. A SYN/ACK response means the port is open, a RST/ACK means closed, and the handshake is never completed so the target logs fewer traces.
XMAS Scan
A TCP scan setting FIN, PSH, and URG. Closed ports reply with RST while open ports stay silent, so it works only against stacks that follow RFC 793 behaviour.
SNMP Enumeration
Querying UDP port 161 with a valid community string, often the default public or private, to extract interfaces, ARP tables, processes, and sometimes credentials from MIB objects.
CVSS Base Score
A 0.0 to 10.0 severity rating derived from exploitability and impact metrics, banded as None 0.0, Low 0.1-3.9, Medium 4.0-6.9, High 7.0-8.9, and Critical 9.0-10.0.
False Positive
A scanner finding that reports a vulnerability which is not actually present or exploitable. It wastes remediation effort, while a false negative leaves real risk unaddressed.
Pass-the-Hash
Authenticating with a captured NTLM hash instead of the plaintext password, so no cracking is required. Mitigated by disabling NTLM, credential guard, and tiered administrative accounts.
Rainbow Table
A precomputed lookup table mapping hashes back to plaintext, trading storage for cracking speed. Salting each hash defeats rainbow tables because every salt needs its own table.
Polymorphic Virus
Malware that mutates its own code, often by encrypting the payload with a changing key, on each infection so signature-based antivirus cannot match a fixed byte pattern.
Rootkit
Programs that conceal an attacker's presence by subverting the kernel or system libraries. Detection requires offline scanning or external integrity checks rather than the infected operating system.
ARP Spoofing
Sending forged ARP replies that bind the attacker's MAC address to a victim's IP, enabling man-in-the-middle sniffing on a switched LAN. Dynamic ARP Inspection is the primary mitigation.
Spear Phishing
A targeted phishing message crafted with researched details about a specific person or team to increase credibility and trigger a click, download, or credential entry.
Smurf Attack
A denial-of-service technique that sends ICMP echo requests to a network broadcast address with the victim's spoofed source IP, so every host amplifies replies toward the victim.
Slowloris
A low-bandwidth application-layer attack that opens many partial HTTP requests and keeps them open, exhausting the web server's connection table using very little attacker traffic.
Session Fixation
The attacker plants a known session identifier on the victim, who then authenticates with it; the attacker reuses the now-privileged identifier. Regenerating IDs at login prevents it.
IDS Versus IPS
An IDS copies traffic passively and raises alerts, while an IPS sits inline and can drop malicious packets. An IDS cannot block but adds no latency to the data path.
Honeypot
A decoy system with no production role that lures attackers and records their activity. High-interaction honeypots provide real operating system access at greater containment risk.
HTTP PUT Method
An HTTP/WebDAV method that uploads a file to the server when write permission is enabled, a misconfiguration that lets attackers place web shells inside the document root.
Directory Traversal
Using ../ sequences or encoded variants such as %2e%2e%2f in a request path to climb outside the web root and read files like /etc/passwd or boot.ini.
Blind SQL Injection
The application returns no query output or error text, so the attacker infers data by asking true/false questions or by measuring time delays from conditional statements.
Stored XSS
Malicious script is saved server-side in a comment, profile, or forum post and executes in every visitor's browser. Mitigated by contextual output encoding and Content Security Policy.
Parameterized Query
A prepared statement that binds user input as data rather than SQL syntax. It is the primary defense against SQL injection because the query plan is fixed before input arrives.
WPA2 Four-Way Handshake
The exchange that derives per-session keys from the pre-shared key. Capturing it lets an attacker run offline dictionary or hashcat attacks against the network passphrase.
Evil Twin
A rogue access point broadcasting the same SSID as a legitimate network to lure clients and intercept their traffic, often paired with a deauthentication flood to force reconnection.
Mirai Botnet
IoT malware that scans the internet for devices using default Telnet credentials, enrols them into a botnet, and launches very large DDoS attacks; its source code was publicly released.
Modbus Protocol
A legacy OT/ICS protocol used over serial links and TCP port 502 with no authentication or encryption, allowing any reachable client to read and write PLC registers.
Shared Responsibility Model
The cloud provider secures facilities, hardware, and hypervisor, while the customer secures data, identities, and configuration of what they deploy. The split shifts with the service model.
Digital Signature
A hash of the message encrypted with the sender's private key. The receiver verifies it with the public key, providing integrity, authentication, and non-repudiation but not confidentiality.
Metadata SSRF Attack
Requesting http://169.254.169.254/ from a cloud-hosted application to read instance credentials from the metadata service. Prevented by IMDSv2 and restrictive egress filtering.

CEH study guide

Introduction to Ethical Hacking

Foundations

The objective of security is the CIA triad - confidentiality, integrity, availability - supported by authentication, authorization, accounting, non-repudiation, and defense in depth. Controls split into preventive, detective, corrective, deterrent, and compensating; a question asking what "detects and records" wants a detective control (IDS, audit logs), not a preventive one.

Memorize the phases of the penetration test lifecycle: footprinting/reconnaissance → scanning and enumeration → gaining access (exploitation) → maintaining access (persistence) → covering tracks, followed by reporting. Exam items often name a single tool and ask which phase it belongs to, so attach tools to phases as you study.

Separate assessment types. A vulnerability assessment identifies and ranks weaknesses without exploiting them; a penetration test proves exploitability and business impact. Black box means zero prior knowledge, white box means full knowledge and credentials, and gray box means partial knowledge - a classic trap, since gray box is never "no knowledge." Active testing directly touches the target; passive testing relies on third-party sources and never packets the target.

Know the actors - white hat, gray hat, black hat, script kiddie, hacktivist, state-sponsored, insider - and the legal boundaries: explicit authorization, defined scope, rules of engagement, a signed get-out-of-jail letter, and an NDA. Unauthorized testing is a crime regardless of good intent, and "hacking back" is not a legal defense.

Worked example

A prospect asks you to test "everything the company owns" with no paperwork. Rule of thumb: no written authorization plus no defined scope means do not touch it. Subsidiaries, partner systems, and cloud-hosted assets each need their own written permission, because scope never inherits automatically.

Footprinting and Reconnaissance

Passive versus active

Passive footprinting collects information from third parties - search engines, WHOIS databases, social media, job postings, certificate transparency logs, the Wayback Machine, Shodan - without packets reaching the target. Active footprinting touches the target directly: DNS lookups, zone transfer attempts, traceroute, banner grabbing, email bounce checks. Questions often ask you to classify a technique; if the target's own infrastructure answers the query, it is active.

What to collect

Organizational data (employees, emails, phone numbers, physical locations, technologies, patents, supplier relationships) and network data (domains, subdomains, IP ranges, DNS records, routing, firewall presence). Know the DNS record types: A (IPv4), AAAA (IPv6), MX (mail), NS (name server), CNAME (alias), TXT (SPF/DKIM/verification), SOA (authority and serial), PTR (reverse). Know the five regional internet registries: ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC.

Tools and traps

whois, nslookup, dig, host, traceroute, theHarvester, Maltego, Recon-ng, FOCA, Shodan, Netcraft. Google dorking operators - site:, filetype:, inurl:, intitle:, cache: - appear frequently. Traps: WHOIS is passive, a zone transfer (AXFR) is a target-side query, and a PTR record is not a mail record. Email header analysis reveals relays, originating IPs, and spoofing.

Worked example

You suspect a misconfigured DNS server. The command dig AXFR @ns1.example.com example.com asks the authoritative server to dump the entire zone in one response. If it succeeds you get every hostname and IP without scanning; a refused transfer tells you the server is properly restricted. Rule of thumb: enumerate names from DNS first, then scan only the IPs you now know about.

Scanning Networks and Enumeration

Scanning fundamentals

Scanning maps live hosts, open ports, services, and operating systems. Understand the TCP three-way handshake (SYN, SYN/ACK, ACK) and the flag combinations used by scan types. Key Nmap options: -sS SYN/half-open (needs root, stealthier, never completes the handshake), -sT full connect (uses the OS stack, logged by the target), -sU UDP, -sA ACK (maps firewall rules, never reports a port open), -sN/-sF/-sX null/fin/xmas, -sV version detection, -O OS fingerprinting, -Pn skip host discovery, -sI idle/zombie scan, -D decoys, -f fragmentation, -T0–-T5 timing. Port states are open, closed, filtered, unfiltered, and open|filtered (the normal UDP answer when nothing replies).

Enumeration

Enumeration extracts users, shares, groups, and services from an open port. Associate protocol to port: NetBIOS 137–139, SMB 445, SNMP 161/162, LDAP 389/636, NTP 123, RPC 135, NFS 2049, SMTP 25, DNS 53, FTP 21. Know techniques: NetBIOS NULL sessions and nbtstat -A, SMB share listing with net view/smbclient, SNMP community-string guessing and snmpwalk (a read-write string is far worse than read-only), LDAP anonymous binds, NTP mode 6 queries, RPC rpcdump, and SMTP VRFY/EXPN for username harvesting.

Traps

-sA cannot find open ports; UDP scans rarely return clean "open"; -sT is noisy and target-logged; banner grabbing is enumeration, not scanning. Also remember services may be reachable on non-standard ports, so version detection beats port-number assumptions.

Worked example

To test a Windows host for a NULL session: net use \\10.10.10.5\IPC$ "" /u:"" then net view \\10.10.10.5. Success exposes shares and account names with no credentials - report it as a high-severity misconfiguration.

Vulnerability Analysis

Concepts and vocabulary

A vulnerability is a weakness; a threat is an actor or event that could exploit it; risk is the combination of likelihood and impact. Distinguish a vulnerability assessment (identify, classify, prioritize) from a penetration test (exploit and prove impact) - a scanner finding is not proof of exploitability.

Know the scoring and naming systems: CVE identifiers for individual vulnerabilities, NVD as the enriched database, CVSS for severity (base, temporal, environmental metrics; 0.0 none, 0.1–3.9 low, 4.0–6.9 medium, 7.0–8.9 high, 9.0–10.0 critical), CPE for platform naming, CCE for configuration items, and the SCAP family including OVAL and XCCDF. Recognize the methods: active (probe the host), passive (observe traffic), credentialed (authenticated, deeper, fewer false positives), and non-credentialed (external view only).

Process and tools

Typical lifecycle: define scope and assets → discover and inventory → scan → validate results → prioritize by risk → remediate → verify and rescan. Common tools: Nessus, Qualys, OpenVAS, Nikto (web servers), Nmap NSE scripts, Retina, Nexpose. Distinguish false positives (reported but not real) from false negatives (real but missed) - false negatives are usually the more dangerous outcome, and false positives are reduced by credential-based scanning and manual validation.

Traps

A CVSS 9.8 on an isolated test box may be lower business risk than a 6.5 on an internet-facing payment server; scoring is not prioritization by itself. A clean scan does not mean a clean system (zero-days, logic flaws, and missing credentials all hide findings). Scanning production aggressively can cause outages.

Worked example

A scanner flags an outdated Apache version as critical. Rule of thumb: verify before you report - banner grabbing or a version-specific request may show the vendor backported the patch without changing the banner, making this a false positive.

System Hacking

The four stages

System hacking follows gaining access → escalating privileges → maintaining access → covering tracks. Gaining access uses password attacks, exploit delivery, or credential reuse. Privilege escalation is vertical (low user to administrator/root) or horizontal (same level, different user); common vectors are kernel exploits, missing patches, SUID/SGID binaries on Linux, unquoted service paths and weak service permissions on Windows, DLL hijacking, and stored credentials. Maintaining access means backdoors, reverse shells, scheduled tasks, and rootkits. Covering tracks means log clearing (wevtutil cl, auditpol, clearing /var/log), timestomping, and disabling auditing.

Password attacks

Know the families: dictionary, rule-based/mangling, brute force, mask, hybrid, rainbow table, and credential stuffing. Distinguish LM (disabled-by-default legacy, split into 7-character halves) from NTLM hashes; note that /etc/shadow on Linux stores salted hashes (yescrypt/SHA-512), so rainbow tables fail on salted hashes. Pass-the-hash reuses an NTLM hash without cracking it. Kerberos attacks include Kerberoasting (request service tickets and crack them offline) and AS-REP roasting (accounts without pre-authentication).

Shells and persistence

A bind shell listens on the target and the attacker connects in; a reverse shell has the target connect back out, which traverses NAT and egress firewalls - usually preferred. Tools: Metasploit/Meterpreter (with migrate to move into a stable process), Netcat, John the Ripper, Hashcat, Mimikatz, keyloggers, and steganography for data hiding.

Worked example

You dump NTLM hashes from a compromised host and need domain admin. Rather than cracking an expensive 14-character password, try pass-the-hash with a tool like Impacket or Mimikatz - the hash itself authenticates under NTLM. Rule of thumb: hashes are bearer tokens, so protecting them equals protecting the password.

Malware Threats, Sniffing, and Social Engineering

Malware Threats

Categories

Viruses require a host file and user action to spread; worms self-propagate over networks without a host; trojans masquerade as legitimate software and do not self-replicate; rootkits hide themselves at user or kernel level; ransomware encrypts and extorts; spyware/adware/keyloggers collect data; botnets provide remote command infrastructure; logic bombs trigger on a condition; fileless malware lives in memory or the registry using PowerShell/WMI; and backdoors/RATs give persistent remote control.

Know virus subtypes: boot sector, file infector, macro, multipartite, polymorphic (changes its decryptor on each infection), metamorphic (rewrites its whole body), stealth (intercepts system calls to hide), armored, cavity, and resident versus non-resident.

Components and delivery

A dropper installs the payload; a downloader fetches it later; a packer/crypter obfuscates to evade antivirus; wrappers and binders attach malware to a legitimate executable. Delivery is via phishing attachments, drive-by downloads, malicious macros, USB media, or supply-chain compromise.

Analysis

Static analysis inspects the binary without running it - hashes, strings, PE headers, imports, packer signatures, VirusTotal. Dynamic analysis runs it in a sandbox (Cuckoo, CAPE) or an isolated VM while monitoring with Process Monitor, Regshot, and Wireshark for file, registry, and network behavior. Malware detects sandboxes via timing checks, VM artifacts, and user-interaction checks, so behavior may differ from production.

Worked example

A sample has no matching antivirus signature but writes a Run-key and beacons to an IP every 60 seconds. Signature evasion proves nothing; the behavioural indicators (persistence plus command-and-control traffic) justify a malware classification. Rule of thumb: hash-based detection catches known code, behaviour-based detection catches intent.

Defenses

Anti-malware with behavioral engines, patching, application allow-listing, email filtering, least privilege, and tested offline backups against ransomware.

Sniffing and Social Engineering

Sniffing

Passive sniffing only listens; active sniffing injects traffic to force packets to the attacker. On a hub, all traffic is visible; on a switch, you must actively redirect it. Core techniques: ARP poisoning (send forged ARP replies so two hosts map the attacker's MAC to each other's IP, enabling MITM), MAC flooding (overflow the CAM table so the switch fails open and floods frames), DHCP starvation/rogue DHCP, DNS spoofing, VLAN hopping, and SSL stripping (downgrade HTTPS to HTTP). Tools: Wireshark, tcpdump, arpspoof, Ettercap, Bettercap, macof, Cain & Abel. Port mirroring (SPAN) and network taps are the legitimate capture methods.

Countermeasures: dynamic ARP inspection, DHCP snooping, port security, static ARP entries, encryption (TLS/VPN), and 802.1X. Trap: sniffing on a switched network with no poisoning usually captures nothing but broadcast traffic; also, a passive sniffer cannot modify traffic, so SSL stripping is active.

Social engineering

Human-focused attacks: phishing, spear phishing, whaling, vishing, smishing, pharming, pretexting, baiting, quid pro quo, tailgating, shoulder surfing, dumpster diving, watering-hole, and impersonation. These are classified as human-based, computer-based, or mobile-based, and generally as non-technical - although pretexting often borrows technical detail. Defenses are policy-driven: security awareness training, verification procedures, clean-desk policy, visitor controls, email filtering, and simulated phishing campaigns.

Worked example

You must capture traffic between a workstation and a server on a switched LAN. Rule of thumb: switch equals active. Run ARP poisoning so both sides send frames to your MAC, enable IP forwarding (echo 1 > /proc/sys/net/ipv4/ip_forward) to avoid a DoS, and capture in Wireshark - then enable DAI in the report as remediation.

Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

Denial of service

DoS attacks exhaust a resource: bandwidth (volumetric), connection state (protocol), or application processing. Know the classics: SYN flood (half-open connections exhaust the backlog), ICMP smurf (spoofed source plus broadcast amplification), fraggle (UDP echo/chargen variant), ping of death, teardrop (overlapping fragments), UDP/HTTP floods, Slowloris (holds many partial HTTP connections open), and amplification/reflection using DNS or NTP with spoofed source addresses. Distributed attacks use botnets; tools include LOIC/HOIC. Defenses: SYN cookies, rate limiting, throttling, ingress/egress filtering (BCP38), scrubbing centers, and blackhole routing.

Session hijacking

Session hijacking takes over an established session. Forms: TCP/IP hijacking (predict or sniff sequence numbers, spoof a packet, or send RST), blind hijacking, MITM, session sidejacking (steal cookies over unencrypted Wi-Fi), and session fixation (force a known session ID before login). Tools: Bettercap, Burp Suite, Wireshark for token capture. Countermeasures: TLS everywhere, short session timeouts, regenerating session IDs at login, HttpOnly/Secure cookie flags, and IPsec.

IDS/firewall/honeypot evasion

IDS types: NIDS (network sensor) and HIDS (host agent); detection is signature-based (precise, misses new attacks) or anomaly-based (catches novel behavior, more false positives). Evasion techniques: fragmentation and overlapping fragments, insertion and evasion attacks, encoding/obfuscation, tunneling over DNS/ICMP/HTTP, session splicing, polymorphic shellcode, source routing, IP/MAC spoofing, and firewall hops. Nmap flags: -f (fragment), -D (decoys), -sI (idle/zombie scan), --data-length, -T0. A honeypot is a decoy; anything connecting to it is suspicious by definition.

Worked example

A host is flooded with SYNs but never completes handshakes. Rule of thumb: half-open connections equal SYN flood - enable SYN cookies and rate limiting rather than adding bandwidth.

Hacking Web Servers, Web Applications, and SQL Injection

Web servers

Server-focused attacks target configuration and patching: banner grabbing, default or weak credentials, unnecessary HTTP methods (PUT/DELETE/TRACE), directory traversal, misconfigured permissions, exposed admin panels, virtual host enumeration, and known IIS/Apache/Nginx vulnerabilities. Hardening means removing sample files, disabling directory listing and unused modules, least-privilege service accounts, TLS configuration, and patch management.

Web applications

Anchor study in the OWASP Top 10: broken access control, cryptographic failures, injection, insecure design, security misconfiguration, vulnerable components, identification/authentication failures, software and data integrity failures, logging failures, and SSRF. Know the mechanisms: XSS (reflected, stored, DOM-based) executes script in a victim's browser; CSRF forces a logged-in victim's browser to send a request; IDOR exposes objects by manipulating identifiers; SSRF makes the server fetch internal resources; XXE abuses XML external entities; plus file upload, command injection, and insecure deserialization.

SQL injection

Classify by channel: in-band (error-based, UNION-based), inferential/blind (boolean, time-based), and out-of-band (DNS/HTTP exfiltration). Know the signatures: ' OR 1=1 -- tautology, UNION SELECT, stacked queries, and database-specific tricks - MySQL SLEEP(5)/LOAD_FILE/INTO OUTFILE, MSSQL WAITFOR DELAY '0:0:5' and xp_cmdshell, Oracle UTL_HTTP. The primary fix is parameterized queries/prepared statements, supported by least-privilege database accounts, input validation, and a WAF.

Traps

A WAF is a mitigation, not a fix. Escaping quotes is not sufficient protection. Blind SQLi is confirmed by response timing or boolean differences, not by error messages.

Worked example

A parameter returns no errors and no extra rows, but adding ' AND SLEEP(5)-- - delays the response by five seconds. Rule of thumb: delay proves injection - this is time-based blind SQLi, exploitable with sqlmap's --technique=T even though nothing is displayed.

Hacking Wireless Networks, Mobile Platforms, IoT, and OT

Hacking Wireless Networks

Standards and encryption

802.11 networks operate in 2.4 GHz (channels 1–14; 1, 6, 11 are non-overlapping), 5 GHz, and 6 GHz. Encryption evolution: WEP (RC4 with a short IV and CRC32 integrity - broken, crackable in minutes from IV collection), WPA (TKIP, still RC4), WPA2 (CCMP/AES, robust but vulnerable to handshake capture and offline dictionary attack), and WPA3 (SAE/dragonfly handshake, GCMP, forward secrecy). WPA2-Enterprise adds 802.1X/EAP with a RADIUS server, so there is no shared passphrase to crack - the target becomes the credential exchange.

Attacks

WEP cracking (IV collection with aireplay-ng, then aircrack-ng), WPA/WPA2 4-way handshake capture followed by an offline dictionary/rainbow attack, PMKID capture (no client needed), WPS PIN brute force and Pixie Dust, deauthentication to force reconnection (also enables handshake capture), evil twin / rogue AP, MITM, KRACK (key reinstallation), and reconnaissance via war driving/war chalking. Bluetooth attacks: bluejacking (unsolicited messages), bluesnarfing (data theft), bluebugging (control), and bluesmashing.

Tooling

Airmon-ng (monitor mode), airodump-ng (capture), aireplay-ng (injection/deauth), aircrack-ng (crack), Reaver and Bully (WPS), Kismet, Wifite, and Wireshark for analysis.

Traps

MAC filtering and SSID hiding are obscurity, not security; they are trivially bypassed. WPA2-Personal with a strong passphrase resists dictionary attacks even if the handshake is captured - capture is not compromise. Monitor mode is required for capture; managed mode is not enough.

Worked example

You capture a 4-way handshake for a WPA2-PSK network. Rule of thumb: the handshake is only a candidate, so feed it to aircrack-ng against a wordlist; a long random passphrase means the attack fails and you should report the finding as "capture possible" rather than "network cracked."

Mobile Platforms, IoT, and OT

Mobile

Android isolates apps in a sandbox with a unique UID; rooting removes that boundary. Understand the APK layout (AndroidManifest.xml, classes.dex, resources, signature), and tools: apktool (decode/rebuild resources), jadx/dex2jar (decompile), Frida (runtime hooking), MobSF (automated analysis), drozer (attack surface), and ADB for device interaction. iOS jailbreaking removes code-signing restrictions and exposes the filesystem and keychain.

Mobile risks mirror the OWASP MASVS/MASTG: insecure data storage, weak cryptography, insecure communication, insecure authentication, improper platform usage, code quality, anti-tampering, and resilience. Enterprise controls are MDM, containerization, BYOD policy, and app vetting, not just antivirus.

IoT

The three-tier model is perception/sensing → network → application. Protocols: MQTT (1883 plaintext, 8883 TLS), CoAP (UDP 5683, DTLS 5684), Zigbee, Z-Wave, BLE, and LoRaWAN. Typical flaws: default and hardcoded credentials, no update mechanism, unencrypted traffic, and exposed management interfaces - the ingredients of the Mirai botnet. Hardware attacks use UART, JTAG, and SPI; firmware is analyzed with binwalk and strings.

OT/ICS

OT environments use PLC, RTU, HMI, SCADA, historians, and safety instrumented systems, mapped by the Purdue model (levels 0–5). Protocols include Modbus (502), DNP3, and Profinet, most with no authentication or encryption. IT/OT convergence removes air gaps; Stuxnet (centrifuges) and TRITON (safety systems) are the canonical case studies.

Traps

Aggressive scanning can crash fragile OT devices - passive monitoring and change control come first. Rooting/jailbreaking is a precondition for many mobile attacks, not a finding by itself.

Worked example

A device exposes MQTT on 1883 with no credentials. Rule of thumb: 1883 plaintext plus anonymous subscribe equals full telemetry and often command injection - subscribe to # to see all topics before reporting.

Cloud Computing and Cryptography

Cloud fundamentals

NIST defines the essential characteristics (on-demand self-service, broad network access, resource pooling, rapid elasticity, measured service), three service models - IaaS, PaaS, SaaS - and four deployment models: public, private, community, hybrid. The shared responsibility model is the most tested idea: the provider secures the cloud (physical, hypervisor, managed service internals), the customer secures in the cloud (identities, data, configuration). Misunderstanding this boundary is the root of most cloud breaches.

Know the threat list: misconfigured storage (public S3 buckets), leaked credentials and over-permissive IAM roles, insecure APIs, account hijacking, and SSRF against the instance metadata service at 169.254.169.254 (IMDSv2 mitigates it). Controls include CASB, CSPM, IAM least privilege, MFA, KMS, and encryption at rest and in transit. Containers share the host kernel and are isolated by namespaces and cgroups; VMs have a hypervisor boundary.

Cryptography

Symmetric ciphers (AES, 3DES, ChaCha20) are fast and used for bulk data; asymmetric ciphers (RSA, ECC, Diffie-Hellman) are slow and used for key exchange and signatures. Hashing (MD5, SHA-1, SHA-256, bcrypt, Argon2) is one-way integrity, never encryption; salt defeats rainbow tables. HMAC is keyed integrity, a digital signature adds non-repudiation, and PKI binds identities via X.509 certificates issued by a CA from a CSR.

Worked example

A web app must transmit gigabytes securely. Rule of thumb: use asymmetric only to establish and exchange a symmetric key, then encrypt the bulk with AES in a mode like GCM. Known blunders to recognize: ECB (pattern leakage), MD5/SHA-1 for passwords, and unauthenticated CBC.

CEH cheat sheet

Quick reference

Introduction to Ethical Hacking

  • The CIA triad - confidentiality, integrity, availability - is the standard model for security objectives; authentication, authorization, accountability, and non-repudiation are usually added alongside it.

  • Hacker classes by intent: white hat (authorized), black hat (malicious), gray hat (unauthorized but non-malicious). By skill/motive: script kiddie, hacktivist, state-sponsored, cyberterrorist, suicide hacker.

  • Penetration testing lifecycle: pre-engagement scoping and legal authorization, information gathering, threat modeling, vulnerability analysis, exploitation, post-exploitation, reporting, and remediation retest.

  • Testing approaches: black-box (zero knowledge), white-box (full knowledge including source code), gray-box (partial knowledge); each may be announced or unannounced to staff.

  • SLE = Asset Value x Exposure Factor; ALE = SLE x ARO (annualized rate of occurrence). Risk is often framed as Threat x Vulnerability x Impact.

  • Controls are preventive (reduce likelihood), detective (discover events), corrective (reduce impact), or compensating; defense in depth layers people, process, and technology.

  • Key US statutes: CFAA (1986) criminalizes unauthorized access, DMCA section 1201 covers circumvention, and HIPAA/SOX/GLBA/FERPA/GDPR regulate data. PCI DSS is a contractual standard, not a law.

  • Least privilege, separation of duties, and mandatory vacation/rotation are core administrative controls that limit the blast radius of a single compromised account.

Quick reference

Footprinting and Reconnaissance

  • Passive footprinting collects data without touching the target (search engines, WHOIS registries, social media, job postings); active footprinting sends traffic to the target (DNS queries, traceroute, banner grabbing).

  • DNS record types: A (IPv4), AAAA (IPv6), MX (mail), NS (name server), CNAME (alias), TXT (SPF/DKIM/site verification), SOA (zone authority), PTR (reverse lookup).

  • A zone transfer (AXFR) runs over TCP port 53; dig axfr @ns target.com dumps every record when the server permits transfers from arbitrary hosts.

  • RIR hierarchy: ARIN (North America), RIPE NCC (Europe/Middle East), APNIC (Asia-Pacific), LACNIC (Latin America), AFRINIC (Africa); IANA allocates address blocks to the RIRs.

  • Google dorks chain operators such as site:, inurl:, intitle:, filetype:, intext:, and cache: to surface exposed files, login portals, and error pages.

  • Traceroute maps the path using TTL expiry; Unix defaults to UDP/ICMP probes, Windows tracert uses ICMP echo, and TCP-based variants pass through ICMP-filtering firewalls.

  • Internet-wide scan engines (Shodan, Censys, ZoomEye) index banners and TLS certificates of exposed hosts without the tester directly probing the target.

  • Email footprinting reads header fields (Received, X-Originating-IP, Message-ID) and mail gateway banners to infer internal hosts and mail infrastructure.

  • OSINT tooling: theHarvester (emails and hosts), Recon-ng (modular framework), Maltego (link analysis), FOCA (document metadata), Wayback Machine (historical pages and removed files).

Quick reference

Scanning Networks and Enumeration

  • TCP flag bits are URG, ACK, PSH, RST, SYN, FIN plus ECE and CWR; a closed port answers with RST while an open port answers SYN with SYN/ACK.

  • TCP connect scan (-sT) completes the full three-way handshake and is logged by the target; SYN scan (-sS) is half-open and requires raw-socket privileges.

  • NULL, FIN, and XMAS scans rely on RFC 793 behaviour (closed ports reply RST, open ports stay silent); results are unreliable against Windows stacks that ignore them.

  • Nmap essentials: -sn host discovery, -sU UDP scan, -sV version detection, -O OS fingerprinting, -p port selection, -sA ACK scan to map stateful firewall rules, --script for NSE.

  • Enumeration ports: NetBIOS 137-139, SMB 445, SNMP 161/162 UDP, LDAP 389/636, NTP 123, SMTP 25 for user discovery via VRFY, EXPN, and RCPT TO.

  • SNMP default community strings are public (read) and private (read-write); snmpwalk and snmp-check dump interfaces, ARP caches, and running processes from MIB objects.

  • NetBIOS enumeration exposes computer names, workgroups, and shares through nbtstat -A or nbtscan; SMB null sessions can list users and shares via enum4linux.

  • Banner grabbing with netcat, telnet, or curl reveals service versions, which drive selection of version-specific exploits.

  • An idle/zombie scan (-sI) uses a third-party host's IP ID sequence to probe the target without exposing the attacker's own address.

Quick reference

Vulnerability Analysis

  • CVE identifies a specific vulnerability, CWE classifies the underlying weakness type, NVD enriches CVEs with CVSS scores and references, and CPE names affected products.

  • CVSS v3.x base score range 0.0-10.0: None 0.0, Low 0.1-3.9, Medium 4.0-6.9, High 7.0-8.9, Critical 9.0-10.0; the vector string encodes AV, AC, PR, UI, S, C, I, A.

  • Base metrics are intrinsic to the flaw; temporal metrics adjust for exploit maturity and remediation level; environmental metrics adjust for the specific deployed environment.

  • Credentialed scans authenticate to hosts and detect missing patches and configuration errors; non-credentialed scans see only remotely observable exposure.

  • A false positive reports a vulnerability that is not present; a false negative misses one that is - scanner output must be validated before remediation or reporting.

  • Scanner classes: network (Nessus, OpenVAS, Qualys), web application (Burp Suite, Acunetix, Nikto), static source analysis (SAST), and runtime instrumentation (IAST/RASP).

  • Vulnerability assessment enumerates and ranks weaknesses; penetration testing additionally exploits them to demonstrate business impact.

  • SCAP bundles OVAL check definitions, CCE configuration identifiers, CPE platform names, and CVSS scoring to automate vulnerability and compliance verification.

Quick reference

System Hacking

  • Windows stores local account hashes in the SAM hive (NTLM, with LM as legacy); Linux keeps salted hashes in /etc/shadow while /etc/passwd holds world-readable account metadata.

  • Password attack types: dictionary, brute force, rule-based hybrid, rainbow table, credential stuffing, and pass-the-hash which needs no cracking at all.

  • Privilege escalation is vertical (user to admin/root) or horizontal (same level, different user); common causes are missing patches, misconfigured services, SUID binaries, and weak permissions.

  • Tools: Mimikatz (credentials and Kerberos tickets), John the Ripper and Hashcat (offline cracking), Hydra and Medusa (online guessing), Metasploit (exploitation framework).

  • Persistence mechanisms include backdoor accounts, scheduled tasks, services, SSH authorized_keys, and web shells; each leaves artifacts that defenders can monitor.

  • Covering tracks on Windows means clearing event logs, disabling audit policy with auditpol, and timestomping files; on Linux, editing /var/log and shell history files.

  • Steganography hides data inside images, audio, or documents (typically LSB insertion); steganalysis uses statistical analysis, entropy, and hash comparison to detect it.

  • Post-exploitation ordering: escalate privileges, move laterally, maintain persistence, exfiltrate data, then cover tracks.

Quick reference

Malware Threats

  • Malware categories: virus (needs a host and user action), worm (self-propagating), trojan (disguised, user-executed), rootkit (stealth), ransomware, spyware, adware, logic bomb, and botnet agent.

  • Virus types: boot sector, file infector, macro, multipartite, polymorphic (mutates), metamorphic (rewrites itself), stealth, and companion.

  • A worm requires no user interaction: it exploits a remote service, replicates, and scans for new targets, as WannaCry did via EternalBlue over SMB.

  • Detection methods are signature-based, heuristic/behavioural, sandbox detonation, and file integrity monitoring; signatures cannot catch zero-days or polymorphic code.

  • Static malware analysis inspects strings, PE headers, imports, and packers without executing the sample; dynamic analysis detonates it in an isolated sandbox with Procmon and Wireshark.

  • Covert channels carry data in violation of security policy through timing or storage side channels and are frequently used for command and control.

  • Ransomware encrypts files and demands payment; effective mitigations are offline backups, patching, least privilege, and segmentation rather than paying the ransom.

  • Rootkits run in user mode or kernel mode; reliable detection uses offline or known-good boot media scanning and boot-time integrity verification.

Quick reference

Sniffing and Social Engineering

  • Sniffing is passive on hubs and active on switches (ARP spoofing, MAC flooding, port mirroring, DHCP spoofing); promiscuous mode makes the NIC accept all frames it sees.

  • MAC flooding with macof overflows the switch CAM table so it falls back to hub-like flooding; port security with sticky MAC addresses defeats it.

  • ARP has no authentication: forged replies poison caches and redirect traffic; mitigation is Dynamic ARP Inspection plus static ARP entries for critical hosts.

  • Cleartext protocols exposing credentials to sniffers: Telnet, FTP, HTTP, SNMPv1/v2c, POP3, IMAP, and unencrypted LDAP - replaced by SSH, SFTP, HTTPS, SNMPv3, and TLS.

  • Tools: Wireshark (analysis), tcpdump (CLI capture), Ettercap and Bettercap (MITM, ARP/DNS spoofing), macof (CAM table overflow).

  • Social engineering categories: human-based (tailgating, shoulder surfing, impersonation), computer-based (phishing, pop-ups), and mobile-based (smishing, vishing, rogue apps).

  • Phishing variants: spear phishing (targeted), whaling (executives), vishing (voice), smishing (SMS), pharming (DNS redirection), watering hole (compromised trusted site).

  • Defenses: security awareness training, out-of-band verification callbacks, SPF/DKIM/DMARC email filtering, MFA, and least privilege.

Quick reference

Denial-of-Service

  • DoS exhausts a resource from one source; DDoS uses many distributed hosts and is classified as volumetric, protocol/state-exhaustion, or application-layer.

  • Volumetric floods (UDP, ICMP, DNS amplification) saturate bandwidth; protocol attacks (SYN flood, ACK flood) exhaust connection state tables; application attacks (HTTP flood, Slowloris) exhaust worker threads.

  • A SYN flood leaves half-open connections queued in the backlog; SYN cookies and backlog tuning mitigate it without allocating state per request.

  • Smurf sends ICMP echo requests to a broadcast address with the victim's spoofed source so every host amplifies replies; fraggle does the same using UDP chargen/echo.

  • Reflection-amplification abuses open resolvers: DNS (53), NTP monlist (123), memcached (11211), and SSDP (1900) return responses far larger than the spoofed request.

  • Legacy attacks handled by modern stacks: ping of death (oversized ICMP), teardrop (overlapping fragments), and land (identical source and destination).

  • Mitigations: rate limiting, BCP38 ingress/egress filtering, scrubbing centers, CDN/anycast absorption, aggressive connection timeouts, and CAPTCHAs.

  • Tools: hping3 (crafted floods), LOIC/HOIC (volumetric), Slowloris and GoldenEye (application layer), and commercial booter/stresser services.

Quick reference

Session Hijacking and Evading IDS/Firewalls/Honeypots

  • Session hijacking steals or predicts a valid session identifier: cookie theft via XSS or sniffing, session fixation, TCP sequence prediction, or sidejacking.

  • TCP session hijacking requires guessing the next sequence and acknowledgement numbers; TLS or SSH prevents useful payload injection though the connection can still be desynchronized.

  • Mitigations: TLS everywhere, HttpOnly and Secure cookie flags, SameSite attributes, session ID regeneration at login, short idle timeouts, and binding sessions to client attributes.

  • IDS types are NIDS (network sensor) and HIDS (host agent); detection methods are signature, anomaly, and stateful protocol analysis.

  • An IDS is passive and alerts; an IPS is inline and blocks. Evasion techniques include fragmentation, encoding, polymorphism, tunneling, and session splicing.

  • Firewall generations: packet filter, circuit-level gateway, application-level proxy, stateful inspection, and next-generation firewall with application awareness and TLS inspection.

  • Firewall/IDS evasion: source routing, tiny and overlapping fragments, IP and MAC spoofing, protocol tunneling over HTTP/DNS/ICMP, and encrypted covert channels.

  • Honeypots are low- or high-interaction decoys that log attacker behaviour; a honeynet is a network of them, and attackers fingerprint them by their unexpected freedom and missing production traffic.

Quick reference

Hacking Web Servers

  • Web server attack categories: misconfiguration, directory traversal, default and sample files, unpatched services, DoS, DNS hijacking, and defacement.

  • Footprinting a web server uses the banner and Server header, HTTP response headers, robots.txt, sitemap files, error pages, and Nmap http-* NSE scripts.

  • Risky HTTP methods: PUT (file upload), DELETE, TRACE (cross-site tracing), and unrestricted OPTIONS disclosure; disable every method the application does not require.

  • Directory traversal inserts ../ sequences or encoded variants (%2e%2e%2f, ..%c0%af) to escape the document root; servers must canonicalize and validate paths.

  • IIS specifics include Unicode traversal, WebDAV, and legacy ISAPI extensions (.htr, .idc, .printer); Apache exposures include .htaccess, mod_status, and default cgi-bin.

  • Hardening: remove defaults and samples, run a least-privilege service account, patch continuously, deploy a WAF, enforce TLS, add security headers, and segregate the DMZ.

  • Log locations for investigation: Apache /var/log/apache2/access.log and error.log, nginx /var/log/nginx, and IIS logs under %SystemRoot%/System32/LogFiles.

  • Fingerprinting tools: WhatWeb, Nikto, Wappalyzer, and Nmap http-headers or http-title scripts.

Quick reference

Hacking Web Applications and SQL Injection

  • OWASP Top 10 themes: broken access control, cryptographic failures, injection, insecure design, security misconfiguration, vulnerable components, authentication failures, data integrity failures, logging failures, and SSRF.

  • SQL injection categories: in-band (error-based, UNION-based), inferential/blind (boolean and time-based), and out-of-band (DNS or HTTP exfiltration).

  • Injection defenses: parameterized queries and prepared statements, stored procedures without dynamic SQL, allow-list input validation, least-privilege database accounts, and a WAF as a backstop.

  • XSS types: reflected (immediate response), stored (persisted server-side), and DOM-based (client-side sink); defenses are contextual output encoding and Content Security Policy.

  • CSRF forges authenticated requests; defenses are anti-CSRF tokens, SameSite cookies, re-authentication for sensitive actions, and Origin/Referer validation.

  • Broken access control appears as IDOR (object IDs trusted from the client), forced browsing, missing function-level checks, and parameter tampering for privilege escalation.

  • File inclusion: LFI reads local files and can escalate via log poisoning; RFI loads remote code and requires allow_url_include - both fixed by never building paths from user input.

  • Tooling: Burp Suite (intercept, repeater, intruder), OWASP ZAP, sqlmap (automated SQLi), Nikto, and Gobuster or ffuf for content discovery.

Quick reference

Hacking Wireless Networks

  • Bands and standards: 2.4 GHz (802.11b/g/n), 5 GHz (802.11a/n/ac), and 6 GHz (802.11ax / Wi-Fi 6E); 802.11i defines WPA2/RSN.

  • Encryption progression: WEP (RC4 with 24-bit IV, broken), WPA (TKIP with per-packet key mixing), WPA2 (AES-CCMP), WPA3 (SAE, replacing the PSK handshake).

  • WEP cracking collects IVs until collisions reveal the key with aircrack-ng, or applies chopchop, fragmentation, and PTW attacks using far fewer packets.

  • WPA2 attack path: capture the four-way handshake or a PMKID, then crack offline with Hashcat or aircrack-ng against a wordlist; a deauth frame forces reconnection.

  • Wireless attacks: evil twin, rogue access point, deauthentication/disassociation flood, MITM, KRACK key reinstallation, WPS PIN brute force, and Pixie Dust.

  • Tools: airmon-ng, airodump-ng, aireplay-ng, aircrack-ng, Kismet, Wifite, Reaver (WPS), and Hashcat (handshake cracking).

  • Enterprise WLANs use 802.1X with EAP variants and a RADIUS server so each user holds unique credentials instead of a shared PSK.

  • Bluetooth attacks: bluejacking (unsolicited messages), bluesnarfing (data theft), and bluebugging (device control); 802.11w protected management frames counter deauth floods.

Quick reference

Mobile Platforms, IoT, and OT

  • Android apps ship as APK and run inside a Dalvik/ART sandbox under a per-app UID; iOS apps ship as IPA with mandatory code signing and app sandboxing; rooting or jailbreaking removes these restrictions.

  • OWASP Mobile Top 10 themes: improper credential usage, insecure data storage, insecure communication, insecure authentication, insufficient cryptography, insecure authorization, code quality, code tampering, reverse engineering, and extraneous functionality.

  • Mobile attack vectors: malicious apps, repackaged APKs, overlay/phishing screens, hostile Wi-Fi, messaging exploits, and MDM policy bypass.

  • IoT characteristics: constrained CPU and memory, long service lifetimes, default credentials, weak update mechanisms, and a large internet-exposed attack surface.

  • IoT protocols: MQTT (1883 plaintext, 8883 TLS), CoAP (UDP 5683), AMQP, Zigbee, Z-Wave, BLE, and LoRaWAN - many with weak or optional authentication.

  • The Mirai botnet scanned the internet for IoT devices with default Telnet credentials and assembled them into a record-breaking DDoS platform.

  • IT prioritizes confidentiality first, while OT/ICS prioritizes availability and safety first (AIC) - the reversed order changes every security trade-off.

  • OT components: PLC, RTU, HMI, historian, and SCADA; protocols include Modbus (502), DNP3, PROFINET, and EtherNet/IP, usually without authentication or encryption.

  • The Purdue model layers OT from the physical process (level 0) to enterprise (levels 4-5), and the IT/OT DMZ is the control point for segmentation.

Quick reference

Cloud Computing and Cryptography

  • Service models: IaaS (customer manages OS and above), PaaS (customer manages apps and data), SaaS (customer manages identity and data only); deployment models are public, private, hybrid, and community.

  • The shared responsibility model splits duties by service model: the provider secures facilities, hardware, and hypervisor; the customer secures identity, data, and configuration.

  • Common cloud attack paths: exposed storage buckets, metadata service SSRF at 169.254.169.254, leaked API keys, over-permissive IAM roles, and insecure APIs.

  • Cloud controls: CSPM for posture management, CASB for visibility, IAM with least privilege and MFA, encryption at rest and in transit, and audit logging via CloudTrail or Activity Log.

  • Cryptography classes: symmetric (AES, DES, 3DES, Blowfish, RC4) uses one shared key; asymmetric (RSA, ECC, Diffie-Hellman) uses key pairs and solves key distribution.

  • Hashing (MD5, SHA-1, SHA-2, SHA-3) is one-way and produces a fixed-length digest for integrity; MD5 and SHA-1 are broken for collision resistance.

  • A digital signature is the message hash encrypted with the sender's private key; verification with the public key gives integrity, authentication, and non-repudiation but not confidentiality.

  • PKI: a certificate authority issues X.509 certificates binding an identity to a public key; TLS combines these with ephemeral key exchange to provide confidentiality and forward secrecy.

  • AES is a block cipher used in modes such as CBC, CTR, and GCM; stream ciphers (RC4, ChaCha20) encrypt bit by bit - an IV or nonce must never be reused with the same key.

CEH key terms

Footprinting

The first reconnaissance phase of an attack, in which an ethical hacker gathers publicly available information about a target organization, such as domains, IP ranges, employee names, and technologies in use, to map the attack surface.

Related: Open-Source Intelligence (OSINT), DNS Zone Transfer, Google Dorking
Open-Source Intelligence (OSINT)

Intelligence produced from publicly available sources such as websites, social media, news, public records, and search engines. Attackers use it to profile people and infrastructure without directly touching the target's systems.

Related: Footprinting, Google Dorking, WHOIS
WHOIS

A public registry query service that returns registration details for an internet domain or IP block, including the registrar, creation and expiry dates, name servers, and sometimes registrant contact data.

Related: Footprinting, DNS Zone Transfer
DNS Zone Transfer

A DNS mechanism, normally an AXFR query, that copies every record of a zone from a primary to a secondary server. If misconfigured to allow anyone, it discloses the full host inventory.

Related: Footprinting, Enumeration
Google Dorking

Using advanced search operators such as site:, filetype:, and intitle: to make a search engine reveal sensitive pages, exposed files, login portals, or directory listings that were never meant to be found.

Related: Open-Source Intelligence (OSINT), Footprinting
Banner Grabbing

Connecting to a network service and reading the identification text it returns, such as a server version string, to learn which software and version is running and match it to known vulnerabilities.

Related: Enumeration, Vulnerability Scanner
SYN Scan

A TCP port scan that sends a SYN packet and never completes the handshake, judging a port open from the SYN/ACK reply. Also called a half-open scan; it is fast and less likely to be logged.

Related: Enumeration, Banner Grabbing
Enumeration

Actively extracting detailed information from a target, such as user names, shares, groups, and routing data, by querying services like SMB, SMTP, SNMP, and LDAP that respond with structured records.

Related: Banner Grabbing, SYN Scan, DNS Zone Transfer
Vulnerability Scanner

An automated tool that probes hosts, compares detected software versions and configurations against a database of known weaknesses, and produces a report of suspected issues ranked by severity.

Related: False Positive, CVE, CVSS
False Positive

A finding reported by a scanner or analyst as a vulnerability that in reality cannot be exploited on the target. Excessive false positives waste remediation effort and erode trust in scan results.

Related: Vulnerability Scanner, CVE
CVE

A unique public identifier of the form CVE-YYYY-NNNN assigned to a specific disclosed security flaw, letting vendors, scanners, and advisories refer to the same issue unambiguously.

Related: CVSS, Vulnerability Scanner, Zero-Day Vulnerability
CVSS

A standardized scoring framework that rates vulnerability severity from 0 to 10 using metrics such as attack vector, complexity, privileges required, and impact on confidentiality, integrity, and availability.

Related: CVE, Vulnerability Scanner
Zero-Day Vulnerability

A vulnerability for which no vendor patch exists and often no public disclosure has occurred. Exploits against zero-days bypass signature-based defenses and are highly valued by attackers.

Related: CVE, Vulnerability Scanner
Privilege Escalation

Gaining a higher level of access than initially obtained, such as moving from a standard user to administrator or root, by exploiting misconfigurations, kernel flaws, or weak credentials.

Related: Pass-the-Hash, Rootkit
Pass-the-Hash

An attack that authenticates with a captured NTLM password hash directly, without cracking it, because the protocol accepts the hash itself as proof of identity. It enables lateral movement between Windows systems.

Related: Privilege Escalation, Rainbow Table
Rainbow Table

A precomputed table mapping password hashes to their plaintext values, used to reverse unsalted hashes quickly. Salting or using slow key-derivation functions defeats this approach.

Related: Salt, Pass-the-Hash
Salt

Random data added to a password before hashing so identical passwords produce different hash values. Salts prevent precomputed tables from being reused and force attackers to attack each account separately.

Related: Rainbow Table, Digital Signature
Rootkit

Malware that hides its presence and that of other attacker tools by subverting operating system internals, often at kernel level, making processes, files, and connections invisible to normal inspection tools.

Related: Trojan Horse, Privilege Escalation
Trojan Horse

Malicious software disguised as a legitimate or desirable program that a user is tricked into installing, after which it gives the attacker remote access, steals data, or installs further malware.

Related: Rootkit, Command and Control (C2) Server
Polymorphic Malware

Malicious code that changes its own appearance, for example by encrypting its body with a new key at each infection, while keeping the same function, so signature matching fails.

Related: Rootkit, Trojan Horse
Command and Control (C2) Server

The remote infrastructure an attacker uses to send instructions to compromised hosts and receive stolen data. Traffic to it is often disguised as ordinary web or DNS activity.

Related: Botnet, Trojan Horse
Packet Sniffing

Capturing network traffic as it passes through an interface, on a wired segment or a wireless medium, to read unencrypted credentials, session tokens, and other sensitive data.

Related: ARP Spoofing, MAC Flooding
ARP Spoofing

Sending forged ARP replies that bind the attacker's MAC address to a legitimate IP, such as the gateway's, so victims send traffic through the attacker. It enables man-in-the-middle attacks on local networks.

Related: Packet Sniffing, Session Hijacking
MAC Flooding

Overwhelming a switch's CAM table with fake source MAC addresses so it can no longer map ports correctly and begins flooding frames to all ports, letting an attacker capture traffic.

Related: Packet Sniffing, ARP Spoofing
Spear Phishing

A targeted phishing message crafted for a specific person or team, using researched details to appear credible, usually aiming to deliver malware or capture credentials rather than reach a mass audience.

Related: Pretexting, Trojan Horse
Pretexting

A social engineering technique in which the attacker invents a believable scenario or identity, such as an IT auditor or a courier, to persuade a target to disclose information or perform an action.

Related: Spear Phishing
Denial of Service (DoS)

An attack that makes a system or service unavailable by exhausting its bandwidth, connections, or processing capacity. A distributed variant uses many compromised hosts so traffic cannot be traced to one source.

Related: Botnet, Session Hijacking
Session Hijacking

Taking over an established authenticated session by stealing or guessing the session identifier, allowing the attacker to act as the legitimate user without knowing that user's password.

Related: Packet Sniffing, Cross-Site Scripting (XSS)
Honeypot

A decoy system or service deployed to attract attackers, detect intrusion attempts, and record their tools and techniques while keeping them away from production assets.

Related: Denial of Service (DoS), Packet Sniffing
SQL Injection

Inserting SQL syntax through unsanitized input so the database interprets it as code, allowing an attacker to read, modify, or delete data and sometimes execute operating system commands.

Related: Cross-Site Scripting (XSS), Web Application Firewall (WAF)
Cross-Site Scripting (XSS)

Injecting client-side script into pages viewed by other users so it executes in their browsers, letting the attacker steal session cookies, alter page content, or act as the victim.

Related: SQL Injection, Session Hijacking
Web Application Firewall (WAF)

A device or service that inspects HTTP traffic and blocks requests matching attack patterns or policy violations, protecting web applications from injection, scripting, and similar attacks.

Related: SQL Injection, Cross-Site Scripting (XSS)
Evil Twin

A rogue wireless access point that imitates a legitimate network's name to lure clients into connecting, after which the attacker can capture their traffic and credentials.

Related: WPA2 Four-Way Handshake, Packet Sniffing
WPA2 Four-Way Handshake

The exchange in which a Wi-Fi client and access point prove knowledge of the pre-shared key and derive fresh session keys. Capturing it allows an offline dictionary attack on weak passphrases.

Related: Evil Twin, Rainbow Table
Jailbreaking

Removing the manufacturer's software restrictions on a mobile device to gain root-level control. It allows installation of unsigned apps but also strips away many built-in security protections.

Related: Rootkit, Privilege Escalation
Botnet

A network of compromised devices, from servers to cameras and routers, controlled remotely to send spam, mine cryptocurrency, or launch distributed denial-of-service attacks.

Related: Denial of Service (DoS), Command and Control (C2) Server
Air Gap

A physical separation that keeps a network, such as an industrial control system, disconnected from the internet and other untrusted networks, so attacks require removable media or an insider.

Related: Botnet, Virtual Machine Escape
Shared Responsibility Model

The division of security duties in cloud computing, where the provider secures the underlying infrastructure and the customer secures data, identity, and configuration of what they deploy.

Related: Virtual Machine Escape, Digital Signature
Digital Signature

A cryptographic value produced with a private key over a message's hash, letting anyone holding the public key verify the sender's identity and confirm the message was not altered.

Related: Salt, Shared Responsibility Model
Virtual Machine Escape

An exploit that lets code running inside a guest virtual machine break out of the hypervisor's isolation and execute on the host, compromising every other guest on that host.

Related: Shared Responsibility Model, Air Gap

CEH study plan

8 weeks · About 7 hours per week

Week 1

Introduction to Ethical Hacking & Footprinting and Reconnaissance

  • Define each phase of the ethical hacking lifecycle and state the written authorization required before any active testing

  • Build an isolated virtual lab with at least one attacker VM and two target VMs, and verify network isolation from the host

  • Perform passive footprinting (WHOIS, DNS records, search-engine and certificate-transparency lookups) against a domain you own

  • Complete active footprinting (zone transfer attempt, email header review, social-media OSINT) and record what each technique reveals

Your checkpoint

A lab-build document with a network diagram plus a footprinting report listing 15 or more findings, each tagged passive or active with its data source

Week 2

Scanning Networks and Enumeration

  • Execute host-discovery sweeps with at least two different techniques and compare which hosts each method finds

  • Run full TCP connect and SYN scans plus a UDP scan, and interpret open, closed, and filtered states from the output

  • Enable service and OS version detection and match results against banner-grabbed evidence

  • Enumerate SMB, DNS, SNMP, LDAP, and NTP on the lab targets and extract at least one usable account or share name

  • Write a scan-evasion comparison showing how timing templates and decoys change the results

Your checkpoint

A scan matrix spreadsheet mapping each scan or enumeration type to the exact command, its raw output, and a one-line interpretation, covering 10 or more techniques

Week 3

Vulnerability Analysis & System Hacking

  • Run a credentialed and an uncredentialed vulnerability scan and explain the difference in findings

  • Score 10 findings with CVSS and rank them into a remediation order with justification

  • Crack password hashes from the lab with two different attack modes and document the time and wordlist used

  • Escalate privileges on a lab VM from a low-privilege account to administrator or root

  • Capture and analyze the artifacts a compromise leaves behind on the target system

Your checkpoint

A vulnerability assessment report with CVSS-scored findings, plus a step-by-step exploitation and privilege-escalation writeup for one lab VM

Week 4

Hacking Web Servers, Web Applications, and SQL Injection

  • Fingerprint web servers and enumerate directories, virtual hosts, and exposed administrative interfaces on the lab targets

  • Demonstrate at least four web application weaknesses from authentication, session, access-control, and file-inclusion categories

  • Execute union-based and blind SQL injection against a deliberately vulnerable app and extract data from at least two tables

  • Explain and test the difference between error-based, boolean-based, and time-based injection payloads

  • Draft the remediation advice you would give a client for each weakness you demonstrated

Your checkpoint

A web assessment report with captured request/response evidence for each of the four or more weaknesses and a SQL injection section listing payloads, extracted data, and fixes

Week 5

Malware Threats, Sniffing, and Social Engineering

  • Perform static analysis on a lab malware sample (strings, hashes, PE header review) and record indicators of compromise

  • Perform dynamic analysis in an isolated VM with process, file-system, and registry/network monitoring, then summarize behavior

  • Capture traffic on the lab segment and extract credentials sent over an unencrypted protocol

  • Design a pretexting or phishing campaign against your own organization with the indicators that would reveal it

  • Compare at least three types of malware and the detection signatures that expose each

Your checkpoint

A malware analysis lab report containing hashes, static and dynamic findings, a behavior timeline, and an indicator-of-compromise list, plus a one-page social-engineering awareness brief

Week 6

Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots

  • Launch volumetric and application-layer denial-of-service tests against a lab target and measure impact versus a baseline

  • Demonstrate session hijacking by capturing and replaying a session token on the lab network

  • Configure firewall rules and an IDS, then run scans and attacks that trigger alerts, documenting each signature

  • Attempt evasion techniques (fragmentation, tunneling, obfuscation) and record which ones bypassed the controls

  • Identify a honeypot in the lab by its behavior and list the clues that gave it away

Your checkpoint

An evasion lab log pairing each attack attempt with the control it faced, the alert or block that fired, and a verdict of detected or evaded

Week 7

Hacking Wireless Networks, Mobile Platforms, IoT, and OT & Cloud Computing and Cryptography

  • Capture a WPA2 handshake from a lab access point and crack it with a dictionary attack, documenting the countermeasures

  • Enumerate Bluetooth and IoT devices on the lab bench and identify default credentials or exposed services

  • Explain OT protocol weaknesses and where a perimeter or segmentation control belongs in an ICS environment

  • Analyze a mobile app package for insecure storage and excessive permissions

  • Compare cloud deployment models for shared-responsibility gaps and identify misconfigured storage in a sandbox account

  • Distinguish symmetric, asymmetric, and hashing use cases and identify weak or misapplied cryptography in sample configurations

Your checkpoint

Two short reports (wireless/mobile/IoT and cloud/cryptography) each with five findings, the tool or evidence behind each, and a recommended control

Week 8

Introduction to Ethical Hacking & Footprinting and Reconnaissance & Scanning Networks and Enumeration & Vulnerability Analysis & System Hacking & Malware Threats, Sniffing, and Social Engineering & Denial-of-Service, Session Hijacking, and Evading IDS/Firewalls/Honeypots & Hacking Web Servers, Web Applications, and SQL Injection & Hacking Wireless Networks, Mobile Platforms, IoT, and OT & Cloud Computing and Cryptography

  • Re-sit every domain quiz and re-study only the domains scoring below 75 percent

  • Rebuild the weakest three lab exercises from memory without notes

  • Take two full-length timed practice exams and review every missed item to its underlying concept

  • Memorize the tool-to-task mapping and the legal and ethical constraints tested across domains

Your checkpoint

A final review sheet with per-domain practice scores, the specific weak concepts from each missed question, and a one-page tool-to-task cheat sheet

Milestones

Week 2: Lab is isolated and reproducible; you can explain the output of a SYN scan, a UDP scan, and one enumeration tool without notes

Week 4: Score 70 percent or higher on a 60-question practice set covering domains 1 through 5 and 8

Week 6: Every attack you launched in the lab has a matching detection or control documented in your evasion log

Week 8: Score 85 percent or higher on two consecutive full-length timed practice exams, with no domain below 75 percent

CEH exam day

Your checklist

Government-issued photo ID with signature

Use the original physical document (passport or driver's license). The name on it must match your exam registration exactly. If your registration name differs in any way, correct it with the provider before test day.

Registration and appointment confirmation details

Have your candidate ID / registration number, appointment time, and the time zone you booked in written down and within reach. Confirm the delivery method (remote proctored vs. test center) in your confirmation email.

System readiness check completed

Run the official system/proctor compatibility test on the exact machine you will use, at least 24 hours ahead. Verify webcam, microphone, browser version, and bandwidth all pass.

Proctor software installed and updated

Install or update any required secure browser / proctoring client ahead of time and launch it once to confirm it starts cleanly. Do not leave installation to the exam start time.

Stable wired or high-quality internet connection

Prefer a wired connection or a strong dedicated Wi-Fi signal. Have a backup plan (mobile hotspot) noted, though switching networks mid-exam may require re-verification with the proctor.

Quiet, private, well-lit room with a clear desk

Remove all papers, books, notes, posters with text, extra monitors, and electronic devices from the desk and the camera's view. You will likely be asked to do a 360-degree room scan.

Phone silenced and stored out of reach

Any device visible or audible during the session can be treated as a violation. Put it away before you launch the exam and do not touch it until you have finished.

Confirm allowed test aids with the provider

Whether scratch paper, a whiteboard, or an on-screen notepad is permitted varies by delivery method and version. Do not assume - verify the current policy in your candidate handbook.

Confirm break policy with the provider

Scheduled vs. unscheduled break rules and whether the timer keeps running differ between remote and test-center delivery. Check your handbook rather than relying on secondhand reports.

Confirm the passing score and question count for your exam version

Cut scores and exam length can change between versions and are not something to guess at. Confirm the current numbers on the official exam blueprint/handbook.

Water and a light snack staged for after the exam

Keep them off the desk during the session; they are for recovery afterwards, not for use mid-exam unless the provider explicitly allows it.

A time-management plan written down

Note the total question count and compute a rough per-question budget, plus a checkpoint time by which you should be at the halfway question. Keep this on a sticky note outside camera view - not on your desk.

Plan the day

72 hours out

Re-read the official exam blueprint and list the domains you score weakest on. Do targeted review of those domains only - no new topics this late. Take one timed practice assessment under exam-like conditions to rehearse pacing, then stop adding new material.

72 hours out

Reconcile your ID against your registration name character by character, and verify your appointment date, start time, and time zone. Fix any discrepancy now, not on test day.

72 hours out

Confirm the delivery method and its requirements (remote proctoring setup vs. test-center arrival time and what the center allows). Note the arrival/check-in window.

24 hours out

Run the full system check again on the final machine, install/update proctor software, and confirm your webcam and mic work. Disable VPNs, virtual machines, and remote-desktop tools. Close background apps.

24 hours out

Prepare and photograph your testing space: clear desk, clear walls in camera view, monitor positioned so the door is visible if required. Lay out your ID.

24 hours out

Do a short, light review of high-level concept lists and terminology only. Stop studying early, eat properly, and get a full night's sleep - fatigue costs more points than one more hour of review gains.

Morning of

Eat a normal meal, hydrate, and avoid cramming new material. A brief skim of your own summary sheet is fine; deep-diving a weak topic right before the exam tends to increase anxiety.

Morning of

Set up the room, silence and store your phone, launch the proctoring software, and begin check-in early. Identity verification and room scans routinely take longer than candidates expect.

During the test

Read each stem fully and watch for qualifying words (MOST likely, BEST, FIRST, EXCEPT). Answer, then move on - do not let a single item consume several minutes.

During the test

Use the flag/review feature to mark uncertain items and come back after a first pass. Answer every question; there is generally no advantage to leaving items blank.

During the test

Check the clock at planned checkpoints. If you are behind pace, speed up on short factual items to bank time for longer scenario questions.

During the test

In the last stretch, reserve time to revisit flagged items and confirm no question is unanswered before submitting. Submit deliberately and stay seated until the session closes.

Rules to check

  • Present the exact original government-issued photo ID you registered with. Photocopies, digital images on a phone, and expired documents are not acceptable - confirm accepted ID types with the provider if you are unsure.

  • Your registration name must match your ID. Name mismatches are a common cause of denied entry or cancelled sessions, and they are far easier to fix days in advance than on test day.

  • Stay in the camera's field of view for the entire session. Leaving the frame, covering the camera, or having another person enter the room is treated as a conduct violation.

  • Do not use unauthorized materials, notes, second screens, virtual machines, or any AI or communication tool during the exam. Assume the session is recorded and reviewed.

  • Follow the proctor's instructions immediately and completely; the proctor's authority supersedes your own assumptions about what is allowed.

  • Break availability and whether the timer pauses during a break vary by delivery method - confirm the policy with the provider before test day rather than assuming you can step away.

  • Report any technical failure to the proctor immediately and note the time and nature of the issue. Do not attempt to troubleshoot alone or restart the session without instruction.

  • Scoring rules, cut scores, and retake eligibility are set by the provider and can change between exam versions - verify the current policy in the official candidate handbook rather than relying on forum reports.

CEH FAQ

How many CEH practice questions are available?

The practice set has 200 CEH questions. Each one includes the choices, the correct answer, and an explanation, and the set is free to read with no signup.

How many CEH flashcards are available?

The flashcard set has 32 CEH cards. Each card shows the term and its definition.

Which topics does the CEH study material cover?

The CEH study material has 10 sections, including Introduction to Ethical Hacking, Footprinting and Reconnaissance, and Scanning Networks and Enumeration.

What format facts does the catalog list for the CEH exam?

The catalog lists a duration of 240 minutes and these item types: multiple choice and practical hands-on challenges (optional practical exam, required for CEH Master) for the CEH exam.