ECCouncil certification · Exam 312-50v12

312-50v12 Mock Exam Page 7

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

61–70 of 74 free
Question 61 Choose 1

Sam, a web developer, was instructed to incorporate a hybrid encryption software program
into a web application to secure email messages. Sam used an encryption software, which
is a free implementation of the OpenPGP standard that uses both symmetric-key
cryptography and asymmetric-key cryptography for improved speed and secure key
exchange. What is the encryption software employed by Sam for securing the email
messages?

Show answerHide answer

Correct answer: A

PGP

Question 62 Choose 1

ping-* 6 192.168.0.101
Output:
Pinging 192.168.0.101 with 32 bytes of data:
Reply from 192.168.0.101: bytes=32 time<1ms TTL=128
Reply from 192.168.0.101: bytes=32 time<1ms TTL=128
Reply from 192.168.0.101: bytes=32 time<1ms TTL=128
Reply from 192.168.0.101: bytes=32 time<1ms TTL=128
Reply from 192.168.0.101: bytes=32 time<1ms TTL=128
Reply from 192.168.0.101:
Ping statistics for 192.168.0101
Packets: Sent = 6, Received = 6, Lost = 0 (0% loss).
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
What does the option * indicate?

Show answerHide answer

Correct answer: D

n

Question 63 Choose 1

What information security law or standard aims at protecting stakeholders and the general
public from accounting errors and fraudulent activities within organizations?

Show answerHide answer

Correct answer: C

SOX

Question 64 Choose 1

Cross-site request forgery involves:

Show answerHide answer

Correct answer: C

A browser making a request to a server without the user’s knowledge

Explanation

Explanation: https://owasp.org/www-community/attacks/csrf
Cross-Site Request Forgery (CSRF) is an attack that forces an end user to execute
unwanted actions on a web application in which they’re currently authenticated. With a little
help of social engineering (such as sending a link via email or chat), an attacker may trick
the users of a web application into executing actions of the attacker’s choosing. If the victim
is a normal user, a successful CSRF attack can force the user to perform state changing
requests like transferring funds, changing their email address, and so forth. If the victim is
an administrative account, CSRF can compromise the entire web application.
CSRF is an attack that tricks the victim into submitting a malicious request. It inherits
the identity and privileges of the victim to perform an undesired function on the victim’s
behalf. For most sites, browser requests automatically include any credentials associated
with the site, such as the user’s session cookie, IP address, Windows domain credentials,
and so forth. Therefore, if the user is currently authenticated to the site, the site will
have no way to distinguish between the forged request sent by the victim and a
legitimate request sent by the victim.
CSRF attacks target functionality that causes a state change on the server, such as
changing the victim’s email address or password, or purchasing something. Forcing the
victim to retrieve data doesn’t benefit an attacker because the attacker doesn’t receive the
response, the victim does. As such, CSRF attacks target state-changing requests.
It’s sometimes possible to store the CSRF attack on the vulnerable site itself. Such
vulnerabilities are called “stored CSRF flaws”. This can be accomplished by simply storing
an IMG or IFRAME tag in a field that accepts HTML, or by a more complex cross-site
scripting attack. If the attack can store a CSRF attack in the site, the severity of the attack
is amplified. In particular, the likelihood is increased because the victim is more likely to
view the page containing the attack than some random page on the Internet. The likelihood is also increased because the victim is sure to be authenticated to the site already.

Question 65 Choose 1

Elante company has recently hired James as a penetration tester. He was tasked with
performing enumeration on an organization's network. In the process of enumeration,
James discovered a service that is accessible to external sources. This service runs
directly on port 21. What is the service enumerated byjames in the above scenario?

Show answerHide answer

Correct answer: B

File Transfer Protocol (FTP)

Question 66

What is the following command used for?
sqlmap.py-u ,,http://10.10.1.20/?p=1&forumaction=search" -dbs

Show answerHide answer

Correct answer: A

Creating backdoors using SQL injection

Question 67 Choose 1

A computer science student needs to fill some information into a secured Adobe PDF job
application that was received from a prospective employer. Instead of requesting a new
document that allowed the forms to be completed, the student decides to write a script that
pulls passwords from a list of commonly used passwords to try against the secured PDF
until the correct password is found or the list is exhausted.

Which cryptography attack is the student attempting?

Show answerHide answer

Correct answer: C

Dictionary attack

Question 68 Choose 1

Kate dropped her phone and subsequently encountered an issue with the phone's internal
speaker. Thus, she is using the phone's loudspeaker for phone calls and other activities.
Bob, an attacker, takes advantage of this vulnerability and secretly exploits the hardware of
Kate's phone so that he can monitor the loudspeaker's output from data sources such as
voice assistants, multimedia messages, and audio files by using a malicious app to breach
speech privacy. What is the type of attack Bob performed on Kate in the above scenario?

Show answerHide answer

Correct answer: D

Spearphone attack

Question 69 Choose 1

John, a professional hacker, targeted CyberSol Inc., an MNC. He decided to discover the
loT devices connected in the target network that are using default credentials and are
vulnerable to various hijacking attacks. For this purpose, he used an automated tool to
scan the target network for specific types of loT devices and detect whether they are using
the default, factory-set credentials. What is the tool employed by John in the above
scenario?

Show answerHide answer

Correct answer: A

loTSeeker

Question 70

An attacker scans a host with the below command. Which three flags are set?
# nmap -sX host.domain.com

Show answerHide answer

Correct answer: B

This is Xmas scan. URG, PUSH and FIN are set.

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