Where the PenTest+ exam's points come from
CompTIA's official outline weights, the exam rules and our 249 free practice questions mapped domain by domain. Use it to plan your study hours.
- Certifying Body:CompTIA
- Exam Code:PT0-003 (launched Dec 17, 2024; CompTIA estimates retirement in 2027)
- Total Questions:Maximum of 90 (multiple-choice and performance-based)
- Recommended Experience:Network+, Security+, and about 3-4 years of hands-on penetration testing experience
- Exam Cost:About $404 USD (verify current pricing with CompTIA)
- Recertification:Valid for 3 years; renew via CompTIA continuing education (CEUs)
Where the PenTest+ points are
CompTIA's official weight for each of the five domains. Hover or tap a domain to see how many questions that means on your exam.
See these numbers as a table
| Domain | Official weight | Questions on your exam | Our practice questions |
|---|---|---|---|
| Attacks and Exploits | 35% | 32 | 85 |
| Reconnaissance and Enumeration | 21% | 19 | 51 |
| Vulnerability Discovery and Analysis | 17% | 15 | 34 |
| Post-Exploitation and Lateral Movement | 14% | 13 | 33 |
| Engagement Management | 13% | 12 | 46 |
What to do: Attacks and Exploits is the biggest domain at 35%, which means 32 of your questions. Engagement Management is the smallest at 13%.
What PenTest+ studiers got right (and wrong) so far
4,432 first-try answers on our free PenTest+ practice questions. Each part below switched on by itself once it had enough people behind it.[6]
Where PenTest+ points are lost
Out of 100 questions on a real exam, how many a typical studier would miss in each section. Accuracy alone hides this: a big section with average accuracy costs more points than a small, hard one.
See these numbers as a table
| Section | Exam weight | First-try accuracy | Points lost per 100 | First-try answers | Studiers |
|---|---|---|---|---|---|
| Attacks and Exploits | 34.4% | 74.4% | 8.8 | 1,409 | 82 |
| Reconnaissance and Enumeration | 21.1% | 77.6% | 4.7 | 862 | 69 |
| Vulnerability Discovery and Analysis | 16.7% | 85.8% | 2.4 | 605 | 65 |
| Post-Exploitation and Lateral Movement | 14.4% | 83.2% | 2.4 | 548 | 60 |
| Engagement Management | 13.3% | 81.8% | 2.4 | 676 | 72 |
What to do: Attacks and Exploits costs the most points (8.8 of every 100), because it's 34% of the exam. Study it first.[6]
SurePass, Capital Prep’s complete PenTest+ plan, with Game Plan, Cram Mode, Ask Miles and the SurePass Guarantee: a full refund plus your $439 retake fee covered if you don’t pass. Limited-time CE student deal: 50% off SurePass →
You vs everyone new
Your score in each section, next to the average first-try score of PenTest+ studiers. Take a practice test and your own scores show up here.
Take a practice test to see your scores next to everyone’s.
Capital PrepWant an exam pass guarantee?
Get 50% off SurePass. Cram Mode drills the areas still costing you points, and the SurePass Guarantee pays you back if you don’t pass: a full refund plus your $439 retake fee covered.
See SurePass for the PenTest+Capital Prep is Career Employer’s premium prep brand. We earn money if you buy. Everything on Career Employer stays free.
Split your study time by where points are lost
Tell us your study hours. We split them by points lost per section, so time goes where it moves your score most.
More PenTest+ student data is on its way
We’ve logged 4,432 first-try answers on our PenTest+ questions so far. This section switches to real PenTest+ student results by itself once each part has enough people behind it:
| What switches on | Needs |
|---|---|
| Headline numbers | 150 studiers |
| First full exam score | 100 full exams |
| Finish rate | 150 people starting |
Priority map
How big each section is against how hard it is. Bubble size = how many answers we have.
See these numbers as a table
| Section | Exam weight | First-try accuracy | First-try answers |
|---|---|---|---|
| Attacks and Exploits | 34.4% | 74.4% | 1,409 |
| Reconnaissance and Enumeration | 21.1% | 77.6% | 862 |
| Vulnerability Discovery and Analysis | 16.7% | 85.8% | 605 |
| Post-Exploitation and Lateral Movement | 14.4% | 83.2% | 548 |
| Engagement Management | 13.3% | 81.8% | 676 |
How hard are the questions?
198 PenTest+ questions with at least 15 first-try answers, grouped by the share of people who got them right first time.
See these numbers as a table
| Got it right first try | Questions |
|---|---|
| 0–10% | 0 |
| 10–20% | 0 |
| 20–30% | 3 |
| 30–40% | 2 |
| 40–50% | 8 |
| 50–60% | 21 |
| 60–70% | 20 |
| 70–80% | 30 |
| 80–90% | 51 |
| 90–100% | 63 |
What it means: 13 of 198 questions (7%) trip up more than half of studiers on the first try. That's on purpose: our free PenTest+ bank is built to be hard, so a passing score here means something.[6]
PenTest+ study activity, week by week
How much PenTest+ studying happens on Career Employer each week. Hover or tap a week for details.
See these numbers as a table
| Week of | Questions answered | Practice tests started | Flashcard sessions |
|---|---|---|---|
| Nov 16 (partial) | 9 | 1 | 0 |
| Nov 9 | 37 | 5 | 3 |
| Nov 2 | 44 | 9 | 2 |
| Oct 26 | 420 | 16 | 4 |
| Oct 19 | 740 | 40 | 10 |
| Oct 12 | 392 | 24 | 5 |
| Oct 5 | 420 | 22 | 2 |
| Sep 28 | 619 | 32 | 3 |
| Sep 21 | 128 | 6 | 0 |
| Sep 14 | 53 | 7 | 0 |
| Sep 7 | 494 | 23 | 0 |
| Aug 31 | 539 | 32 | 1 |
| Aug 24 | 126 | 6 | 0 |
| Aug 17 | 91 | 2 | 0 |
| Aug 10 | 397 | 20 | 4 |
| Aug 3 | 109 | 14 | 2 |
| Jul 27 | 265 | 5 | – |
| Jul 20 | 128 | 2 | – |
| Jul 13 | 139 | 12 | – |
| Jul 6 | 601 | 32 | – |
See Career Employer’s full PenTest+ student data ↓Our data & methodology
Source: anonymous first-try answers on Career Employer PenTest+ practice tests, Aug 29, 2026 – Nov 18, 2026. Staff traffic, repeats and peeked answers excluded. Our practice questions are written to the official outline, not the official exam; self-selected sample; a studier is one browser.
Weights and rules from CompTIA's published PenTest+ exam outline and certification pages. Practice-question counts from Career Employer's PenTest+ bank. Fees and requirements can change; check CompTIA before you register.
The CompTIA PenTest+ exam, code PT0-003, validates the hands-on penetration testing and vulnerability management skills needed to plan, scope, and execute an engagement and report the results.[1] These free PenTest+ practice questions and test prep mirror the official PT0-003 objectives so you practice the way the real exam is built.[4]
To round out your prep, pair these with our free study guide, flashcards, and cheat sheet. Want extra insurance for exam day? For a limited time, Career Employer students get 50% off SurePass: Capital Prep’s complete PenTest+ Fast-Track Study System, with practice questions weighted like the real exam and Memory Lock Flashcards on FSRS spaced repetition. If you don’t pass, you get a full refund plus your $439 retake fee covered.
CompTIA PenTest+ is one of the 14 CompTIA certifications — explore all our CompTIA practice tests to compare and prep across the whole family.
What’s Changed on the PenTest+ Exam (2026–2027)
Checked against official sources: Sep 30, 2026
Coming up
- 2027 (est.)
CompTIA estimates PT0-003 (PenTest+ V3) will retire in 2027. No successor exam or date has been announced.
What changed on this page
Every real change, with the date.
- Interactive charts added. Built from the official outline and our question bank.
- 48 new practice questions. 10 questions removed that the official outline doesn't test. 3 verified quotes from people who took the real PenTest+. The bank now has 249 questions.
- "What's changed on the PenTest+ exam" box added, with official sources.
- 211 questions rewritten.
- 90 new practice questions. 2 questions retired. The bank now has 211 questions.
What Is on the PenTest+ Exam?
The PenTest+ PT0-003 exam covers five domains: Attacks and Exploits (35%), Reconnaissance and Enumeration (21%), Vulnerability Discovery and Analysis (17%), Post-exploitation and Lateral Movement (14%), and Engagement Management (13%).[4]
Attacks and Exploits is by far the largest section, covering how to research, prepare, and execute attacks against networks, wireless, applications, cloud, and specialized systems. Our full practice test is weighted to match.

Practice Questions by Domain
Use Start Test for a full weighted PT0-003 simulation, or open the hub and pick a single domain to drill your weak area. After each full exam, your results show a per-domain breakdown so you know exactly where to focus — most candidates need the most reps on Attacks and Exploits and tool selection.
What Are the Requirements to Take PenTest+?
PenTest+ has no mandatory prerequisites — anyone may register and sit for the exam.[1] CompTIA recommends, but does not require, that candidates hold CompTIA Network+ and Security+ (or possess equivalent knowledge) and have roughly three to four years of hands-on experience in a penetration tester or related offensive-security role before attempting PT0-003. Because the exam is heavy on performance-based questions and tool usage, practical pentesting experience is strongly advised.
How Do You Register for the PenTest+ Exam?
You register for PT0-003 through CompTIA and schedule your exam with Pearson VUE, either at a physical testing center or via OnVUE online proctoring.[5] Purchase a voucher from the CompTIA Store (or an authorized reseller), create or sign in to your CompTIA account, then book a date and delivery method through Pearson VUE.
Exam pricing is approximately $404 USD but varies by region and promotion, so verify the current voucher price on CompTIA's site before you buy.
What Is the Passing Score for PenTest+?
The passing score for PenTest+ is 750 on a scaled range of 100 to 900.[1]
The exam blends multiple-choice questions with performance-based questions (PBQs) that place you in simulated environments to demonstrate hands-on testing skills; PBQs typically carry more weight than standard multiple-choice items.
Because scoring is scaled rather than a simple percentage correct, there is no fixed number of questions you must answer correctly. Your result is reported as pass or fail immediately after testing.
How Hard Is PenTest+? (Pass Rate)
PenTest+ is an intermediate-to-advanced cybersecurity exam and is widely considered hands-on and tool-heavy. CompTIA does not publish official pass-rate statistics; industry and training-provider estimates commonly place the first-attempt pass rate in roughly the 60-70% range, with the Attacks and Exploits domain, the breadth of tools tested, and the performance-based questions cited as the most common stumbling blocks.[3] Treat any specific figure as an unofficial estimate.
The takeaway: build a home lab, practice with Nmap, Metasploit, and Burp Suite, and drill until you’re consistently scoring above target on full-length practice — especially Attacks and Exploits — before you book your exam date.
On Career Employer, PenTest+ students miss Attacks and Exploits most (74% right on the first try)[6] — see the PenTest+ student data above.
What Should You Expect on PenTest+ Exam Day?
On PenTest+ exam day, arrive at your Pearson VUE test center at least 15 minutes early to check in — bring a valid, unexpired government-issued photo ID whose name matches your CompTIA registration.[5]You’ll store phones and personal items in a locker; no notes are allowed.
A short tutorial precedes the exam, then you have 165 minutes to answer up to 90 multiple-choice and performance-based questions.
The PBQs drop you into simulated environments where you select and apply the right tooling against a target, so budget time carefully — they take longer than standard items. If you test via OnVUE online proctoring, expect a workspace scan and ID check. CompTIA reports a pass/fail result immediately.
Having simulated the full timing with practice tests makes that clock feel routine.
What PenTest+ Test-Takers Report
What people who recently sat the PenTest+ said about the real exam in public forums, quoted word for word:
Scripts, syntax and tool output
“For those of you pursuing this certification, knowing scripts, syntax and reading output is very important. I think I had at least twenty or so questions on those.”
Choosing the right tool
“The biggest thing I learned is that PenTest+ isn’t just “Do you know this tool?” It’s “Do you know when this is the RIGHT tool?” That distinction is huge.”
Look-alike tool answer choices
“You need to know the specific details. On the exam, I expected a password question to have two real tools and two throwaway options, but all four choices were password crackers!”
How to Use This PenTest+ Practice Test
- Recreate exam conditions. Take the full test timed, with no notes.[4]
- Diagnose, then drill. Use a full PT0-003 simulation to find weak domains, then drill them.
- Prioritize Attacks and Exploits. At 35% it’s the biggest score-mover.
- Learn the why. Read every explanation — understanding beats memorizing.
- Practice with real tools. A home lab is the best prep for the performance-based questions.
Why Get PenTest+ Certified?
PenTest+ is an ISO/ANSI-accredited, DoD 8140-aligned credential that validates offensive security skills employers actively recruit for — penetration tester, security analyst, and vulnerability tester roles.[1] These free PenTest+ practice tests are the most efficient way to get there.
Conclusion
Passing PT0-003 comes down to knowing your attacks, tools, and the engagement lifecycle cold. Use this free CompTIA PenTest+ practice test to find your weak domains, drill them to mastery, and reinforce them with our study guide, flashcards, and cheat sheet. On Career Employer, PenTest+ students lose the most points on Attacks and Exploits (74% correct on the first try), so start your drilling there.[6]
CompTIA PenTest+ Practice Test FAQ
PenTest+ is the CompTIA penetration testing certification, administered by CompTIA and delivered through Pearson VUE. The current version is exam code PT0-003, which launched December 17, 2024; CompTIA estimates it will retire in 2027 (usually about three years after launch), with no successor or date announced yet. It validates the skills to plan, scope, and perform penetration tests, exploit vulnerabilities, and report findings, and it is ISO/ANSI-accredited and DoD 8140-aligned.
PT0-003 has a maximum of 90 questions-a mix of multiple-choice and performance-based questions-with a 165-minute time limit. The performance-based questions place you in simulated environments where you must select and apply the correct pentesting tools and techniques.
You need a scaled score of 750 on a range of 100 to 900 to pass PT0-003. Because the score is scaled and performance-based questions are weighted, there is no fixed percentage of questions you must answer correctly. Results are reported as pass or fail immediately after the exam.
PT0-003 covers five domains: Attacks and Exploits (35%), Reconnaissance and Enumeration (21%), Vulnerability Discovery and Analysis (17%), Post-exploitation and Lateral Movement (14%), and Engagement Management (13%). These weights come directly from CompTIA's official PT0-003 exam objectives.
There are no mandatory prerequisites. CompTIA recommends-but does not require-CompTIA Network+ and Security+ (or equivalent knowledge) plus roughly three to four years of hands-on experience in a penetration tester or related offensive-security role before sitting PT0-003.
A PenTest+ voucher costs approximately $404 USD, though pricing varies by region and promotion-always verify current pricing on CompTIA's site. You register through CompTIA and schedule the exam with Pearson VUE, either at a test center or online via OnVUE proctoring.
PenTest+ is an intermediate-to-advanced, hands-on exam. The objectives reference more than 80 tools and over 100 attacks and techniques, and the performance-based questions require you to apply the right tooling against a target under time pressure. The Attacks and Exploits domain (35%) and tool breadth are the most common challenges. A home lab and hands-on practice are the best preparation.
PenTest+ is valid for three years from the date you pass. You renew it through CompTIA's Continuing Education (CE) program by earning continuing education units (CEUs), completing higher-level certifications, or other approved activities within the three-year cycle.
Start with a full-length timed PT0-003 simulation to find your weakest domain, then drill it - most candidates need the most reps on Attacks and Exploits and tool selection. Build a home lab to practice with Nmap, Metasploit, and Burp Suite, and pair these with our free PenTest+ study guide, flashcards, and cheat sheet between practice rounds.
Career Employer PenTest+ practice-test data, through Nov 18, 2026 · 82+ students
| Metric | Value | n | Students | Source | Data through |
|---|---|---|---|---|---|
| First-try accuracy: Attacks and Exploits (34.4% of the exam; costs 8.8 of every 100 exam points) | 74.4% | 1,409 answers | 82 | previous question set | Nov 15, 2026 |
| First-try accuracy: Reconnaissance and Enumeration (21.1% of the exam; costs 4.7 of every 100 exam points) | 77.6% | 862 answers | 69 | previous question set | Nov 15, 2026 |
| First-try accuracy: Engagement Management (13.3% of the exam; costs 2.4 of every 100 exam points) | 81.8% | 676 answers | 72 | previous question set | Nov 15, 2026 |
| First-try accuracy: Post-Exploitation and Lateral Movement (14.4% of the exam; costs 2.4 of every 100 exam points) | 83.2% | 548 answers | 60 | previous question set | Nov 15, 2026 |
| First-try accuracy: Vulnerability Discovery and Analysis (16.7% of the exam; costs 2.4 of every 100 exam points) | 85.8% | 605 answers | 65 | previous question set | Nov 15, 2026 |
First attempt at each question only; repeats, answers after revealing the explanation, bots and staff excluded. Aug 29, 2026 – Nov 18, 2026. Our practice questions written to the official outline, not the official exam; self-selected sample; a student is one browser. Free to reuse under CC BY 4.0 — cite “Career Employer practice-test data, careeremployer.com/data”.
PenTest+ question bank
All 249 questions, by domain
A reference copy of every question in this practice test. Each answer stays hidden until you choose to show it. To practice with scoring, timing and your readiness score, use Start Test at the top of the page.
Attacks and Exploits (85)
In penetration testing, what is the primary use of a tool like SQLmap?
- A.Automating the capture of frames from wireless clients
- B.Automating the injection of code into database queries
- C.Automating the mapping of ports across remote networks
- D.Automating the delivery of messages to staff mailboxes
Show answerHide answer
Correct answer: Automating the injection of code into database queries
Correct answer: Automating the injection of code into database queries. Explanation: SQLmap detects where user input reaches a database query unsafely and then works that flaw automatically - fingerprinting the engine, enumerating databases and extracting data - which is why it is the standard tool for demonstrating injection findings. Frame capture on wireless links belongs to Wi-Fi tooling. Port mapping belongs to network scanners. Bulk mail delivery belongs to phishing frameworks, and none of them reach the database layer.
During a penetration test, which tool is most effective for automated password cracking of hashed passwords?
- A.Hashcat
- B.Patator
- C.LaZagne
- D.Crunch
Show answerHide answer
Correct answer: Hashcat
Hashcat performs offline cracking of captured password hashes using dictionary, rule, mask and brute-force attacks with GPU acceleration. Patator is an online brute-forcer that guesses logins against live services rather than cracking hashes. LaZagne recovers passwords stored by browsers and applications on a host, which is credential harvesting, not hash cracking. Crunch only generates wordlists that a cracker might later consume.
In the context of penetration testing, which tool is specifically designed for testing SQL injection vulnerabilities?
- A.SQLmap
- B.Fierce
- C.Reaver
- D.Ncrack
Show answerHide answer
Correct answer: SQLmap
Correct answer: SQLmap. Explanation: SQLmap is written for one flaw class: it fingerprints where input reaches a database query unsafely, confirms the weakness through several detection techniques and then enumerates the database behind it. Fierce performs DNS reconnaissance to locate hosts belonging to a domain. Reaver attacks the wireless setup feature on access points to recover the network key. Ncrack brute-forces logins across network services, and none of them examine how an application builds its queries.
In penetration testing, which attack method involves intercepting and modifying communication between two parties without their knowledge?
- A.Tricking a person into surrendering secrets with fake warnings
- B.Relaying one exchange between endpoints while also altering it
- C.Exhausting a host's capacity until real requests go unanswered
- D.Smuggling database instructions into a parameter a site trusts
Show answerHide answer
Correct answer: Relaying one exchange between endpoints while also altering it
The defining property is position: the attacker sits in the path, forwards the conversation so both sides believe they are talking directly, and can read or change whatever passes through. Tricking a person with fake warnings works on the human rather than on the traffic, and no exchange is relayed at all. Exhausting a host's capacity denies service instead of intercepting it, and the victims notice immediately. Smuggling instructions into a parameter attacks the data handling at one endpoint; the conversation between two parties is never entered.
Which type of attack primarily targets web applications by injecting unauthorized SQL commands?
- A.Planting a script for later execution in a visitor's browser
- B.Writing beyond a fixed buffer to redirect a program's course
- C.Slipping a crafted statement into the query a site assembles
- D.Riding a live signed-in session to issue an unwanted request
Show answerHide answer
Correct answer: Slipping a crafted statement into the query a site assembles
When user input is concatenated into a query instead of being bound as a parameter, an attacker can close the intended statement and append their own, so the database executes commands the developer never wrote. Planting a script that runs later in a visitor's browser attacks other users of the site, not its data store. Writing beyond a fixed buffer corrupts memory in a compiled program and has nothing to do with how a query is assembled. Riding a signed-in session forges a request that the server treats as the victim's own; no statement is injected into any query.
In the context of penetration testing, what is a 'zero-day' exploit?
- A.An attack that exploits a bug fixed but not yet applied
- B.An attack that exploits a bug its vendor rated critical
- C.An attack that exploits a bug its vendor stopped fixing
- D.An attack that exploits a bug unknown to its own vendor
Show answerHide answer
Correct answer: An attack that exploits a bug unknown to its own vendor
A zero-day exploit is an attack that exploits a bug unknown to its own vendor, so defenders have had zero days to produce a patch. An attack that exploits a bug fixed but not yet applied is an n-day exploit against a known, patched flaw. An attack on a bug its vendor rated critical describes severity, and a rating means the vendor already knows about it. An attack on a bug its vendor stopped fixing targets unsupported software, which is known and simply left unpatched.
Which technique is used in penetration testing to bypass security mechanisms by corrupting the memory of a program?
- A.Planting a rogue library on the search path a program loads
- B.Writing past an allocated region to steer program execution
- C.Swapping a file during the window from program check to use
- D.Preloading a shared library in memory to hook program calls
Show answerHide answer
Correct answer: Writing past an allocated region to steer program execution
The memory-corruption technique is writing past an allocated region to steer program execution, a buffer overflow, where surplus data overwrites adjacent memory such as a saved return address. Planting a rogue library on the search path is DLL or library hijacking, which abuses load order and corrupts no memory. Swapping a file during the window from check to use is a time-of-check to time-of-use race condition that changes a file, not memory contents. Preloading a shared library to hook calls uses a legitimate loader feature such as LD_PRELOAD, so nothing is overwritten or corrupted.
What is the primary goal of a Cross-Site Request Forgery (CSRF) attack in web applications?
- A.To steal personal data a browser holds for another site
- B.To run a hostile script inside pages other visitors see
- C.To have a trusted session submit an action nobody chose
- D.To swamp a server beneath more requests than it answers
Show answerHide answer
Correct answer: To have a trusted session submit an action nobody chose
This attack borrows the victim's authority: the browser already holds a valid session, so a request forged by the attacker arrives with that session attached and the application performs a state change the victim never asked for, such as a transfer or a settings edit. Stealing personal data a browser holds for another site is a same-origin problem, not an action taken in the victim's name. Running a hostile script inside pages other visitors see is a scripting attack against those viewers. Swamping a server with requests removes availability and gains no authority whatsoever.
Which attack vector is most commonly used to exploit vulnerabilities in software without user interaction?
- A.A cloned sign-in form that takes the details a target types
- B.A hostile web page that fires while a target simply browses
- C.A rogue access point that logs the sessions a target starts
- D.A crafted attachment that runs when a target opens the file
Show answerHide answer
Correct answer: A hostile web page that fires while a target simply browses
The distinguishing feature is that no decision by the victim is needed beyond ordinary browsing: content served to the browser exploits a flaw in the browser or one of its components and runs on its own, with no click, no credential entry and no connection choice. The other three vectors all wait on a deliberate act by the target: typing details into a cloned form, choosing to associate with a rogue access point, or opening an attached file. That dependence on user action is exactly what the stem rules out.
What is the main objective of a Distributed Denial of Service (DDoS) attack?
- A.To overwhelm a server from a single high-bandwidth host
- B.To enlist the many target servers into a working botnet
- C.To exhaust a target server until real users get refused
- D.To flood server logs from a single host to bury alerts
Show answerHide answer
Correct answer: To exhaust a target server until real users get refused
The main objective of a DDoS attack is to exhaust a target server until real users get refused, using traffic from many sources at once to consume bandwidth, connection tables or processing power. Overwhelming a server from a single high-bandwidth host describes an ordinary DoS, not the distributed form. Enlisting compromised machines into a botnet is the preparation that makes a DDoS possible, not its objective. Flooding server logs from one host to bury alerts is a log-evasion tactic aimed at defenders, not at denying service to users.
What type of attack involves manipulating a user into executing unauthorized actions on a website they are currently authenticated to?
- A.Cookie stealing, which harvests a stored token from browsers
- B.Open-redirect abuse, which sends a visitor onto another host
- C.Cross-site request forgery, which rides a user's own session
- D.Directory traversal, which steps outside a server's web root
Show answerHide answer
Correct answer: Cross-site request forgery, which rides a user's own session
The victim's browser attaches its existing session to any request aimed at that site, so an attacker who can make the browser issue a crafted request has the application act under the victim's identity and perform a change the victim never intended. Harvesting a stored token steals the credential outright instead of borrowing a session in place. Sending a visitor onto another host through an open redirect moves them somewhere else but performs no action in their name. Stepping outside a server's web root reads files from the file system and never involves the victim's session at all.
In penetration testing, what does a 'payload' refer to?
- A.The code that corrupts memory to gain the first entry
- B.The code that obfuscates shellcode to slip by filters
- C.The code that pads memory so the jump hits shellcode
- D.The code that runs on a host once an exploit succeeds
Show answerHide answer
Correct answer: The code that runs on a host once an exploit succeeds
A payload is the code that runs on a host once an exploit succeeds: the reverse shell, stager or beacon that does the attacker's work after entry. Code that corrupts memory to gain the first entry is the exploit itself, the piece that abuses the flaw and then delivers the payload. Code that obfuscates shellcode to slip by filters is an encoder, which wraps a payload but is not one. Code that pads memory so the jump hits shellcode is a NOP sled, an exploit-reliability aid rather than the work being delivered.
Which attack exploits the trust that a user has for a particular certificate authority (CA)?
- A.SSL stripping, where a forged redirect trades HTTPS for HTTP
- B.Rogue CA attack, where a fraudulent issuer blesses impostors
- C.Golden ticket, where a forged Kerberos ticket fools the KDC
- D.Self-signed cert attack, where users click past the warnings
Show answerHide answer
Correct answer: Rogue CA attack, where a fraudulent issuer blesses impostors
A rogue CA attack, where a fraudulent issuer blesses impostors, abuses the trust clients place in a certificate authority: anything that issuer signs is accepted as genuine. SSL stripping, where a forged redirect trades HTTPS for HTTP, avoids certificates entirely rather than abusing an issuer. A golden ticket, where a forged Kerberos ticket fools the KDC, abuses trust in the krbtgt key inside a Windows domain, not a CA. A self-signed cert attack has no CA behind it at all; users clicking past the warnings is a failure of user caution, not misplaced CA trust.
Which penetration testing technique involves injecting malicious scripts into a web page viewed by other users?
- A.Cross-site scripting, which runs code in a visitor's browser
- B.SQL injection, which inserts statements into a running query
- C.Buffer overflow, which swamps a small program's memory space
- D.Server-side forgery, which makes a host fetch internal links
Show answerHide answer
Correct answer: Cross-site scripting, which runs code in a visitor's browser
Input that an application reflects or stores without escaping is returned inside a page, so the browser of anyone viewing that page executes the attacker's code with the site's own origin, exposing session data and letting the attacker act inside the page. Inserting statements into a running query attacks the database rather than the viewer. Swamping a program's memory space corrupts a compiled process and never reaches the page. Making a host fetch internal links abuses the server's own outbound requests, so nothing at all is injected into what other users see.
What kind of penetration testing attack is conducted against the hardware of a device, such as routers, switches, or servers?
- A.Passive attack, where traffic is read as it crosses wires
- B.Physical attack, where the case itself is opened right up
- C.Protocol attack, where a stage in the exchange is twisted
- D.Remote attack, where a defect in loaded code is triggered
Show answerHide answer
Correct answer: Physical attack, where the case itself is opened right up
Testing aimed at the equipment itself means reaching the device: console and debug ports, removable storage, factory reset behaviour and chassis access, which is why this work is scoped alongside facility access rather than under network testing. Reading traffic as it crosses wires is interception and needs no access to the case. Twisting one stage of an exchange attacks a protocol, not the metal. Triggering a defect in loaded code is software exploitation delivered over the network, and it never requires the tester to be present.
Which attack involves an unauthorized person gaining access to a network by using a legitimate user's credentials?
- A.Address spoofing, where a sender's identifier is quietly forged
- B.Traffic eavesdropping, where a silent listener logs an exchange
- C.Credential reuse, where an outsider arrives using valid secrets
- D.Session hijacking, where an existing token is silently captured
Show answerHide answer
Correct answer: Credential reuse, where an outsider arrives using valid secrets
Here the attacker presents credentials that genuinely belong to a real account, obtained from a breach dump, a phishing capture or a password reused across services, so authentication succeeds and the access looks ordinary in the logs. Forging a sender's identifier misrepresents where traffic comes from and proves nothing about identity to an application. A silent listener that logs an exchange is passive and gains no access by itself. Capturing an existing token bypasses authentication rather than completing it with the user's own secrets.
Which attack aims to make a network resource unavailable to its intended users by disrupting the services of a host connected to the Internet?
- A.Session hijacking, which takes over live sessions from users
- B.DNS cache poisoning, which sends live users to a forged server
- C.Denial of service attack, which overwhelms a responding server
- D.Replay attack, which resends captured requests from live users
Show answerHide answer
Correct answer: Denial of service attack, which overwhelms a responding server
Making a resource unavailable by disrupting a host's services is a denial of service attack, which overwhelms a responding server until legitimate requests go unanswered. Session hijacking takes over an existing authenticated session, so the service keeps running while the attacker impersonates a user. DNS cache poisoning sends users to a forged server by corrupting name resolution, which misdirects traffic but leaves the real host fully working. A replay attack resends captured requests to repeat a transaction or gain access, not to exhaust the server's capacity.
What type of penetration testing technique involves the exploitation of vulnerabilities in communication protocols?
- A.Poisoning the exchanges machines rely on to locate each other
- B.Bending an application's own logic through a typed user input
- C.Breaking a cipher by attacking the mathematics under its hood
- D.Walking a directory tree to retrieve records outside its root
Show answerHide answer
Correct answer: Poisoning the exchanges machines rely on to locate each other
Attacks in this family abuse the rules of the conversation itself: machines that broadcast to locate one another accept whichever answer arrives first, so an attacker who answers falsely is believed and traffic is redirected without any software defect being exploited. Bending an application's logic through typed input operates at the application layer, above the protocol. Attacking the mathematics beneath a cipher is a cryptographic attack. Walking a directory tree to retrieve records outside the root abuses path handling inside one web application.
What is the primary purpose of ARP spoofing in a network?
- A.To scramble packets so one machine's client alone reads these
- B.To maintain a concealed channel for returning to this address
- C.To overload a network with more incoming frames than expected
- D.To pull a whole segment's traffic through the testing station
Show answerHide answer
Correct answer: To pull a whole segment's traffic through the testing station
By answering address-resolution requests with its own hardware address, the attacking host convinces its neighbours that it is the gateway or peer they were looking for, so their frames are delivered to it first and can be read, changed or passed on. Scrambling packets so only the intended receiver can read them describes encryption, which protects traffic instead of diverting it. Maintaining a concealed channel for later return is persistence. Overloading a network with incoming frames denies service and destroys the quiet position that interception depends on.
In the context of penetration testing, what is a 'rainbow table' used for?
- A.To unwrap the traffic protected by a negotiated session key
- B.To match stolen hashes against a precomputed list of values
- C.To assemble a picture of how one network's segments connect
- D.To prioritize the flaws found by an automated scan platform
Show answerHide answer
Correct answer: To match stolen hashes against a precomputed list of values
The structure is a stored, precomputed mapping between candidate passwords and their digests, built once and reused, so recovering a password becomes a lookup rather than a fresh computation for every guess; the trade is disk space for time, and a per-account random value defeats it. Unwrapping traffic protected by a negotiated session key is a transport problem. Assembling a picture of how segments connect is topology mapping. Prioritizing flaws found by a scanner is triage of scan output, and none of the three involve stored digests.
What is the main purpose of the tool 'Sqlmap' in penetration testing?
- A.Reads frames off a host's interface to rebuild conversations
- B.Recovers passwords from captured hashes with a prepared list
- C.Examines each parameter for weaknesses in a target's queries
- D.Surveys the wireless channels for access points within range
Show answerHide answer
Correct answer: Examines each parameter for weaknesses in a target's queries
The tool automates the whole database-injection workflow: it varies each parameter in turn, compares the responses for evidence that input is reaching the query, then fingerprints the back end and extracts data once a weakness is confirmed. Reading frames off an interface to rebuild conversations is packet analysis. Recovering passwords from captured hashes with a prepared list is offline cracking. Surveying wireless channels for access points is a radio survey. None of those three look at how a site assembles its queries.
Which tool is best suited for performing a password cracking attack on a WPA2 wireless network?
- A.Aircrack-ng, which pulls keys from a captured radio handshake
- B.Nessus, which reports known flaws found by credentialed scans
- C.John the Ripper, which attacks hashes retrieved from archives
- D.Cain & Abel, which gathers credentials from poisoned segments
Show answerHide answer
Correct answer: Aircrack-ng, which pulls keys from a captured radio handshake
Recovering the passphrase for this kind of protected wireless network is an offline job against a captured association exchange: the suite named here captures that exchange, deauthenticating a client if necessary to force one, then tests candidate passphrases against it. A vulnerability scanner reports known flaws and cracks nothing. A general password cracker works on digests already retrieved from storage and cannot capture the wireless exchange in the first place. A segment-poisoning credential collector gathers what crosses a wired network, not what is carried over radio.
In the context of penetration testing, what is the main function of the 'BeEF' framework?
- A.Recovering the keys protecting a locked archive kept offline
- B.Firing service exploits at hosts reachable over the internet
- C.Hooking browsers to run commands against a visitor's session
- D.Organizing those pretexts used in a client's social campaign
Show answerHide answer
Correct answer: Hooking browsers to run commands against a visitor's session
The framework works on the client side: a small script loaded by a page hooks the visiting browser, and from then on the tester issues commands that run inside it, fingerprinting the browser, reaching internal resources it can see and abusing whatever the visitor is signed in to. Recovering the keys protecting an offline archive is cryptographic cracking. Firing service exploits at internet-reachable hosts is server-side exploitation. Organizing pretexts for a social campaign prepares the human approach rather than driving a browser that is already hooked.
Which tool is used for automated exploitation and payload delivery in penetration testing?
- A.Metasploit
- B.Exploit-DB
- C.Burp Suite
- D.Responder
Show answerHide answer
Correct answer: Metasploit
Metasploit pairs a library of exploit modules with payload generation and listeners, so it handles exploitation and payload delivery end to end. Exploit-DB is an archive of public exploit code that a tester searches but must run separately. Burp Suite is an intercepting proxy for manual and scanned web testing, not a payload-delivery framework. Responder poisons LLMNR and NBT-NS name resolution to capture hashes rather than delivering exploits.
Which tool is best suited for conducting a Man-in-the-Middle (MitM) attack in a penetration testing scenario?
- A.Kerbrute
- B.Dnsrecon
- C.Skipfish
- D.Ettercap
Show answerHide answer
Correct answer: Ettercap
Ettercap is purpose-built for on-path work: it poisons the ARP caches of two hosts on the same segment so their traffic is relayed through the tester, then applies filters, forces protocol downgrades and records the intercepted sessions. Kerbrute checks Kerberos account names and sprays candidate passwords at a domain controller, which never moves anyone's traffic. Dnsrecon queries name servers for records and attempts zone transfers. Skipfish crawls an application and reports issues in the responses it receives. None of those three ever places the tester between two communicating parties.
What is the main use of the 'Hashcat' tool in penetration testing?
- A.Recovering account passwords by attacking a captured hash
- B.Guessing account passwords against the live login service
- C.Dumping account password hashes from the memory of a host
- D.Capturing account password hashes from poisoned requests
Show answerHide answer
Correct answer: Recovering account passwords by attacking a captured hash
Hashcat's main use is recovering account passwords by attacking a captured hash offline, running dictionary, rule, mask or brute-force candidates on the GPU until a plaintext matches. Guessing passwords against a live login service is online brute forcing, the job of a tool such as Hydra. Dumping password hashes from a host's memory is what Mimikatz does to obtain the hashes in the first place. Capturing hashes from poisoned name requests is Responder's role; Hashcat only works on hashes once they have been collected.
During an authorized internal engagement, a tester wants to capture NTLMv2 hashes by answering broadcast name-resolution requests that Windows hosts send when DNS lookups fail. Which protocol weakness does this technique abuse?
- A.DNS resolvers accepting unauthenticated answer records
- B.NTP servers supplying unauthenticated timestamp values
- C.LLMNR fallback answering unauthenticated local queries
- D.SNMP agents exposing unauthenticated community strings
Show answerHide answer
Correct answer: LLMNR fallback answering unauthenticated local queries
When a Windows host cannot resolve a name through its configured server it falls back to link-local resolution, and that LLMNR fallback answering unauthenticated local queries is the weakness in play: NBT-NS behaves the same way, neither mechanism authenticates the responder, and whichever station replies first is believed. An attacker who replies claiming to own the requested name receives an authentication attempt and with it NTLMv2 material that can be cracked offline or relayed. A resolver that accepts unsolicited answer records is the classic cache-poisoning problem, a different protocol and a different attack. Unauthenticated time distribution allows clock manipulation, not credential capture. Readable community strings expose device inventory over a management protocol and disclose no user authentication at all.
A penetration tester runs Responder on an authorized internal network and immediately begins receiving NTLMv2 hashes from workstations. What is the primary function of the Responder tool in this scenario?
- A.It attacks digests by trying dictionary candidates
- B.It answers broadcasts by returning rogue responses
- C.It enumerates shares by probing anonymous sessions
- D.It intercepts traffic by rewriting cached mappings
Show answerHide answer
Correct answer: It answers broadcasts by returning rogue responses
Responder is a poisoner: it answers broadcasts by returning rogue responses to LLMNR, NBT-NS and mDNS name lookups, claiming to be whatever host the victim was searching for. The victim then opens an authentication exchange with the attacker and discloses NTLMv2 material, which is why hashes start arriving within moments of starting it on a busy segment. That material is cracked offline or relayed onward. Guessing candidates from a dictionary against captured digests is the job of a separate offline cracking tool. Probing anonymous sessions to list shares is share enumeration, which reads exposed resources rather than collecting credentials. Rewriting cached layer-two mappings describes an on-path poisoner that redirects traffic, a distinct family of attack that does not depend on name resolution failing.
After capturing NTLMv2 hashes that resist cracking, a tester wants to forward the authentication to another host to gain access without ever recovering the plaintext password. Which technique accomplishes this?
- A.Fabricating a privileged ticket from krbtgt material
- B.Requesting secrets bound to visible service accounts
- C.Substituting the digest into an impersonated session
- D.Relaying the handshake onto one unsigned destination
Show answerHide answer
Correct answer: Relaying the handshake onto one unsigned destination
A relay attack works by relaying the handshake onto one unsigned destination while the exchange is still live, so that target completes the negotiation believing the attacker is the victim and the tester never needs the plaintext at all. It only succeeds where message signing is not enforced, which is exactly why enabling signing is the standard remediation. Fabricating a privileged ticket depends on already holding the domain key-distribution secret, a far deeper compromise than a captured workstation response. Requesting secrets tied to service accounts describes an offline cracking route that still ends in recovering a password. Substituting a captured response into a logon session cannot work, because a challenge-response value is bound to that one challenge and is not reusable the way a stored hash would be.
A tester needs to generate a standalone Windows executable that, when run, connects back to the tester's listener. Which Metasploit Framework utility is purpose-built to create such payloads in various output formats?
- A.Msfconsole, driving exploit choice from an interactive shell
- B.Msfdb, preparing the shared workspace storage behind modules
- C.Msfvenom, building runnable artifacts in many chosen formats
- D.Multi-handler, receiving the incoming sessions at a listener
Show answerHide answer
Correct answer: Msfvenom, building runnable artifacts in many chosen formats
Msfvenom is the generator: building runnable artifacts in many chosen formats is its whole purpose, combining payload selection with encoding so the result can be emitted as an executable, a script, a library or raw shellcode for embedding elsewhere. That is what produces a file which, once run, calls back to a waiting handler. Msfconsole is the interactive driver where a module is selected and configured, and it does not by itself write a distributable file. Msfdb prepares the backing workspace storage so results persist between sessions, which is bookkeeping rather than payload creation. The multi-handler module is the receiving end that accepts the callback once the generated file executes, so it consumes the product instead of producing it.
In Metasploit, what does the term payload most accurately describe?
- A.The auxiliary module profiling hosts during discovery scans
- B.The encoder rewriting opcodes to dodge signature inspection
- C.The listener waiting for an unsolicited incoming connection
- D.The instructions running on a target following exploitation
Show answerHide answer
Correct answer: The instructions running on a target following exploitation
A payload is the instructions running on a target following exploitation. The exploit's job ends once it has hijacked execution; what happens next, whether that is opening a shell, staging Meterpreter or executing a single command, is the payload's job, and the two are configured separately precisely because either can be swapped without touching the other. An auxiliary module performs scanning and profiling work and never gains code execution to hand off. An encoder only reshapes the bytes of an existing payload so they survive signature inspection, which changes its appearance and not its function. The listener is the attacker-side component that accepts a callback, and it runs on the tester's machine rather than on the compromised target.
A tester generates a payload that opens a listening port on the compromised host and waits for the tester to connect inbound. What type of shell is this?
- A.A bind shell awaiting one external connection attempt
- B.A reverse shell dialing the operator outbound instead
- C.A web shell responding within the application service
- D.A restricted shell lacking any full terminal handling
Show answerHide answer
Correct answer: A bind shell awaiting one external connection attempt
A bind shell awaiting one external connection attempt is exactly the described behaviour: the payload binds a port on the victim, listens there, and does nothing until the tester dials in. Its practical weakness is that an ingress rule or a network address translation boundary in front of the victim will usually drop that inbound attempt, which is why the pattern is mostly useful on flat internal segments. The reverse pattern inverts the roles: the victim dials out to the operator, so nothing listens on the victim at all. A web shell is a script left inside a running application and reached over ordinary requests to that application, not a payload holding its own socket. A restricted shell describes a session with no proper terminal handling, a comfort problem rather than a direction of connection.
Why do penetration testers frequently prefer a reverse shell over a bind shell when targeting a host behind a restrictive firewall?
- A.Reverse channels listen on a port a firewall leaves open
- B.Reverse channels dial outward past ordinary egress rules
- C.Reverse channels reuse an inbound port a firewall allows
- D.Reverse channels hide in ICMP so the firewall ignores it
Show answerHide answer
Correct answer: Reverse channels dial outward past ordinary egress rules
Testers prefer reverse shells because reverse channels dial outward past ordinary egress rules: the compromised host starts the connection, and most firewalls block unsolicited inbound traffic while allowing outbound traffic on common ports. Listening on a port is what a bind shell does, and it still needs inbound traffic to reach the host. Reusing an inbound port that the firewall allows is a port-reuse bind trick, not a property of a reverse connection. Hiding in ICMP is tunneling, which a reverse shell does not do by default; a plain reverse shell uses ordinary TCP.
A tester is choosing between a staged and a stageless Metasploit payload for a low-bandwidth, signature-restricted environment. Which statement about staged payloads is correct?
- A.A staged payload ships one artifact holding each component
- B.A staged payload transmits a stub retrieving the remainder
- C.A staged payload avoids the handler awaiting its callbacks
- D.A staged payload hides its traffic using native encryption
Show answerHide answer
Correct answer: A staged payload transmits a stub retrieving the remainder
A staged payload transmits a stub retrieving the remainder from the attacking machine once execution begins, which is why it suits the situation described: the first-stage code is tiny, so it fits where only a few hundred bytes of space are available and it presents very little for a signature to match. Shipping one self-contained artifact that already holds every component describes the stageless alternative, the opposite arrangement. A handler is still mandatory, and in fact the staged form depends on it more heavily because the handler serves the second stage. Encryption is a property of the specific payload chosen rather than of staging, so nothing about splitting delivery into two steps conceals the traffic on its own.
A tester poisons the ARP cache of a target host and the gateway so that traffic between them flows through the tester's machine. What category of attack is this, and what is its immediate effect?
- A.An on-path position, permitting silent packet alteration
- B.An overflowed CAM table, flooding frames out every port
- C.A VLAN hopping attack, sending frames to another segment
- D.A DHCP starvation attack, draining the pool of addresses
Show answerHide answer
Correct answer: An on-path position, permitting silent packet alteration
Poisoning the ARP caches of a host and its gateway places the tester in an on-path position, permitting silent packet alteration as well as sniffing, because every frame between the two now transits the tester's machine. An overflowed CAM table, flooding frames out every port, is the result of MAC flooding, which exposes traffic without routing it through the tester. A VLAN hopping attack changes reachability between segments rather than intercepting a conversation. A DHCP starvation attack drains the address pool and is a denial of service.
On a Layer 2 segment, a tester sends crafted replies that associate the tester's MAC address with the default gateway's IP so victim hosts forward their traffic to the tester. Which attack is being performed?
- A.MAC flooding, overwhelming the switch address table
- B.DHCP starvation, draining the available lease space
- C.STP manipulation, claiming the root bridge election
- D.ARP poisoning, overwriting the victim cache entries
Show answerHide answer
Correct answer: ARP poisoning, overwriting the victim cache entries
ARP poisoning works by overwriting the victim cache entries with forged replies, because address resolution carries no authentication and a host will accept an unsolicited reply that maps the gateway's address to the tester's hardware address. Traffic destined for the gateway is then handed to the tester instead. MAC flooding attacks the switch rather than the host, filling its forwarding table until it floods frames out every port. DHCP starvation drains the lease space so that legitimate clients cannot obtain an address, a denial of service rather than a redirection. Spanning-tree manipulation claims the root bridge role to bend the logical topology, which reroutes at the switching layer without touching any host's resolution cache.
A tester wants to redirect victims to an attacker-controlled server by supplying forged name-to-IP mappings during resolution. Which attack describes this manipulation of name resolution?
- A.ARP spoofing, forging the attacker IP-to-MAC mapping
- B.DHCP spoofing, handing out leases from rogue servers
- C.DNS spoofing, returning the attacker address mapping
- D.DHCP starvation, exhausting leases for rogue servers
Show answerHide answer
Correct answer: DNS spoofing, returning the attacker address mapping
The key is dns spoofing, returning the attacker address mapping: the tester answers a name lookup with a forged record, so the victim resolves the hostname to an address the tester controls and connects there. ARP spoofing also forges a mapping, but it ties an IP address to a MAC address on the local network and never touches name-to-IP resolution. DHCP spoofing hands out leases from rogue servers, which can change the gateway or resolver a client uses, but the lease itself carries configuration, not forged name-to-IP answers. DHCP starvation exhausts the lease pool so a rogue DHCP server can take over, which is a configuration attack rather than forged name resolution.
What term does the current PenTest+ objectives use to describe attacks where the tester positions themselves between two communicating systems to intercept or alter traffic?
- A.Relay attack, forwarding captured hashes to another host
- B.Replay attack, resending captured traffic at later times
- C.Downgrade attack, forcing weaker cipher suites on a link
- D.On-path attack, intruding inside an ongoing conversation
Show answerHide answer
Correct answer: On-path attack, intruding inside an ongoing conversation
The current objectives use on-path attack, intruding inside an ongoing conversation, for the family once called man-in-the-middle: the tester sits where both parties' traffic passes and can read or alter it. A relay attack forwards captured authentication to a different host and is one thing an on-path position enables, not the name of the position. A replay attack resends previously captured traffic later. A downgrade attack forces weaker protocol options and usually depends on already being on-path.
A web application passes a user-supplied filename directly into a shell command. By appending a semicolon and an additional OS command, the tester causes the server to run their command. Which vulnerability class is this?
- A.SQL injection, reshaping the relational query expression
- B.LDAP injection, distorting the directory search criteria
- C.Command injection, chaining another operating system job
- D.XPath injection, redirecting the document node selection
Show answerHide answer
Correct answer: Command injection, chaining another operating system job
When unsanitised input is concatenated into a string that the server hands to a shell, a separator character ends the intended work and everything after it is treated as command injection, chaining another operating system job that runs with the privileges of the web process. The defence is to avoid shell interpretation entirely and pass arguments as a list. The relational form manipulates a query sent to a database engine, so the damage stays inside the data layer rather than reaching the host. The directory form distorts a search filter evaluated by a directory service. The XPath form redirects node selection inside an XML document. All three abuse a parser, but none of them hands the attacker execution on the underlying operating system.
A tester manipulates a file parameter using sequences such as
../../to read files outside the web root, retrieving/etc/passwd. Which vulnerability is being exploited?- A.Open redirect, bouncing visitors onto hostile destinations
- B.Path traversal, escaping the configured directory boundary
- C.Server-side forgery, coercing an unintended internal fetch
- D.Object reference exposure, revealing another user's record
Show answerHide answer
Correct answer: Path traversal, escaping the configured directory boundary
Manipulating a file reference with relative sequences is path traversal, escaping the configured directory boundary so that a reference intended to stay inside one folder resolves somewhere else on the file system and returns an unrelated file. Canonicalising the resolved path and rejecting anything outside the permitted root is the fix. An open redirect abuses a destination parameter to bounce a visitor to a site the operator did not intend, which costs the user rather than the file system. Server-side forgery makes the application itself issue a request the tester chooses, reaching internal services rather than reading local files. Object reference exposure returns another account's record because an identifier is trusted without an authorisation check, and no path is manipulated at all.
During testing of a login form, the tester submits a value that closes the intended SQL string and appends OR 1=1, returning all rows. What is the most reliable code-level defense the tester should recommend?
- A.Prepared statements binding submitted values as parameters
- B.Perimeter filtering blocking known attack strings outright
- C.Output encoding escaping content during template rendering
- D.Restricted accounts limiting harm from successful exploits
Show answerHide answer
Correct answer: Prepared statements binding submitted values as parameters
Prepared statements binding submitted values as parameters is the reliable code-level fix, because the statement is compiled with its structure fixed before any input is supplied. Whatever the user sends is then delivered as a value, so a quotation mark or a trailing clause is stored and compared as literal text and can never become part of the logic. Perimeter filtering matches known patterns and is routinely evaded by encoding or by an unusual dialect, so it buys time rather than correctness. Output encoding protects the browser from injected markup and does nothing on the path into the database. Restricted database accounts reduce how much a successful exploit can reach, which is defence in depth and leaves the flaw itself in place.
A tester injects a script payload into a comment field; when other users view the page, the script runs in their browsers and steals session cookies. Which attack is demonstrated?
- A.Stored scripting, running inside each later visitor's browser
- B.Request forgery, riding an already authenticated user session
- C.Interface overlay, capturing clicks meant for another control
- D.Script inclusion, reading private data across origin barriers
Show answerHide answer
Correct answer: Stored scripting, running inside each later visitor's browser
Because the submitted markup is saved by the application and served again to everyone who opens the page, this is stored scripting, running inside each later visitor's browser with the origin's own privileges, which is why the session cookie of every reader can be read and sent away. No lure is needed and one submission reaches many victims. Request forgery causes a browser that already holds a valid session to perform an action chosen by the attacker, but it injects no code into the page. An interface overlay hides the real control beneath a decoy so a click lands somewhere unintended, again without executing attacker script. Script inclusion pulls data from one origin into a document controlled by another and depends on how a response is parsed, not on markup persisted by the target.
A tester wants to capture and manipulate HTTP requests between a browser and a web application, then resend modified requests to probe for flaws. Which tool is designed for this web application proxy workflow?
- A.Wireshark, dissecting the payloads captured across a segment
- B.Burp Suite, rewriting exchanges inside an intercepting proxy
- C.Gobuster, finding the hidden paths through wordlist guessing
- D.Hydra, submitting the credential guesses against login forms
Show answerHide answer
Correct answer: Burp Suite, rewriting exchanges inside an intercepting proxy
Burp Suite, rewriting exchanges inside an intercepting proxy, is built for this loop: the browser is pointed at it, every message can be paused and edited before it continues, and any captured message can be resent repeatedly with altered parameters or automated through its fuzzing component. That edit-and-resend cycle is the core of manual web testing. Wireshark dissects traffic that has already been captured and cannot hold a message open or change it in flight. Gobuster discovers unlinked paths by trying candidate names from a list, which finds attack surface but does not manipulate a single exchange. Hydra submits credential guesses to a login form and is a brute-force engine rather than an editing proxy.
Which description best captures what the Metasploit Framework is primarily used for during an engagement?
- A.A searchable archive listing known public exploits by vendor
- B.A scanner matching the services on hosts against known flaws
- C.A modular platform matching payloads with candidate exploits
- D.A command server managing implants left on compromised hosts
Show answerHide answer
Correct answer: A modular platform matching payloads with candidate exploits
Metasploit is best described as a modular platform matching payloads with candidate exploits: the tester picks an exploit module, pairs it with a payload, sets options and launches it while a handler catches the session. A searchable archive of public exploits describes Exploit-DB and searchsploit, which store code but do not configure or deliver it. A scanner matching services against known flaws describes Nessus or OpenVAS, which identify weaknesses without exploiting them. A command server managing implants describes a dedicated C2 framework such as Cobalt Strike, focused on post-exploitation control.
A tester captured a set of password hashes and wants to recover plaintext passwords using GPU-accelerated cracking with multiple attack modes. Which tool is built for this?
- A.Responder, collecting the material from poisoned service lookups
- B.Hydra, hammering live services with repeated credential attempts
- C.CeWL, building specialised wordlists from crawled site documents
- D.Hashcat, recovering the plaintext through rapid offline guessing
Show answerHide answer
Correct answer: Hashcat, recovering the plaintext through rapid offline guessing
Hashcat, recovering the plaintext through rapid offline guessing, is the tool described: it drives graphics hardware to compute enormous numbers of candidate hashes per second, supports a long list of hash types, and offers dictionary, rule, mask, combinator and hybrid modes so the search can be shaped rather than merely brute-forced. Responder collects authentication material by poisoning name lookups, which produces the very captures that need cracking but performs none of it. Hydra hammers a live service with credential attempts, an online attack that is slow, noisy and constrained by lockout policy. CeWL builds a targeted wordlist by crawling a site for vocabulary, so it feeds a cracker rather than being one.
In a dictionary-based password cracking attack, what role does a wordlist play?
- A.It records the resolved results for scheduled delivery
- B.It defines the acceptable characters a mask enumerates
- C.It supplies the candidate guesses hashed then compared
- D.It stores the precomputed answers for recorded digests
Show answerHide answer
Correct answer: It supplies the candidate guesses hashed then compared
In a dictionary attack the wordlist supplies the candidate guesses hashed then compared against the target value: each entry is run through the same algorithm the application used, and a match reveals the password behind the stored value. Its quality is what decides the outcome, which is why testers tailor lists to the target. Recording resolved results for later delivery describes the file a cracker keeps so it does not repeat work, an output rather than an input. Defining the acceptable characters a template enumerates describes a mask or pure brute-force search, which walks a space instead of reading prepared words. Storing precomputed answers for recorded digests describes a lookup table built in advance, where the hashing has already been done and nothing is computed at attack time.
A tester uses a precomputed table that maps hash values directly to their corresponding plaintext passwords to crack unsalted hashes quickly. What is this resource called, and what defeats it?
- A.A rainbow table; a per-password salt defeats it
- B.A checksum collision; a wider digest defeats it
- C.A keyspace estimate; a faster laptop defeats it
- D.A dictionary list; a strict throttle defeats it
Show answerHide answer
Correct answer: A rainbow table; a per-password salt defeats it
A precomputed structure that maps stored values straight back to the passwords behind them is a rainbow table; a per-password salt defeats it, because a distinct random value mixed into each password means the stored result no longer matches anything in a table built for unsalted input, and the attacker has to compute the chains again for every account. That is why salting, not secrecy, is the standard countermeasure. A checksum collision is two inputs sharing one output, a property of the algorithm rather than a stored resource. A keyspace estimate merely counts how large a search would be. A dictionary list holds candidate words that still have to be hashed at attack time, and throttling only slows guessing that happens online.
Which choice best defines social engineering in the context of a penetration test?
- A.Overrunning a memory buffer to hijack execution control
- B.Sweeping an address block to locate responsive services
- C.Recovering secrets offline from a captured digest store
- D.Persuading a person into weakening their usual defences
Show answerHide answer
Correct answer: Persuading a person into weakening their usual defences
Social engineering means persuading a person into weakening their usual defences, whether that is disclosing something they should protect, opening an attachment, or letting an unknown visitor through a controlled door. The target is human judgement and trust, which is why no patch closes it and why awareness training and verification procedures are the countermeasures. Overrunning a memory buffer manipulates how a program stores data so that execution can be hijacked, a purely technical flaw in software. Sweeping an address block to find responsive services is reconnaissance carried out against machines. Recovering secrets offline from a captured store is a computational attack on stored values, and none of the three requires a person to be convinced of anything.
During an authorized engagement, the tester sends targeted emails impersonating the IT help desk to lure employees into entering credentials on a cloned login page. What is this technique, and what is the tester measuring?
- A.Pharming; gauging how many users arrive at the cloned login
- B.Phishing; gauging how many staff surrender live credentials
- C.Whaling; gauging how many senior users arrive at the login
- D.Watering hole; gauging which staff enter credentials there
Show answerHide answer
Correct answer: Phishing; gauging how many staff surrender live credentials
Imitating the help desk by email to drive staff to a cloned sign-in page is phishing; gauging how many staff surrender live credentials is the measurement, tracked through opens, clicks and submitted passwords. Pharming redirects users through poisoned DNS or hosts files, so no lure email is needed to make them arrive at the cloned login. Whaling targets senior executives specifically, while this campaign targets ordinary employees. A watering hole attack compromises a site staff already visit and gauges which staff enter credentials there, with no help-desk email lure involved.
A tester deauthenticates a client from a WPA2-Personal wireless network to capture the four-way handshake, then attempts to recover the passphrase offline. Which captured element is necessary for the offline crack to succeed?
- A.The beacon broadcast naming the network and its channel layout
- B.The ARP replay flooding the airtime and gathering more traffic
- C.The EAPOL exchange carrying the random nonces and check values
- D.The DHCP negotiation granting the station its lease and router
Show answerHide answer
Correct answer: The EAPOL exchange carrying the random nonces and check values
Offline recovery of a WPA2-Personal passphrase works by hashing each candidate into a pairwise master key, deriving a pairwise transient key from the captured nonces and the hardware addresses, then testing the resulting message integrity check against the value seen in the capture. Those EAPOL frames are the only captured material that can confirm or reject a guess. A beacon advertises the network and its channel but carries no per-session key material. Replayed ARP traffic only generates volume, which mattered for legacy WEP keystream work and adds nothing to a WPA2 dictionary run. DHCP addressing is handed out after association and contains no value a cracker can test against.
A tester sets up a rogue access point that broadcasts the same SSID as the corporate wireless network to lure clients into connecting. What is this attack commonly called?
- A.Evil twin, often paired with a matching captive credential page
- B.Deauth flooding, often paired with a forced client rejoin phase
- C.War driving, often paired with a detailed street corner mapping
- D.Passphrase cracking, often paired with a raw saved capture file
Show answerHide answer
Correct answer: Evil twin, often paired with a matching captive credential page
A rogue access point that answers to a legitimate network name is an evil twin: clients that trust the name associate with the tester instead of the real infrastructure, which is why the technique is usually finished with a portal or credential prompt. Deauthentication flooding only knocks clients off an existing network; it can push victims toward a twin but is not itself the impersonation. War driving is a survey that records networks from a moving vehicle and attacks nothing. Passphrase cracking is an offline computation against captured material and never involves standing up an access point.
A web application reflects an unsanitized id parameter into the response, and the tester confirms a script entered in the URL executes only for the user who follows the crafted link. Which XSS variant is this?
- A.Stored XSS, held by the application and fed to new viewers
- B.DOM based XSS, driven by a browser script after page loads
- C.Blind XSS, parked in a back office console and fired later
- D.Reflected XSS, echoed by the server and gone after it runs
Show answerHide answer
Correct answer: Reflected XSS, echoed by the server and gone after it runs
Reflected cross-site scripting is delivered inside the request itself: the server echoes the unsanitised parameter straight back into the immediate response, so the script runs only for the person who submitted that request and nothing is retained afterwards. The stored variant requires the payload to be written into the application's data and served to everyone who later views the page, which is not what happened here. A DOM-based payload needs no echo from the server at all, because it reaches a client-side sink while the page assembles itself in the browser. A blind payload fires somewhere the tester cannot watch, so it could not have been confirmed simply by following the link.
A tester finds that a cloud storage bucket is publicly readable and lists sensitive objects. Within the Attacks and Exploits domain, which cloud attack class does exploiting this misconfiguration represent?
- A.Cloud image abuse of a publicly readable machine template
- B.Cloud storage abuse of an overly permissive object policy
- C.Cloud identity abuse of a secret left inside repositories
- D.Cloud tenancy abuse of a shared hypervisor timing channel
Show answerHide answer
Correct answer: Cloud storage abuse of an overly permissive object policy
A bucket readable by anyone is a resource policy problem: the storage service is doing exactly what it was told, and the tester simply reads objects the owner never meant to publish, with no software vulnerability involved. A poisoned or openly shared machine image is a supply-chain problem in how compute gets built, not an access decision on stored data. A leaked long-lived credential is an identity problem and yields authenticated access rather than anonymous reads. A timing side channel between tenants is a hardware isolation problem in shared compute, unrelated to how the object store was configured.
A tester escapes a container by abusing an overly privileged container that was run with host namespace access, gaining code execution on the underlying node. Which class of attack is this?
- A.Container breakout reaching the platform beneath the sandbox
- B.Container image poisoning inside the shared registry mirrors
- C.Container traffic sniffing among the adjacent peer workloads
- D.Container resource exhaustion starving a common worker queue
Show answerHide answer
Correct answer: Container breakout reaching the platform beneath the sandbox
Running a container with host namespaces and extra privileges removes the isolation that separates it from the machine underneath, so code inside the container reaches the node itself; crossing that isolation boundary is what defines a breakout. Poisoning an image is a supply-chain attack that changes what gets deployed, not an escape from something already running. Sniffing traffic between co-located workloads stays inside the network plane and yields no execution on the machine. Exhausting processor or memory quota pressures the scheduler and denies service, but it never places the tester outside the sandbox.
A tester intercepts an API request and changes the account identifier in the request body to access another user's records, with the server returning the data. Which web flaw is being exploited?
- A.Session riding forcing an unintended state change from elsewhere
- B.Mass assignment binding unexpected fields onto the stored record
- C.Excessive data exposure returning far more values than requested
- D.Broken object level checks trusting a client supplied identifier
Show answerHide answer
Correct answer: Broken object level checks trusting a client supplied identifier
Changing an identifier and receiving another account's data means the application resolves whatever object the caller names without checking that the caller owns it, so the authorization decision is missing at the object level. Session riding, better known as cross-site request forgery, makes a victim's browser perform an action inside their own session; it does not let the tester read someone else's record on demand. Mass assignment lets unexpected fields be written during an update, which is a write problem rather than a broken read check. Excessive data exposure returns too many fields of the caller's own object, which is not the same as returning an object belonging to somebody else.
A tester crafts a request that makes a vulnerable server fetch a URL of the tester's choosing, reaching an internal metadata endpoint not exposed externally. Which vulnerability is this?
- A.Open redirect abuse, forwarding a browser to outside addresses
- B.Server side forgery, pointing towards an unlisted host address
- C.Local file inclusion, loading a stylesheet from the filesystem
- D.Cached response splitting, injecting a header into the traffic
Show answerHide answer
Correct answer: Server side forgery, pointing towards an unlisted host address
Making the vulnerable server issue a request to a destination the tester chooses is server-side request forgery, and it matters precisely because the server can reach addresses the tester cannot, such as an instance metadata service. An open redirect only changes where a victim's browser lands and never causes the server to fetch anything on the tester's behalf. File inclusion loads content already present on the host rather than sending outbound traffic. Response splitting forges a header boundary so a second reply can be planted in a cache, which manipulates what comes back to clients rather than making the server call outward.
A tester abuses a vulnerable web parameter to include and execute a server-side file, ultimately gaining remote code execution through a log-poisoning chain. Which initial flaw enabled this?
- A.Command injection, folding the web parameter inside a shell command
- B.Careless upload, folding an unchecked script inside a public folder
- C.File inclusion, folding the crafted path inside the include handler
- D.Object deserialization, folding saved state inside a live data tree
Show answerHide answer
Correct answer: File inclusion, folding the crafted path inside the include handler
The chain starts with local file inclusion: user input decides which server-side file gets included, and once an attacker-controlled string has been written into a log, including that log turns its contents into executable code. Command injection would already reach a shell without needing anything to be included. An unrestricted upload achieves execution by placing a file the server will run, which needs a writable reachable directory rather than a parameter that chooses an include target. Insecure deserialization abuses reconstruction of saved objects and needs a gadget chain rather than a path parameter, so it does not describe the flaw that opened this chain.
While testing a SOAP/XML endpoint, the tester submits XML defining an external entity that reads a local file and returns its contents in the response. Which attack is this?
- A.Schema poisoning, abusing a validation document traded mid transit
- B.Signature wrapping, abusing a moved element inside signed messages
- C.Action spoofing, abusing a header choosing the requested operation
- D.Entity injection, abusing a parser resolving the outer declaration
Show answerHide answer
Correct answer: Entity injection, abusing a parser resolving the outer declaration
Submitting a document that declares an external entity and having the parser resolve it is XML external entity injection: the parser follows the declaration, retrieves the referenced resource and places its content into the result the application returns. Schema poisoning swaps the validation document a parser trusts, which changes what is accepted rather than what is read off disk. Signature wrapping moves a signed element so the validator checks one part of a message while the service acts on another, defeating integrity rather than reading a file. Action spoofing changes which operation a message is routed to, an authorization and routing problem rather than entity resolution.
A tester sends a request with a deliberately oversized input to a network service and observes a crash, then refines the input to control the instruction pointer. Which vulnerability class is being exploited?
- A.Format string flaw, where attacker text feeds the logging call
- B.Buffer overflow, where long input runs past its own allocation
- C.Type confusion, where a cast reads memory as another structure
- D.Use after free, where a stale pointer reaches released storage
Show answerHide answer
Correct answer: Buffer overflow, where long input runs past its own allocation
Sending more data than the destination buffer can hold overwrites whatever memory sits after it, and refining that input until the saved instruction pointer holds a chosen value is the classic exploitation path for a buffer overflow. A format string flaw needs attacker text to reach a formatting function, which reads and writes memory through specifiers rather than by overrunning anything. Type confusion mishandles a cast so memory is interpreted as the wrong structure, with no oversized write required. A use-after-free depends on a pointer outliving its allocation, which is a lifetime error rather than a length error.
A tester crafts a malicious serialized object that, when parsed by a vulnerable Java application, instantiates a gadget chain and executes attacker code. Which vulnerability is being exploited?
- A.Class loader hijacking, where a planted archive shadows the libraries
- B.Reflection abuse, where the lookup value selects an unexpected method
- C.Insecure deserialization, where saved bytes rebuild a live object set
- D.Path traversal, where the submitted name escapes the protected folder
Show answerHide answer
Correct answer: Insecure deserialization, where saved bytes rebuild a live object set
Handing an application attacker-controlled serialized data makes it rebuild objects it was never meant to build, and a chain of methods already present in its own classes turns that reconstruction into execution. Class loader hijacking requires the tester to place an archive where it will be loaded ahead of the genuine one, which needs prior write access to the host. Reflection abuse depends on the application choosing a method name from untrusted input rather than rebuilding an object graph. Path traversal manipulates a filename to escape a directory, which discloses or overwrites files but instantiates nothing.
A tester tampers with a JWT used for authentication by changing the alg header to none and removing the signature, and the application accepts the modified token. Which attack class does this represent?
- A.Signature bypass, where a server trusts entirely unverified claims
- B.Session fixation, where a prepared identifier survives the handoff
- C.Credential stuffing, where leaked password pairs are replayed fast
- D.Ticket replay, where a lifted Kerberos ticket authenticates anyway
Show answerHide answer
Correct answer: Signature bypass, where a server trusts entirely unverified claims
Accepting a token whose algorithm was set to none and whose signature was stripped means the server never verified integrity, so the tester can assert any claims and be believed: the failure is in signature validation and the result is an authentication bypass. Session fixation needs the victim to authenticate under an identifier the tester planted in advance. Credential stuffing replays real username and password pairs harvested from other breaches and never touches token verification. Kerberos ticket replay uses a genuine stolen ticket, which still carries valid cryptographic material rather than none at all.
A tester must decide which scan-flagged flaw to attack first and wants the resource that scores how likely each flaw is to be used by real attackers soon. Which resource gives that likelihood?
- A.The CWE entry, which classifies the type of underlying software flaw
- B.The EPSS metric, which models the odds a flaw is exploited in the wild
- C.The CVSS base score, which rates the intrinsic technical severity of a flaw
- D.The CVE identifier, which names one specific publicly disclosed flaw
Show answerHide answer
Correct answer: The EPSS metric, which models the odds a flaw is exploited in the wild
The EPSS metric is built to answer the likelihood question: it models the probability that a given flaw will actually be exploited in the near term, which is exactly what ordering an attack queue needs. The CVSS base score is often mistaken for a priority, but it measures intrinsic technical severity, not the chance anyone will use the flaw. A CVE is only an identifier for a disclosed flaw, and a CWE names the class of weakness behind it; neither expresses any exploitation probability.
The rules of engagement note a network IDS that flags full-connect scans and high packet rates. The tester still needs to enumerate open TCP ports on an internal subnet. Which adjustment best reduces the chance the scan is flagged while still finding open ports?
- A.Use a slow timing template with a SYN scan to lower the scan rate and logs
- B.Use a fast timing template with an ACK scan to map rules and flag open ports
- C.Use a fast timing template with a full connect scan to finish the sweep fast
- D.Use a slow timing template with a UDP scan to dodge the TCP connection sensor
Show answerHide answer
Correct answer: Use a slow timing template with a SYN scan to lower the scan rate and logs
Slowing the timing template and using a SYN (half-open) scan reduces both the packet rate the IDS keys on and the number of completed connections it logs, while still revealing open TCP ports. A faster full-connect scan generates more noise, not less, so it is more likely to trip the rate signature. A UDP scan does not enumerate open TCP ports at all, and an ACK scan only distinguishes filtered from unfiltered ports; it cannot tell which TCP ports are open.
A tester wants one host to wait passively for an inbound connection on TCP 4444 while a second host initiates the connection to it. Which netcat invocation on the waiting host sets up that passive listener?
- A.nc -ulvp 4444, where the -u flag makes it serve the port over UDP here
- B.nc -nv 10.0.0.9 4444, where the -n flag makes it dial that port outbound
- C.nc -lvnp 4444, where the -l flag binds the port and waits for a caller
- D.nc -znv 10.0.0.9 4444, where the -z flag makes it probe that port quietly
Show answerHide answer
Correct answer: nc -lvnp 4444, where the -l flag binds the port and waits for a caller
The -l flag puts netcat into listen mode, so nc -lvnp 4444 binds TCP 4444 and waits for the second host to connect inbound, which is the passive listener the scenario asks for. Supplying a destination address instead, as in the -nv form, makes netcat dial outward rather than wait. The -z form only probes whether a port is open and sends no payload, and the -u form would listen but over UDP, not the TCP the stem specifies.
A tester connects a laptop to an access port and configures the laptop's interface to negotiate a trunk link with the switch. The switch accepts, giving the laptop access to traffic on multiple VLANs. Which attack is this?
- A.Double tagging, by stacking two VLAN tags so a frame skips the switch to a VLAN
- B.MAC flooding, by swamping the switch table so it leaks frames across a VLAN
- C.Switch spoofing, by posing as a switch so the uplink joins a wider VLAN set
- D.ARP poisoning, by tying the gateway's IP to the tester's own MAC on a VLAN
Show answerHide answer
Correct answer: Switch spoofing, by posing as a switch so the uplink joins a wider VLAN set
Switch spoofing is the attack in which the tester's interface poses as another switch and negotiates a trunk (typically via DTP), after which the uplink carries traffic from a wider set of VLANs. Double tagging also crosses VLANs but does so by stacking two 802.1Q tags on a frame, without posing as a switch. ARP poisoning redirects traffic within a single VLAN by tying the gateway's address to the tester's MAC, and MAC flooding swamps the switch table rather than joining VLANs.
A tester holds one valid domain credential and wants to find, across a whole subnet of Windows servers, where that credential grants local administrator rights. Which tool checks every server at once?
- A.CrackMapExec, which validates that account on many machines in one pass
- B.Hydra, which tries many passwords against one service login in real time
- C.Responder, which grabs one fresh login from a single broadcast reply here
- D.ntlmrelayx, which relays one captured login onto one chosen service host
Show answerHide answer
Correct answer: CrackMapExec, which validates that account on many machines in one pass
CrackMapExec is built to take an account you already hold and test it across many hosts in one pass, reporting where it authenticates and where it confers local administrator rights, which is exactly the task described. Hydra attacks a single service by guessing many passwords, the reverse of validating one account across many hosts. ntlmrelayx forwards a captured handshake to a host rather than testing an account you already have, and Responder captures new authentication instead of checking an existing account.
In an AD CS environment, a low-privileged user can enroll in a certificate template that lets the requester supply an arbitrary Subject Alternative Name and that includes the Client Authentication EKU. Why is this template dangerous?
- A.It lets the user get a certificate any domain workstation trusts to run code
- B.It lets the user request a certificate authenticating as any domain account
- C.It lets the user pull any domain account's stored password hash off the CA
- D.It lets the user decrypt any domain account's Kerberos tickets at will later
Show answerHide answer
Correct answer: It lets the user request a certificate authenticating as any domain account
Because the template lets the requester name an arbitrary Subject Alternative Name and carries the Client Authentication EKU, the low-privileged user can obtain a certificate that authenticates to the domain as any account they choose, including a domain administrator. The certificate authority does not store or hand back account password hashes, so reading a hash from it is not the mechanism. Nor does this template grant code-signing trust across workstations or the ability to decrypt other accounts' Kerberos tickets; its power is impersonation through authentication.
A tester has exported Kerberoast service-ticket hashes (Kerberos RC4 TGS-REP) and wants to recover the service accounts' passwords offline using GPU acceleration. Which tool is built for this job?
- A.hashcat, which cracks the captured ticket hashes offline on the GPU fast
- B.Medusa, which drives parallel online guessing against a live service login
- C.Hydra, which drives online guessing against a live network service login
- D.John the Ripper, which cracks captured hashes offline mainly on the CPU
Show answerHide answer
Correct answer: hashcat, which cracks the captured ticket hashes offline on the GPU fast
hashcat is the GPU-accelerated offline cracker, and it has a mode for Kerberos TGS-REP ticket hashes, making it the right tool for recovering the service accounts' passwords from the exported tickets. Hydra and Medusa are online tools that guess credentials against a live service, so they cannot operate on an exported hash file at all. John the Ripper does crack offline, but it is oriented to the CPU; the stated requirement for GPU acceleration points to hashcat.
From a foothold on a domain-joined Windows host, a tester wants a single tool to request Kerberos service tickets for accounts with a service principal name, harvest them for offline cracking, and later inject tickets into a session. Which tool is purpose-built for these Kerberos operations?
- A.Rubeus
- B.Seatbelt
- C.Certify
- D.Mimikatz
Show answerHide answer
Correct answer: Rubeus
Rubeus is written specifically to interact with Kerberos: requesting tickets, roasting SPN accounts, and importing tickets into a session, which covers every operation named. Mimikatz is the tempting choice because it also touches Kerberos through pass-the-ticket and golden-ticket functions, but it is a broad credential-dumping suite rather than the dedicated ticket-request and roasting tool. Seatbelt only surveys host security posture, and Certify abuses Active Directory Certificate Services rather than Kerberos tickets.
During an authorized internal test, a tester holding an ordinary domain user account learns that the client's AD CS enterprise CA publishes a template that any domain user may enroll in and that lets the enrollee supply an arbitrary subject alternative name. Which tool is built to find that template and request the resulting credential in a domain admin's name?
- A.Rubeus
- B.Seatbelt
- C.Mimikatz
- D.Certify
Show answerHide answer
Correct answer: Certify
Certify is the GhostPack tool written to enumerate and abuse Active Directory Certificate Services misconfigurations, including finding vulnerable templates and submitting enrollment requests against them. Rubeus is the tempting choice because it can later use a certificate to obtain Kerberos tickets, but it does not enumerate templates or enroll with the CA. Seatbelt gathers host security-posture facts, and Mimikatz extracts credential material from a host rather than requesting it from a CA.
On a Windows server where the tester has a standard user account, a permissions review shows that Authenticated Users may change the configuration of, and start, a service that runs as LocalSystem. The service's executable path is quoted, and standard users can only read the executable file and its folder. Which privilege-escalation technique does this specific misconfiguration enable?
- A.Replacing the service's executable on disk with a payload of the same name
- B.Repointing the service's binary path at a payload, then starting it
- C.Dropping a payload library into a folder on the service's search order
- D.Placing a payload where a space splits the service's executable path
Show answerHide answer
Correct answer: Repointing the service's binary path at a payload, then starting it
The right to change a service's configuration is a weak service permission. It lets the tester point the binary path at their own payload, which then runs as LocalSystem when the service starts. An unquoted-path attack is the common half-remembered answer, but the path here is quoted, so no space can split it. Replacing the executable or planting a library both need write access to the file or folder, and standard users only have read access there.
A tester wants a command-line tool that substitutes entries from two separate wordlists into two marked positions of the same HTTP request, one in a query parameter and one in a header, and hides every response whose body length matches the application's generic error page. Which tool from the PenTest+ web toolset is designed for this?
- A.Wfuzz
- B.Gobuster
- C.WPScan
- D.sqlmap
Show answerHide answer
Correct answer: Wfuzz
Wfuzz is a general web fuzzer. It places payloads at marked positions anywhere in a request, supports more than one payload set per request, and filters results by code, lines, words or characters. Gobuster is the tempting choice because it also works from wordlists, but it is built to brute-force paths, DNS names and virtual hosts with one wordlist, not to combine two wordlists across arbitrary request positions. sqlmap automates SQL injection, and WPScan enumerates WordPress components.
A tester enters {{7*7}} into a profile name field. In Burp Suite's HTTP history, the raw HTML that the server returns for the profile page already shows 49 where the name belongs, before any script runs in the browser. Which vulnerability does this result most directly indicate?
- A.Client-side template injection
- B.Reflected cross-site scripting
- C.DOM-based cross-site scripting
- D.Server-side template injection
Show answerHide answer
Correct answer: Server-side template injection
When the expression has already been evaluated in the raw response the server sends, the server's template engine did the evaluation, and that is server-side template injection. Client-side template injection is the closest trap. A browser framework would evaluate the expression only after the page loads, so the raw response would still contain the literal braces. The two cross-site scripting variants involve script running in a browser, not arithmetic evaluated by a template engine.
During a scoped cloud test, the tester controls a role in a managed-service vendor's AWS account. A role in the client's account trusts the vendor's entire account as a principal and requires no external ID, so the tester assumes the client role directly, without altering any software or image the vendor delivers. Which attack type does this represent?
- A.Supply chain compromise
- B.Image and artifact tampering
- C.Trust relationship abuse
- D.Metadata service attack
Show answerHide answer
Correct answer: Trust relationship abuse
Using a cross-account trust that is broader than it should be, to move from a trusted party's account into the client's, is trust relationship abuse. Supply chain compromise is the tempting choice because a vendor is involved, but that attack works by tampering with what the vendor ships, and the stem says nothing shipped was altered. A metadata service attack steals instance credentials from the local metadata endpoint, and image tampering modifies container or build artifacts.
A WPS PIN has eight digits, the last of which is a checksum, and a vulnerable access point confirms whether the first four digits are correct before it checks the remaining ones. What is the maximum number of guesses needed to recover the PIN?
- A.10,000,000 guesses
- B.100,000,000 guesses
- C.20,000 guesses
- D.11,000 guesses
Show answerHide answer
Correct answer: 11,000 guesses
The first half has 10,000 possibilities, and the second half has only 1,000 because its last digit is a checksum, so the two halves are confirmed separately in at most 11,000 guesses. 20,000 is the result of treating the second half as four free digits and forgetting the checksum. 10,000,000 accounts for the checksum but ignores the half-by-half confirmation, and 100,000,000 ignores both.
During an authorized Android assessment, a tester wants to reach a target app's exported activities, content providers and broadcast receivers the way a second app on the handset would, sending crafted intents through Android IPC. Which tool is built for this?
- A.MobSF, scanning the decompiled app package for flaws
- B.Frida, hooking functions inside the running process
- C.Drozer, running an agent app on the test handset
- D.ADB, opening a shell session from the workstation
Show answerHide answer
Correct answer: Drozer, running an agent app on the test handset
Drozer installs an agent app on the device and assumes the role of an app, interacting with other apps' IPC endpoints, which is exactly how exported components are probed from another app's position. Frida is the tempting choice because it is the best-known dynamic tool, but it instruments code inside a process rather than acting as a peer app sending intents. MobSF reports exported components from static analysis without exercising them as an app would, and ADB gives a shell-user session rather than an app's IPC context.
During an internal test, a tester needs a PowerShell toolkit that finds Microsoft database servers through their service principal names in Active Directory and then tests which of them accept the current domain account's login. Which toolkit is built for this workflow?
- A.PowerView
- B.PowerSploit
- C.PowerUpSQL
- D.PowerUp
Show answerHide answer
Correct answer: PowerUpSQL
PowerUpSQL is NetSPI's toolkit for SQL Server discovery and auditing; Get-SQLInstanceDomain finds instances through an LDAP query for their SPNs and Get-SQLConnectionTestThreaded tests which ones the current account can reach. PowerView is the tempting choice because it enumerates SPNs and other domain objects, but it does not test database logins. PowerSploit is the broader collection that contains PowerView and PowerUp, and PowerUp checks for local privilege escalation paths rather than database access.
A tester runs this Python script, which uses Scapy, against an in-scope host: for port in [22, 80, 443]: r = sr1(IP(dst=target)/TCP(dport=port, flags="S"), timeout=1, verbose=0) if r and r.haslayer(TCP) and r[TCP].flags == 0x12: print(port, "open") Which ports does the script print?
- A.Ports that answered the SYN with an RST/ACK
- B.Ports that answered the SYN with a SYN/ACK
- C.Ports that sent no reply before the timeout
- D.Ports that finished a full three-way handshake
Show answerHide answer
Correct answer: Ports that answered the SYN with a SYN/ACK
The flag value 0x12 sets the SYN (0x02) and ACK (0x10) bits, so the script prints ports that replied to its SYN with a SYN/ACK, which is the half-open SYN scan test for an open port. An RST/ACK reply is 0x14 and indicates a closed port. A missing reply leaves r as None and is skipped, and the script never sends the final ACK, so no full three-way handshake is completed.
A tester's port scanner prints nearly every port as open and omits the ports that are actually listening: import socket, sys target = sys.argv[1] for port in range(1, 1025): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.settimeout(0.5) if s.connect_ex((target, port)): print(port, "open") s.close() Which change fixes it?
- A.Replace connect_ex() with connect() in the if test
- B.Compare the connect_ex() result to 0 before printing
- C.Swap SOCK_STREAM for SOCK_DGRAM in the socket() call
- D.Raise the settimeout() value from 0.5 to 5 seconds
Show answerHide answer
Correct answer: Compare the connect_ex() result to 0 before printing
connect_ex() returns 0 when the connection succeeds and a nonzero error code otherwise, so testing its result as a truth value inverts the logic; checking that it equals 0 prints only the listening ports. Swapping to connect() is tempting, but connect() returns None on success, which is falsy, and raises an exception on the first closed port, so the script would still never print an open port. SOCK_DGRAM would switch to UDP, which has no connection to test, and a longer timeout only slows the scan without changing the inverted test.
A client's hardening guide claims that enforcing the AllSigned PowerShell execution policy through Group Policy prevents staff from running untrusted PowerShell code. Which statement should the tester's report make?
- A.Defense in depth only, since a session flag overrides it
- B.A true boundary, since unsigned script files cannot load
- C.A true boundary, since Group Policy outranks session flags
- D.Defense in depth only, since typed commands still run
Show answerHide answer
Correct answer: Defense in depth only, since typed commands still run
Microsoft states that the execution policy is not a security boundary but defense in depth, because users can easily bypass it by typing a script's contents at the command line; the policy governs script files, not commands entered interactively. It is true that Group Policy outranks the -ExecutionPolicy session parameter, which is why the session-flag reasoning is wrong, but that precedence does not turn the policy into a boundary. Blocking unsigned files still leaves the same code runnable as typed commands.
A client's SOC wants to check, one MITRE ATT&CK technique at a time, whether its EDR alerts on Windows workstations, using small self-contained tests run from the command line with no server or agents to deploy. Which breach and attack simulation tool fits?
- A.Stratus Red Team
- B.MITRE Caldera
- C.Infection Monkey
- D.Atomic Red Team
Show answerHide answer
Correct answer: Atomic Red Team
Atomic Red Team is a library of small, highly portable tests mapped to ATT&CK that can be run directly from the command line with no installation, one technique at a time. MITRE Caldera is tempting because it is also ATT&CK-based, but it runs from a central server that tasks deployed agents through chained adversary profiles. Infection Monkey relies on its Monkey Island server and propagates through the network, and Stratus Red Team emulates attack techniques against cloud platforms rather than Windows workstations.
On a client's Windows 11 workstation, an administrator used Set-ExecutionPolicy to set the LocalMachine scope to Restricted, and no Group Policy setting is configured. Logged on as a standard user, the tester runs the following and the script executes normally: powershell.exe -ExecutionPolicy Bypass -File .\enum.ps1 Which statement BEST explains why the script ran?
- A.Execution policy is a safety setting a user can override per session, not a boundary
- B.Execution policy is enforced in elevated sessions but skipped in standard user ones
- C.Execution policy blocks files that carry a downloaded zone mark but skips local scripts
- D.Execution policy defers to AMSI, which stops a script once it has been flagged bad
Show answerHide answer
Correct answer: Execution policy is a safety setting a user can override per session, not a boundary
Microsoft documents execution policy as a safety feature that is not a security boundary: a policy set with the -ExecutionPolicy parameter applies to that session only and takes precedence over the LocalMachine and CurrentUser settings, so any user can run a script with Bypass unless Group Policy sets the policy. The zone-mark explanation describes RemoteSigned, but Restricted blocks every script file, local or downloaded. Elevation plays no part, and AMSI is a separate content-scanning interface rather than what execution policy defers to.
A tester runs a scanner that writes normal results to stdout and error messages to stderr, invoking it like this: ./scan.sh 2>&1 > results.txt Where do the normal results and the error messages end up?
- A.Both the normal results and the error messages print to the terminal and the file stays empty
- B.Normal results go to results.txt, while the error messages still print to the terminal
- C.Both the normal results and the error messages are written into the file results.txt
- D.Normal results print to the terminal, while the error messages are written into results.txt
Show answerHide answer
Correct answer: Normal results go to results.txt, while the error messages still print to the terminal
Redirections apply left to right: 2>&1 first points stderr at wherever stdout currently goes, which is still the terminal, and only then does > results.txt repoint stdout to the file. So stdout lands in the file while stderr keeps writing to the terminal; the common intent of capturing both requires > results.txt 2>&1 in that order.
A tester has already run a collector that pulled sessions, group memberships, and object ACLs from an Active Directory domain. The tester now wants to ingest that data, compute the shortest privilege path from a standard user up to Domain Admins, and see that path drawn out. Which tool is purpose-built for it?
- A.Impacket, a toolkit of Python scripts implementing the core Windows network protocols
- B.PingCastle, which ingests AD data to score domain security and flag the risky reuse chains
- C.CrackMapExec, which ingests host logins to map AD credential-reuse paths across the domain
- D.BloodHound, which ingests collected AD relationships and graphs attack paths up to targets
Show answerHide answer
Correct answer: BloodHound, which ingests collected AD relationships and graphs attack paths up to targets
BloodHound loads collected session, membership, and ACL data into a graph database and highlights the shortest chains of relationships that reach high-value targets like Domain Admins. PingCastle is the sharp trap because it also ingests AD data, but it scores posture and flags risky configurations rather than computing a traversable attack path; CrackMapExec maps credential reuse across hosts but not the privilege chain to Domain Admins, and Impacket is a protocol script library.
A tester meant this scanner to test every port from 20 through 25 inclusive, but port 25 is never checked: 1 import socket 2 target = "10.0.0.5" 3 for port in range(20, 25): 4 s = socket.socket() 5 s.settimeout(0.5) 6 if s.connect_ex((target, port)) == 0: 7 print(port, "open") 8 s.close() Which line causes port 25 to be skipped?
- A.Line 4, because a new socket is rebuilt each pass across the whole scanned range per port
- B.Line 6, because connect_ex returns 0 on failure, so any open port in range is never shown
- C.Line 3, because the stop value 25 falls outside what the loop will ever iterate over here
- D.Line 5, because the 0.5-second timeout fires and the final port is never reached here
Show answerHide answer
Correct answer: Line 3, because the stop value 25 falls outside what the loop will ever iterate over here
Line 3 is the defect: Python's range(20, 25) is half-open, yielding 20, 21, 22, 23, 24 and excluding the stop value, so port 25 falls outside what the loop iterates over; range(20, 26) would include it. Line 6 is the main trap but is correct as written, since connect_ex returns 0 on a successful connection, while the timeout and the per-iteration socket affect reliability or style rather than dropping one specific port.
Reconnaissance and Enumeration (51)
Which technique is most effective for identifying live hosts on a network during a penetration test?
- A.Reading the HTTP banner from a live service
- B.Asking the DNS server for the zone transfer
- C.Trying the SMB share with a stolen password
- D.Sending an ICMP echo to each target address
Show answerHide answer
Correct answer: Sending an ICMP echo to each target address
Correct answer: Sending an ICMP echo to each target address. Explanation: A sweep of echo requests across the address range is the standard first pass for host discovery, because a reply proves an address is answering before any deeper work is aimed at it. Reading a service banner identifies software on a host already known to exist. A zone transfer returns records held by a name server, which may list hosts that are long gone. Trying a credential against a share tests access, not whether the address is alive.
What is the primary purpose of using the whois command in the information gathering phase of a penetration test?
- A.To list the mail exchangers named in the record
- B.To trace the router hops crossed by the traffic
- C.To read the contact details filed by the holder
- D.To show the cipher suites offered by the server
Show answerHide answer
Correct answer: To read the contact details filed by the holder
Correct answer: To read the contact details filed by the holder. Explanation: A whois query returns registration data - the registrant and registrar, contact addresses, creation and expiry dates and the authoritative name servers - which seeds later reconnaissance with names, addresses and infrastructure hints. Mail exchanger records come from a DNS query. Router hops come from a path trace. Cipher suites come from a TLS handshake against the service itself, none of which whois performs.
Which tool or technique is used for discovering subdomains of a target domain during a penetration test?
- A.DirBuster
- B.Bettercap
- C.Responder
- D.Subfinder
Show answerHide answer
Correct answer: Subfinder
Correct answer: Subfinder. Explanation: Subfinder exists to enumerate subdomains, querying certificate transparency logs, passive DNS sources and search data to assemble the hostnames that belong to a domain and widen the attack surface under test; Sublist3r and Amass fill the same role. DirBuster brute-forces directories and files on a host that is already known. Bettercap runs on-path network attacks against traffic in a segment. Responder answers broadcast name-resolution requests to capture authentication, and none of the three enumerate hostnames.
What is the primary goal of fingerprinting a server during a penetration test?
- A.Listing the local users and group names
- B.Drawing the router hops and link speeds
- C.Naming the host system and patch levels
- D.Timing the answer delay and packet loss
Show answerHide answer
Correct answer: Naming the host system and patch levels
Correct answer: Naming the host system and patch levels. Explanation: Fingerprinting reads how a host answers - stack behaviour, service banners, headers and response quirks - to establish the operating system and the versions of the software it runs, which is what makes a vulnerability relevant or irrelevant to that host. Account enumeration lists principals, not versions. Hop discovery describes the path to the host. Latency and loss measurements describe the link, and none of them identify what the host is running.
Which of the following is an active information gathering technique?
- A.Probing the open ports on the tested company server
- B.Querying a public breach store for leaked user mail
- C.Searching a code sharing site for saved access keys
- D.Reading the cached pages a search index still holds
Show answerHide answer
Correct answer: Probing the open ports on the tested company server
Correct answer: Probing the open ports on the tested company server. Explanation: Active gathering is defined by contact with the target: packets are sent to the client's own systems and the answers are recorded, which produces fresh detail and also leaves entries in the client's logs. Querying a breach store interrogates a third-party dataset. Searching a public code host reads what someone else published. Reading a cached page retrieves a copy held elsewhere, so all three gather intelligence without touching the target at all.
Which method is commonly used to discover the technology stack (like CMS, web server version) of a target web application?
- A.Timing the page load from several world regions
- B.Reading the banner text each open service sends
- C.Counting the links the site offers each visitor
- D.Checking the owner names listed in the registry
Show answerHide answer
Correct answer: Reading the banner text each open service sends
Correct answer: Reading the banner text each open service sends. Explanation: Connecting to a service and reading what it announces - server headers, framework tokens, generator tags and version strings - is the direct way to establish the platform behind a web application, and it needs nothing more than a normal request. Load timing measures performance. Counting outbound links describes site structure. Registry records name the domain holder, and none of those disclose the software stack in use.
During a penetration test, which tool is used for sniffing and analyzing network packets?
- A.Responder
- B.Wireshark
- C.Mitmproxy
- D.Arpspoof
Show answerHide answer
Correct answer: Wireshark
Wireshark captures frames from an interface and decodes them protocol by protocol, so a tester can follow conversations and show data crossing the network unprotected. Responder poisons LLMNR and NBT-NS name requests to collect authentication hashes; it answers traffic rather than decoding all of it. Mitmproxy is an interactive HTTP and HTTPS proxy that inspects web requests, not raw packets of every protocol. Arpspoof forges ARP replies to redirect traffic through the tester's machine but performs no capture or analysis itself.
Which penetration testing technique is most effective for discovering outdated software versions on a target system?
- A.Sweeping address ranges to find responsive hosts
- B.Capturing wireless frames to recover shared keys
- C.Reading service banners to identify release data
- D.Querying registrar records to list site contacts
Show answerHide answer
Correct answer: Reading service banners to identify release data
A network service announces itself when a connection opens, and that announcement normally carries the product name and release level of the software answering, which is what identifies an unpatched build. Sweeping an address range only establishes which hosts respond at all and returns nothing about the software they run. Capturing wireless frames works at the radio link layer and yields key material, not server software levels. Querying registrar records returns ownership and contact details held outside the target entirely, so it cannot reveal what is installed on the host.
During a penetration test, what is the primary purpose of using tools like Maltego?
- A.Charting the relationships between a target's public records
- B.Recovering the passphrase from a client's wireless handshake
- C.Exhausting a service until legitimate requests go unanswered
- D.Guessing credentials against an exposed remote login gateway
Show answerHide answer
Correct answer: Charting the relationships between a target's public records
This tool belongs to the reconnaissance phase: it pulls entities such as people, domains and hosts out of public sources and draws the links between them, so a tester can see how the target organisation is put together before sending it a single packet. Recovering a passphrase from a client's captured handshake is offline wireless cracking, a much later and entirely separate activity. Exhausting a service is an availability attack, which a mapping tool neither performs nor needs. Guessing credentials against a login gateway is an active brute-force attempt, the opposite of assembling data that is already published.
What is the primary objective of using the 'dig' command in penetration testing?
- A.Pulling the registry details filed for a chosen domain
- B.Pulling the certificate logs filed for a chosen domain
- C.Pulling the router hops on the path to a chosen domain
- D.Pulling the name records published for a chosen domain
Show answerHide answer
Correct answer: Pulling the name records published for a chosen domain
The primary objective is pulling the name records published for a chosen domain: dig queries DNS servers directly for A, MX, NS, TXT and other records, which maps hosts and mail routing during reconnaissance. Registry details such as the registrant and registrar come from a WHOIS lookup, not from a DNS query. Certificate transparency logs are searched through services such as crt.sh, which dig cannot read. The router hops on the path to a host are shown by traceroute, which works with TTL expiry rather than name records.
In penetration testing, what is the primary purpose of tools like theHarvester?
- A.Recovering account secrets from a captured hash archive
- B.Collecting staff mailboxes out of openly shared sources
- C.Enumerating service ports answering on a target machine
- D.Guessing common passwords against a public login portal
Show answerHide answer
Correct answer: Collecting staff mailboxes out of openly shared sources
This is an open-source intelligence collector: it queries search engines, public listings and key servers to assemble mailboxes, subdomains, host names and staff names for a target, giving the tester a starting picture without touching the target's own systems. Recovering secrets from a captured hash archive is offline cracking, which needs material already stolen from a host. Enumerating which service ports answer is an active scan aimed straight at the target. Guessing passwords against a login portal is an online brute-force attempt, not the collection of data that is already public.
In penetration testing, what is the primary purpose of using the arp-scan tool?
- A.Poisoning resolution caches to redirect frames on the LAN
- B.Capturing broadcast frames passively to profile the LANs
- C.Probing open ports on hosts across several routed subnets
- D.Listing devices answering address requests on the segment
Show answerHide answer
Correct answer: Listing devices answering address requests on the segment
arp-scan sends ARP requests to every address on the local segment and records the replies, so its purpose is listing devices answering address requests on the segment, including hosts that ignore other probes. Poisoning caches to redirect frames is ARP spoofing, done with tools such as arpspoof or Ettercap. Passively capturing broadcast frames is what netdiscover's passive mode does; arp-scan actively sends requests. ARP does not cross routers, so port probing across routed subnets is a job for Nmap.
In penetration testing, what is the primary objective of 'war driving'?
- A.To measure how strong a system's deployed encryption really is
- B.To find the wireless networks broadcasting across a whole area
- C.To eavesdrop on the calls crossing a mobile operator's network
- D.To rate the guard coverage protecting the entire main building
Show answerHide answer
Correct answer: To find the wireless networks broadcasting across a whole area
The activity is survey work: moving through an area with a receiver and recording the access points detected, together with their names, channels and protection settings, to build a picture of the wireless footprint in and around a target. Measuring how strong the deployed encryption is comes later, once a specific network has been chosen and traffic captured. Eavesdropping on calls crossing a mobile operator's network is a different medium entirely. Rating the guard coverage around a building is a physical assessment that involves no radio survey.
In penetration testing, which tool is used for comprehensive network discovery and security auditing?
- A.Nmap, which sweeps address ranges to chart listening systems
- B.Hydra, which guesses credentials against a web login service
- C.Tcpdump, which captures raw frames arriving on one interface
- D.OWASP ZAP, which examines running websites through its proxy
Show answerHide answer
Correct answer: Nmap, which sweeps address ranges to chart listening systems
The scanner named here is the general-purpose discovery tool: it sweeps address ranges, establishes which hosts are up, enumerates the services listening on them and fingerprints operating systems and versions, producing the inventory every later phase is built on. A credential guesser attacks one authentication service and discovers nothing about the network. A packet capture tool records what arrives on an interface but sends no probes of its own. A web proxy scanner examines one site's application layer rather than the hosts and services across a network.
What is the primary function of the tool 'Gobuster' in penetration testing?
- A.Recovering account passwords from a captured hash store
- B.Charting nearby access points from their beacon signals
- C.Rebuilding user sessions inside a stored packet capture
- D.Discovering unlinked directories on a target web server
Show answerHide answer
Correct answer: Discovering unlinked directories on a target web server
Gobuster works from a wordlist against a live web service, requesting candidate names and reading the status codes that come back, so it surfaces directories, files, virtual hosts and DNS names that no link on the site points to. Turning a captured hash store back into passwords is offline cracking and needs no web service at all. Charting access points from their beacons is wireless survey work performed with a radio in monitor mode. Reassembling sessions inside a saved capture is protocol analysis of traffic already recorded, which discovers nothing new on the server.
Which tool is primarily used for sniffing and analyzing HTTP/HTTPS traffic in a penetration testing exercise?
- A.Dirbuster
- B.Wireshark
- C.Sublist3r
- D.Slowloris
Show answerHide answer
Correct answer: Wireshark
Wireshark captures live traffic from an interface and decodes it protocol by protocol, so a tester can follow an HTTP conversation, read headers and bodies, and inspect the TLS handshake that precedes an HTTPS session. Dirbuster guesses directory and file names against a web server. Sublist3r collects subdomain names for a target from public sources. Slowloris holds many half-finished requests open to exhaust a web server's connection pool. Each of those three generates or gathers something for its own purpose, but none of them decodes what is on the wire.
In penetration testing, which tool is best suited for capturing and analyzing Bluetooth communication?
- A.EAPHammer
- B.Airtun-ng
- C.Ubertooth
- D.Smbclient
Show answerHide answer
Correct answer: Ubertooth
Ubertooth One is dedicated Bluetooth hardware with an open firmware stack: it follows a piconet across its hopping pattern, captures baseband packets and hands them to analysis tools, which is what assessing a Bluetooth link requires. EAPHammer stands up rogue access points that attack enterprise Wi-Fi authentication over 802.11. Airtun-ng creates a virtual tunnel interface for injecting into and decrypting an 802.11 network already captured. Smbclient is a command line client for Windows file shares. Only one of the four listens on the Bluetooth radio at all.
During an authorized engagement, a tester wants to map open TCP ports quickly while avoiding completing the three-way handshake, and is running with root privileges. Which Nmap scan type best fits this requirement?
- A.UDP scan (-sU), probing datagram ports where silence says little
- B.SYN scan (-sS), resetting the connection once the answer appears
- C.Connect scan (-sT), finishing the call an operating system opens
- D.ACK scan (-sA), charting the rules a filtering firewall enforces
Show answerHide answer
Correct answer: SYN scan (-sS), resetting the connection once the answer appears
A SYN scan sends a SYN, reads whichever reply comes back to decide the port state, and then tears the exchange down with a reset rather than completing it, which keeps it fast and leaves less behind in application logs. It builds its own packets, so it needs the raw-socket privilege this tester already has. A connect scan hands the work to the operating system and therefore completes every connection it opens. An ACK scan is built to map how a firewall treats traffic and does not report ports as open. A UDP scan probes datagram services, which is slow and answers nothing about TCP.
A penetration tester is operating from a low-privilege account on a Linux jump host and cannot obtain root. They need to enumerate open TCP ports on a target. Which behavior should they expect from the scan they are forced to use?
- A.The SYN scan needs no raw privileges, so the tester stays undetected
- B.The UDP scan skips the root requirement, so each closed port answers
- C.The connect scan finishes each handshake, so the service keeps a log
- D.The idle scan hides behind a borrowed zombie, so nothing gets traced
Show answerHide answer
Correct answer: The connect scan finishes each handshake, so the service keeps a log
Without raw-socket privilege Nmap cannot craft its own half-open probes, so it falls back on the operating system's connect call: every open port receives a completed three-way handshake, and the listening application is in a position to record it. That makes the technique slower and noisier than half-open scanning, which is the behaviour to expect here. Half-open SYN probing is exactly what the privilege limit rules out, so it cannot be the quieter fallback. UDP scanning also builds raw packets and needs the same privilege. Idle scanning depends on crafted packets with a spoofed source address, which is unavailable for the same reason.
A tester adds -sV to an Nmap command against discovered open ports. What does this flag instruct Nmap to do?
- A.It probes an open port and reports its software release
- B.It pings the subnet for answers and skips deep scanning
- C.It compares the stack replies and guesses a host family
- D.It widens the range and adds the highest numbered ports
Show answerHide answer
Correct answer: It probes an open port and reports its software release
Version detection interrogates ports already known to be open: Nmap sends protocol-specific probes, matches the replies against its service fingerprint database, and prints the application name and version rather than just the port number, which is what lets a tester line running software up against known issues. Sweeping a subnet for live hosts while skipping ports is host discovery. Estimating the platform from TCP/IP stack behaviour is operating system detection. Extending coverage past the default port selection is a port-range option. None of those three report what software answers on a port.
A tester queries public records, social media, code repositories, and breach databases to build a profile of a target organization without sending packets to its systems. Which activity best describes this work?
- A.Service enumeration drawn from replies of a listening interface
- B.Vulnerability validation drawn from probes against a known flaw
- C.Traffic capture drawn from packets crossing a monitored segment
- D.Open source intelligence drawn from freely published news feeds
Show answerHide answer
Correct answer: Open source intelligence drawn from freely published news feeds
Building a profile from registrant records, social profiles, public code and breach dumps is open-source intelligence: everything comes from third parties who already publish it, which is why no packet reaches the organisation and nothing appears in its logs. Service enumeration means connecting to a listening service and pulling detail out of it. Vulnerability validation means firing a check at a live host to see whether a reported weakness is real. Traffic capture requires the tester to sit where the target's packets actually pass. Each of those three touches infrastructure, which this tester deliberately avoided.
Which statement most accurately distinguishes passive reconnaissance from active reconnaissance during an engagement?
- A.Passive work sends slow probes; active work runs full port scans
- B.Passive work avoids DNS lookups; active work probes their hosts
- C.Passive work leaves the target untouched; active work queries it
- D.Passive work hides the tester address; active work probes openly
Show answerHide answer
Correct answer: Passive work leaves the target untouched; active work queries it
The dividing line is contact: passive work leaves the target untouched; active work queries it. Even a slow probe is packets at the target, so intensity is not the distinction. Passive work routinely uses DNS data from third-party resolvers and public records, so avoiding lookups is not what defines it. Hiding the tester's address through proxies changes attribution, not whether the target's systems are touched.
A tester is explaining the workflow to a client. Which description correctly captures how reconnaissance differs from enumeration?
- A.Recon opens after the exploitation; enumeration closes before scoping
- B.Recon sketches the whole surface; enumeration extracts named accounts
- C.Recon needs written approval; enumeration proceeds under stated rules
- D.Recon fingerprints exact builds; enumeration counts the known domains
Show answerHide answer
Correct answer: Recon sketches the whole surface; enumeration extracts named accounts
Reconnaissance is the wide pass that establishes what exists — domains, address ranges, technologies, people — while enumeration is the narrow one that interacts with services already found and pulls out concrete items such as usernames, group memberships, shares and exact software versions. Reconnaissance comes before exploitation, not after it, and enumeration does not precede scoping. Both phases sit inside the same written authorisation, so approval does not separate them. And the split is not about builds versus domains: cataloguing domains is the broad early work, while pinning down an exact build is an enumeration result.
In the context of a penetration test, what does the term footprinting most precisely refer to?
- A.Fingerprinting the exact operating system build of each host
- B.Enumerating user accounts and shares on the live hosts found
- C.Scanning the live hosts for open ports and listening daemons
- D.Profiling the complete attack surface early in an engagement
Show answerHide answer
Correct answer: Profiling the complete attack surface early in an engagement
Footprinting most precisely means profiling the complete attack surface early in an engagement: domains, address blocks, technologies, providers and people, gathered passively or actively before detailed testing. Fingerprinting the operating system build of each host is a narrower step that identifies platforms from its responses, and it uses the profile rather than building it. Enumerating user accounts and shares is enumeration, which interrogates specific hosts after they are found. Scanning live hosts for open ports and listening daemons is the scanning phase, which follows footprinting and depends on the targets it identified.
A tester connects to TCP port 25 on an in-scope mail server and reads the SMTP response line returned by the service to learn its software and version. What technique is being used?
- A.Banner grabbing, an early step tapping the listening service directly
- B.OS fingerprinting, an early step reading targets' TCP stack quirks
- C.Mailbox enumeration, an early step querying the mail service via VRFY
- D.Port scanning, an early step sweeping the targets for their TCP ports
Show answerHide answer
Correct answer: Banner grabbing, an early step tapping the listening service directly
Reading the greeting an SMTP service sends when a connection opens is banner grabbing, an early step tapping the listening service directly to learn the product and version it announces. OS fingerprinting infers the operating system from how a target's TCP/IP stack responds to crafted probes, not from the service's own text. Mailbox enumeration uses VRFY or EXPN commands to confirm valid users, which reveals accounts rather than software versions. Port scanning finds which TCP ports are open but does not read what the service says about itself.
A tester wants to discover hostnames, mail servers, and other records associated with a target domain by interrogating its name servers. Which activity is this?
- A.DNS cache snooping, checking a resolver for domain records it cached
- B.DNS reverse sweeping, resolving an address block via its PTR records
- C.DNS cache poisoning, seeding the resolver with forged domain records
- D.DNS enumeration, collecting the record set a public domain publishes
Show answerHide answer
Correct answer: DNS enumeration, collecting the record set a public domain publishes
Querying a domain's name servers for its hosts, mail exchangers and other entries is dns enumeration, collecting the record set a public domain publishes. DNS cache snooping probes a resolver to learn which names its clients have recently looked up, so it reveals browsing activity rather than the target domain's records. A reverse sweep starts from an address block and resolves PTR records back to names, which works in the opposite direction and misses mail and text records. DNS cache poisoning plants forged records in a resolver to misdirect victims, so it falsifies answers rather than discovering what the target publishes.
During DNS enumeration, a tester attempts to retrieve every record in a zone from a misconfigured name server using a single AXFR request. What is this specific technique called?
- A.A cache poison, a spoofed answer meant for the caching resolver
- B.A reverse lookup, a pointer query meant for a specified address
- C.A zone transfer, a copy feature meant for the secondary servers
- D.A DNS tunnel, a covert channel meant for private data transfers
Show answerHide answer
Correct answer: A zone transfer, a copy feature meant for the secondary servers
A zone transfer is the replication mechanism authoritative name servers use to hand a full copy of a zone to a secondary, so a server that accepts the request from any client returns every record at once. That is why one AXFR against a misconfigured server is such a high-value finding: the internal host map arrives in a single answer. Cache poisoning inserts a false record into a resolver instead of reading the authoritative zone. A reverse lookup resolves one address at a time and cannot enumerate a zone. A covert tunnel encodes data inside queries for transport and retrieves no records at all.
What is the primary purpose of running Gobuster against an authorized web target?
- A.Guessing hidden paths and virtual hosts from a predefined wordlist
- B.Recovering account passwords and phrases from a captured hash dump
- C.Replaying stolen hashes and tickets onto many exposed file servers
- D.Editing live requests and replies inside an intercepting web proxy
Show answerHide answer
Correct answer: Guessing hidden paths and virtual hosts from a predefined wordlist
Gobuster works from a wordlist: it requests candidate directories, filenames, subdomains and virtual host names, then reports which ones the server treats as real, exposing admin panels, backups and development endpoints that nothing links to. That content discovery widens the web attack surface before any exploitation. Recovering passwords from captured hashes is offline cracking, a separate tool class. Replaying stolen hashes or tickets against reachable systems is credential relay and lateral movement, which needs credentials this stage has not obtained. Editing traffic inside an intercepting proxy manipulates what the tester already reaches instead of finding unlinked content.
A tester captures live traffic on an authorized network segment to inspect packets, follow TCP streams, and identify plaintext protocols. Which tool is purpose-built for this analysis?
- A.Hydra, an online guessing tool attacking multiple login protocols
- B.Wireshark, a protocol analyser unpacking the captured wire frames
- C.Hashcat, an offline password cracker using the graphics processor
- D.Responder, a spoofing service faking stray broadcast name replies
Show answerHide answer
Correct answer: Wireshark, a protocol analyser unpacking the captured wire frames
Wireshark is a protocol analyser: it decodes captured frames field by field, applies display filters, reassembles TCP and HTTP conversations and shows exactly what crossed the segment, including cleartext protocols and any credentials carried in them. Hydra drives online password guessing against login services and captures no traffic. Hashcat cracks captured hashes offline, usually on a graphics card, and never touches the network. Responder answers stray name-resolution broadcasts to collect authentication material, which poisons a segment rather than analysing what is on it.
In penetration testing, what does enumeration specifically accomplish that general reconnaissance does not?
- A.It queries a listening service for account lists and share paths
- B.It maps the address blocks and domain names a customer published
- C.It measures whether a reported defect genuinely runs on a server
- D.It removes the scanning artifacts a tester left on every machine
Show answerHide answer
Correct answer: It queries a listening service for account lists and share paths
Enumeration is the phase that connects to services already identified and extracts specifics from them: valid usernames, group memberships, share names, SNMP data and exact software versions, all of which decide which exploit or credential attack is worth attempting next. Mapping published address blocks and domains is reconnaissance, the broad pass that comes first and never touches a service. Confirming that a reported weakness genuinely exists on a host is vulnerability validation, which tests one finding rather than harvesting detail. Removing artifacts is cleanup at the end of the engagement and produces nothing for the tester to act on.
How is reconnaissance best defined within the penetration testing process?
- A.The stage that agrees the test scope and rules before it starts
- B.The stage that models likely threats before test scope is set
- C.The stage that probes listed hosts for flaws before exploiting
- D.The stage that profiles likely targets before any attack starts
Show answerHide answer
Correct answer: The stage that profiles likely targets before any attack starts
Reconnaissance is the stage that profiles likely targets before any attack starts, gathering domains, address ranges, technologies and people through passive and active means. Agreeing the test scope and rules of engagement is pre-engagement planning, which happens before reconnaissance and sets its limits. Modelling likely threats is threat modelling, an analysis exercise that shapes the test rather than collecting facts about real targets. Probing listed hosts for flaws before exploiting them is vulnerability scanning, which consumes the target list that reconnaissance produced.
A tester uses Nmap's -O flag against an in-scope host and reviews the output. What information is this option designed to provide?
- A.A list of the service names drawn from greeting matching
- B.A guess of the platform drawn from stack response traits
- C.A set of active hosts drawn from discovery probe replies
- D.A breakdown of open ports drawn from an exhaustive sweep
Show answerHide answer
Correct answer: A guess of the platform drawn from stack response traits
Operating system detection sends a series of probes and compares response characteristics — initial sequence numbers, window sizes, and which TCP options appear and in what order — against a fingerprint database, then prints a best guess at the platform, which helps the tester pick compatible tooling. Naming the software behind a port is version detection, a different option. Producing a list of hosts that answered is host discovery. Recording which ports are open across the full range is ordinary port scanning. None of those characterise the operating system from stack behaviour.
A tester runs Nmap with -p- against an authorized host. What is the effect of this option on the scan?
- A.It adds the datagram ports beside the customary stream ports
- B.It restricts the whole scan to a preliminary discovery phase
- C.It covers the entire numbered port range beyond the defaults
- D.It applies a version probe against each service already seen
Show answerHide answer
Correct answer: It covers the entire numbered port range beyond the defaults
The option removes the default port selection and scans the whole TCP port range, all 65,535 of them, instead of the top 1,000 Nmap checks by default. It costs considerably more time but finds listeners deliberately moved to unusual high ports, such as an administrative service parked far above the common range. Adding datagram ports is what a UDP scan does. Limiting the run to discovery and skipping the port stage is host discovery. Applying version probes to ports already found open is version detection. None of those change which port numbers get covered.
A tester is determining whether a target subnet has live hosts before committing to full port scans. Using Nmap, which option performs host discovery only, without scanning ports?
- A.-sS
- B.-sn
- C.-sV
- D.-sA
Show answerHide answer
Correct answer: -sn
Host discovery on its own is what -sn does: Nmap sends its discovery probes, lists the addresses that answer, and skips the port-scanning phase entirely, which is why it is the standard way to inventory a subnet before committing to slower scans. -sS is a half-open port scan and needs raw packet privileges. -sV probes ports already known to be open in order to identify the service and its version. -sA maps how a firewall treats traffic and reports filtered or unfiltered rather than telling the tester which hosts are alive.
A tester runs theHarvester against a target domain during early reconnaissance. Which category of data is this tool primarily designed to collect?
- A.Mailbox addresses and subdomain names pulled from public indexes
- B.Document metadata and author fields pulled from posted PDF files
- C.Leaked passwords and breach records pulled from paste site posts
- D.Registrant contacts and name servers pulled out of WHOIS records
Show answerHide answer
Correct answer: Mailbox addresses and subdomain names pulled from public indexes
theHarvester queries search engines, certificate transparency logs and similar open datasets and returns mailbox addresses and subdomain names pulled from public indexes. Extracting document metadata and author fields from published files is the job of tools such as Metagoofil or FOCA. Searching breach dumps for leaked passwords belongs to breach-lookup services. Registrant contacts and name servers come from a WHOIS query, not from theHarvester's harvesting sources.
A tester needs to enumerate shares, users, and policies from a Windows host exposing SMB on TCP 445. Which tool is most appropriate for this enumeration?
- A.volatility 3, a memory framework driven from the command line
- B.eyewitness, a python3 web client driven from the command line
- C.enum4linux, a perl based utility driven from the command line
- D.macchanger, a small local binary driven from the command line
Show answerHide answer
Correct answer: enum4linux, a perl based utility driven from the command line
enum4linux wraps the Samba client utilities and queries a Windows or Samba host over SMB, returning share names, user and group lists, password policy and system details — precisely the concrete inventory this stage calls for. macchanger only rewrites the hardware address of a local interface and never speaks to the target at all. volatility analyses memory images already collected from a host, an offline forensic task. eyewitness collects screenshots of web interfaces so a tester can triage them visually. None of the three speak the protocol the target is exposing.
A tester queries certificate transparency logs for a target's primary domain. What reconnaissance value does this provide?
- A.Certificate pinning blocks an intercepting proxy from reading traffic
- B.Certificate revocation notices show which signing keys were withdrawn
- C.Certificate chain inspection exposes weak signature algorithms in use
- D.Certificate records uncover the host names an organization registered
Show answerHide answer
Correct answer: Certificate records uncover the host names an organization registered
Every publicly trusted certificate is written into transparency logs, and each entry lists the names that certificate covers, so searching the logs surfaces subdomains and internal-sounding hosts that ordinary browsing would never reveal — all without sending a packet to the organisation. Pinning is a client-side defence that limits which certificate a client will accept and yields no names. Revocation data records which keys an issuer withdrew, which says nothing about hosts that exist. Inspecting a presented chain examines one host's configuration at a time and discovers no new ones.
A tester sends a UDP scan (-sU) against a host and several ports return no response at all. How should an open-or-filtered UDP result be interpreted?
- A.The state is left ambiguous, since a quiet service answers nothing
- B.The state is certainly shut, since a loaded port disregards probes
- C.The state is offline, since the host stopped replying much earlier
- D.The state is confirmed, since the initial handshake has now closed
Show answerHide answer
Correct answer: The state is left ambiguous, since a quiet service answers nothing
UDP is connectionless, so an open datagram port frequently has nothing to say to an empty probe and simply stays quiet, while a closed port is expected to answer with an ICMP port-unreachable message. Silence therefore cannot separate open from filtered, which is why the two are reported together and why UDP scanning is slow and usually needs service-specific probes or version detection to resolve. Treating silence as proof of a closed port inverts the real behaviour. It is not evidence that the host has gone away either, since other ports on the same host replied. And UDP has no handshake that could have completed.
A tester reviews Nmap output showing a port in the filtered state. What does the filtered result most likely indicate?
- A.The machine returned a reset, so Nmap declares it fully closed
- B.The service answered the query, so Nmap reports a version line
- C.The device dropped the probes, so Nmap marks the state unknown
- D.The host remained silent, so Nmap omits the whole port listing
Show answerHide answer
Correct answer: The device dropped the probes, so Nmap marks the state unknown
Filtered means probes were sent and nothing usable came back, because something along the path dropped or rejected them, leaving the true state undetermined. That is different from closed, where the target actively returns a reset, and from open, where a service replies and version probes can name the product. It is also not the same as a host that answers nothing at all, which is treated as down during discovery and never reaches the port stage. The practical reading is that packet filtering sits between the tester and the target.
During authorized OSINT, a tester uses Google search operators such as site:, filetype:, and inurl: to surface exposed documents and pages indexed for a target. What is this technique commonly called?
- A.Wayback review, which reads what an archive stored from retired pages
- B.Shodan lookup, which reads what a device scanner banner once recorded
- C.GitHub mining, which reads what a developer published to shared repos
- D.Google dorking, which reads what a public web crawler already indexed
Show answerHide answer
Correct answer: Google dorking, which reads what a public web crawler already indexed
Narrowing a search engine's index with advanced operators is called Google dorking, and it surfaces spreadsheets, configuration files, login portals and other material that was indexed but never meant to be found. Because everything comes out of a public index, nothing belonging to the organisation is touched. Archive review pulls historical copies of pages rather than current index entries. A device search engine returns banners its own scanners collected, which is a separate corpus gathered by someone else's probes. Mining public repositories examines code and commit history that developers published, not search operator results.
A tester wants to query WHOIS and DNS records and enumerate subdomains in an automated, modular way during reconnaissance. Among the following, which is a recon and OSINT framework rather than an exploitation tool?
- A.Mimikatz
- B.Recon-ng
- C.Ettercap
- D.Evilginx
Show answerHide answer
Correct answer: Recon-ng
Recon-ng is a modular reconnaissance and OSINT framework: it runs collection modules against public sources such as registrant data and DNS records, harvests hosts, contacts and subdomains, and stores everything in a workspace database ready for the next stage. Mimikatz extracts credential material from Windows memory once access has already been achieved. Ettercap runs on-path attacks against a local segment. Evilginx proxies real login flows to capture sessions during phishing. All three act against a target rather than gathering published information about one.
A tester discovers a network device responding on UDP 161 and supplies the default community string public to query it. What enumeration data can this commonly yield from a misconfigured device?
- A.Host descriptions, interface counters, and routing entries
- B.Wireless passphrases, handshake captures, and roaming keys
- C.Private certificates, session tickets, and secret material
- D.Zone records, delegation entries, and nameserver addresses
Show answerHide answer
Correct answer: Host descriptions, interface counters, and routing entries
A device that still answers on its default read community string exposes its management information base, so a walk of that tree returns host descriptions, interface tables and routing entries, plus process and software inventory on many platforms. That is exactly the inventory and topology data enumeration is after. Wireless passphrases come out of a captured handshake and an offline cracking run, not from a management query. Certificates and session tickets are key material held by cryptographic subsystems that never publish private keys over a management protocol. Zone records and delegation entries come from a name server that permits a zone transfer, a different service and a different misconfiguration.
A tester's Bash sweep always finishes by printing "0 hosts up", even though a packet capture shows several hosts replying: live=0 cat hosts.txt | while read ip; do ping -c 1 -W 1 "$ip" > /dev/null && live=$((live+1)) done echo "$live hosts up" Which modification makes the final count correct?
- A.Declare the counter with export live=0 before the pipeline starts
- B.Declare the counter with declare -g live=0 before the loop starts
- C.Replace live=$((live+1)) with let live++ inside the loop body
- D.Feed the loop with done < hosts.txt instead of piping cat into it
Show answerHide answer
Correct answer: Feed the loop with done < hosts.txt instead of piping cat into it
Each command in a Bash pipeline runs in a subshell, so the while loop increments its own copy of live and the parent shell still holds 0 when echo runs; redirecting the file into the loop with done < hosts.txt keeps the loop in the current shell. Exporting the variable only copies it into child processes and can never carry a change back to the parent. Rewriting the increment as let live++ or declaring it global still changes only the subshell's copy.
A tester's Bash script labels every scan file "large host", even files with only two open ports, and a stray file named 10 keeps appearing in the working directory: count=$(grep -c "open" scan.txt) if [ $count > 10 ]; then echo "large host"; fi Which replacement for the if test makes the comparison work as intended?
- A.if [ $count -gt 10 ]; then
- B.if [ "$count" > "10" ]; then
- C.if [ $count \> 10 ]; then
- D.if [[ $count > 10 ]]; then
Show answerHide answer
Correct answer: if [ $count -gt 10 ]; then
Inside single brackets the > is parsed as output redirection, which creates the file named 10 and leaves a non-empty string test that is always true; -gt is the integer comparison operator for test. Inside double brackets, and when escaped as \> in single brackets, > becomes a lexicographic string comparison, so a count of 9 sorts after 10 and is wrongly reported as larger. Quoting the operands does not stop the redirection at all.
A tester's Python check never prints, even though a manual netcat connection shows the FTP greeting text is exactly 220 (vsFTPd 3.0.3): import socket s = socket.create_connection(("10.0.0.8", 21), timeout=3) banner = s.recv(1024).decode() if banner == "220 (vsFTPd 3.0.3)": print("target build found") Which modification makes the check work?
- A.Compare banner.lower() with the expected string
- B.Compare banner.strip() with the expected string
- C.Compare banner.split()[0] with the expected string
- D.Compare banner.encode() with the expected string
Show answerHide answer
Correct answer: Compare banner.strip() with the expected string
FTP replies end with a carriage return and line feed, so the decoded banner is the expected text plus \r\n and the equality test fails; strip() removes that trailing whitespace. encode() turns the text back into bytes, and in Python 3 bytes never compare equal to a str. lower() changes vsFTPd to vsftpd so it cannot match, and split()[0] returns only 220.
scan.py begins: import argparse p = argparse.ArgumentParser() p.add_argument("-t", "--target", required=True) p.add_argument("-p", "--ports", default="1-1024") args = p.parse_args() Which command runs it against 10.0.0.5 on the default ports without an argparse error?
- A.python3 scan.py target=10.0.0.5
- B.python3 scan.py -t 10.0.0.5
- C.python3 scan.py -target 10.0.0.5
- D.python3 scan.py -p 10.0.0.5
Show answerHide answer
Correct answer: python3 scan.py -t 10.0.0.5
The target is a required optional argument, so it must be supplied with its flag, -t or --target, and the ports then fall back to 1-1024. Passing -target with a single dash is read as -t with the value arget, leaving 10.0.0.5 as an unrecognized argument. Supplying the address through -p or as target=10.0.0.5 leaves -t/--target missing, so argparse exits with a required-argument error.
check.sh contains: #!/bin/bash if [ $# -ne 2 ]; then echo "usage: $0 <host> <port>" exit 1 fi nc -zv -w 2 "$1" "$2" What happens when a tester runs ./check.sh 10.0.0.5:443?
- A.It prints the usage line, and then nc probes port 443 anyway
- B.It probes TCP port 443 on 10.0.0.5 and reports the result
- C.It runs nc with an empty port value, and nc reports an error
- D.It prints the usage line and exits with a status of 1
Show answerHide answer
Correct answer: It prints the usage line and exits with a status of 1
It prints the usage line and exits with a status of 1, because $# counts only the arguments after the script name, and 10.0.0.5:443 is one argument, so the -ne 2 test is true. The tempting belief that nc will split host and port at the colon never comes into play, since the script stops before nc runs, and nc takes the port as a separate argument anyway. An empty port value would only be reached if $# also counted $0. exit 1 ends the script, so nothing after the if block runs.
To map a firewall's rules, a tester runs
nmap -sA -p 22,80,445 10.0.5.20and gets: PORT STATE SERVICE 22/tcp unfiltered ssh 80/tcp unfiltered http 445/tcp filtered microsoft-ds What can the tester conclude about ports 22 and 80?- A.The host sent back no reply, so each port is confirmed filtered
- B.The host replied with a RST, so each port is confirmed closed
- C.The host replied with a SYN/ACK, so each port is confirmed open
- D.The host replied with a RST, so open versus closed is unknown
Show answerHide answer
Correct answer: The host replied with a RST, so open versus closed is unknown
The host replied with a RST, so open versus closed is unknown: in an ACK scan, unfiltered means the probe reached the host and drew a RST, and because open and closed ports both answer an unsolicited ACK with a RST, the scan cannot tell them apart. Reading the RST as closed is the tempting error carried over from SYN scans, where a RST does mean closed. A SYN/ACK is a reply to a SYN, not to an ACK probe. No reply at all is what produces the filtered state, which Nmap shows for 445 but not for these two ports.
A tester runs: theHarvester -d example.com -l 300 -b crtsh,duckduckgo -f recon What does the -b option control?
- A.The wordlist it uses to brute-force host names in the domain
- B.The public sources it searches for hosts and email addresses
- C.The base file name it uses when saving the collected results
- D.The maximum number of results it collects from each source
Show answerHide answer
Correct answer: The public sources it searches for hosts and email addresses
-b sets the public sources it searches for hosts and email addresses, here the crt.sh certificate transparency source and DuckDuckGo. The tempting reading is that b stands for brute force, but DNS brute-forcing is the separate -c option. The per-source result cap is set with -l, which is 300 here. -f sets the base name for the saved output files, which is recon here.
During reconnaissance, a tester wants the domain's SPF policy, including the include: entries that name third-party mail senders, plus any domain-verification tokens that SaaS providers asked the client to publish. Which query returns both?
- A.dig example.com MX
- B.dig example.com SPF
- C.dig example.com TXT
- D.dig example.com CAA
Show answerHide answer
Correct answer: dig example.com TXT
dig example.com TXT returns both, because SPF policies and SaaS domain-verification tokens are both published as TXT records. Querying the SPF type is the tempting answer, but RFC 7208 discontinued the separate SPF record type and requires SPF to be published as TXT only. MX lists the domain's inbound mail servers, not the senders authorized in SPF. CAA lists which certificate authorities may issue certificates for the domain.
A tester reviews this Nmap result: PORT STATE SERVICE 22/tcp open ssh 80/tcp closed http 443/tcp filtered https Which conclusion about the output is correct?
- A.Port 80 is closed because the TCP three-way handshake completed to a live service
- B.Port 22 is open because Nmap already named the exact running SSH version here
- C.Port 443 gave back no reply, so a firewall is likely dropping its probes silently
- D.Port 80 is closed because a firewall silently dropped each probe before it got in
Show answerHide answer
Correct answer: Port 443 gave back no reply, so a firewall is likely dropping its probes silently
A filtered port is one Nmap got no useful response from, so something such as a packet filter is dropping the probes and the port's true state stays unknown, which is the right reading of 443. The closed state on port 80 means the host actively returned a reset, so a service is not listening but the host is reachable; it is neither a dropped probe nor a completed handshake. Open on port 22 only means a service accepts connections, not that a version was identified, which would require -sV.
Vulnerability Discovery and Analysis (34)
Which tool is primarily used for automated vulnerability scanning in a network penetration testing scenario?
- A.Medusa
- B.Nessus
- C.Kismet
- D.Netcat
Show answerHide answer
Correct answer: Nessus
Correct answer: Nessus. Explanation: Nessus drives automated network vulnerability assessment: it enumerates hosts and services, runs a maintained plugin feed against them, and reports missing patches, weak configurations and exposed services with severity ratings. Medusa is a parallel login brute-forcer and tests credentials rather than assessing systems for known weaknesses. Kismet passively detects and records wireless networks and clients. Netcat opens raw connections for reading a service or moving data and performs no assessment of its own.
In the context of penetration testing, what is the primary purpose of using a tool like Burp Suite?
- A.Editing web requests inside an intercepting proxy
- B.Cracking wireless keys from captured radio frames
- C.Mapping reachable hosts across a segmented subnet
- D.Recovering plain passwords from stolen hash files
Show answerHide answer
Correct answer: Editing web requests inside an intercepting proxy
Correct answer: Editing web requests inside an intercepting proxy. Explanation: Burp Suite sits between the browser and the application so requests and responses can be paused, altered and replayed, which is how authorisation, input handling and session logic in a web application are examined. Wireless key recovery belongs to Wi-Fi auditing suites. Host discovery across a subnet belongs to network mappers. Offline hash cracking belongs to dedicated password crackers, none of which touch application traffic.
In penetration testing, what is the primary purpose of a tool like Nikto?
- A.Capturing the traffic on a shared local segment
- B.Recovering the password from a stolen hash file
- C.Checking a web server for known dangerous files
- D.Auditing the encryption keys on a wireless link
Show answerHide answer
Correct answer: Checking a web server for known dangerous files
Correct answer: Checking a web server for known dangerous files. Explanation: Nikto tests a web server against a large catalogue of risky files and scripts, default content, outdated server versions and unsafe configuration items, and reports what it finds. Traffic capture on a segment is the work of a protocol analyser. Recovering plaintext from hashes is the work of a cracker. Auditing wireless keys is the work of a Wi-Fi suite, and none of them examine a web server's exposed content.
Which technique is effective for identifying if a web application is vulnerable to cross-site scripting (XSS)?
- A.Placing a single quote inside a query parameter
- B.Placing a template sum inside a query parameter
- C.Placing a forged token inside a cross-site form
- D.Placing a script marker inside a returned field
Show answerHide answer
Correct answer: Placing a script marker inside a returned field
Cross-site scripting is confirmed by placing a script marker inside a returned field and checking whether the browser runs it rather than rendering it as text, which proves both reflection and missing output encoding. Placing a single quote inside a query parameter probes SQL injection, a database flaw. Placing a template sum such as {{7*7}} inside a parameter probes server-side template injection, which executes on the server, not in the browser. Placing a forged token inside a cross-site form tests request forgery protections, not script injection.
What is the primary use of a tool like OpenVAS in penetration testing?
- A.Source-level flaw discovery
- B.Hidden web folder discovery
- C.Hidden Wi-Fi SSID discovery
- D.Unpatched service discovery
Show answerHide answer
Correct answer: Unpatched service discovery
OpenVAS is a network vulnerability scanner, so its primary use is unpatched service discovery: it fingerprints hosts and services and tests them against a feed of known-vulnerability checks, reporting missing patches with severity ratings. Source-level flaw discovery is static application security testing, which needs the source code that a network scanner never reads. Hidden web folder discovery is content brute forcing with tools such as Gobuster or DirBuster. Hidden Wi-Fi SSID discovery is wireless auditing with tools such as Kismet or airodump-ng, not host vulnerability assessment.
In penetration testing, what is the primary purpose of using a 'fuzzer'?
- A.To feed malformed input in quantity until a target fails
- B.To turn stolen hash values back into their readable form
- C.To relay a stream between two endpoints with quiet edits
- D.To catalogue the accounts held on a public mail platform
Show answerHide answer
Correct answer: To feed malformed input in quantity until a target fails
The tool generates unexpected, malformed and boundary input in bulk, throws it at an interface and watches for crashes, hangs or error states that mark a handling flaw worth investigating; the value is that it explores input space far faster than a human can. Turning stolen hash values back into readable form is offline cracking. Relaying a stream between endpoints with quiet edits is an on-path attack. Cataloguing the accounts held on a mail platform is enumeration. None of the three generate input or watch a target for failure.
In penetration testing, which technique is used to identify and exploit vulnerabilities in web applications by automatically sending a large number of requests with varying payloads?
- A.Fuzzing, which fills inputs with malformed sample values
- B.Spidering, which follows every link to list site paths
- C.Forced browsing, which requests hidden paths from a list
- D.Password spraying, which tries one password across users
Show answerHide answer
Correct answer: Fuzzing, which fills inputs with malformed sample values
Fuzzing, which fills inputs with malformed sample values, sends large volumes of systematically varied payloads and watches for errors, crashes or unexpected states that reveal vulnerabilities. Spidering also sends many requests, but it follows links to list site paths, with no varied payloads. Forced browsing guesses hidden paths and finds content rather than testing how inputs are handled. Password spraying deliberately repeats one password across many users instead of varying payloads.
Which tool is primarily used for automated vulnerability scanning in web applications?
- A.Wireshark, which builds whole streams from a session's frames
- B.Nmap, which discovers which listening ports a machine exposes
- C.Metasploit, which delivers prepared exploit modules to a host
- D.Burp Suite, which intercepts then audits a website's requests
Show answerHide answer
Correct answer: Burp Suite, which intercepts then audits a website's requests
An intercepting proxy sits between the browser and the application, captures every request, and can then replay and mutate those requests automatically to test each parameter for injection, access-control and logic flaws, which is what automated web application scanning means in practice. A packet analyser rebuilds streams from frames that already exist and issues no requests of its own. A port scanner reports which services are exposed, not how an application handles input. An exploit framework delivers prepared modules for flaws that are already known.
What is the primary use of the tool 'Nikto' in penetration testing?
- A.Guesses login credentials against a remote service quickly
- B.Examines one web server for outdated vulnerable components
- C.Strips transport protection from a captured session record
- D.Rebuilds packet capture into legible protocol data streams
Show answerHide answer
Correct answer: Examines one web server for outdated vulnerable components
This scanner works from a large signature list of server-side items, requesting each in turn and reporting what it finds: leftover scripts, default content, revealing headers and server software carrying known problems. It is deliberately loud and fast, and it targets the server rather than the application's own logic. Guessing login credentials quickly is an online brute-force attack. Stripping transport protection from a captured record is a cryptographic attack. Rebuilding a capture into legible streams is packet analysis, which sends no requests at all.
During an authorized internal engagement, a tester is given a valid domain account before running a vulnerability scan. The client wants to understand what advantage this provides over a scan run without any login. Which statement best describes an authenticated (credentialed) scan compared to an unauthenticated scan?
- A.It probes each host across the network for banners, missing local detail
- B.It reads the rendered page of each web application, skipping other hosts
- C.It signs into each server for local patch state, cutting false positives
- D.It reads a central asset database for its software, avoiding live probes
Show answerHide answer
Correct answer: It signs into each server for local patch state, cutting false positives
A credentialed scan authenticates to the target and reads what only a logged-in session can see: installed packages, applied patches and the actual configuration files. Because it verifies rather than infers, it reports far fewer false positives than a scan that can only guess from the outside. Probing from the network and reading banners is the unauthenticated behaviour the client is comparing against, not the advantage credentials add. Credentialed scanning is not limited to web applications; it is used mostly against operating systems and installed software. Reading a central asset database is inventory reconciliation, and it still tells you nothing about the live state of the host.
A tester scans a Linux web server with credentials and the report lists every missing OS patch and an outdated OpenSSL package, while a prior uncredentialed scan of the same host only flagged an exposed service banner. Why did the credentialed scan surface so much more detail?
- A.It watched package and patch traffic on a host to confirm exact versions
- B.It read the local package and config databases to confirm exact versions
- C.It grabbed banners and headers from open ports to confirm exact versions
- D.It probed local ports and sockets on that host to confirm exact versions
Show answerHide answer
Correct answer: It read the local package and config databases to confirm exact versions
The credentialed scan found more because it read the local package and config databases to confirm exact versions, comparing installed builds such as OpenSSL against vendor patch data even where nothing is exposed on the network. Watching package and patch traffic would only show downloads in progress, not the full installed inventory or every missing patch. Grabbing banners and headers from open ports still relies on what services announce, which is why the uncredentialed scan saw so little. Probing local ports and sockets on the host finds listeners, not installed package versions or unapplied OS updates.
A client reading a penetration test report asks what a CVSS base score actually represents. Which explanation is correct under CVSS v4.0?
- A.Environment-adjusted base severity, drawn from local requirement data
- B.Threat-adjusted base severity, drawn from known exploit maturity data
- C.Supplemental severity, drawn from safety and provider urgency metrics
- D.Intrinsic base severity, drawn from exploitability and impact metrics
Show answerHide answer
Correct answer: Intrinsic base severity, drawn from exploitability and impact metrics
Under CVSS v4.0 the base score is intrinsic base severity, drawn from exploitability and impact metrics: it describes the flaw itself and does not change over time or between deployments. Environment-adjusted severity is the environmental group, where the organisation modifies base metrics and sets security requirements for its own assets, giving CVSS-BE rather than the base score. Threat-adjusted severity is the threat group, which layers exploit maturity on top to produce CVSS-BT. Supplemental metrics such as Safety and Provider Urgency add context but never change the score at all.
A tester is producing a CVSS v4.0 vector for a flaw that an unauthenticated attacker can trigger over the internet with no special conditions and no user interaction. Which combination of base metric values most accurately captures this?
- A.AV:A / AC:H / PR:L / UI:P
- B.AV:L / AC:L / PR:H / UI:A
- C.AV:P / AC:H / PR:N / UI:P
- D.AV:N / AC:L / PR:N / UI:N
Show answerHide answer
Correct answer: AV:N / AC:L / PR:N / UI:N
An attacker who reaches the flaw across the internet scores Attack Vector Network. No special preparation or unusual conditions means Attack Complexity Low. Unauthenticated means Privileges Required None, and a flaw that fires without a victim doing anything means User Interaction None. Adjacent restricts the attacker to the same logical network segment, which the stem rules out, and High complexity would demand conditions the stem says are absent. Local requires a shell or console session on the target and High privileges would require an administrative account, neither of which an unauthenticated internet attacker has. Physical requires the attacker to touch the device, and the Passive and Active user-interaction values both assume a victim contributes to the attack.
When using the FIRST CVSS v4.0 calculator to derive a numeric score, which set of inputs determines the base score?
- A.Threat metrics such as exploit maturity levels
- B.Base metrics such as exploitability and impact
- C.Environmental metrics such as base risk levels
- D.Supplemental metrics such as safety and effort
Show answerHide answer
Correct answer: Base metrics such as exploitability and impact
The calculator derives the base score purely from the base metric group: attack vector, attack complexity, attack requirements, privileges required and user interaction on the exploitability side, and the confidentiality, integrity and availability impact on both the vulnerable system and any subsequent system. Nothing else moves that number. Exploit maturity sits in the threat group, which adjusts a score that has already been calculated. Security requirements and asset value sit in the environmental group, supplied by the consuming organisation rather than the publisher. Automatable and recovery effort sit in the supplemental group, which carries context for decision-making and is explicitly not scored.
A developer asks the tester to clarify the difference between SAST and DAST during a secure-coding discussion. Which statement is accurate?
- A.SAST examines source code offline, while DAST probes the live site
- B.SAST replays saved traffic offline, while DAST reads the code repo
- C.SAST needs a compiled binary first, while DAST needs source access
- D.SAST reads production log data, while DAST reviews the build files
Show answerHide answer
Correct answer: SAST examines source code offline, while DAST probes the live site
Static application security testing works on the artifact at rest, reading source or compiled code and reasoning about paths the program could take without ever executing it. Dynamic application security testing works on the artifact in motion, sending requests to a running instance and judging the responses, so it needs a deployed target but no code. Replaying captured traffic is a proxy technique and is not how static analysis operates, and reading the source tree is exactly what dynamic testing cannot do. The description that has static testing needing a binary while dynamic testing needs source reverses the two disciplines. Watching production logs is monitoring, and reviewing build output is a pipeline task; neither defines either method.
A tester must assess a third-party web application during an engagement but has no access to its source code and cannot install agents on the server. Which testing approach fits these constraints?
- A.Interactive testing, which traces the app's calls from its runtime
- B.Static testing, which examines the app's source code from its repo
- C.Dynamic testing, which exercises the deployed app from the outside
- D.Composition analysis, which lists the app's packages from its repo
Show answerHide answer
Correct answer: Dynamic testing, which exercises the deployed app from the outside
With no source code and no way to place agents on the server, the fitting approach is dynamic testing, which exercises the deployed app from the outside by sending requests to the running instance and observing responses. Interactive testing traces the app's calls from its runtime through an instrumentation agent, which the no-agent constraint rules out. Static testing examines source code from the repository, which the tester cannot access. Composition analysis lists bundled packages from the dependency manifests in that repository, so it also fails the first constraint.
A vulnerability scanner reports that a Windows IIS server is vulnerable to a flaw that only affects a specific Linux Apache module, even though that module is not present on the host. How should the tester classify this result?
- A.False negative: the scanner overlooked a genuine live flaw
- B.True positive: the flagged flaw is present and exploitable
- C.False positive: the reported condition is not present here
- D.Risk acceptance: the client accepts a known unpatched flaw
Show answerHide answer
Correct answer: False positive: the reported condition is not present here
The host is a Windows web server and the flaw belongs to a module that only exists on a different platform and is not installed, so the precondition the finding depends on does not hold. A report of a vulnerability that does not exist on the target is a false positive, and the tester validates it manually and marks it as such rather than passing it to the client. A false negative is the opposite failure, a real flaw the scanner never reported, and here the scanner reported something rather than nothing. It cannot be a true positive because the affected component is absent from the host. Risk acceptance is a business decision about a confirmed weakness, not a way to classify a scanner's accuracy.
In vulnerability scanning, what is a false positive and why does it matter to a penetration tester?
- A.A reported flaw that is not real, so testers verify it manually
- B.A real flaw that the scan missed, so testers widen the coverage
- C.A repeat entry that doubles one host, so testers merge the rows
- D.A proven flaw that has a known identifier, so testers record it
Show answerHide answer
Correct answer: A reported flaw that is not real, so testers verify it manually
A false positive is a finding the tool presents as a vulnerability when the underlying condition is not actually present on the target. It matters because a report built on unvalidated output wastes the client's remediation budget and damages the tester's credibility, which is why manual verification of scanner output is a required step rather than an optional one. A genuine flaw the scanner failed to report is a false negative, the opposite error. A duplicated record from scanning the same host twice is a reporting artifact, not a judgement about whether the flaw exists. A finding that has been confirmed and carries an identifier is a true positive, which is what validation is meant to produce.
A non-technical client asks the tester, in plain terms, what a vulnerability scan does. Which description is most accurate?
- A.It watches live traffic and alerts on attacks aimed at these systems
- B.It patches each system and confirms the clearance of the known flaws
- C.It exploits each system and proves the impact of the confirmed flaws
- D.It probes systems and matches them against a database of known flaws
Show answerHide answer
Correct answer: It probes systems and matches them against a database of known flaws
A vulnerability scan is an automated discovery and comparison exercise. The tool probes the target, records the software, versions and configuration it can observe, then checks that inventory against a maintained database of known weaknesses and returns a list of potential issues for a human to validate. Watching live traffic and alerting on attacks describes an intrusion detection system, which is a monitoring control rather than an assessment tool. Applying patches is remediation, done by the client after findings are agreed, and no scanner does it as part of scanning. Exploiting each system to prove impact is penetration testing, the manual work that follows the scan and is deliberately not automated by the scanner.
A penetration tester needs a widely used commercial vulnerability scanner to perform automated network and host assessment, including credentialed checks across thousands of plugins. Which tool is purpose-built for this?
- A.Hydra, an automated multi-protocol network login brute-forcer
- B.Nessus, an automated credentialed asset vulnerability scanner
- C.Mimikatz, an automated in-memory Windows credential harvester
- D.Wireshark, an automated network host packet-capture inspector
Show answerHide answer
Correct answer: Nessus, an automated credentialed asset vulnerability scanner
Nessus is the commercial vulnerability scanner the objectives name for exactly this task: automated network and host assessment driven by a very large, frequently updated plugin feed, with credentialed checks that log into targets to verify patch level and configuration. Hydra guesses credentials against live network services and reports weak logins; it performs no vulnerability assessment. Mimikatz extracts credential material from memory on a host the tester already controls, so it is a post-exploitation tool rather than a scanner. Wireshark captures and decodes traffic for analysis and never probes a target or compares it to a vulnerability database.
During web application analysis, a tester sends large volumes of malformed, unexpected, and random input to a target to trigger crashes or anomalous behavior that may reveal exploitable flaws. What is this technique called?
- A.Grabbing the target application's service banners
- B.Fuzzing the target application's request handlers
- C.Pivoting through the compromised internal gateway
- D.Escalating the local machine account's privileges
Show answerHide answer
Correct answer: Fuzzing the target application's request handlers
Feeding a target large volumes of malformed, unexpected or randomly generated input and watching for crashes, hangs or other anomalous behaviour is fuzzing. The crashes it produces are the signal, because a handler that fails on malformed input is often the handler that can be pushed into an exploitable state. Banner grabbing reads the version string a service volunteers and involves no malformed input at all. Pivoting routes traffic through a compromised host to reach a network the tester cannot address directly, which is a movement technique and not an input test. Privilege escalation raises the rights of an account the tester already holds and likewise has nothing to do with malformed input.
A scanner reports four findings on a client's host: a Critical remote code execution flaw, a High privilege-escalation issue, and two Low informational items. With limited remediation time, how should the tester advise the client to prioritize?
- A.Remediate the high escalation first, then the code execution bug
- B.Remediate the two low items first, then the high escalation flaw
- C.Remediate the two low items first, then the critical code issue
- D.Remediate the critical execution flaw first, then the high issue
Show answerHide answer
Correct answer: Remediate the critical execution flaw first, then the high issue
With limited time, the advice is to remediate the critical execution flaw first, then the high issue, because ordering by severity and exploitability removes the most risk soonest. Fixing the high escalation first, then the code execution bug, reverses the order: escalation needs an existing foothold, while remote code execution hands one to any unauthenticated attacker. Clearing the two low items first, then the high escalation flaw, spends the scarce window on the smallest risk and leaves the critical flaw untouched. Clearing the two low items first, then the critical code issue, chases quick wins while the most dangerous exposure stays open.
A tester wants a fully open-source vulnerability scanner to assess a client's external network without paying for a commercial license. Which tool fits this requirement?
- A.Aircrack-ng, an open-source wireless network capture scanner
- B.Cobalt Strike, a licensed network post-exploitation platform
- C.OpenVAS, an open-source network vulnerability scanner engine
- D.Wireshark, an open-source network protocol capture inspector
Show answerHide answer
Correct answer: OpenVAS, an open-source network vulnerability scanner engine
OpenVAS, maintained as part of the Greenbone stack, is the open-source network vulnerability scanner used where a commercial licence is not available. It runs a community feed of network vulnerability tests against the external range and produces the same class of output a commercial scanner would. Aircrack-ng is open source but audits wireless encryption and recovers keys from captured frames, so it does not assess a wired external network. Cobalt Strike is a paid commercial product for adversary emulation and command and control, which fails the licensing requirement outright. Wireshark is open source but only captures and decodes traffic; it never probes hosts or matches them against a vulnerability feed.
While analyzing scan results, a tester sees a web server self-reporting version 2.4.49 of a well-known HTTP daemon associated with a path-traversal and remote code execution issue. What is the most appropriate next analysis step within the engagement scope?
- A.Map the banner version to published CVEs, then verify it manually
- B.Treat the banner version as proof of compromise, then move onward
- C.Dismiss the banner version as invalid, then rescan the host again
- D.Send the banner version to the vendor, then await their statement
Show answerHide answer
Correct answer: Map the banner version to published CVEs, then verify it manually
A self-reported version is a lead, not a finding. The correct analysis step is to map that version to the CVEs published against it, then confirm by hand that the host is genuinely affected, because the module may be absent, the build may be back-ported, or the banner may simply be inaccurate. Only after that does the issue belong in the report as exploitable. Treating the banner as proof and jumping to post-exploitation records an unvalidated finding and risks acting outside what the evidence supports. Rescanning the whole subnet repeats work already done and answers nothing about this host. Banners are frequently unreliable but are not worthless, and vendor notification is the client's decision, not a step in the tester's analysis.
A tester writes a short script to parse Nmap XML output and automatically cross-reference each discovered service version against a local vulnerability list. Within the Vulnerability Discovery and Analysis domain, what does this scripting primarily accomplish?
- A.It automates the correlation of scan data with known vulnerability tables
- B.It automates the exploitation of each service found without manual review
- C.It automates the production of the engagement invoice from scanner output
- D.It automates the removal of the affected software packages across servers
Show answerHide answer
Correct answer: It automates the correlation of scan data with known vulnerability tables
Parsing structured scan output and joining each discovered service and version to a vulnerability list is correlation, and scripting it means the analysis stage runs at machine speed with none of the transcription mistakes a manual lookup introduces. That is the value the objectives attach to automation in vulnerability discovery and analysis. It does not exploit anything; the script only reads and compares data that has already been collected. Generating an invoice is a business activity with no relationship to the vulnerability analysis domain. Removing packages is remediation performed by the client, and a tester who altered production software would be acting outside the agreed scope.
A vulnerability scanner runs against a bespoke web application and reports no issues, yet the tester later confirms a custom authentication bypass exists. How is the scanner's original result classified, and what does it illustrate?
- A.False positive, showing that scanners tend to over-report custom code
- B.True negative, showing that the application had no exploitable defect
- C.True positive, showing that the scanner matched a published signature
- D.False negative, showing that signatures do miss custom business flaws
Show answerHide answer
Correct answer: False negative, showing that signatures do miss custom business flaws
The flaw was genuinely present and the scanner reported nothing, which is a false negative. It illustrates the structural limit of signature and pattern driven scanning: the tool recognises known software and known weaknesses, but a custom authentication bypass is business logic unique to that application, so no signature exists for it and only manual testing finds it. A false positive would be the scanner reporting something that is not there, the opposite of what happened. A true negative would require the application to be genuinely clean, which the tester disproved. A true positive would require the scanner to have reported the bypass, which it never did.
A tester wants to discover hidden input-handling crashes in a custom compiled binary by feeding it mutated and generated inputs and monitoring for failures. Which category of tool is most appropriate?
- A.Mimikatz, a Windows process credential dumper
- B.AFL++, a coverage-guided binary memory fuzzer
- C.Burp, a client-side traffic interception tool
- D.Nmap, a networked service discovery inspector
Show answerHide answer
Correct answer: AFL++, a coverage-guided binary memory fuzzer
Feeding a compiled binary mutated and generated inputs while watching for crashes is what a fuzzer does, and a coverage-guided fuzzer such as AFL++ instruments the target so that inputs which reach new code paths are kept and mutated further, which is why it finds input-handling crashes that random data alone would miss. A credential dumper harvests secrets from memory on a host the tester already controls and performs no input testing. A web proxy intercepts and manipulates HTTP traffic against a running web application, not a local compiled binary. A port mapper discovers hosts and open services and has no view of how a binary handles its input.
After running two different scanners against the same web application, a tester finds one tool reports a SQL injection on a parameter while the other does not. What is the most defensible way to resolve the discrepancy during analysis?
- A.Run a third scanner on the parameter and accept the majority verdict
- B.Rescan the parameter with each scanner and then compare the verdicts
- C.Manually retest the parameter and observe the response to resolve it
- D.Report the parameter as a possible finding for the client to resolve
Show answerHide answer
Correct answer: Manually retest the parameter and observe the response to resolve it
When two scanners disagree, neither result is evidence, so the defensible step is to manually retest the parameter and observe the response to resolve it, giving first-hand proof that confirms or refutes the injection. Running a third scanner and accepting the majority verdict is still a vote between unvalidated tools. Rescanning with each scanner and then comparing the verdicts repeats the same automated logic that produced the conflict. Reporting the parameter as a possible finding for the client to resolve pushes the tester's analysis work onto the client.
A client has a flat asset inventory and asks the tester to help decide which scan-discovered vulnerabilities deserve attention first. Beyond raw CVSS base score, what additional factor most improves this prioritization?
- A.The plugin category and complete check count behind each reported flaw
- B.The probe duration and network packet volume counted per reported flaw
- C.The exploit maturity and active attacks seen behind each reported flaw
- D.The scan schedule and rescan frequency recorded for each reported flaw
Show answerHide answer
Correct answer: The exploit maturity and active attacks seen behind each reported flaw
A base score describes a flaw in the abstract, and two findings can share a score while posing very different real risk. Exploit maturity, whether working exploit code is public and whether the flaw is being used in live attacks, is the factor that separates them, so a moderately scored vulnerability under active exploitation should be fixed before a higher-scored one nobody has ever weaponised. The plugin family and check count describe how the scanner is built, not how dangerous a finding is. Probe duration and packet volume are performance measurements of the scan itself. The scan window and rescan cadence describe the assessment schedule and say nothing about the severity or exploitability of any finding.
A tester needs to scan a web application specifically for common server-side problems such as outdated server software, dangerous default files, and known insecure CGI scripts. Which lightweight scanner is designed for this purpose?
- A.Hashcat, an accelerated password and hash retrieval workbench
- B.Nikto, a web server default-file and misconfiguration scanner
- C.Metasploit, an exploit scripts and payload delivery framework
- D.Nmap, a network-scale host and server enumeration environment
Show answerHide answer
Correct answer: Nikto, a web server default-file and misconfiguration scanner
Nikto is the lightweight web server scanner built for precisely this checklist: outdated server and module versions, dangerous or forgotten default files, and known insecure CGI scripts, tested against thousands of well-known paths. It is fast, noisy and aimed at the server rather than the application's own logic. Hashcat recovers passwords from captured hashes offline and never touches a web server. Metasploit develops and delivers exploits against a target already known to be vulnerable, so it is an exploitation framework rather than a web content scanner. Nmap discovers hosts and open services and can identify a web server, but it does not carry the default-file and CGI checks the stem describes.
A vulnerability scan flags a critical OpenSSH flaw on a Red Hat Enterprise Linux server, citing only the version string in the SSH banner. The vendor backports security fixes without changing upstream version numbers, and the rules of engagement forbid exploitation on production systems. What should the tester do before reporting the finding?
- A.Report it at the scanner's rating, quoting the plugin's banner match
- B.Verify it with a manual check of the host's installed package fixes
- C.Verify it by rerunning the same scanner plugin later against the host
- D.Report it at a lowered rating, noting it went unproven by exploitation
Show answerHide answer
Correct answer: Verify it with a manual check of the host's installed package fixes
Because the vendor backports fixes, the banner's version can look vulnerable when the patch is already installed, so a banner-only match is a likely false positive. The tester should validate it independently with a manual check or script, for example by checking the installed package's changelog for the CVE, before reporting. Rerunning the same plugin repeats the same banner logic and confirms nothing. Reporting at either rating without validation passes an unconfirmed result to the client.
A physical test showed that one badge swipe at a data-center door lets several people through before it closes. The client wants a control that physically limits passage to one person for each authorized credential read. Which control should the report recommend?
- A.An access control vestibule at the entrance
- B.An anti-passback rule on all the badge readers
- C.A PIN pad added to each existing badge reader
- D.A camera recording each person who enters
Show answerHide answer
Correct answer: An access control vestibule at the entrance
An access control vestibule (mantrap) uses two interlocked doors, with the inner door releasing only after the outer one closes and the person is verified, so only one person at a time can pass. Anti-passback is the tempting choice, but it only stops a credential being used to enter twice without exiting; a second person who walks through on the first swipe never presents a credential. A PIN pad strengthens authentication without limiting how many people pass, and a camera records the event without preventing it.
A client wants to measure how many employees will plug in and open files from USB drives left in the parking lot. The rules of engagement allow recording that this happened, but not access to user data or remote control. All workstations run Windows 11. Which drive design fits?
- A.Drives without payloads, counting how many vanish from the lot
- B.A payload that copies the user's recent files back to the tester
- C.Tagged documents that report back once a user opens one
- D.An autorun file that reports back the moment it is inserted
Show answerHide answer
Correct answer: Tagged documents that report back once a user opens one
A uniquely tagged document that sends a simple callback when opened measures the exact behavior the client asked about, ties each result to a drive and location, and stays inside the rules of engagement. Windows has ignored AutoRun on USB flash drives since Windows 7, so an autorun file would rarely fire and would undercount. Counting missing drives measures only who picked one up, and copying files breaks the ban on accessing user data.
A physical assessment found that staff badges are 125 kHz proximity cards whose identifier a tester copied onto a blank card with a cheap handheld reader while standing near an employee. Which control best remediates the finding?
- A.Replace the badges with smart cards that use strong encryption and mutual authentication
- B.Shorten the reader range so that a cloned prox card must be presented much closer in now
- C.Swap the prox cards for 13.56 MHz contactless cards read via the same door reader panels
- D.Print a staff photo and an expiry date onto the prox badges that the reader reads first
Show answerHide answer
Correct answer: Replace the badges with smart cards that use strong encryption and mutual authentication
Low-frequency proximity cards broadcast a static identifier in the clear, so the fix is cryptographic: smart cards that use strong encryption and mutual authentication make a replayed copy useless because reader and card each prove themselves. Moving to 13.56 MHz is the sharp trap, but frequency alone adds no cryptography and common 13.56 MHz cards are themselves cloneable; shortening the range only forces the attacker closer, as this one already was, and a printed photo guards against visual misuse rather than RFID copying.
Post-Exploitation and Lateral Movement (33)
In the context of penetration testing, what is 'privilege escalation'?
- A.Raising an account's rights beyond the level first granted
- B.Using one account's access to log on to further peer hosts
- C.Keeping an account's access alive across every host reboot
- D.Reusing an account's captured hash to log on as that user
Show answerHide answer
Correct answer: Raising an account's rights beyond the level first granted
Privilege escalation means raising an account's rights beyond the level first granted, such as a standard user becoming local administrator or SYSTEM through a misconfiguration or flawed service. Using one account's access to log on to further peer hosts is lateral movement: the reach widens but the rights stay the same. Keeping an account's access alive across reboots is persistence, which maintains a foothold without raising it. Reusing an account's captured hash to log on as that user is pass-the-hash, which impersonates the same account at the same level.
What is the primary goal of 'pass-the-hash' attacks?
- A.Cracking a saved digest offline to recover its clear text
- B.Replaying stored packets at a service a short while later
- C.Reading one plain credential as it traverses an open line
- D.Authenticating using a stolen hash in place of a password
Show answerHide answer
Correct answer: Authenticating using a stolen hash in place of a password
Some authentication schemes accept the stored hash itself as proof of identity, so an attacker who lifts that value from memory or a credential store can present it directly and be logged in; the plaintext password is never needed and never recovered. Cracking a saved digest offline is the slow alternative this technique exists to avoid. Replaying stored packets resends whole messages instead of presenting a credential to an authentication service. Reading a plain credential as it crosses an open line is sniffing, and it works only when the password travels unprotected in the first place.
In penetration testing, what is the primary function of the tool 'Mimikatz'?
- A.Charting attack paths between accounts in a domain
- B.Carving deleted documents from a raw storage image
- C.Replaying recorded frames to test a network switch
- D.Reading credential material out of a local process
Show answerHide answer
Correct answer: Reading credential material out of a local process
Mimikatz runs on a compromised Windows host with elevated rights and reads secrets straight out of the memory of the local security subsystem, returning plaintext passwords, NTLM hashes, PINs and Kerberos tickets that can then be reused elsewhere. Charting a route between accounts to reach a privileged group is graph analysis performed over collected directory data. Carving deleted documents out of a storage image is disk forensics and touches no running process. Replaying recorded frames at a switch probes network configuration rather than the credential store held on a host.
After gaining a foothold, a penetration tester creates a Windows scheduled task that launches a payload at logon. What post-exploitation objective does this support?
- A.Network discovery
- B.Persistent access
- C.Defensive evasion
- D.Credential replay
Show answerHide answer
Correct answer: Persistent access
A scheduled task that fires a payload at logon re-establishes the tester's channel every time the host boots or a user signs in, which is the definition of persistence: keeping access without having to exploit the original weakness again. Discovery maps hosts, services and shares once access exists and adds nothing to survivability. Evasion is about avoiding detection by defensive tooling, which a task entry does not achieve. Reusing captured credentials moves the tester sideways to other systems. Any of the four may follow a foothold, but only one keeps it alive.
Which of the following is a Linux persistence mechanism analogous to a Windows scheduled task?
- A.A systemd service
- B.A new .bashrc line
- C.A cron table entry
- D.A new SSH user key
Show answerHide answer
Correct answer: A cron table entry
A cron table entry runs a chosen command on a schedule or at reboot, which is the direct Linux analogue of a Windows scheduled task. A systemd service is persistence too, but it parallels a Windows service rather than a scheduled task. A new .bashrc line runs only when a user opens a shell, closer to a logon script. A new SSH user key grants re-entry access but executes nothing on its own.
A tester adds a new local administrator account on a compromised server to maintain future access. This is BEST categorized as which post-exploitation activity?
- A.Traffic inspection
- B.Firewall traversal
- C.Physical intrusion
- D.Access persistence
Show answerHide answer
Correct answer: Access persistence
Creating an extra local administrator account gives the tester a credential that survives reboots and the loss of the original shell, so it is a persistence mechanism in the same family as a scheduled task or a start-up service, and it must be recorded for removal during cleanup. Watching traffic is collection. Getting a session out through a filtering device is tunnelling work that carries traffic rather than preserving access. Entering a building targets physical controls. None of those three leaves a way back into the compromised host.
On a Linux host, a tester finds a binary owned by root with the SUID bit set that can be abused to run commands as root. Which post-exploitation goal does exploiting it achieve?
- A.Relaying harvested archives off the network
- B.Wiping forensic artifacts from the logfiles
- C.Gaining superuser authority over the system
- D.Charting exposed services across the subnet
Show answerHide answer
Correct answer: Gaining superuser authority over the system
A binary that carries the set-user-ID bit runs with the rights of its owner rather than the rights of the account that launched it, so a root-owned example that can be coerced into running arbitrary instructions hands a low-privileged foothold the ability to act as root. Gaining superuser authority over the system is precisely the post-exploitation objective known as privilege escalation, and permissive sudo rules produce the same outcome by a different route. Moving harvested archives outward is exfiltration, a separate objective concerned with removing data rather than raising rights. Erasing forensic artifacts is anti-forensic cleanup performed after an objective is already met and it grants no new permission. Charting exposed services belongs to reconnaissance, which happens before any access exists and never changes an account's privilege level.
On Windows, which tool is most commonly used to dump credentials and extract NTLM hashes or plaintext passwords from the LSASS process?
- A.Mimikatz, extracting secrets from resident memory
- B.Responder, seizing digests from broadcast queries
- C.Hashcat, recovering cleartext from offline values
- D.Hydra, guessing logins against reachable services
Show answerHide answer
Correct answer: Mimikatz, extracting secrets from resident memory
Mimikatz reads the Local Security Authority Subsystem Service while that process is resident in memory, extracting secrets that the operating system caches there: NTLM hashes, Kerberos tickets and, on legacy configurations, plaintext credentials. Those recovered secrets are what make pass-the-hash and pass-the-ticket movement possible afterwards. Responder is a poisoner that answers broadcast name-resolution queries and seizes authentication digests off the wire, so it never inspects a running process. Hashcat is an offline recovery engine that turns already-captured values back into cleartext and has no collection capability of its own. Hydra performs online guessing against reachable network services, producing a valid login rather than a memory dump.
A tester uses a captured NTLM hash to authenticate to other systems without ever cracking the plaintext password. What technique is this?
- A.Kerberoasting, cracking tickets from service accounts
- B.Password spraying, attempting one secret network-wide
- C.Credential stuffing, reusing breached account details
- D.Pass-the-hash, authenticating with an uncracked value
Show answerHide answer
Correct answer: Pass-the-hash, authenticating with an uncracked value
Windows NTLM authentication treats the stored hash itself as the proof of identity, so a tester holding that hash can present it directly. Pass-the-hash is exactly this: authenticating with an uncracked value, never recovering the underlying password, which makes it a fast route to lateral movement wherever the same local or domain credential is reused. Kerberoasting requests service tickets tied to service principal names and then cracks them offline, so it depends on the very cracking step the scenario rules out. Password spraying attempts one likely secret against many accounts and is an online guessing attack against the plaintext space. Credential stuffing reuses details harvested from an unrelated breach, which requires knowing the password rather than only its digest.
Which tool lets a tester execute commands on a remote Windows host over SMB using legitimate administrative protocols, making it a popular lateral-movement utility?
- A.BloodHound, graphing trust paths across domains
- B.PsExec, spawning services through hidden shares
- C.Rubeus, requesting tickets from Kerberos realms
- D.Mimikatz, harvesting secrets from cached logons
Show answerHide answer
Correct answer: PsExec, spawning services through hidden shares
PsExec works by copying a helper binary to an administrative share and then spawning services through those hidden shares over Server Message Block, using functionality Windows ships for legitimate remote administration. That is why it, and the Impacket equivalents, became a standard lateral-movement utility once valid credentials or a usable hash are in hand. BloodHound is a collector and analysis tool that graphs trust and permission paths inside Active Directory, but it executes nothing on a target. Rubeus manipulates Kerberos material, requesting and abusing tickets, which yields authentication artifacts rather than remote command execution. Mimikatz harvests secrets from cached logon sessions in memory and likewise stops at credential recovery.
A tester wants to run commands on a remote Windows machine using WMI rather than dropping a service binary, for a stealthier approach. Which protocol/mechanism is being leveraged?
- A.Server Message Block privileged administrative shares
- B.Windows Management Instrumentation object class calls
- C.Remote Desktop Protocol interactive terminal sessions
- D.Background Intelligent Transfer Service download jobs
Show answerHide answer
Correct answer: Windows Management Instrumentation object class calls
Windows Management Instrumentation exposes a management layer whose object class calls can create a process on a remote machine without first writing and registering a service binary, which is why wmiexec-style tooling is treated as quieter than the service-creation route. The same layer also answers inventory queries, so it doubles as an enumeration surface. Server Message Block privileged administrative shares are the path a service-dropping utility uses, and that is the noisier technique the scenario is deliberately avoiding. Remote Desktop Protocol grants an interactive graphical logon, which is highly visible and does not run a single command unattended. The Background Intelligent Transfer Service moves files as scheduled jobs and is a persistence or download mechanism, not a command execution interface.
A tester compromises a dual-homed host and uses it to reach an internal subnet that is not directly accessible from the attacker's machine. This technique is called:
- A.Banner grabbing, reading advertised service labels
- B.Packet sniffing, recording cleartext subnet frames
- C.Protocol fuzzing, sending mutated input repeatedly
- D.Network pivoting, rerouting sessions via footholds
Show answerHide answer
Correct answer: Network pivoting, rerouting sessions via footholds
Network pivoting means rerouting sessions via footholds already held, so a machine that sits on two segments becomes the relay that carries a tester's traffic into address space the attacking workstation cannot route to directly. A multihomed victim is the classic candidate because it already has an interface in each segment. Banner grabbing only reads the labels a listening service advertises about itself, which identifies software versions and opens no new path. Packet sniffing records frames that cross a segment the tester can already observe, so it never extends reach beyond that segment. Protocol fuzzing repeatedly submits mutated input to provoke a crash, a vulnerability-discovery activity that has nothing to do with routing into an unreachable range.
Which tool is commonly used to route a tester's traffic through a chain of proxies or a compromised host to reach otherwise unreachable internal hosts?
- A.Proxychains, forcing connections along relay hops
- B.Ettercap, poisoning bindings on adjacent segments
- C.Nessus, auditing systems for unpatched components
- D.Nikto, probing webservers for weak configurations
Show answerHide answer
Correct answer: Proxychains, forcing connections along relay hops
Proxychains sits in front of an ordinary client and forces its outbound connections along relay hops, normally a SOCKS listener opened by a tunnel or by a command-and-control session on a machine the tester already owns. Because the redirection happens below the application, unmodified scanners and clients suddenly reach address space that is only routable from that machine. Ettercap poisons bindings on a segment the tester can already reach, which intercepts traffic rather than extending reach. Nessus audits reachable systems for unpatched components and reports findings, offering no traffic redirection at all. Nikto examines web servers for weak or dangerous configuration, again limited to targets that are already routable.
A tester sets up 'ssh -D 1080 user@pivot' to create a SOCKS proxy through a compromised jump host. What is the purpose of this command?
- A.Forwarding a graphical display to the workstation
- B.Reusing credential agents on the downstream hosts
- C.Providing a dynamic conduit for internal pivoting
- D.Copying files through the encrypted shell channel
Show answerHide answer
Correct answer: Providing a dynamic conduit for internal pivoting
Dynamic port forwarding turns the client into a SOCKS listener, providing a dynamic conduit for internal pivoting: any tool pointed at that listener has its traffic carried across the existing session and emitted from the jump host, so targets that are only routable from that host become reachable without dropping an implant. Graphical display forwarding is a separate feature that carries an X session back to the tester and moves no arbitrary traffic. Agent forwarding lets keys held locally be reused onward, which is a credential convenience rather than a route into a network. File copying over the same encrypted transport moves data between two endpoints that can already speak to each other.
Which of the following is a command-and-control (C2) framework a tester might use to manage compromised hosts during post-exploitation?
- A.Nessus, ranking discovered weaknesses by criticality
- B.Wireshark, decoding captured bytes for investigators
- C.Impacket, scripting logon exchanges against services
- D.Metasploit, tasking implants across breached servers
Show answerHide answer
Correct answer: Metasploit, tasking implants across breached servers
Metasploit is the framework in this list built for tasking implants across breached servers: it holds sessions open, issues follow-up jobs to them, and carries post-exploitation modules for harvesting, migration and onward movement, which is what a command-and-control framework must do. Cobalt Strike, Sliver, Covenant and Empire occupy the same role. Nessus is a vulnerability management platform that ranks findings by criticality and never holds an interactive session. Wireshark decodes traffic that has already been captured and issues nothing to a target. Impacket is a protocol library whose scripts drive individual authentication and remote-execution exchanges, but it maintains no persistent tasking channel over a fleet of hosts.
A tester encodes stolen data inside DNS queries to slip it past egress filtering. This is an example of:
- A.A staging step compressing archives locally
- B.A covert channel smuggling secrets outbound
- C.A persistence method outlasting each reboot
- D.A pivot relay reaching isolated subnetworks
Show answerHide answer
Correct answer: A covert channel smuggling secrets outbound
Hiding information inside name-resolution requests is a covert channel smuggling secrets outbound: the traffic is shaped like an ordinary, universally permitted service, so a control that inspects destination and protocol sees nothing unusual while data leaves the estate. The same idea drives tunnels built over ICMP or over ordinary web traffic. A staging step assembles or compresses material on the host and stops before anything leaves it. A persistence method exists to regain access after a restart and moves no data at all. A pivot relay extends routing into address space that the tester cannot otherwise reach, which is a movement technique rather than a way out through an egress control.
Which technique hides data within another file (such as embedding it in an image) to avoid detection during exfiltration?
- A.Compression, reducing a dataset's transfer volume
- B.Encoding, altering byte patterns against scanners
- C.Steganography, concealing a payload inside images
- D.Tunneling, transporting a stream within protocols
Show answerHide answer
Correct answer: Steganography, concealing a payload inside images
Steganography is the practice of concealing a payload inside images, audio or document carriers so that the carrier still opens normally and nothing about it advertises the hidden content. That is why it appears in the staging and covert-channel material: inspection sees an ordinary picture. Compression only reduces how much has to move and leaves the content perfectly recoverable by anyone who unpacks it. Encoding rewrites byte patterns to slip past signature matching, but the result is still an obvious blob rather than an innocuous carrier file. Tunneling carries a stream inside a permitted protocol, which conceals traffic in transit rather than hiding one file inside another.
Before exfiltrating a large dataset, a tester compresses and encrypts it. What is the primary benefit of this staging step?
- A.It compacts the payload into protected ciphertext
- B.It scatters the bundle across separate transports
- C.It overwrites the modification timestamps on disk
- D.It preserves the deliverable evidence for reports
Show answerHide answer
Correct answer: It compacts the payload into protected ciphertext
Compressing and then encrypting a collection before it moves compacts the payload into protected ciphertext, which delivers both staging benefits at once: fewer bytes have to cross the wire, so the transfer is quicker and less conspicuous in flow records, and the bytes that do cross are opaque to data-loss-prevention inspection and to anyone reading the capture later. Splitting a bundle across separate transports is a different evasion tactic and is not what compressing or encrypting does. Overwriting modification timestamps is anti-forensic cleanup applied to the file system, unrelated to how much data moves. Preserving evidence for the report is an engagement obligation, not a property produced by packing and encrypting a dataset.
At the end of an engagement, which cleanup and restoration activity should the penetration tester perform?
- A.Removing the artifacts introduced across the systems
- B.Delivering the findings required for the remediation
- C.Retesting the defects corrected since the assessment
- D.Rotating the credentials uncovered inside the report
Show answerHide answer
Correct answer: Removing the artifacts introduced across the systems
Cleanup and restoration means removing the artifacts introduced across the systems that were touched: persistence mechanisms, accounts the team created, uploaded tooling, and any configuration that was altered to make an attack path work. Anything left behind is a genuine exposure that the client did not consent to carry, which is why the task belongs to the tester rather than to the customer. Delivering the written findings is the reporting obligation and happens whether or not the environment was ever modified. Retesting corrected defects is a separate, usually separately scoped engagement that validates the customer's repairs. Rotating exposed credentials is remediation work the customer performs on its own systems, and it does not undo the changes the tester made.
During an authorized engagement, a penetration tester has compromised one workstation and now uses its access to authenticate to additional hosts in the same Active Directory domain, gradually expanding control across the network. Which post-exploitation activity does this describe?
- A.Pivoting across those hosts to other LANs
- B.Privilege escalation up to a domain admin
- C.Credential dumping from those admin hosts
- D.Lateral movement across peer domain hosts
Show answerHide answer
Correct answer: Lateral movement across peer domain hosts
Authenticating from one compromised workstation to further machines in the same Active Directory domain, and repeating that to widen control, is lateral movement across peer domain hosts. Pivoting across those hosts to other LANs means relaying through a compromised machine into segments the tester could not otherwise route to, whereas the stem stays inside one domain. Privilege escalation up to a domain admin raises rights vertically rather than spreading sideways. Credential dumping from admin hosts collects secrets on a machine already held; it feeds lateral movement but is not the act of moving.
A tester has a foothold on a dual-homed host that can reach an isolated internal subnet the tester's own machine cannot. The tester configures the compromised host to relay traffic so that tools launched from the attack box can scan and attack systems in that hidden subnet. What is this technique called?
- A.Pivoting through the compromised relay point
- B.Lateral movement from the compromised host
- C.Relay of captured hashes into hidden subnets
- D.Hijacking the sessions on a compromised host
Show answerHide answer
Correct answer: Pivoting through the compromised relay point
Turning the dual-homed foothold into a relay so tools on the attack box can reach a subnet the attack box cannot address is pivoting through the compromised relay point. Lateral movement means compromising additional hosts, not routing the tester's own tools through one. A relay of captured hashes is a credential attack against an authentication exchange. Hijacking live sessions takes over a user's existing connection and creates no route into an unreachable network.
A penetration tester deploys an implant on a compromised host that periodically beacons out to an external server the tester controls, retrieving commands and returning their output. What does the external server in this arrangement function as?
- A.A jump box and bastion that reaches internal subnets
- B.A local resolver and cache that answers name lookups
- C.A file server and repository that holds the payloads
- D.A command and control server that tasks the implants
Show answerHide answer
Correct answer: A command and control server that tasks the implants
An implant that beacons outward on a schedule, collects instructions and returns their output is speaking to a command and control server. That server is the operator's side of the channel: it queues tasking, receives results and holds the sessions the tester works through. A jump box is an administrative host inside the client network used for authorised access between segments, not an external node the tester controls. A recursive resolver answers name lookups and would only be involved if the channel happened to be tunnelled over DNS, which is transport rather than function. A file server that hosts payloads is a staging resource and does not receive beacons or issue commands.
After gaining administrative access to several hosts, a tester collects passwords, password hashes, and Kerberos tickets from memory and configuration files to reuse them against other systems in the domain. What is this post-exploitation activity called?
- A.Harvesting credentials from memory and saved configuration data
- B.Fuzzing parameters against malformed uploaded files and headers
- C.Enumerating subdomains from public registries and domain tables
- D.Poisoning local name responses across several broadcast subnets
Show answerHide answer
Correct answer: Harvesting credentials from memory and saved configuration data
Collecting passwords, password hashes and Kerberos tickets from process memory, registry hives and configuration files so that they can be replayed or cracked and reused elsewhere is credential harvesting, and it is what turns a single administrative foothold into domain-wide reach. Fuzzing sends malformed input to find crashes in an application and produces no credentials. Subdomain enumeration is passive or active reconnaissance against the client's public namespace and happens long before any host is compromised. Poisoning name resolution responses coerces authentication toward the tester, which is a way to obtain credential material on the wire rather than the act of collecting it from systems already under control.
A tester with a valid but unprivileged domain account requests Kerberos service tickets for accounts that have a registered Service Principal Name, then exports those tickets to crack them offline and recover the service accounts' passwords. Which attack is being performed?
- A.Spraying credentials against the unprivileged domain user accounts
- B.Poisoning cached name resolution answers across corporate segments
- C.Kerberoasting the accounts with registered service principal names
- D.Relaying captured authentication onto adjacent domain member hosts
Show answerHide answer
Correct answer: Kerberoasting the accounts with registered service principal names
Any authenticated domain user may request a service ticket for an account that has a Service Principal Name registered, and part of that ticket is encrypted with a key derived from the service account's password. Exporting those tickets and attacking them offline recovers the passwords of service accounts, which are often weak and over-privileged. That is Kerberoasting. Password spraying tries a small number of common passwords against many accounts and needs no ticket at all. Poisoning multicast name lookups coerces a victim into authenticating to the tester and yields hashes from a different protocol path. Relaying forwards captured authentication to another service in real time rather than cracking it offline.
A penetration tester installs a scheduled task that re-launches an implant after every reboot so that access to a compromised host survives if the system is restarted or the original session drops. Which post-exploitation goal does this technique serve?
- A.Establishing a quiet implant exfiltration route
- B.Establishing persistence beyond a system reboot
- C.Establishing the agreed engagement access rules
- D.Establishing a direct privilege escalation path
Show answerHide answer
Correct answer: Establishing persistence beyond a system reboot
A scheduled task that re-launches the implant whenever the machine starts exists so that access survives a reboot, a crash or a dropped session, which is the definition of persistence. Testers document these mechanisms carefully and remove them during cleanup so the client is not left with an unmanaged backdoor. A covert channel is about moving data out without detection, which is exfiltration rather than survival of access. Rules of engagement are agreed in the pre-engagement phase and constrain what the tester may do; they are paperwork, not a technique. A denial of service condition degrades availability and is normally excluded from scope, and it would draw attention rather than quietly preserve access.
On a compromised Linux host, a tester runs the command that lists files with the SUID bit set and finds a root-owned binary that GTFOBins documents as exploitable. How does abusing this binary help the tester?
- A.The binary encrypts the local drives, so the tester evades review
- B.The binary executes with owner rights, so the tester reaches root
- C.The binary opens additional ports, so the tester maps the segment
- D.The binary tunnels outbound data, so the tester keeps its channel
Show answerHide answer
Correct answer: The binary executes with owner rights, so the tester reaches root
A file carrying the set-user-ID bit executes with the privileges of its owner rather than the user who launched it, so a root-owned SUID binary runs as root for anyone allowed to start it. When that binary offers a documented way to run arbitrary commands or read arbitrary files, those actions inherit root, and the tester escalates from a limited account to full control of the host. Encrypting disks is destructive and does nothing for privilege. Opening ports would help enumeration of neighbouring hosts but grants no additional rights on this one. Tunnelling data out maintains a channel to infrastructure the tester controls, which is persistence and exfiltration rather than escalation.
A tester has limited-user access on a Windows server and wants to find a path to SYSTEM. Which finding represents a classic Windows privilege-escalation opportunity?
- A.A self-signed certificate used by an internal web host
- B.An outdated browser plugin on a local user workstation
- C.An unquoted service path with a writable parent folder
- D.A published file share with an unrestricted guest user
Show answerHide answer
Correct answer: An unquoted service path with a writable parent folder
A Windows service whose executable path contains spaces and is not enclosed in quotation marks makes the service control manager try each truncated path in turn when it starts. If a limited user can write to one of the directories along that path, they can place a file the service will load, and the service starts under a system account, so the tester's code inherits those rights at the next start or reboot. A self-signed certificate is a trust and transport finding and grants no local rights. An outdated browser plugin is a client-side issue that would need a user to browse to attacker content and would still yield only that user's context. An anonymous read-only share may leak information but confers no ability to execute anything.
After collecting sensitive files on a compromised internal host, a tester encodes the data into the subdomain labels of DNS queries sent to a domain whose authoritative name server the tester controls, reassembling the data on that server. Why is this exfiltration method effective at evading network controls?
- A.DNS queries are widely permitted and seldom inspected in any depth
- B.DNS queries are exempt from capture and absent from perimeter logs
- C.DNS queries are encrypted by default and opaque to network proxies
- D.DNS queries are carried by one transport and ignored by inspectors
Show answerHide answer
Correct answer: DNS queries are widely permitted and seldom inspected in any depth
Almost every network has to let name resolution out for anything else to work, so DNS is one of the few protocols that reliably crosses the perimeter, and the volume of ordinary lookups means the content of individual queries is rarely examined in depth. Encoding data into query labels therefore hides it inside traffic that is both allowed and unread, which is why the technique defeats controls that would stop an ordinary outbound connection. Queries are logged by resolvers and by network monitoring, so the traffic is recorded even when nobody reads it. Standard resolution is plaintext unless encrypted transport has been deliberately deployed. Lookups use UDP by default and fall back to TCP for large responses, and neither transport is immune to filtering.
An authorized test has compromised a public-facing IIS web server that no user logs on to interactively. The client's EDR alerts on any change to Run and RunOnce registry keys and on new service creation. The tester needs access that survives reboots without tripping either alert. Which persistence method fits best?
- A.A browser extension loaded into the server's default browser
- B.A new service set to start automatically at system boot
- C.A web shell placed inside the site's own content directory
- D.A Run key value added under the machine-wide registry hive
Show answerHide answer
Correct answer: A web shell placed inside the site's own content directory
A web shell lives as a file in the site's content, survives reboots, and runs inside the web server process whenever a request reaches it, so it needs no registry autorun entry and no new service. A Run key is watched by the EDR and only fires when a user logs on, which never happens on this server. A new service is the other monitored action. A browser extension runs only when someone opens the browser, so it gives no access on a server nobody uses.
A tester holds valid domain-admin credentials and wants an interactive command-line session on a remote Windows server, using a built-in management service whose traffic blends with routine remote administration. Which access method fits best?
- A.SMB, which runs a planted service binary on an admin share
- B.RDP, which gives a graphical desktop on a video channel
- C.WMI, which runs a remote command on a DCOM object endpoint
- D.WinRM, which opens a PowerShell shell on the HTTP listener
Show answerHide answer
Correct answer: WinRM, which opens a PowerShell shell on the HTTP listener
WinRM carries PowerShell Remoting over a WS-Management HTTP or HTTPS listener, so it reads as ordinary administration while giving the interactive command line the stem asks for. WMI runs single method calls through a DCOM endpoint rather than returning an interactive shell. SMB-based execution drops and starts a service binary over an admin share, which is noisier and still not a shell. RDP delivers a full graphical desktop, not a command-line session.
A tester has a non-privileged foothold on a Linux jump host, reached over SSH, and wants the attack box's own tools to reach an internal subnet available only from that host, with no per-tool setup. Which tool fits?
- A.Covenant, which tasks a set of .NET implants from one listener host
- B.sshuttle, which transparently tunnels whole subnets over an SSH link
- C.proxychains, which routes one wrapped program over an SSH SOCKS proxy
- D.CrackMapExec, which sprays credentials and commands at the SMB hosts
Show answerHide answer
Correct answer: sshuttle, which transparently tunnels whole subnets over an SSH link
sshuttle builds a transparent VPN-like tunnel over an existing SSH session and forwards entire subnets, so unmodified tools on the attack box reach the internal network with no per-tool setup and no admin on the jump host. proxychains routes traffic too, but only for a single program wrapped around a SOCKS proxy, which is not transparent and must be set per tool. CrackMapExec enumerates and executes against SMB hosts rather than tunneling. Covenant is a .NET command-and-control framework for managing implants, not a pivot tunnel.
Every Windows endpoint runs an EDR that alerts on new service creation and on the file hashes of known offensive tools. The tester must execute a command on a peer host. Which choice is least likely to generate an alert?
- A.Creating a remote service via PsExec that then runs the command as SYSTEM
- B.Dropping a renamed known C2 agent then running it off the local hard disk
- C.Loading a credential-dumping driver to quietly pull fresh hashes from memory
- D.Issuing the command over WMI with a set of already-valid domain credentials
Show answerHide answer
Correct answer: Issuing the command over WMI with a set of already-valid domain credentials
Issuing the command over WMI with credentials the tester already holds uses a built-in management channel and drops no binary and creates no service, so it stays below the two things this EDR watches. PsExec creates a remote service, which the EDR alerts on directly. Renaming a known C2 agent changes its filename but not its file hash or behavior, so the hash-based rule still fires. Loading a credential-dumping driver is among the noisiest actions on a monitored host.
A tester compares four remote command-execution methods against a Windows host while an EDR alerts specifically on the creation of new Windows services. Which method works by copying a binary and registering a service on the target, producing exactly that artifact?
- A.SSH, which runs commands inside an authenticated remote shell session
- B.PsExec, which runs commands through the admin share and the control manager
- C.Evil-WinRM, which runs commands over the WS-Management listener on the host
- D.WMI execution, which runs commands through the WMI provider on the host box
Show answerHide answer
Correct answer: PsExec, which runs commands through the admin share and the control manager
PsExec runs commands by dropping an executable to the admin share and registering a Windows service through the Service Control Manager, which is precisely the new-service artifact the EDR watches for. Evil-WinRM runs commands over the WS-Management listener and WMI execution goes through the provider host, so neither installs a service. SSH opens a shell session over its own existing service and creates no new Windows service on execution.
Engagement Management (46)
In the context of penetration testing, what is the primary purpose of defining a Rules of Engagement (RoE) document?
- A.To record the consent and approval of the owner
- B.To weigh the impact and urgency of the exposure
- C.To settle the bounds and limits of the exercise
- D.To agree the budget and manpower of the project
Show answerHide answer
Correct answer: To settle the bounds and limits of the exercise
Correct answer: To settle the bounds and limits of the exercise. Explanation: Rules of Engagement fix what the team may touch and how far it may go - which targets and address ranges are in play, which techniques are barred, which windows testing may run in, and what must never be attempted. Consent and approval are carried by the signed authorisation letter, not the RoE. Weighing impact and urgency is scoring work that only becomes possible once findings exist, and it belongs in the report. Budget and manpower are commercial terms that sit in the statement of work.
Which element is crucial to include in a penetration testing report for it to be most effective for the client?
- A.A short summary of the risks for the owners
- B.A full account of the flags for the scanner
- C.A brief profile of the staff for the vendor
- D.A plain export of the logs for the archives
Show answerHide answer
Correct answer: A short summary of the risks for the owners
Correct answer: A short summary of the risks for the owners. Explanation: A report only changes anything if the people who fund remediation can read it, so a non-technical summary of business risk and recommended action is the element that makes the deliverable effective. An account of the flags handed to a scanner is appendix material that proves method but drives no decision. A profile of the assigned staff is contract paperwork, not a finding. A raw log export pushes the analysis back onto the reader and buries the risk.
What is the most important reason for defining a clear scope in a penetration testing engagement?
- A.To hold the final invoice under the agreed rate
- B.To pick the scanning tools the client team runs
- C.To time each testing hour around the office day
- D.To stop the probing of hosts left outside scope
Show answerHide answer
Correct answer: To stop the probing of hosts left outside scope
Correct answer: To stop the probing of hosts left outside scope. Explanation: Scope is the line between authorised and unauthorised activity, so its most important job is keeping the team off systems nobody agreed to expose - shared hosting neighbours, partner networks and third-party services included. Capping the bill is a commercial control set in the contract. Tool choice follows the environment and is a technical decision, not the reason scope exists. Scheduling around the working day is a matter for the engagement calendar.
Which of the following best describes a Black Box penetration test?
- A.The tester begins with source code but no host map.
- B.The tester begins with nothing beyond public facts.
- C.The tester begins with a host list and test logins.
- D.The tester begins with a full host list, no logins.
Show answerHide answer
Correct answer: The tester begins with nothing beyond public facts.
A black box test models an outside attacker, and the matching description is: the tester begins with nothing beyond public facts. Everything else is built through reconnaissance. Receiving source code is a white box, or clear box, starting point. A host list plus a test login is a grey box engagement with partial knowledge and credentials. A full host list with no logins is still partial internal knowledge, which also makes it grey box rather than black box.
What factor is most critical when determining the timeline for a penetration test?
- A.The count of the spare laptops kept for testers
- B.The scale of the entire network placed in scope
- C.The depth of the earlier reviews given to staff
- D.The style of the final report picked by clients
Show answerHide answer
Correct answer: The scale of the entire network placed in scope
Correct answer: The scale of the entire network placed in scope. Explanation: Duration tracks how much ground has to be covered and how tangled it is - host and application counts, segmentation, business logic and the number of distinct technologies all add hours that cannot be compressed. Spare hardware is procurement, not coverage. Earlier reviews are already-spent work and do not reduce the number of systems that must now be examined. Report styling is a formatting decision taken after the technical work is finished.
In penetration testing, why is it important to establish a communication plan with the client?
- A.To agree the dates of each invoice sent out
- B.To agree the brand of scanner the team runs
- C.To agree the rooms used by the client staff
- D.To agree the way an urgent flaw is reported
Show answerHide answer
Correct answer: To agree the way an urgent flaw is reported
Correct answer: To agree the way an urgent flaw is reported. Explanation: A communication plan exists so that a critical finding, a system outage or evidence of a prior compromise reaches a named contact by an agreed route within an agreed time, while the client can still act on it. Invoicing terms are commercial and sit in the contract. Scanner choice is a technical decision for the test team. Workspace arrangements are logistics that have no bearing on how findings travel to the client.
Which of the following is a key consideration when scoping a penetration test for an e-commerce website?
- A.The systems that handle the saved payment data
- B.The pages that show the current product prices
- C.The scripts that draw the animated home banner
- D.The letters that thank the loyal repeat buyers
Show answerHide answer
Correct answer: The systems that handle the saved payment data
Correct answer: The systems that handle the saved payment data. Explanation: Payment handling is where an e-commerce breach turns into cardholder loss and regulatory exposure, so the payment path, the stores behind it and the segmentation around them drive the scope. Price display pages carry no sensitive data and fail harmlessly. Banner scripts are presentation code with no route into the payment path. Marketing mail to returning customers is a business process, not part of the tested attack surface.
What is the primary reason for conducting a risk assessment before a penetration test?
- A.To learn which vendor sells the fastest tools
- B.To learn which tester holds the newest badges
- C.To learn which systems carry the largest loss
- D.To learn which weekday brings the lowest load
Show answerHide answer
Correct answer: To learn which systems carry the largest loss
Correct answer: To learn which systems carry the largest loss. Explanation: A pre-test risk assessment ranks assets by what their compromise would cost the business, so the engagement can be aimed at the systems where a flaw matters most rather than spread evenly. Scanner speed is a purchasing question. Tester certifications are a staffing question settled before the engagement starts. Quiet periods matter for scheduling disruptive checks but say nothing about which assets deserve the deepest attention.
In the planning phase of a penetration test, why is it important to consider regulatory compliance?
- A.To check that the fee sits under the agreed budget
- B.To check that the tools carry a valid support deal
- C.To check that the staff hold a current cyber badge
- D.To check that the work stays inside the local laws
Show answerHide answer
Correct answer: To check that the work stays inside the local laws
Correct answer: To check that the work stays inside the local laws. Explanation: Testing activity can breach computer misuse statutes, data protection rules and sector regulation, so planning has to confirm that every planned technique is lawful and permitted for the data and jurisdictions involved. Budget checks are commercial. Tool support contracts are a vendor matter with no legal bearing on the test. Team certifications may satisfy a client requirement, but holding one does not make an otherwise unlawful action lawful.
What is the significance of defining a "Stop Point" in a penetration testing engagement?
- A.It sets the payment date of the client bill
- B.It sets the strict grounds of an early halt
- C.It sets the top level of the granted access
- D.It sets the fixed order of the report parts
Show answerHide answer
Correct answer: It sets the strict grounds of an early halt
Correct answer: It sets the strict grounds of an early halt. Explanation: A stop point names the conditions that suspend testing - a system becoming unstable, evidence of an existing intrusion, or a finding severe enough that continuing would add risk - and tells the team who to call when one is met. Billing dates are contractual. The level of access reached is a result of the test, not a condition for stopping it. Report ordering is a documentation convention agreed at delivery.
In penetration testing, what is the main purpose of defining the scope in relation to the client's objectives?
- A.To tie the daily rate to the agreed payment date
- B.To tie the tool list to the vendor support deals
- C.To tie the work plan to the stated security aims
- D.To tie the shift roster to the local office week
Show answerHide answer
Correct answer: To tie the work plan to the stated security aims
Correct answer: To tie the work plan to the stated security aims. Explanation: Scope written against the objectives keeps effort on the questions the organisation actually asked - whether the payment path holds, whether segmentation works, whether an insider could pivot - so the findings answer those questions. Rates and payment dates are commercial terms. Tool lists follow the technology in the environment. Shift rosters are scheduling detail and change nothing about which risks get examined.
Why is it important to understand the client's infrastructure before starting a penetration test?
- A.To match the toolset to the running services
- B.To draft the invoice for the agreed staffing
- C.To satisfy the law covering the whole sector
- D.To book the classroom for the team refresher
Show answerHide answer
Correct answer: To match the toolset to the running services
Correct answer: To match the toolset to the running services. Explanation: Knowing what the environment runs - cloud or on-premises, which operating systems, which application stacks, how it is segmented - decides which techniques and tooling can produce results at all, so that understanding is gathered before testing begins. Invoicing is commercial. Regulatory duties are established during legal review, not from an inventory of hosts. Training is arranged around staff development and has nothing to do with this client's architecture.
What is a critical factor to consider when determining the legal implications of a penetration test?
- A.The laws of the land hosting the tested systems
- B.The scale of the budget agreed for the customer
- C.The brand of the tools running the daily checks
- D.The count of the servers listed in the contract
Show answerHide answer
Correct answer: The laws of the land hosting the tested systems
Correct answer: The laws of the land hosting the tested systems. Explanation: Testing is lawful or unlawful according to the jurisdiction the systems and their data sit in, so the governing statutes and any cross-border data rules decide what the team may do and what evidence it may keep. Budget size is a commercial figure with no legal weight. Tool branding changes nothing about legality. Host counts describe the size of the job, not the rules that govern it.
In the planning phase, what is the importance of identifying the critical assets of the organization?
- A.To spread the same hours across the whole site
- B.To shorten the total time spent on the network
- C.To aim the deepest work at the richest targets
- D.To lower the daily rate charged for the labour
Show answerHide answer
Correct answer: To aim the deepest work at the richest targets
Correct answer: To aim the deepest work at the richest targets. Explanation: Naming the assets that carry the most sensitive data or the most business dependency lets a fixed number of testing hours be spent where a finding would matter most, which is the point of the exercise. Spreading identical effort everywhere treats a domain controller like a print server. Shortening the engagement is a scheduling goal, not a targeting one. Day rates are commercial and are agreed before any asset is examined.
What role does a threat model play in the planning phase of a penetration test?
- A.It shows the amount that the client would pay
- B.It shows the damage that a breach would cause
- C.It shows the vendor that the staff would pick
- D.It shows the shift that one tester would work
Show answerHide answer
Correct answer: It shows the damage that a breach would cause
Correct answer: It shows the damage that a breach would cause. Explanation: A threat model pairs likely attackers and their routes in with the assets they would reach, so the planning team can judge what a successful attack would cost and aim testing at those paths. Pricing is a commercial calculation. Vendor selection follows the technology found in the environment. Shift allocation is staffing administration and has no bearing on which threats deserve attention.
Why is it necessary to establish data handling procedures before conducting a penetration test?
- A.To speed the files passed between the two testers
- B.To satisfy the terms listed in the vendor licence
- C.To settle the format chosen for the client report
- D.To guard the evidence held until the agreed purge
Show answerHide answer
Correct answer: To guard the evidence held until the agreed purge
Correct answer: To guard the evidence held until the agreed purge. Explanation: Testing produces credentials, screenshots and extracted records that are as sensitive as the client's live data, so handling rules set encrypted storage, restricted access, a retention period and a destruction step before any of it is collected. Faster file sharing between testers is convenience and often the opposite of what the rules require. Licence terms govern the software, not the client's data. Report formatting is a delivery choice made at the end.
In a penetration testing engagement, why is it important to have a clear understanding of the client's business operations?
- A.So the scope covers each business unit equally
- B.So the report groups findings by business unit
- C.So the findings match the actual business risk
- D.So the testers sort every flaw by a CVSS score
Show answerHide answer
Correct answer: So the findings match the actual business risk
Understanding how the client earns money and which processes cannot stop is what lets the team rate each flaw by its real impact, so the findings match the actual business risk. Making the scope cover each business unit equally ignores that some units matter far more than others. Having the report group findings by business unit is a layout choice that adds no risk judgement. Having the testers sort every flaw by a CVSS score is exactly the generic rating that business context is meant to correct.
What is the primary purpose of obtaining written permission before conducting a penetration test?
- A.It records the precise calendar dates for the visit
- B.It settles the fee charged for the whole engagement
- C.It fixes the scope drawn around the listed services
- D.It proves the owner allowed the intrusive test work
Show answerHide answer
Correct answer: It proves the owner allowed the intrusive test work
Correct answer: It proves the owner allowed the intrusive test work. Explanation: Techniques that are routine on an engagement are criminal offences without permission, so a signed authorisation from someone able to grant it is the document that separates a test from an attack and protects both sides. Recording calendar dates is scheduling detail. Settling a fee is commercial. Fixing the scope defines where the work happens, but a boundary with no signature behind it authorises nothing.
How does defining the scope of a penetration test benefit the client organization?
- A.It keeps the paid effort on the agreed targets
- B.It lowers the price the client pays each month
- C.It shortens the hours the whole test now takes
- D.It settles the shape of the final report pages
Show answerHide answer
Correct answer: It keeps the paid effort on the agreed targets
Correct answer: It keeps the paid effort on the agreed targets. Explanation: A defined scope means every hour the organisation buys is spent on systems it chose to have examined, and nothing is wasted on hosts, partners or services that were never meant to be touched. A narrower scope does not by itself reduce the agreed price. It does not shorten the calendar either, since the remaining systems are simply examined more thoroughly. Report formatting is settled separately at delivery.
In penetration testing, what is the significance of understanding the client's risk tolerance?
- A.It sets the number of testers booked each month
- B.It sets the amount of outage the client accepts
- C.It sets the price the insurer charges each year
- D.It sets the details of the final written report
Show answerHide answer
Correct answer: It sets the amount of outage the client accepts
Correct answer: It sets the amount of outage the client accepts. Explanation: Risk tolerance tells the team how far it may push - whether denial-of-service checks, exploitation of production systems or credential reuse are permitted - so the strategy can be matched to the disruption the organisation is willing to absorb. Team size follows the scope and the schedule. Insurance pricing is an underwriting matter. Report detail is a documentation decision taken once testing is complete.
In penetration testing reports, what is the primary purpose of an executive summary?
- A.To give leadership a short account of the business risk
- B.To record each request the tester issued against a host
- C.To capture raw tool output for a later technical review
- D.To restate the scope limits set before the work started
Show answerHide answer
Correct answer: To give leadership a short account of the business risk
An executive summary is written for the readers who set budgets, not for the people who apply fixes: it states what a hostile party could achieve, what that would cost the business and how urgent the response is, in a page of plain language. A log of the requests issued during the engagement belongs in the attack narrative, where a reader follows the steps in order. Raw tool output belongs in an appendix as supporting evidence. A restatement of the boundaries belongs in the scope section. All three are genuine parts of the document, just not this part.
When communicating penetration testing results, which factor is most important for ensuring that the findings are actionable?
- A.A tally of the flaws found on each live host
- B.A record of the tools run in each test phase
- C.A copy of the raw text output from each scan
- D.A note of the fix steps on each named defect
Show answerHide answer
Correct answer: A note of the fix steps on each named defect
A finding becomes actionable when the reader is told what to change and in what order, so a concrete remediation instruction per issue is the element that turns a report into work a team can schedule. A count of issues per host sizes the problem but tells nobody what to do about it. A record of which tools ran supports repeatability and belongs with the methodology. Raw output is evidence that a finding is real, and the reader still has to decide what to do next after reading it. Only one entry names the change itself.
Which element is essential to include in a penetration testing report to aid in prioritizing remediation efforts?
- A.The count of hosts probed at each test stage
- B.The severity score put on each of the faults
- C.The list of tools aimed at each named target
- D.The clock time when each check was first run
Show answerHide answer
Correct answer: The severity score put on each of the faults
Remediation capacity is finite, so the report has to rank the work: a severity or risk score per issue, derived from impact and from how easily the issue can be reached, is what lets a team fix the dangerous items first. The number of hosts touched at each stage measures coverage of the engagement, not the danger of any single issue. A list of tools aimed at each target supports repeatability and says nothing about consequence. Timestamps let a defender line findings up against their own logs. None of those three orders the work by how much harm an issue can do.
In the context of penetration testing, what is the primary purpose of a post-engagement cleanup report?
- A.To verify the tester cleared out the files left behind
- B.To detail the hours the tester spent within each phase
- C.To record the sign-off the client gave the lead tester
- D.To list the exploits the tester used against each host
Show answerHide answer
Correct answer: To verify the tester cleared out the files left behind
Cleanup and restoration is the last technical obligation of an engagement: shells, scheduled tasks, uploaded binaries, added accounts and altered settings all have to come off the estate, and the cleanup record is the document that states each one was removed and the host returned to its prior state. Hours per phase is billing and project data. A countersigned acceptance closes the commercial side of the work. A list of the exploits used belongs to the attack narrative, which explains how access was gained rather than proving that nothing was left behind.
What is the most appropriate action when a penetration tester discovers sensitive data, such as personally identifiable information (PII), during a test?
- A.Warn the federal privacy agency of the exposed data
- B.Warn each user who has records in the exposed data
- C.Log the exposed records and flag them in the report
- D.Warn the client contact at once of the exposed data
Show answerHide answer
Correct answer: Warn the client contact at once of the exposed data
When a tester stumbles on PII, the rules of engagement make it a stop-and-notify event, so the right move is to warn the client contact at once of the exposed data and handle nothing further without direction. Warning a federal privacy agency is the client's legal decision, not the tester's, and would breach confidentiality. Warning each affected user directly also oversteps the engagement and the client's own breach process. Logging the records and flagging them only in the final report leaves a live exposure open for weeks.
Which of the following best describes the purpose of including threat modeling in a penetration testing report?
- A.To time-box the hours spent on each phase of the audit
- B.To capture the entire output of a scanner in the sweep
- C.To map the route of a real attacker in the environment
- D.To log the version number for each tool the tester ran
Show answerHide answer
Correct answer: To map the route of a real attacker in the environment
Threat modelling turns a list of separate weaknesses into a picture of what an adversary would actually do with them: which actor would care, which entry point they would take, and how individual issues combine into a route to something valuable. Time-boxing each phase is planning and effort control agreed before the work begins. Raw scanner output is appendix evidence. Tool versions support repeatability, so another tester can reproduce the result later. None of those three says anything about the attacker on the other side of the findings.
What is the primary reason for including both false positives and false negatives in a penetration testing report?
- A.To give the client a count of issues per severity
- B.To mark the full reach of the chosen probe method
- C.To prove the scan engine was current at test time
- D.To trace each finding back to its source tool run
Show answerHide answer
Correct answer: To mark the full reach of the chosen probe method
Naming the results that proved unfounded, and the coverage gaps where an issue could have been missed, tells the reader how far the assessment actually reached: automated checks over-report and under-report, and a report that hides both invites a false sense of assurance. A severity breakdown quantifies what was found and says nothing about what was not. Showing that the engine was up to date supports quality, but a current engine still misses logic flaws. Traceability links a result to the run that produced it, which is provenance rather than the limit of the method.
Why is it important to include a methodology section in a penetration testing report?
- A.To give the board a short summary of the business impact
- B.To lay out in order each separate action the tester took
- C.To keep the raw console output of each finished scan run
- D.To state the fixes the client should apply as a priority
Show answerHide answer
Correct answer: To lay out in order each separate action the tester took
The methodology section exists so the work can be judged and repeated: it records the standard followed, the phases worked through, the techniques applied at each phase and the order in which they ran, which is what lets a second tester or an auditor reproduce the same result. A short statement of business impact is the executive summary's job. Raw console output belongs in an appendix as evidence. Prioritised fixes belong with the findings, where each issue carries its own remediation guidance. Only one of the four describes how the engagement was actually conducted.
When a penetration tester finds a previously unknown vulnerability, what is the best practice for reporting it?
- A.Open a joint disclosure path with the named vendor
- B.Publish the complete detail on a public feed today
- C.Include the finding in the client report as before
- D.Forward the matter to a general support desk queue
Show answerHide answer
Correct answer: Open a joint disclosure path with the named vendor
A previously unknown flaw affects everyone running that software, so the accepted route is coordinated disclosure: the tester informs the client, works with them to reach the vendor, and gives the vendor a defined window to produce a fix before any detail becomes public. Releasing the detail immediately leaves every other user exposed while no patch exists. Writing it up for one client alone leaves the vendor unaware and the flaw unfixed everywhere else. Dropping it into a general support queue neither reaches the people who maintain the code nor keeps the detail restricted.
What is a key element to include in a penetration testing report to facilitate effective communication with non-technical stakeholders?
- A.A heat map of each finding by its CVSS base score
- B.A table of each finding by its CVE and CVSS score
- C.A diagram of the attack chains drawn host by host
- D.A chart of the risk drawn in plain business terms
Show answerHide answer
Correct answer: A chart of the risk drawn in plain business terms
Non-technical stakeholders decide where money and attention go, so the element that serves them is a chart of the risk drawn in plain business terms, showing impact and priority without jargon. A heat map of each finding by its CVSS base score is visual but still speaks in technical scoring a lay reader cannot interpret. A table of each finding by its CVE and CVSS score is reference data for the technical team. A diagram of the attack chains drawn host by host is an attack narrative for engineers, not decision makers.
What is the primary purpose of including risk impact assessments in a penetration testing report?
- A.To name the tools run on each in-scope client host
- B.To give the client a bill for the whole engagement
- C.To show the client the damage from each open fault
- D.To record the date the client first saw each issue
Show answerHide answer
Correct answer: To show the client the damage from each open fault
Risk impact analysis answers the question the client actually cares about: if this weakness were used against us, what breaks, what data moves, what stops trading and what regulatory exposure follows. That business consequence, paired with likelihood, is what drives sequencing and spending. A list of the tools pointed at each host is methodology detail. A cost figure for the engagement is commercial reporting. A record of when each issue was first shown to the client is a disclosure timeline. None of those three describes the damage a weakness could cause.
In penetration testing, why is it important to communicate interim findings to the client?
- A.To inform the client the engagement is a third done
- B.To hand the client raw scanner output as it appears
- C.To let the client fix a critical flaw straight away
- D.To show the client the tester kept inside set scope
Show answerHide answer
Correct answer: To let the client fix a critical flaw straight away
Some findings are too dangerous to sit in a draft for a fortnight: an exposed administrative interface, a live credential leak or a system already showing signs of compromise is raised the moment it is confirmed, so the client can shut the exposure while the engagement continues. Progress updates are project management and can wait for the weekly call. Handing over raw output as it appears buries the client in unvalidated noise, including results that later prove unfounded. Confirming the work stayed inside the agreed boundary is a closing statement, not an urgent one.
What is the most effective way to present complex technical vulnerabilities to a non-technical audience in a penetration test report?
- A.Quoting the raw console output beside each entry
- B.Recasting the finding as a simple business story
- C.Ranking the results by the port numbers involved
- D.Grouping the issues around their source scan run
Show answerHide answer
Correct answer: Recasting the finding as a simple business story
A non-technical reader needs the consequence, not the mechanism, so the effective move is to restate each issue as what an attacker gains and what the business loses, using a familiar comparison in place of protocol detail while the technical body carries the evidence. Quoting raw output next to each entry adds exactly the material that reader cannot parse. Ordering by port number is an arbitrary technical sort that hides severity. Grouping by the scan that produced a result serves the tester's own workflow rather than the audience being addressed.
Why is it important to include mitigation strategies for each vulnerability in a penetration test report?
- A.To give the client a procedure to close each flaw
- B.To show the client where the weak spots are found
- C.To flag for the client the hosts beyond set scope
- D.To record for the client the times of each action
Show answerHide answer
Correct answer: To give the client a procedure to close each flaw
A finding without a fix leaves the client holding a problem and no route out of it, so each issue carries remediation guidance: the specific change, any compensating control that buys time and enough detail for an engineer to act without a second call. Naming where a weakness sits locates the problem but stops short of the cure. Flagging the hosts left outside the boundary is a coverage caveat. A timeline of tester actions helps a defender correlate their own logs. None of those three tells the client what to change.
In a penetration testing report, what is the significance of categorizing vulnerabilities by exploitability?
- A.To show the site owner the issues already put right
- B.To note the tool chain used against each named host
- C.To group the findings by the business unit they hit
- D.To order the faults by the effort each attack takes
Show answerHide answer
Correct answer: To order the faults by the effort each attack takes
Exploitability describes how much an attacker needs in order to use a weakness: network reach, privileges already held, user interaction, and whether working code is public. Ordering on that axis puts the issues that need no credentials and no user action at the top of the queue, which is where limited remediation effort belongs. A record of what has already been fixed measures progress after the fact. A record of the tool chain supports repeatability. Grouping by business unit routes the work to owners. None of those three ranks anything by ease of attack.
How should a penetration tester handle the discovery of illegal content during a test?
- A.Log the item then finish the whole job as planned
- B.Copy the item into a secure store for later study
- C.Wipe the item from the host to limit the exposure
- D.Halt the test then flag the item to legal counsel
Show answerHide answer
Correct answer: Halt the test then flag the item to legal counsel
Material of this kind moves the situation out of the engagement and into a legal process, so the tester stops work on that system, preserves the state as found, touches nothing further and escalates through the route the rules of engagement define, which normally reaches counsel and law enforcement rather than the day-to-day technical contact. Carrying on and writing it up at the end delays a mandatory notification. Copying it to tester-controlled storage risks possession of the material itself. Deleting it from the host destroys evidence in a matter the client does not control.
What is a key reason for including both qualitative and quantitative data in a penetration testing report?
- A.To prove the scan tool licenses were still valid
- B.To assign each server into its own risk category
- C.To pair hard numbers with a reasoned expert view
- D.To commit the client to a strict repair deadline
Show answerHide answer
Correct answer: To pair hard numbers with a reasoned expert view
Counts, scores and coverage figures show scale and support comparison over time, while written judgement explains what the figures mean in this environment, which controls already blunt them and which of them the tester considers genuinely dangerous. Presenting both keeps a reader from treating a raw score as the whole story. Evidence that tooling was licensed and current is a quality note. Sorting servers into risk categories is one use of the numbers, not a reason to add narrative. Committing the client to a repair deadline is a remediation undertaking settled after the report lands.
In the context of penetration testing, what is the primary purpose of a root cause analysis?
- A.To show the host with the highest flaw count seen
- B.To trace each flaw back to the practice behind it
- C.To rank each flaw by the repair effort it demands
- D.To note the exact time each flaw was first logged
Show answerHide answer
Correct answer: To trace each flaw back to the practice behind it
Root cause analysis looks past the individual finding to the thing that produced it: an unpatched build image, a default configuration shipped estate-wide, an absent code review step or a broken joiner process. Fixing that source removes the whole family of issues instead of the instances this test happened to reach. Naming the host with the most findings ranks symptoms by concentration. Ranking by remediation effort schedules work. Recording when each issue was first observed builds a timeline. None of those three explains why the weakness existed in the first place.
When a penetration test uncovers a vulnerability in third-party software, what is the best practice for reporting this finding?
- A.Give the vendor the flaw with a private fix window
- B.Publish the flaw across a public list the same day
- C.Keep the flaw in a client report with nothing else
- D.Classify the flaw as out of scope with no write-up
Show answerHide answer
Correct answer: Give the vendor the flaw with a private fix window
A weakness in someone else's product cannot be fixed by the client, so the finding is routed to the party that maintains the code: the tester tells the client, then coordinates disclosure to the vendor so a patch exists before the detail circulates. Publishing the same day exposes every other organisation running that product while no fix is available. Leaving it in one client report means the vendor never hears of it and the flaw persists everywhere. Calling it out of scope and dropping it abandons a real risk the client is carrying today.
What is the importance of including a revision history in a penetration testing report?
- A.To show the text changes for each report draft issued
- B.To record the people cleared to read the report early
- C.To set the storage period of the finished report file
- D.To store the raw evidence for each report claim filed
Show answerHide answer
Correct answer: To show the text changes for each report draft issued
A test report is a controlled document that usually goes through a draft, a client review and a final release, sometimes with a retest addendum, so the revision table records version, date, author and what changed, which lets any reader tell whether the copy in front of them is the current one. A distribution list controls who may hold the document. A retention period governs how long it is kept before disposal. Supporting evidence sits in the appendices. Only the revision table tracks the document's own history.
A team has already catalogued the types of threats to an application and now wants a repeatable way to prioritize each one by its overall risk. Which model is designed for that scoring step?
- A.OCTAVE, which assesses one whole organization's own asset-level risk points
- B.DREAD, which ranks each identified threat across five total risk dimensions
- C.STRIDE, which sorts the application's threats into six named category types
- D.ATT&CK, which catalogs known real-world adversary tactics and techniques
Show answerHide answer
Correct answer: DREAD, which ranks each identified threat across five total risk dimensions
DREAD is the model built to rate and prioritize already-identified threats, scoring each across five risk dimensions so they can be ranked. STRIDE sorts threats into six categories but does not score or prioritize them, which is the step the stem asks for. OCTAVE is an organization-level asset-and-risk self-assessment rather than a per-threat scoring scheme. MITRE ATT&CK is a knowledge base of adversary tactics and techniques, not a threat-rating model.
A client engages the tester to assess a native Android banking application. Which framework is purpose-built to guide the testing of this specific target?
- A.The Purdue reference model, a layered map for OT and ICS networks
- B.Top 10, an OWASP ranked list of the most common web application risks
- C.MASVS, an OWASP standard of the security requirements for mobile apps
- D.PTES, a staged reference model for the whole penetration-test process
Show answerHide answer
Correct answer: MASVS, an OWASP standard of the security requirements for mobile apps
The OWASP Mobile Application Security Verification Standard (MASVS) is built specifically to define and test the security requirements of mobile apps, which matches a native Android target. The OWASP Top 10 is the twin, but it ranks web application risks, not mobile ones. The Purdue model is a layered reference for segmenting industrial control and operational technology networks. PTES describes a general penetration-testing process and is not tied to any target type.
During an internal test, a tester ran Responder on a user VLAN. Within an hour it collected NTLMv2 hashes from laptops whose DNS lookups for a mistyped file share path had failed, and one hash cracked offline into a valid domain password. Which recommendation BEST removes the weakness that exposed the hashes in the first place?
- A.Disable LLMNR and NBT-NS name resolution on the endpoints
- B.Require SMB signing and enable NTLM auditing on the servers
- C.Enable DNSSEC signing and validation on the DNS servers
- D.Raise the minimum password length and enable account lockout
Show answerHide answer
Correct answer: Disable LLMNR and NBT-NS name resolution on the endpoints
When DNS fails, Windows falls back to the LLMNR and NBT-NS broadcast protocols. Responder answers those broadcasts and receives the victims' NTLMv2 authentication. Disabling LLMNR and NBT-NS on the endpoints removes the fallback the capture depends on, which is MITRE's mitigation for this technique. Requiring SMB signing is tempting, but it stops captured authentication from being relayed to another host, not from being captured and cracked offline. DNSSEC protects DNS answers, while the poisoned traffic never went through DNS. Longer passwords slow offline cracking, and account lockout has no effect on it; neither stops the hash from being exposed.
A secrets scan of a client's public Git repository reports: 'AWS access key ID, file deploy/config.yml, commit 3f9a1c2, status: verified active.' The developer deleted the file in a later commit last month. Which recommendation BEST remediates this finding?
- A.Purge the key from the Git history, then make the repository private
- B.Encrypt the key inside the config file, then restrict repository access
- C.Revoke and rotate the credential, then serve it from a managed vault
- D.Add a pre-commit secret scanner, then require reviewed pull requests
Show answerHide answer
Correct answer: Revoke and rotate the credential, then serve it from a managed vault
The key was public and is still verified active, so anyone who copied it can use it no matter what happens to the repository. Revoking and rotating the credential is the step that ends that exposure, and moving secrets into a managed vault keeps the replacement out of source code. Purging the history and making the repository private is tempting because it removes the visible copy, but GitHub warns that this does not stop a leaked secret from being exploited; only revocation does. A pre-commit scanner and reviewed pull requests help prevent the next leak but leave this key working. Encrypting the key in the config file still keeps a secret, and its decryption key, tied to the code, and it does nothing about the copy already exposed.
A federal agency's rules of engagement say the team must follow the NIST publication that sets out a four-phase penetration testing methodology (planning, discovery, attack, reporting) and also covers review techniques, target identification, and vulnerability validation. Which publication should the test plan cite?
- A.NIST SP 800-53A
- B.NIST SP 800-30
- C.NIST SP 800-37
- D.NIST SP 800-115
Show answerHide answer
Correct answer: NIST SP 800-115
NIST SP 800-115, the Technical Guide to Information Security Testing and Assessment, describes the planning, discovery, attack, and reporting penetration testing phases. It also covers review, target identification, and vulnerability validation techniques. NIST SP 800-53A is the most tempting choice because it is about assessment, but it gives assessment procedures for each control (examine, interview, test), not a technical testing methodology. NIST SP 800-30 is the risk assessment guide, and NIST SP 800-37 is the Risk Management Framework.
A tester's report records this finding on /orders.php: id=7' returns a verbose MySQL syntax error, and id=7 AND SLEEP(5), which contains no quote characters, delays the response by 5 seconds. The client wants the code change that removes the root cause. Which recommendation should the report give?
- A.Strip single quotes and comment markers from the id value first
- B.Escape the id value with the MySQL escaping function before use
- C.Pass the id value to a stored procedure that concatenates the SQL
- D.Build the query as a prepared statement that binds the id value
Show answerHide answer
Correct answer: Build the query as a prepared statement that binds the id value
Building the query as a prepared statement that binds the id value keeps user data separate from the SQL text, so the input can never be parsed as code. OWASP names this as the primary defense. Escaping is the most tempting choice, but here the id sits in an unquoted numeric context: the SLEEP payload works without any quotes, so escaping or stripping quote characters stops nothing. A stored procedure that concatenates the input into dynamic SQL is still injectable.
References
- 1.CompTIA. “PenTest+ Certification (official overview).” CompTIA, 2026. ↑
- 2.CompTIA. “The Updated CompTIA PenTest+ Exam V3 Is Here.” CompTIA. ↑
- 3.CompTIA. “The NEW CompTIA PenTest+: Your Questions Answered.” CompTIA. ↑
- 4.CompTIA. “PenTest+ PT0-003 exam details and objectives (domain weights, retirement estimate).” CompTIA, 2026. ↑
- 5.Pearson VUE. “CompTIA exam scheduling.” Pearson VUE. ↑
- 6.Career Employer. “PenTest+ practice-test performance data.” careeremployer.com, updated daily, CC BY 4.0. ↑

Career Employer
Career Employer is the ultimate resource to help you get started working the job of your dreams. We cover topics from general career information, career searching, exam preparation with free study materials, career interviewing, and becoming successful in your career of choice.
All PostsCareer Employer’s Editorial Process
Here at Career Employer, we focus a lot on providing factually accurate information that is always up to date. We strive to provide correct information using strict editorial processes, article editing, and fact-checking for all of the information found on our website. We only utilize trustworthy and relevant resources. To find out more, make sure to read our full editorial process page here.

