Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GAQM CPEH-001 Exam - Topic 3 Question 50 Discussion

Posted by Tasia on May 04, 2022 at 02:07 PM

What is the expected result of the following exploit?

Suggested Answer: A

The script being depicted is in perl (both msadc.pl and the script their using as a wrapper) -- $port, $your, $user, $pass, $host are variables that hold the port # of a DNS server, an IP, username, and FTP password. $host is set to argument variable 0 (which means the string typed directly after the command). Essentially what happens is it connects to an FTP server and downloads nc.exe (the TCP/IP swiss-army knife -- netcat) and uses nc to open a TCP port spawning cmd.exe (cmd.exe is the Win32 DOS shell on NT/2000/2003/XP), cmd.exe when spawned requires NO username or password and has the permissions of the username it is being executed as (probably guest in this instance, although it could be administrator). The #'s in the script means the text following is a comment, notice the last line in particular, if the # was removed the script would spawn a connection to itself, the host system it was running on.


Get Premium CPEH-001 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
13 comments · newest first
LU
Lucia 12 months ago
I agree with techguy, A is the expected result.
RO
Rodolfo 12 months ago
D is just too weird to be true!
LI
Ling 1 year ago
C seems plausible, but not sure about that.
VA
Valentin 1 year ago
Definitely B, FTP server sounds right.
CA
Carma 1 year ago
I think it opens a telnet listener.
JA
Jarvis 1 year ago
The option about creating an account with the username "Anonymous" sounds familiar, but I can't remember if that was a common result of this type of exploit.
UN
Una 1 year ago
I have a feeling that the answer could be about creating an FTP server, but I’m not confident about the write permissions part.
BR
Brett 1 year ago
I remember practicing a question similar to this where an exploit opened a telnet listener, but I can't recall if it required credentials or not.
IL
Iluminada 1 year ago
I think this exploit might be related to creating a share on the target system, but I'm not entirely sure if it's specifically for a share called "sasfile."
GR
Gracia 1 year ago
This seems like a straightforward question about capturing customer details consistently. I think I'll go with option B and use an auto-launched flow to handle this.
IZ
Izetta 1 year ago
I'm pretty confident I know the advantages of star topology over ring topology. The key ones are that a central device failure doesn't bring down the whole network, and the central connection point allows for flexibility and scalability.
HE
Heidy 1 year ago
This seems straightforward to me. The question is specifically asking about the CLI command to verify the status of SAML SSO, so the answer has to be "utils sso status". I'm confident that's the correct choice.
JU
Junita 1 year ago
I remember that Cisco AnyConnect supports SSL. Did we practice similar questions about VPN types?
0/2000 characters

Save Cancel