ECCouncil certification · Exam 312-50v12

312-50v12 Mock Exam Page 14

Certified Ethical Hacker CEH v12

Free 312-50v12 mock exam questions 131–140, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free 312-50v12 questions

131–140 of 170 free
Question 131 Choose 1

Clark, a professional hacker, attempted to perform a Btlejacking attack using an automated
tool, Btlejack, and hardware tool, micro:bit. This attack allowed Clark to hijack, read, and
export sensitive information shared between connected devices. To perform this attack,
Clark executed various btlejack commands. Which of the following commands was used by
Clark to hijack the connections?

Show answerHide answer

Correct answer: D

btlejack -f 0x9c68fd30 -t -m 0x1 fffffffff

Question 132 Choose 1

Which Metasploit Framework tool can help penetration tester for evading Anti-virus
Systems?

Show answerHide answer

Correct answer: D

msfencode

Explanation

Explanation: https://www.offensive-security.com/metasploit-unleashed/msfencode/
One of the best ways to avoid being stopped by antivirus software is to encode our payload
with msfencode. Msfencode is a useful tool that alters the code in an executable so that it
looks different to antivirus software but will still run the same way. Much as the binary
attachment in email is encoded in Base64, msfencode encodes the original executable in a
new binary. Then, when the executable is run, msfencode decodes the original code into
memory and exe-cutes it.

Question 133 Choose 1

Morris, an attacker, wanted to check whether the target AP is in a locked state. He
attempted using different utilities to identify WPS-enabled APs in the target wireless
network. Ultimately, he succeeded with one special command-line utility. Which of the following command-line utilities allowed Morris to discover the WPS-enabled APs?

Show answerHide answer

Correct answer: A

wash

Question 134 Choose 1

Becky has been hired by a client from Dubai to perform a penetration test against one of
their remote offices. Working from her location in Columbus, Ohio, Becky runs her usual
reconnaissance scans to obtain basic information about their network. When analyzing the
results of her Whois search, Becky notices that the IP was allocated to a location in Le
Havre, France. Which regional Internet registry should Becky go to for detailed
information?

Show answerHide answer

Correct answer: C

RIPE

Explanation

Explanation: Regional Internet Registries (RIRs):
ARIN (American Registry for Internet Numbers)
AFRINIC (African Network Information Center)
APNIC (Asia Pacific Network Information Center)
RIPE (Réseaux IP Européens Network Coordination Centre)
LACNIC (Latin American and Caribbean Network Information Center)

Question 135 Choose 1

A hacker has successfully infected an internet-facing server which he will then use to send
junk mail, take part in coordinated attacks, or host junk email content. Which sort of trojan
infects this server?

Show answerHide answer

Correct answer: A

Botnet Trojan

Question 136 Choose 1

Which of the following allows attackers to draw a map or outline the target organization's
network infrastructure to know about the actual environment that they are going to hack.

Show answerHide answer

Correct answer: D

Scanning networks

Question 137 Choose 1

#!/usr/bin/python import socket buffer=[““A””] counter=50 while len(buffer)<=100:
buffer.append (““A””*counter)
counter=counter+50 commands= [““HELP””,““STATS .””,““RTIME .””,““LTIME. ””,““SRUN
.”’,““TRUN .””,““GMON
.””,““GDOG .””,““KSTET .”,““GTER .””,““HTER .””, ““LTER .”,““KSTAN .””] for command in
commands: for
buffstring in buffer: print ““Exploiting”” +command +““:””+str(len(buffstring))
s=socket.socket(socket.AF_INET,
socket.SOCK_STREAM) s.connect((‘127.0.0.1’, 9999)) s.recv(50)
s.send(command+buffstring) s.close()
What is the code written for?

Show answerHide answer

Correct answer: B

Buffer Overflow

Question 138 Choose 1

Harris is attempting to identify the OS running on his target machine. He inspected the
initial TTL in the IP header and the related TCP window size and obtained the following
results:
TTL: 64 Window Size: 5840
What is the OS running on the target machine?

Show answerHide answer

Correct answer: D

Linux OS

Question 139 Choose 1

John, a security analyst working for an organization, found a critical vulnerability on the
organization's LAN that allows him to view financial and personal information about the rest
of the employees. Before reporting the vulnerability, he examines the information shown by
the vulnerability for two days without disclosing any information to third parties or other
internal employees. He does so out of curiosity about the other employees and may take
advantage of this information later. What would John be considered as?

Show answerHide answer

Correct answer: D

Gray hat

Question 140 Choose 1

You start performing a penetration test against a specific website and have decided to start
from grabbing all the links from the main page.
What Is the best Linux pipe to achieve your milestone?

Show answerHide answer

Correct answer: C

wget https://stte.com | grep "< a href=\*http" | grep "site.com"

Full mock exam

Sit the 312-50v12 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real 312-50v12 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full 312-50v12 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 569questions in the bank
  • Newmock on every attempt