ECCouncil certification · Exam 312-50v12

312-50v12 Mock Exam Page 4

Certified Ethical Hacker CEH v12

Free 312-50v12 questions on Topic 3: Exam Pool C, each with the answer and an explanation.

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

Topic 3: Exam Pool C questions

31–40 of 74 free
Question 31 Choose 1

A company’s Web development team has become aware of a certain type of security
vulnerability in their Web software. To mitigate the possibility of this vulnerability being
exploited, the team wants to modify the software requirements to disallow users from
entering HTML as input into their Web application.
What kind of Web application vulnerability likely exists in their software?

Show answerHide answer

Correct answer: A

Cross-site scripting vulnerability

Explanation

Explanation: There is no single, standardized classification of cross-site scripting flaws,
but most experts distinguish between at least two primary flavors of XSS flaws: nonpersistent
and persistent. In this issue, we consider the non-persistent cross-site scripting
vulnerability.
The non-persistent (or reflected) cross-site scripting vulnerability is by far the most basic
type of web vulnerability. These holes show up when the data provided by a web client,
most commonly in HTTP query parameters (e.g. HTML form submission), is used
immediately by server-side scripts to parse and display a page of results for and to that
user, without properly sanitizing the content.
Because HTML documents have a flat, serial structure that mixes control statements,
formatting, and the actual content, any non-validated user-supplied data included in the
resulting page without proper HTML encoding, may lead to markup injection. A classic
example of a potential vector is a site search engine: if one searches for a string, the
search string will typically be redisplayed verbatim on the result page to indicate what was
searched for. If this response does not properly escape or reject HTML control characters,
a cross-site scripting flaw will ensue.

Question 32

Which tier in the N-tier application architecture is responsible for moving and processing
data between the tiers?

Show answerHide answer

Correct answer: C

Logic tier

Question 33 Choose 1

The network users are complaining because their system are slowing down. Further, every
time they attempt to go a website, they receive a series of pop-ups with advertisements.
What types of malware have the system been infected with?

Show answerHide answer

Correct answer: D

Adware

Explanation

Explanation:
Adware, or advertising supported computer code, is computer code that displays unwanted
advertisements on your pc. Adware programs can tend to serve you pop-up ads, will
modification your browser’s homepage, add spyware and simply bombard your device with
advertisements. Adware may be a additional summary name for doubtless unwanted
programs. It’s roughly a virulent disease and it’s going to not be as clearly malicious as a
great deal of different problematic code floating around on the net. create no mistake
concerning it, though, that adware has to return off of no matter machine it’s on. Not solely
will adware be extremely annoying whenever you utilize your machine, it might additionally
cause semipermanent problems for your device.
Adware a network users the browser to gather your internet browsing history so as to
’target’ advertisements that appear tailored to your interests. At their most innocuous,
adware infections square measure simply annoying. as an example, adware barrages you
with pop-up ads that may create your net expertise markedly slower and additional labor
intensive.

Question 34 Choose 1

While performing an Nmap scan against a host, Paola determines the existence of a
firewall. In an attempt to determine whether the firewall is stateful or stateless, which of the
following options would be best to use?

Show answerHide answer

Correct answer: A

-sA

Question 35 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 36 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 37 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 38 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 39 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 40 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

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