BLACK FRIDAY SALE – Unlock Up to 25% OFF on All Exam Prep! - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA PT0-003 Exam - Topic 5 Question 22 Discussion

Posted by Jess on Apr 09, 2025 at 11:31 AM

A penetration tester completes a scan and sees the following output on a host:

bash

Copy code

Nmap scan report for victim (10.10.10.10)

Host is up (0.0001s latency)

PORT STATE SERVICE

161/udp open|filtered snmp

445/tcp open microsoft-ds

3389/tcp open microsoft-ds

Running Microsoft Windows 7

OS CPE: cpe:/o:microsoft:windows_7_sp0

The tester wants to obtain shell access. Which of the following related exploits should the tester try first?

Suggested Answer: C

The ms17_010_eternalblue exploit is the most appropriate choice based on the scenario.

Why MS17-010 EternalBlue?

EternalBlue is a critical vulnerability in SMBv1 (port 445) affecting older versions of Windows, including Windows 7.

The exploit can be used to execute arbitrary code remotely, providing shell access to the target system.

Other Options:

A (psexec): This exploit is a post-exploitation tool that requires valid credentials to execute commands remotely.

B (ms08_067_netapi): A vulnerability targeting older Windows systems (e.g., Windows XP). It is unlikely to work on Windows 7.

D (snmp_login): This is an auxiliary module for enumerating SNMP, not gaining shell access.

CompTIA Pentest+ Reference:

Domain 2.0 (Information Gathering and Vulnerability Identification)

Domain 3.0 (Attacks and Exploits)


Get Premium PT0-003 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
37 comments · newest first
MA
Maynard 11 months ago
A is a good choice too, psexec can be sneaky!
EL
Elza 11 months ago
Nah, I think C, eternalblue is more powerful.
FE
Felicidad 12 months ago
I disagree, D seems less effective for shell access.
ZO
Zona 12 months ago
Wait, isn't Windows 7 pretty outdated? Surprised it's still around.
BR
Brianne 1 year ago
I'd go with B, ms08_067 is pretty reliable on Windows 7.
DI
Diego 1 year ago
I think the snmp_login auxiliary might not give shell access directly, so it seems less relevant for this question.
CE
Cecily 1 year ago
I feel like the psexec option could be useful, but I’m not confident if it’s the best choice here.
DE
Desmond 1 year ago
I'm not entirely sure, but I think the eternalblue exploit is more recent and might be more effective against Windows 7.
DO
Dorothy 1 year ago
I remember practicing with the ms08_067 exploit; it was one of the first ones I learned about for Windows vulnerabilities.
KI
Kimberely 1 year ago
Okay, let me think this through. The open SNMP port could be an interesting attack vector, but the question is focused on SMB exploits. I'll start with the PSExec module and see if that gets me in. If not, I'll try the other SMB options.
LE
Leota 1 year ago
Ah, I know this one! The EternalBlue exploit is the way to go. It's a popular choice for Windows 7 systems with SMB vulnerabilities. I'll give that a shot and see if I can get a shell.
HA
Han 1 year ago
I'm a bit unsure here. The open SNMP port is interesting, but the question is specifically asking about SMB exploits. Maybe I should start with the MS08-067 vulnerability and see if that works.
FR
Freeman 1 year ago
Hmm, this looks like a classic Windows SMB exploit scenario. I think I'll try the PSExec module first - it's a reliable option for gaining shell access on Windows 7 systems.
CA
Catalina 2 years ago
I'd say C, but only if the tester has a time machine to go back to 2017. These days, you gotta stay on top of the latest vulnerabilities, am I right?
LA
Latonia 1 year ago
↳ replying to Catalina
B: Good idea. Let's see if we can exploit that vulnerability.
LE
Lettie 1 year ago
↳ replying to Catalina
A: Let's give it a try and see if we can get shell access.
MI
Misty 1 year ago
↳ replying to Catalina
B: Yeah, that could work. It's worth a shot.
VE
Velda 1 year ago
↳ replying to Catalina
A: Maybe try the EternalBlue exploit for the Windows 7 machine.
MA
Marguerita 2 years ago
Haha, I bet the tester could try all of them and still end up with a blue screen of death. Windows 7 is like a piñata - just keep swinging until something breaks!
MO
Moon 2 years ago
D all the way! Why bother with those complicated SMB exploits when you can just brute-force the SNMP service and get access that way?
TA
Tamar 1 year ago
↳ replying to Moon
User3: I think I'll give D a try first, thanks for the tip!
JU
Justine 1 year ago
↳ replying to Moon
User2: Agreed, brute-forcing SNMP seems like a quicker route to shell access.
ER
Erinn 1 year ago
↳ replying to Moon
User1: Yeah, D sounds like the easiest way to go.
SE
Serina 2 years ago
B seems like the safer bet here. MS08-067 is a well-known vulnerability that's been around for ages, so it's more likely to work.
FA
Fausto 1 year ago
↳ replying to Serina
A: Let's give it a try and see if we can get in using that exploit.
AR
Ardella 1 year ago
↳ replying to Serina
B: Yeah, it's a reliable choice for gaining shell access on Windows systems.
KA
Kate 2 years ago
↳ replying to Serina
A: I agree, MS08-067 is a classic exploit that often works.
EM
Emeline 2 years ago
I'm not sure, but I think psexec could also be a good option to try for shell access.
SH
Shayne 2 years ago
I agree with Derick. EternalBlue is a known exploit for Windows systems.
DE
Derick 2 years ago
I think the tester should try exploit/windows/smb/ms17_010_eternalblue first.
TR
Trina 2 years ago
I'd go with C. The EternalBlue exploit is a classic and often works like a charm on Windows 7 machines.
IS
Isidra 1 year ago
↳ replying to Trina
B: I'll give it a try then, thanks for the tip!
MA
Marya 1 year ago
↳ replying to Trina
A: Yes, it's been quite effective in my experience.
AN
An 1 year ago
↳ replying to Trina
B: Have you used it before?
CO
Corrina 2 years ago
↳ replying to Trina
Yes, it's definitely worth a try to gain shell access.
DE
Deeanna 2 years ago
↳ replying to Trina
I agree, EternalBlue is a powerful exploit for Windows 7.
ST
Stephania 2 years ago
↳ replying to Trina
A: I agree, EternalBlue is a powerful exploit for Windows 7.
0/2000 characters

Save Cancel