CompTIA PenTest+ PT0-003 Practice Test 70
Question 690
During an authorized training exercise, a server runs an unexpected scheduled task under a privileged service identity. The reviewer asks for the underlying reason, not a list of tools. Which conclusion best explains the specified behavior?
- ICMP payloads can be misused to carry data beyond connectivity diagnostics
- Scheduled tasks can execute again after a user session ends
- User-login autorun locations can persist code between sessions
- Auto-start services can reexecute binaries after reboot under service identities
Explanation
Correct Answer
B:Scheduled tasks can execute again after a user session ends. It directly supports Identify the task as a persistence mechanism and validate it against change records under the scenario constraints.
Incorrect Answers
A:ICMP payloads can be misused to carry data beyond connectivity diagnostics. That applies when a monitored lab produces unexpected repeated ICMP packets carrying application-like data fields. It does not establish the particular requirement here.
C:User-login autorun locations can persist code between sessions. That applies when a test endpoint has a Run registry entry launching an unsigned executable at user login. It does not establish the particular requirement here.
D:Auto-start services can reexecute binaries after reboot under service identities. That applies when a lab Windows host has a newly created service with automatic startup and a binary in a nonstandard user-writable path. It does not establish the particular requirement here.
Question 691
During an authorized training exercise, a server runs an unexpected scheduled task under a privileged service identity. A reviewer instead suggests: "Treat the task as harmless because it has a schedule." What precise limitation makes that alternative unsuitable here?
- Recurrence does not establish authorization or benign behavior
- Loss of audit visibility does not remove the persistence path
- Port reachability does not establish effective permissions
- Changing a home page does not remove the autorun entry
Explanation
Correct Answer
A:Recurrence does not establish authorization or benign behavior. The named proposal is Treat the task as harmless because it has a schedule, which leaves the original requirement unresolved; use Identify the task as a persistence mechanism and validate it against change records instead.
Incorrect Answers
B:Loss of audit visibility does not remove the persistence path. That reasoning concerns the different shortcut Disable all audit logs to hide the cron entry in the case A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory.
C:Port reachability does not establish effective permissions. That reasoning concerns the different shortcut Assume every reachable SMB port grants administrative control in the case A lab assessment records an attempted SMB administrative connection from one compromised test host to another.
D:Changing a home page does not remove the autorun entry. That reasoning concerns the different shortcut Rotate the user's browser home page only in the case A test endpoint has a Run registry entry launching an unsigned executable at user login.
Question 692
During an authorized training exercise, a server runs an unexpected scheduled task under a privileged service identity. The approved step is complete and the client requests proof. Which observation best validates the intended outcome?
- The endpoint no longer executes system commands and logs remain intact
- A review records the crontab entry, owner and controlled removal
- Network tests show only designated management stations can establish sessions
- The owner verifies task provenance and removes unapproved tasks
Explanation
Correct Answer
D:The owner verifies task provenance and removes unapproved tasks. That validates Identify the task as a persistence mechanism and validate it against change records without relying on an unsupported or out-of-scope conclusion.
Incorrect Answers
A:The endpoint no longer executes system commands and logs remain intact. This validates Classify the script as a web-shell persistence risk and remove unauthorized execution paths in the separate situation A staging web server contains an unapproved script that executes commands through a maintenance endpoint. It does not verify this case.
B:A review records the crontab entry, owner and controlled removal. This validates Investigate cron-based persistence and secure file ownership in the separate situation A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. It does not verify this case.
C:Network tests show only designated management stations can establish sessions. This validates Apply service-level ACLs and host firewall rules to reduce lateral reachability in the separate situation Two supposedly isolated servers expose RPC and remote desktop services to a broad internal network range. It does not verify this case.
Question 693
A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. Which action best fits the authorized scope and available evidence?
- Investigate cron-based persistence and secure file ownership
- Investigate account-based persistence and revoke unauthorized access
- Disable all audit logs to hide the cron entry
- Classify the script as a web-shell persistence risk and remove unauthorized execution paths
Explanation
Correct Answer
A:Investigate cron-based persistence and secure file ownership. Cron execution can revive unauthorized processes without interactive logins. The relevant evidence is that a review records the crontab entry, owner and controlled removal.
Incorrect Answers
B:Investigate account-based persistence and revoke unauthorized access. This would address a different authorized case: An internal assessment finds a newly created privileged user account that does not match approved change tickets. New identities can provide repeat access even when the original session expires.
C:Loss of audit visibility does not remove the persistence path. The proposed shortcut does not satisfy the exact condition in this case.
D:Classify the script as a web-shell persistence risk and remove unauthorized execution paths. This would address a different authorized case: A staging web server contains an unapproved script that executes commands through a maintenance endpoint. A reachable server-side command interface can maintain access beyond a single request.
Question 694
A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. The reviewer asks for the underlying reason, not a list of tools. Which conclusion best explains the specified behavior?
- New identities can provide repeat access even when the original session expires
- DNS queries can carry encoded content outside normal application traffic
- A reachable server-side command interface can maintain access beyond a single request
- Cron execution can revive unauthorized processes without interactive logins
Explanation
Correct Answer
D:Cron execution can revive unauthorized processes without interactive logins. It directly supports Investigate cron-based persistence and secure file ownership under the scenario constraints.
Incorrect Answers
A:New identities can provide repeat access even when the original session expires. That applies when an internal assessment finds a newly created privileged user account that does not match approved change tickets. It does not establish the particular requirement here.
B:DNS queries can carry encoded content outside normal application traffic. That applies when dNS logs contain unusually large encoded subdomain strings sent repeatedly to an unfamiliar external domain. It does not establish the particular requirement here.
C:A reachable server-side command interface can maintain access beyond a single request. That applies when a staging web server contains an unapproved script that executes commands through a maintenance endpoint. It does not establish the particular requirement here.
Question 695
A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. A reviewer instead suggests: "Disable all audit logs to hide the cron entry." What precise limitation makes that alternative unsuitable here?
- Premature deletion can destroy the assessment audit trail
- Distributing a live execution path creates unnecessary risk
- Browser persistence can expose data without a conventional system service
- Loss of audit visibility does not remove the persistence path
Explanation
Correct Answer
D:Loss of audit visibility does not remove the persistence path. The named proposal is Disable all audit logs to hide the cron entry, which leaves the original requirement unresolved; use Investigate cron-based persistence and secure file ownership instead.
Incorrect Answers
A:Premature deletion can destroy the assessment audit trail. That reasoning concerns the different shortcut Delete every log before the report is signed in the case An assessment is ending and the client asks that incident evidence remain defensible while temporary tools are removed.
B:Distributing a live execution path creates unnecessary risk. That reasoning concerns the different shortcut Publish a working command-execution URL to the whole organization in the case A staging web server contains an unapproved script that executes commands through a maintenance endpoint.
C:Browser persistence can expose data without a conventional system service. That reasoning concerns the different shortcut Ignore extensions because they are not operating system services in the case An enterprise browser profile contains an extension that requests access to every visited page and survives browser restarts.
Question 696
A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. The approved step is complete and the client requests proof. Which safe follow-up result demonstrates the outcome?
- Affected principals have sessions revoked and new secrets issued
- The endpoint no longer executes system commands and logs remain intact
- The owner verifies task provenance and removes unapproved tasks
- A review records the crontab entry, owner and controlled removal
Explanation
Correct Answer
D:A review records the crontab entry, owner and controlled removal. That validates Investigate cron-based persistence and secure file ownership without relying on an unsupported or out-of-scope conclusion.
Incorrect Answers
A:Affected principals have sessions revoked and new secrets issued. This validates Preserve minimal evidence and require credential reset rather than distributing reusable material in the separate situation A security analyst discovers a privileged credential in memory of a lab host during a containment exercise. It does not verify this case.
B:The endpoint no longer executes system commands and logs remain intact. This validates Classify the script as a web-shell persistence risk and remove unauthorized execution paths in the separate situation A staging web server contains an unapproved script that executes commands through a maintenance endpoint. It does not verify this case.
C:The owner verifies task provenance and removes unapproved tasks. This validates Identify the task as a persistence mechanism and validate it against change records in the separate situation During an authorized training exercise, a server runs an unexpected scheduled task under a privileged service identity. It does not verify this case.
Question 697
A lab Windows host has a newly created service with automatic startup and a binary in a nonstandard user-writable path. Which action best fits the authorized scope and available evidence?
- Classify the script as a web-shell persistence risk and remove unauthorized execution paths
- Assume an automatic service is legitimate by definition
- Classify the service as a potential persistence mechanism and check permissions
- Investigate cron-based persistence and secure file ownership
Explanation
Correct Answer
C:Classify the service as a potential persistence mechanism and check permissions. Auto-start services can reexecute binaries after reboot under service identities. The relevant evidence is that the service is attributed to an approved owner or removed with evidence.
Incorrect Answers
A:Classify the script as a web-shell persistence risk and remove unauthorized execution paths. This would address a different authorized case: A staging web server contains an unapproved script that executes commands through a maintenance endpoint. A reachable server-side command interface can maintain access beyond a single request.
B:Startup configuration alone is not proof of trusted origin. The proposed shortcut does not satisfy the exact condition in this case.
D:Investigate cron-based persistence and secure file ownership. This would address a different authorized case: A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. Cron execution can revive unauthorized processes without interactive logins.
Question 698
A lab Windows host has a newly created service with automatic startup and a binary in a nonstandard user-writable path. The reviewer asks for the underlying reason, not a list of tools. What principle explains the recommended assessment decision?
- Auto-start services can reexecute binaries after reboot under service identities
- Scheduled tasks can execute again after a user session ends
- Credential cleanup prevents forgotten assessment identities from becoming persistent access
- A reachable server-side command interface can maintain access beyond a single request
Explanation
Correct Answer
A:Auto-start services can reexecute binaries after reboot under service identities. It directly supports Classify the service as a potential persistence mechanism and check permissions under the scenario constraints.
Incorrect Answers
B:Scheduled tasks can execute again after a user session ends. That applies when during an authorized training exercise, a server runs an unexpected scheduled task under a privileged service identity. It does not establish the particular requirement here.
C:Credential cleanup prevents forgotten assessment identities from becoming persistent access. That applies when an authorized penetration test created a temporary service account used only for safe validation. It does not establish the particular requirement here.
D:A reachable server-side command interface can maintain access beyond a single request. That applies when a staging web server contains an unapproved script that executes commands through a maintenance endpoint. It does not establish the particular requirement here.
Question 699
A lab Windows host has a newly created service with automatic startup and a binary in a nonstandard user-writable path. A reviewer instead suggests: "Assume an automatic service is legitimate by definition." Why is that proposed shortcut insufficient?
- Startup configuration alone is not proof of trusted origin
- Loss of audit visibility does not remove the persistence path
- Remote process activity need not create a visible GUI session
- Changing a home page does not remove the autorun entry
Explanation
Correct Answer
A:Startup configuration alone is not proof of trusted origin. The named proposal is Assume an automatic service is legitimate by definition, which leaves the original requirement unresolved; use Classify the service as a potential persistence mechanism and check permissions instead.
Incorrect Answers
B:Loss of audit visibility does not remove the persistence path. That reasoning concerns the different shortcut Disable all audit logs to hide the cron entry in the case A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory.
C:Remote process activity need not create a visible GUI session. That reasoning concerns the different shortcut Ignore WMI because no interactive desktop appeared in the case A monitored lab shows remote process creation through Windows Management Instrumentation across a trust boundary.
D:Changing a home page does not remove the autorun entry. That reasoning concerns the different shortcut Rotate the user's browser home page only in the case A test endpoint has a Run registry entry launching an unsigned executable at user login.
Question 700
A lab Windows host has a newly created service with automatic startup and a binary in a nonstandard user-writable path. The approved step is complete and the client requests proof. What outcome would most directly verify the finding or mitigation?
- The owner verifies task provenance and removes unapproved tasks
- A nonapproved jump identity is denied while authorized operations remain possible
- A review records the crontab entry, owner and controlled removal
- The service is attributed to an approved owner or removed with evidence
Explanation
Correct Answer
D:The service is attributed to an approved owner or removed with evidence. That validates Classify the service as a potential persistence mechanism and check permissions without relying on an unsupported or out-of-scope conclusion.
Incorrect Answers
A:The owner verifies task provenance and removes unapproved tasks. This validates Identify the task as a persistence mechanism and validate it against change records in the separate situation During an authorized training exercise, a server runs an unexpected scheduled task under a privileged service identity. It does not verify this case.
B:A nonapproved jump identity is denied while authorized operations remain possible. This validates Validate routing and enforce SSH access boundaries at the network and identity layers in the separate situation A tester's approved Linux jump host can establish SSH to a production segment that should be isolated. It does not verify this case.
C:A review records the crontab entry, owner and controlled removal. This validates Investigate cron-based persistence and secure file ownership in the separate situation A Linux sandbox contains an unfamiliar cron entry that launches a script from a writable temporary directory. It does not verify this case.