Ad slot · leaderboard (728×90 / responsive)Manual unit, below nav — clear of every quiz tap target
Home/ CompTIA PenTest+/ Domain 5: Post-exploitation and Lateral Movement
Free · PT0-003 · Domain 5 of 5

CompTIA PenTest+ Domain 5: Post-exploitation and Lateral Movement

14% of PT0-003 — what you do after the foothold — and how to clean up
Practice — Domain 5
5.1 Establishing persistence (scheduled tasks)

After gaining a foothold on a Windows host during an authorized test, the team wants their payload to relaunch automatically on a recurring schedule so access survives a reboot, while blending in with routine administrative activity. Which persistence technique fits this goal?

Answer
Correct answerB · Registering a Windows scheduled task

Abusing the Windows Task Scheduler lets the payload run at startup or on a recurring schedule for persistence, surviving reboots while resembling legitimate administrative task activity.

Why the other options are wrong
  • APass-the-hash authenticates to another system using a stolen hash to move laterally; it does not schedule recurring local execution that keeps a foothold alive across reboots.
  • CARP poisoning redirects traffic for an on-path interception attack; it neither stores a recurring execution trigger nor maintains the team's foothold after the host reboots.
  • DWiping the Security event log is an anti-forensic indicator-removal step that hides activity; it does nothing to re-execute the payload or keep access after a reboot.
Task Scheduler abuse executes code at startup or on a schedule for persistence (MITRE ATT&CK T1053.005; CISA Eviction Strategies Tool)
5.1 Establishing persistence (services)

A tester holding administrator rights on a Windows server wants a payload that starts automatically every time the machine boots, running in the background under a high-privilege account even when no one is logged in. Which persistence mechanism best achieves this?

Answer
Correct answerC · Installing a new Windows service

Windows services start at boot to perform background functions and execute under SYSTEM, so installing a new service repeatedly runs the payload at startup without any logon.

Why the other options are wrong
  • ACron is a Linux scheduling facility and is not present on a Windows server; it cannot register the boot-time background execution the Windows scenario specifically requires.
  • BAn HKEY_CURRENT_USER run key fires only when that user interactively logs in and runs in the user's context, not automatically at boot without any logon.
  • DPass-the-ticket reuses a Kerberos ticket to authenticate to another host for lateral movement; it provides no startup trigger that re-executes the payload on this server.
New/modified Windows services run at boot under SYSTEM for persistence (MITRE ATT&CK T1543.003; CISA Eviction Strategies Tool)
5.1 Establishing persistence (registry)

During a Windows engagement the tester wants their tool to launch automatically each time a specific user logs in, executing in that user's context, by adding a single reference under a well-known autostart location in the registry. Which technique is described?

Answer
Correct answerD · Adding a Registry Run key entry

Adding an entry to a Registry run key causes the referenced program to execute when the user logs in, running under that user's context and associated permissions level.

Why the other options are wrong
  • APass-the-hash uses a captured NTLM hash to authenticate to other systems; it is a lateral-movement technique and adds no autostart reference that relaunches the tool at user logon.
  • BA driver loaded as a service runs at boot in the SYSTEM context, not as a per-user logon entry referenced from a user's registry run location, so it mismatches the scenario.
  • CTimestomping alters a file's timestamps to evade forensic review; it hides the file but creates no autostart entry that causes the tool to run at the user's next logon.
Registry run keys execute a referenced program at user logon in the user context (MITRE ATT&CK T1547.001; CISA Eviction Strategies Tool)
5.1 Establishing persistence (accounts)

To keep durable access without dropping additional remote-access tooling on a compromised network, an authorized tester provisions a new credentialed account that can be used to log back in later. Which persistence technique does this represent?

Answer
Correct answerA · Creating a new local or domain account

Creating an account establishes secondary credentialed access that does not require persistent remote-access tools to remain deployed, and such accounts may be made on the local system or within a domain.

Why the other options are wrong
  • BSending stolen data out over the command-and-control channel is an exfiltration activity; it demonstrates data theft but does not establish a credential the tester can log in with later.
  • CEncapsulating RDP within SSH is protocol tunneling used to pivot toward unreachable hosts; it routes traffic but creates no standing account that maintains access to the environment.
  • DMapping domain trust relationships is a discovery activity that reveals attack paths; gathering that information does not by itself create any durable means of regaining access.
Creating accounts gives secondary credentialed access without persistent tooling (MITRE ATT&CK T1136; CISA Eviction Strategies Tool)
5.2 Lateral movement (pass-the-hash)

After dumping credential material from a compromised Windows host, the team has a user's NTLM hash but never recovers the cleartext password. They use the hash directly to authenticate to other systems as that user. Which lateral-movement technique is this?

Answer
Correct answerC · Pass-the-hash

Pass-the-hash authenticates as a user with a stolen password hash without the cleartext password, moving directly into the part of authentication that uses the hash to move laterally.

Why the other options are wrong
  • APass-the-ticket authenticates by reusing a stolen Kerberos ticket, not an NTLM hash; the scenario specifically authenticates with the captured password hash, which is a different mechanism.
  • BKerberoasting requests service tickets and cracks them offline to recover service-account passwords; it does not authenticate directly with an already-captured NTLM hash as described.
  • DA golden ticket forges a Kerberos TGT using the krbtgt account hash for domain-wide access; that is broader and distinct from simply replaying one user's NTLM hash to authenticate.
PtH authenticates with a stolen hash, no cleartext password needed (MITRE ATT&CK T1550.002; CISA Eviction Strategies Tool)
5.2 Lateral movement (pass-the-ticket)

On a Kerberos-based Windows domain, the tester extracts a valid Kerberos ticket from memory on a compromised host and injects it into a new session to authenticate to a target service without ever knowing the account's password. Which technique is this?

Answer
Correct answerB · Pass-the-ticket

Pass-the-ticket authenticates to a system using stolen Kerberos tickets without having access to the account's password, exactly the ticket-injection behavior described for lateral movement.

Why the other options are wrong
  • APass-the-hash authenticates with a captured NTLM password hash, whereas the scenario reuses an extracted Kerberos ticket; the two techniques rely on different stolen authentication material.
  • CAn SMB relay forwards a victim's live authentication attempt to another server in real time; it does not inject a previously extracted Kerberos ticket into a new session.
  • DCredential stuffing replays breached username and password pairs against login forms; it depends on knowing passwords, which contradicts authenticating purely from a stolen Kerberos ticket.
PtT authenticates with a stolen Kerberos ticket, no password needed (MITRE ATT&CK T1550.003; CISA Eviction Strategies Tool)
5.2 Lateral movement (remote services)

Holding valid administrator credentials, the tester connects to a remote Windows server's hidden administrative share over SMB to copy and run a payload, performing actions as the logged-on user to move laterally. Which technique is described?

Answer
Correct answerD · SMB/Windows admin shares (remote services)

Using valid accounts to interact with a remote share over Server Message Block lets the tester act as the logged-on user and move laterally throughout the network, as described.

Why the other options are wrong
  • AA DNS zone transfer pulls a domain's records to enumerate hosts during reconnaissance; it neither authenticates to a remote share nor copies and executes a payload to move laterally.
  • BTimestomping changes a file's timestamps to evade forensic analysis; it is an indicator-removal step and has nothing to do with authenticating over SMB to reach another host.
  • CKerberoasting harvests and cracks service tickets to recover credentials; it gathers passwords rather than using existing admin rights to connect over an SMB administrative share.
Valid accounts over SMB admin shares enable lateral movement (MITRE ATT&CK T1021.002; CISA Eviction Strategies Tool)
5.2 Lateral movement (pivoting/tunneling)

A compromised internet-facing host can reach an internal subnet the tester cannot route to directly. To reach those otherwise-unreachable systems and slip past network filtering, the tester encapsulates their traffic inside an allowed protocol such as SSH. Which technique is this?

Answer
Correct answerA · Protocol tunneling

Protocol tunneling encapsulates communications within a separate protocol to bypass network filtering and route packets to otherwise-unreachable systems, which is exactly the SSH-encapsulated pivot described.

Why the other options are wrong
  • BPass-the-hash authenticates to a host with a stolen hash; it grants access to a system but does not encapsulate traffic to route into an unreachable subnet past network filters.
  • CClearing event logs is an anti-forensic step that hides activity; it provides no network path or encapsulation that would let the tester reach the otherwise-unreachable internal subnet.
  • DA scheduled task re-executes a payload on a trigger for persistence; it keeps a foothold but does not tunnel or route traffic to systems the tester cannot otherwise reach.
Tunneling encapsulates traffic to reach unreachable systems and evade filtering (MITRE ATT&CK T1572; CISA Eviction Strategies Tool)
5.2 Privilege escalation (post-exploitation context)

A tester has gained only standard user-level access on a target during the attack phase. To browse sensitive data and gain complete control of the host, the next step is to obtain higher-level administrator or SYSTEM permissions on that same machine. Which post-exploitation activity does this describe?

Answer
Correct answerB · Privilege escalation

When only user-level access was obtained, the testers seek to gain complete control of the system, escalating to administrator or SYSTEM-level permissions, exactly the higher-rights step described.

Why the other options are wrong
  • ALateral movement carries access sideways to a different system on the network; the scenario instead seeks higher permissions on the same already-compromised host, which is a different objective.
  • CExfiltration simulation tests moving stolen data out of the network; it follows gaining control and demonstrating access, rather than being the act of elevating from user to administrator.
  • DIndicator removal and cleanup happen to hide or undo activity near the end of work; they do nothing to raise the tester's privileges from user to administrator on the host.
After user-level access, testers escalate to administrator/SYSTEM control (NIST SP 800-115 attack phase; MITRE ATT&CK TA0004)
5.2 Data exfiltration simulation

To test whether the client's data-loss controls catch theft, the tester simulates exfiltration by sending staged data out over a different protocol than the command-and-control channel — for example DNS or FTP — and measures whether the transfer is blocked. Which technique is being exercised?

Answer
Correct answerD · Exfiltration over an alternative protocol

Stealing data over a different protocol than the C2 channel, such as FTP, SMTP, or DNS, is exfiltration over an alternative protocol, matching the controls test the tester performs.

Why the other options are wrong
  • APass-the-ticket reuses a Kerberos ticket to authenticate to another host; it concerns moving laterally and has nothing to do with measuring whether data leaves over an alternate protocol.
  • BExfiltration over C2 sends data through the same protocol as command and control; the scenario deliberately uses a different protocol than the C2 channel, so this option is the opposite case.
  • CA scheduled task re-executes code on a trigger to maintain a foothold; it keeps access but does not move staged data out to test the client's data-loss prevention controls.
Exfil over a non-C2 protocol (FTP/DNS) tests data-loss controls (MITRE ATT&CK T1048; PTES Post Exploitation - Data Exfiltration)
5.2 Enumeration of internal hosts

Having landed on one internal workstation, the tester runs commands such as ping sweeps and net view to build a list of other systems by IP address and hostname, identifying additional targets to move toward. Which post-exploitation activity is this?

Answer
Correct answerA · Remote system discovery

Listing other systems by IP address or hostname for use in lateral movement, using utilities such as ping and net view, is precisely remote system discovery from the current host.

Why the other options are wrong
  • BPass-the-hash authenticates to a system with a stolen hash; it is how a tester accesses a discovered host, not the enumeration step that builds the list of candidate targets.
  • CClearing logs removes evidence of activity near the end of an engagement; it produces no inventory of other reachable systems and is unrelated to enumerating internal hosts.
  • DA registry run key relaunches a tool at user logon to maintain access; it keeps a foothold rather than enumerating additional hosts by IP address and hostname on the network.
Listing other hosts by IP/hostname for lateral movement is remote system discovery (MITRE ATT&CK T1018; CISA Eviction Strategies Tool)
5.2 Enumeration of internal hosts and Active Directory (attack paths)

During an internal test the tester wants to visualize the hidden relationships in the client's Active Directory — group memberships, active sessions, and ACLs — to find the shortest privilege path to Domain Admin. Which tool is purpose-built for mapping these AD attack paths?

Answer
Correct answerC · BloodHound

BloodHound uses graph theory to reveal hidden, often unintended relationships in Active Directory, letting attackers and defenders identify complex privilege attack paths that are otherwise hard to find.

Why the other options are wrong
  • AWireshark captures and inspects network packets for traffic analysis; it does not model Active Directory group, session, and ACL relationships or compute privilege paths toward Domain Admin.
  • BNessus identifies and ranks host and service vulnerabilities; it reports missing patches and misconfigurations but does not graph the directory's relationships into a shortest attack path.
  • DHydra performs online password guessing against network login services; it tries credentials against a target rather than mapping directory relationships into a graph of attack paths.
BloodHound graphs AD relationships to reveal privilege attack paths (SpecterOps BloodHound documentation; SpecterOps BloodHound project page)
5.1 Cleanup and artifact/indicator removal

Emulating an adversary, the tester wipes the Windows record of alerts and notifications on a host using utilities like wevtutil to hide intrusion activity, then writes the action up as a finding so defenders learn to detect it. Which technique is being emulated?

Answer
Correct answerD · Clearing Windows event logs

Clearing Windows Event Logs, which record a computer's alerts and notifications, hides the activity of an intrusion and can be performed with utilities such as wevtutil, as described.

Why the other options are wrong
  • ADomain trust discovery enumerates trust relationships to find lateral-movement paths; it gathers information rather than wiping the host's record of alerts to conceal the intrusion.
  • BPass-the-hash authenticates to other systems with a stolen hash to move laterally; it does not erase the Windows event record that documents alerts and notifications on the host.
  • CProtocol tunneling encapsulates traffic to reach unreachable systems or hide command and control; it routes communications rather than clearing the host's stored event records to hide activity.
Wiping Windows Event Logs hides intrusion activity (MITRE ATT&CK T1070.001; CISA Eviction Strategies Tool)
5.1 Cleanup; documentation of changes

As an authorized engagement winds down, the team must leave the environment as they found it. Beyond removing tools and test accounts, which practice does PTES specify for every configuration change made during post-exploitation?

Answer
Correct answerA · Document each change and restore original settings

PTES requires that all modifications be documented and, after their purpose is served, settings be returned to their original positions, with the change list given to the client to verify cleanup.

Why the other options are wrong
  • BLeaving configuration changes in place leaves the client exposed to risk the test introduced and contradicts the requirement to restore settings to their original positions where possible.
  • CPTES states logs should not be removed, cleared, or modified unless specifically authorized; deleting them destroys client evidence and is not part of legitimate post-engagement cleanup.
  • DAccounts created to access compromised systems should be removed during cleanup, not transferred to the client; handing them over leaves an unnecessary credential and unfinished restoration.
Document every change and restore systems to their original state at cleanup (PTES Post Exploitation - Cleanup; NIST SP 800-115)
5.1 Artifact/indicator removal (timestomp)

To make a dropped payload blend in with legitimate files in the same directory and avoid drawing a forensic investigator's attention, an attacker modifies the file's modify, access, and create timestamps. Which anti-forensic technique, which testers document so defenders can detect it, is this?

Answer
Correct answerB · Timestomping

Timestomping modifies a file's modify, access, create, and change times, often to mimic files in the same folder and blend a malicious file with legitimate ones to evade investigators.

Why the other options are wrong
  • ACredential dumping extracts hashes or passwords from a system to enable further access; it harvests authentication material rather than altering a file's timestamps to evade forensic review.
  • CPass-the-ticket reuses a stolen Kerberos ticket to authenticate to another host for lateral movement; it does not change file timestamps to disguise a payload from forensic analysis.
  • DRemote system discovery enumerates other hosts by IP address and hostname to find targets; it builds a target list rather than altering a file's timestamps to avoid detection.
Altering a file's timestamps to blend in with legitimate files is timestomping (MITRE ATT&CK T1070.006; CISA Eviction Strategies Tool)
5.2 Documentation (attack narratives and remediation)

When writing up a post-exploitation engagement, the team keeps a detailed, timestamped list of every action taken against compromised systems for the report's appendix, and translates the technical findings into prioritized remediation guidance. Which deliverable does this describe?

Answer
Correct answerC · The report's attack narrative and remediation guidance

PTES keeps a detailed, timed list of actions for the report appendix, and NIST guidance translates findings into actionable mitigation, which together form the report's narrative and remediation deliverable.

Why the other options are wrong
  • ARules of engagement set constraints and authority before testing begins; they are agreed up front and are not the post-engagement narrative of actions taken plus remediation guidance.
  • BA raw scanner export lists detected findings without the timestamped attack narrative or translated, prioritized remediation guidance that a penetration test report is expected to provide.
  • DThe statement of work defines deliverables, hours, and price before the engagement; it is a commercial contract artifact, not the documented attack narrative with remediation recommendations.
Report keeps a timed action log (appendix) and translates findings into remediation (PTES Post Exploitation; NIST SP 800-115)

Want all five domains under exam conditions? Take a full 90-question mock →

Ad slot · in-content rectangle (336×280 / responsive)Below the quiz card, inside the article body — well clear of answer buttons

About this domain

Post-exploitation and Lateral Movement is what a tester does after gaining a foothold: deepening access, spreading through the network, and then cleaning up responsibly. On PT0-003 it carries 14% of the exam, and the questions test both offensive technique and professional discipline.

The domain covers establishing persistence (new accounts, registry run keys, scheduled tasks, services), lateral movement and pivoting (pass-the-hash, pass-the-ticket, abusing remote services, tunneling through a compromised host), and enumerating internal hosts and Active Directory to map attack paths to high-value targets.

It also covers data-exfiltration simulation and — critically — cleanup: removing artifacts and indicators (including timestomping), documenting every change made, and restoring the environment so the client is left no worse off. The questions below mirror that scenario-driven style.

What Domain 5 covers

Domain 5 quick glossary

The terms that show up most on Domain 5 questions — one line each.

PersistenceA foothold mechanism (account, scheduled task, service, run key) that survives reboot or credential changes.
Lateral movementMoving from one compromised host to others inside the network to reach the objective.
PivotingRouting traffic through a compromised host to reach networks the tester cannot access directly.
Pass-the-ticketReusing a stolen or forged Kerberos ticket to authenticate as a user without their password.
TimestompingAltering a file's timestamps to hide attacker activity from forensic timelines.
ExfiltrationSimulating the theft of data out of the environment to demonstrate impact to the client.
CleanupRemoving tooling, accounts, and indicators and documenting every change so the environment is restored.

Keep going

Practice the other domains, or go deeper with the full study materials.