CompTIA PenTest+ PT0-002 – Question070

When planning a penetration-testing effort, clearly expressing the rules surrounding the optimal time of day for test execution is important because:

A.
security compliance regulations or laws may be violated.
B. testing can make detecting actual APT more challenging.
C. testing adds to the workload of defensive cyber- and threat-hunting teams.
D. business and network operations may be impacted.

Correct Answer: D

CompTIA PenTest+ PT0-002 – Question069

A penetration tester downloaded a Java application file from a compromised web server and identifies how to invoke it by looking at the following log:

Which of the following is the order of steps the penetration tester needs to follow to validate whether the Java application uses encryption over sockets?

A.
Run an application vulnerability scan and then identify the TCP ports used by the application.
B. Run the application attached to a debugger and then review the application's log.
C. Disassemble the binary code and then identify the break points.
D. Start a packet capture with Wireshark and then run the application.

Correct Answer: D

CompTIA PenTest+ PT0-002 – Question068

A company hired a penetration-testing team to review the cyber-physical systems in a manufacturing plant. The team immediately discovered the supervisory systems and PLCs are both connected to the company intranet.
Which of the following assumptions, if made by the penetration-testing team, is MOST likely to be valid?

A.
PLCs will not act upon commands injected over the network.
B. Supervisors and controllers are on a separate virtual network by default.
C. Controllers will not validate the origin of commands.
D. Supervisory systems will detect a malicious injection of code/commands.

Correct Answer: C

CompTIA PenTest+ PT0-002 – Question067

A penetration tester was able to gain access successfully to a Windows workstation on a mobile client's laptop.
Which of the following can be used to ensure the tester is able to maintain access to the system?

A.
schtasks /create /sc /ONSTART /tr C:Temp|WindowsUpdate.exe
B. wmic startup get caption,command
C. crontab -l; echo "@reboot sleep 200 && ncat -lvp 4242 -e /bin/bash") | crontab 2>/dev/null
D. sudo useradd -ou 0 -g 0 user

Correct Answer: C

CompTIA PenTest+ PT0-002 – Question065

A penetration tester obtained the following results after scanning a web server using the dirb utility:

Which of the following elements is MOST likely to contain useful information for the penetration tester?

A.
index.html
B. about
C. info
D. home.html

Correct Answer: B

CompTIA PenTest+ PT0-002 – Question063

HOTSPOT
You are a security analyst tasked with hardening a web server. You have been given a list of HTTP payloads that were flagged as malicious.
INSTRUCTION
Giving the following attack signatures, determine the attack type, and then identify the associated remediation to prevent the attack in the future.



Correct Answer: See explanation below.

Explanation:




CompTIA PenTest+ PT0-002 – Question062

Which of the following should a penetration tester consider FIRST when engaging in a penetration test in a cloud environment?

A.
Whether the cloud service provider allows the penetration tester to test the environment
B. Whether the specific cloud services are being used by the application
C. The geographical location where the cloud services are running
D. Whether the country where the cloud service is based has any impeding laws

Correct Answer: C