ECCouncil certification · Exam 312-50v12

312-50v12 Mock Exam Page 11

Certified Ethical Hacker CEH v12

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

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

Free 312-50v12 questions

101–110 of 170 free
Question 101 Choose 1

A DDOS attack is performed at layer 7 to take down web infrastructure. Partial HTTP
requests are sent to the web infrastructure or applications. Upon receiving a partial request,
the target servers opens multiple connections and keeps waiting for the requests to
complete.
Which attack is being described here?

Show answerHide answer

Correct answer: B

Slowloris attack

Explanation

Developed by Robert “RSnake” Hansen, Slowloris is DDoS attack software that permits
one computer to require down an internet server. Due the straightforward yet elegant
nature of this attack, it requires minimal bandwidth to implement and affects the target
server’s web server only, with almost no side effects on other services and ports.Slowloris has proven highly-effective against many popular sorts of web server software, including
Apache 1.x and 2.x.Over the years, Slowloris has been credited with variety of high-profile
server takedowns. Notably, it had been used extensively by Iranian ‘hackivists’ following
the 2009 Iranian presidential election to attack Iranian government internet sites .Slowloris
works by opening multiple connections to the targeted web server and keeping them open
as long as possible. It does this by continuously sending partial HTTP requests, none of
which are ever completed. The attacked servers open more and connections open,
expecting each of the attack requests to be completed.Periodically, the Slowloris sends
subsequent HTTP headers for every request, but never actually completes the request.
Ultimately, the targeted server’s maximum concurrent connection pool is filled, and extra
(legitimate) connection attempts are denied.By sending partial, as against malformed,
packets, Slowloris can easily elapse traditional Intrusion Detection systems.Named after a
kind of slow-moving Asian primate, Slowloris really does win the race by moving slowly and
steadily. A Slowloris attack must await sockets to be released by legitimate requests before
consuming them one by one.For a high-volume internet site , this will take a while . the
method are often further slowed if legitimate sessions are reinitiated. But within the end, if
the attack is unmitigated, Slowloris—like the tortoise—wins the race.If undetected or
unmitigated, Slowloris attacks also can last for long periods of your time . When attacked
sockets outing , Slowloris simply reinitiates the connections, continuing to reach the online
server until mitigated.Designed for stealth also as efficacy, Slowloris are often modified to
send different host headers within the event that a virtual host is targeted, and logs are
stored separately for every virtual host.More importantly, within the course of an attack,
Slowloris are often set to suppress log file creation. this suggests the attack can catch
unmonitored servers off-guard, with none red flags appearing in log file entries.Methods of
mitigationImperva’s security services are enabled by reverse proxy technology, used for
inspection of all incoming requests on their thanks to the clients’ servers.Imperva’s secured
proxy won’t forward any partial connection requests—rendering all Slowloris DDoS attack
attempts completely and utterly useless.

Question 102 Choose 1

You are a security officer of a company. You had an alert from IDS that indicates that one
PC on your Intranet is connected to a blacklisted IP address (C2 Server) on the Internet.
The IP address was blacklisted just before the alert. You are starting an investigation to
roughly analyze the severity of the situation. Which of the following is appropriate to
analyze?

Show answerHide answer

Correct answer: C

Internet Firewall/Proxy log.

Question 103 Choose 1

BitLocker encryption has been implemented for all the Windows-based computers in an
organization. You are concerned that someone might lose their cryptographic key.
Therefore, a mechanism was implemented to recover the keys from Active Directory. What
is this mechanism called in cryptography?

Show answerHide answer

Correct answer: B

Key escrow.

Question 104 Choose 1

in this attack, an adversary tricks a victim into reinstalling an already-in-use key. This is
achieved by manipulating and replaying cryptographic handshake messages. When the
victim reinstall the key, associated parameters such as the incremental transmit packet
number and receive packet number are reset to their initial values. What is this attack
called?

Show answerHide answer

Correct answer: B

KRACK

Explanation

Explanation:
In this attack KRACK is an acronym for Key Reinstallation Attack. KRACK may be a severe
replay attack on Wi-Fi Protected Access protocol (WPA2), which secures your Wi-Fi
connection. Hackers use KRACK to take advantage of a vulnerability in WPA2. When in
close range of a possible victim, attackers can access and skim encrypted data using
KRACK.
How KRACK WorksYour Wi-Fi client uses a four-way handshake when attempting to attach to a protected network. The handshake confirms that both the client — your smartphone,
laptop, et cetera — and therefore the access point share the right credentials, usually a
password for the network. This establishes the Pairwise passkey (PMK), which allows for
encoding .Overall, this handshake procedure allows for quick logins and connections and
sets up a replacement encryption key with each connection. this is often what keeps data
secure on Wi-Fi connections, and every one protected Wi-Fi connections use the four-way
handshake for security. This protocol is that the reason users are encouraged to use
private or credential-protected Wi-Fi instead of public connections.KRACK affects the third
step of the handshake, allowing the attacker to control and replay the WPA2 encryption key
to trick it into installing a key already in use. When the key’s reinstalled, other parameters
related to it — the incremental transmit packet number called the nonce and therefore the
replay counter — are set to their original values.Rather than move to the fourth step within
the four-way handshake, nonce resets still replay transmissions of the third step. This sets
up the encryption protocol for attack, and counting on how the attackers replay the thirdstep
transmissions, they will take down Wi-Fi security.
Why KRACK may be a ThreatThink of all the devices you employ that believe Wi-Fi. it isn’t
almost laptops and smartphones; numerous smart devices now structure the web of Things
(IoT). due to the vulnerability in WPA2, everything connected to Wi-Fi is in danger of being
hacked or hijacked.Attackers using KRACK can gain access to usernames and passwords
also as data stored on devices. Hackers can read emails and consider photos of
transmitted data then use that information to blackmail users or sell it on the Dark
Web.Theft of stored data requires more steps, like an HTTP content injection to load
malware into the system. Hackers could conceivably take hold of any device used thereon
Wi-Fi connection. Because the attacks require hackers to be on the brink of the target,
these internet security threats could also cause physical security threats.On the opposite
hand, the necessity to be in close proximity is that the only excellent news associated with
KRACK, as meaning a widespread attack would be extremely difficult.Victims are
specifically targeted. However, there are concerns that a experienced attacker could
develop the talents to use HTTP content injection to load malware onto websites to make a
more widespread affect.
Everyone is in danger from KRACK vulnerability. Patches are available for Windows and
iOS devices, but a released patch for Android devices is currently in question (November
2017). There are issues with the discharge , and lots of question if all versions and devices
are covered.The real problem is with routers and IoT devices. These devices aren’t
updated as regularly as computer operating systems, and for several devices, security
flaws got to be addressed on the manufacturing side. New devices should address
KRACK, but the devices you have already got in your home probably aren’t protected.
The best protection against KRACK is to make sure any device connected to Wi-Fi is
patched and updated with the newest firmware. that has checking together with your
router’s manufacturer periodically to ascertain if patches are available.The safest connection option may be a private VPN, especially when publicly spaces. If
you would like a VPN for private use, avoid free options, as they need their own security
problems and there’ll even be issues with HTTPs. Use a paid service offered by a trusted
vendor like Kaspersky. Also, more modern networks use WPA3 for better security.Avoid
using public Wi-Fi, albeit it’s password protection. That password is out there to almost
anyone, which reduces the safety level considerably.All the widespread implications of
KRACK and therefore the WPA2 vulnerability aren’t yet clear. what’s certain is that
everybody who uses Wi-Fi is in danger and wishes to require precautions to guard their
data and devices.

Question 105 Choose 1

In an attempt to damage the reputation of a competitor organization, Hailey, a professional
hacker, gathers a list of employee and client email addresses and other related information
by using various search engines, social networking sites, and web spidering tools. In this
process, she also uses an automated tool to gather a list of words from the target website
to further perform a brute-force attack on the previously gathered email addresses.
What is the tool used by Hailey for gathering a list of words from the target website?

Show answerHide answer

Correct answer: B

CeWL

Question 106 Choose 1

Samuel, a professional hacker, monitored and Intercepted already established traffic
between Bob and a host machine to predict Bob's ISN. Using this ISN, Samuel sent
spoofed packets with Bob's IP address to the host machine. The host machine responded
with <| packet having an Incremented ISN. Consequently. Bob's connection got hung, and
Samuel was able to communicate with the host machine on behalf of Bob. What is the type
of attack performed by Samuel in the above scenario?

Show answerHide answer

Correct answer: C

TCP/IP hacking

Explanation

A TCP/IP hijack is an attack that spoofs a server into thinking it’s talking with a sound
client, once actually it’s communication with an assaulter that has condemned (or hijacked)
the tcp session. Assume that the client has administrator-level privileges, which the
attacker needs to steal that authority so as to form a brand new account with root-level
access of the server to be used afterward. A tcp Hijacking is sort of a two-phased man-inthe-
middle attack. The man-in-the-middle assaulter lurks within the circuit between a
shopper and a server so as to work out what port and sequence numbers are being
employed for the conversation.
First, the attacker knocks out the client with an attack, like Ping of Death, or ties it up with
some reasonably ICMP storm. This renders the client unable to transmit any packets to the
server. Then, with the client crashed, the attacker assumes the client’s identity so as to talk
with the server. By this suggests, the attacker gains administrator-level access to the
server.
One of the most effective means of preventing a hijack attack is to want a secret, that’s a
shared secret between the shopper and also the server. looking on the strength of security
desired, the key may be used for random exchanges. this is often once a client and server
periodically challenge each other, or it will occur with each exchange, like Kerberos.

Question 107 Choose 1

Shiela is an information security analyst working at HiTech Security Solutions. She is
performing service version discovery using Nmap to obtain information about the running
services and their versions on a target system.
Which of the following Nmap options must she use to perform service version discovery on
the target host?

Show answerHide answer

Correct answer: C

-sV

Question 108 Choose 1

Which of the following antennas is commonly used in communications for a frequency band
of 10 MHz to VHF and UHF?

Show answerHide answer

Correct answer: A

Yagi antenna

Question 109 Choose 1

You are a penetration tester and are about to perform a scan on a specific server. The
agreement that you signed with the client contains the following specific condition for the
scan: “The attacker must scan every port on the server several times using a set of
spoofed sources IP addresses. ” Suppose that you are using Nmap to perform this scan.
What flag will you use to satisfy this requirement?

Show answerHide answer

Correct answer: D

The -D flag

Explanation

Explanation:
flags –source-port and -g are equivalent and instruct nmap to send packets through a
selected port. this option is used to try to cheat firewalls whitelisting traffic from specific
ports. the following example can scan the target from the port twenty to ports eighty, 22,
21,23 and 25 sending fragmented packets to LinuxHint.

Question 110 Choose 1

Which among the following is the best example of the hacking concept called "clearing
tracks"?

Show answerHide answer

Correct answer: D

During a cyberattack, a hacker corrupts the event logs on all machines.

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