ECCouncil certification · Exam 312-50v12

312-50v12 Mock Exam Page 6

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

51–60 of 74 free
Question 51 Choose 1

A group of hackers were roaming around a bank office building in a city, driving a luxury
car. They were using hacking tools on their laptop with the intention to find a free-access
wireless network. What is this hacking process known as?

Show answerHide answer

Correct answer: C

Wardriving

Question 52 Choose 1

Which of the following options represents a conceptual characteristic of an anomaly-based
IDS over a signature-based IDS?

Show answerHide answer

Correct answer: B

Can identify unknown attacks

Explanation

Explanation: An anomaly-based intrusion detection system is an intrusion detection
system for detecting both network and computer intrusions and misuse by monitoring
system activity and classifying it as either normal or anomalous. The classification is based
on heuristics or rules, rather than patterns or signatures, and attempts to detect any type of
misuse that falls out of normal system operation. This is as opposed to signature-based
systems, which can only detect attacks for which a signature has previously been created.
In order to positively identify attack traffic, the system must be taught to recognize normal
system activity. The two phases of a majority of anomaly detection systems consist of the
training phase (where a profile of normal behaviors is built) and the testing phase (where
current traffic is compared with the profile created in the training phase). Anomalies are
detected in several ways, most often with artificial intelligence type techniques. Systems
using artificial neural networks have been used to great effect. Another method is to define
what normal usage of the system comprises using a strict mathematical model, and flag
any deviation from this as an attack. This is known as strict anomaly detection.[3] Other
techniques used to detect anomalies include data mining methods, grammar-based
methods, and the Artificial Immune System.
Network-based anomalous intrusion detection systems often provide a second line of
defense to detect anomalous traffic at the physical and network layers after it has passed
through a firewall or other security appliance on the border of a network. Host-based
anomalous intrusion detection systems are one of the last layers of defense and reside on
computer endpoints. They allow for fine-tuned, granular protection of endpoints at the
application level.
Anomaly-based Intrusion Detection at both the network and host levels have a few
shortcomings; namely a high false-positive rate and the ability to be fooled by a correctly
delivered attack. Attempts have been made to address these issues through techniques
used by PAYL and MCPAD.

Question 53 Choose 1

Tony wants to integrate a 128-bit symmetric block cipher with key sizes of 128,192, or 256
bits into a software program, which involves 32 rounds of computational operations that
include substitution and permutation operations on four 32-bit word blocks using 8-variable S-boxes with 4-bit entry and 4-bit exit. Which of the following algorithms includes all the
above features and can be integrated by Tony into the software program?

Show answerHide answer

Correct answer: D

serpent

Question 54 Choose 1

Jude, a pen tester, examined a network from a hacker's perspective to identify exploits and
vulnerabilities accessible to the outside world by using devices such as firewalls, routers,
and servers. In this process, he also estimated the threat of network security attacks and
determined the level of security of the corporate network.
What is the type of vulnerability assessment that Jude performed on the organization?

Show answerHide answer

Correct answer: A

External assessment

Question 55 Choose 1

John, a professional hacker, decided to use DNS to perform data exfiltration on a target
network, in this process, he embedded malicious data into the DNS protocol packets that
even DNSSEC cannot detect. Using this technique. John successfully injected malware to
bypass a firewall and maintained communication with the victim machine and C&C server.
What is the technique employed by John to bypass the firewall?

Show answerHide answer

Correct answer: C

DNS tunneling method

Explanation

Explanation:
DNS tunneling may be a method wont to send data over the DNS protocol, a protocol which has never been intended for data transfer. due to that, people tend to overlook it and
it’s become a well-liked but effective tool in many attacks.Most popular use case for DNS
tunneling is obtaining free internet through bypassing captive portals at airports, hotels, or if
you are feeling patient the not-so-cheap on the wing Wi-Fi.On those shared internet
hotspots HTTP traffic is blocked until a username/password is provided, however DNS
traffic is usually still allowed within the background: we will encode our HTTP traffic over
DNS and voilà, we’ve internet access.This sounds fun but reality is, browsing anything on
DNS tunneling is slow. Like, back to 1998 slow.Another more dangerous use of DNS
tunneling would be bypassing network security devices (Firewalls, DLP appliances…) to
line up an immediate and unmonitored communications channel on an organisation’s
network. Possibilities here are endless: Data exfiltration, fixing another penetration testing
tool… you name it.To make it even more worrying, there’s an outsized amount of easy to
use DNS tunneling tools out there.There’s even a minimum of one VPN over DNS protocol
provider (warning: the planning of the web site is hideous, making me doubt on the
legitimacy of it).As a pentester all this is often great, as a network admin not such a lot .
How does it work:For those that ignoramus about DNS protocol but still made it here, i feel
you deserve a really brief explanation on what DNS does: DNS is sort of a phonebook for
the web , it translates URLs (human-friendly language, the person’s name), into an IP
address (machine-friendly language, the phone number). That helps us remember many
websites, same as we will remember many people’s names.For those that know what DNS
is i might suggest looking here for a fast refresh on DNS protocol, but briefly what you
would like to understand is:• A Record: Maps a website name to an IP
address.example.com ? 12.34.52.67• NS Record (a.k.a. Nameserver record): Maps a
website name to an inventory of DNS servers, just in case our website is hosted in multiple
servers.example.com ? server1.example.com, server2.example.comWho is involved in
DNS tunneling?• Client. Will launch DNS requests with data in them to a website .• One
Domain that we will configure. So DNS servers will redirect its requests to an outlined
server of our own.• Server. this is often the defined nameserver which can ultimately
receive the DNS requests.The 6 Steps in DNS tunneling (simplified):1. The client encodes
data during a DNS request. The way it does this is often by prepending a bit of knowledge
within the domain of the request. for instance : mypieceofdata.server1.example.com2. The
DNS request goes bent a DNS server.3. The DNS server finds out the A register of your
domain with the IP address of your server.4. The request for
mypieceofdata.server1.example.com is forwarded to the server.5. The server processes
regardless of the mypieceofdata was alleged to do. Let’s assume it had been an HTTP
request.6. The server replies back over DNS and woop woop, we’ve got signal.
Bypassing Firewalls through the DNS Tunneling Method DNS operates using UDP, and it
has a 255-byte limit on outbound queries. Moreover, it allows only alphanumeric charactersand hyphens. Such small size constraints on external queries allow DNS to be used as an
ideal choice to perform data exfiltration by various malicious entities. Since corrupt or
malicious data can be secretly embedded into the DNS protocol packets, even DNSSEC
cannot detect the abnormality in DNS tunneling. It is effectively used by malware to bypass
the firewall to maintain communication between the victim machine and the C&C server.
Tools such as NSTX (https://sourceforge.net), Heyoka (http://heyoka.sourceforge.netuse),
and Iodine (https://code.kryo.se) use this technique of tunneling traffic across DNS port 53.
CEH v11 Module 12 Page 994

Question 56 Choose 1

Alex, a cloud security engineer working in Eyecloud Inc. is tasked with isolating
applications from the underlying infrastructure and stimulating communication via welldefined
channels. For this purpose, he used an open-source technology that helped him in
developing, packaging, and running applications; further, the technology provides PaaS
through OS-level visualization, delivers containerized software packages, and promotes
fast software delivery. What is the cloud technology employed by Alex in the above
scenario?

Show answerHide answer

Correct answer: C

Docker

Question 57 Choose 1

Sam is a penetration tester hired by Inception Tech, a security organization. He was asked
to perform port scanning on a target host in the network. While performing the given task,
Sam sends FIN/ACK probes and determines that an RST packet is sent in response by the
target host, indicating that the port is closed.
What is the port scanning technique used by Sam to discover open ports?

Show answerHide answer

Correct answer: C

TCP Maimon scan

Explanation

Explanation: TCP Maimon scan
This scan technique is very similar to NULL, FIN, and Xmas scan, but the probe used
here is
FIN/ACK. In most cases, to determine if the port is open or closed, the RST packet
should be generated as a response to a probe request. However, in many BSD
systems, the port is open if the packet gets dropped in response to a probe.
https://nmap.org/book/scan-methods-maimon-scan.html
How Nmap interprets responses to a Maimon scan probe
Probe Response Assigned State
No response received (even after retransmissions) open|filtered
TCP RST packet closed
ICMP unreachable error (type 3, code 1, 2, 3, 9, 10, or 13) filtered

Question 58 Choose 1

Which of these is capable of searching for and locating rogue access points?

Show answerHide answer

Correct answer: C

WIPS

Explanation

Explanation:
A Wireless Intrusion Prevention System (WIPS) is a network device that monitors the radio
spectrum for the presence of unauthorized access points (intrusion detection), and can
automatically take countermeasures (intrusion prevention).

Question 59 Choose 1

Which rootkit is characterized by its function of adding code and/or replacing some of the
operating-system kernel code to obscure a backdoor on a system?

Show answerHide answer

Correct answer: C

Kernel-level rootkit

Question 60 Choose 1

Bob wants to ensure that Alice can check whether his message has been tampered with.
He creates a checksum of the message and encrypts it using asymmetric cryptography.
What key does Bob use to encrypt the checksum for accomplishing this goal?

Show answerHide answer

Correct answer: B

Alice's public key

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