This is an attack that takes advantage of a web site vulnerability in which the site displays content that includes un-sanitized user-provided data.


<ahref=”http://foobar.com/index.html?id=%3Cscript%20src=%22http://baddomain.com/badscript.js %22%3E%3C/script%3E”>See foobar</a>


What is this attack?


A.     Cross-site-scripting attack

B.     SQL Injection

C.     URL Traversal attack

D.     Buffer Overflow attack


Correct Answer: A




Buffer X in an Accounting application module for Brownies Inc. can contain 200 characters. The programmer makes an assumption that 200 characters are more than enough. Because there were no proper boundary checks being conducted, Bob decided to insert 400 characters into the 200-character buffer. (Overflows the buffer). Below is the code snippet:




How can you protect/fix the problem of your application as shown above?


A.     Because the counter starts with 0, we would stop when the counter is less than 200.

B.     Because the counter starts with 0, we would stop when the counter is more than 200.

C.     Add a separate statement to signify that if we have written less than 200 characters to the buffer, the stack should stop because it cannot hold any more data.

D.     Add a separate statement to signify that if we have written 200 characters to the buffer, the stack should stop because it cannot hold any more data.


Correct Answer: AD




Which of the following encryption is NOT based on block cipher?


A.     DES

B.     Blowfish

C.     AES (Rijndael)

D.     RC4


Correct Answer: D




Michael is a junior security analyst working for the National Security Agency (NSA) working primarily on breaking terrorist encrypted messages. The NSA has a number of methods they use to decipher encrypted messages including Government Access to Keys (GAK) and inside informants. The NSA holds secret backdoor keys too many of the encryption algorithms used on the Internet. The problem for the NSA, and Michael, is that terrorist organizations are starting to use custom-built algorithms or obscure algorithms purchased from corrupt governments. For this reason, Michael and other security analysts like him have been forced to find different methods of deciphering terrorist messages. One method that Michael thought of using was to hide malicious code inside seemingly harmless programs. Michael first monitors sites and bulletin boards used by known terrorists, and then he is able to glean email addresses to some of these suspected terrorists. Michael then inserts a stealth keylogger into a mapping program file readme.txt and then sends that as an attachment to the terrorist. This keylogger takes screenshots every 2 minutes and also logs all keyboard activity into a hidden file on the terrorist’s computer. Then, the keylogger emails those files to Michael twice a day with a built in SMTP server. What technique has Michael used to disguise this keylogging software?


A.     Steganography

B.     Wrapping

C.     ADS

D.     Hidden Channels


Correct Answer: C




In which step Steganography fits in CEH System Hacking Cycle (SHC)


A.     Step 2: Crack the password

B.     Step 1: Enumerate users

C.     Step 3: Escalate privileges

D.     Step 4: Execute applications

E.      Step 5: Hide files

F.      Step 6: Cover your tracks


Correct Answer: E




Which definition below best describes a covert channel?


A.     A server program using a port that is not well known.

B.     Making use of a protocol in a way it was not intended to be used.

C.     It is the multiplexing taking place on a communication link.

D.     It is one of the weak channels used by WEP that makes it insecure.


Correct Answer: B




Joseph has just been hired on to a contractor company of the Department of Defense as their Senior Security Analyst. Joseph has been instructed on the company’s strict security policies that have been implemented, and the policies that have yet to be put in place. Per the Department of

Defense, all DoD users and the users of their contractors must use two-factor authentication to access their networks. Joseph has been delegated the task of researching and implementing the best two-factor authentication method for his company. Joseph’s supervisor has told him that they would like to use some type of hardware device in tandem with a security or identifying pin number. Joseph’s company has already researched using smart cards and all the resources needed to implement them, but found the smart cards to not be cost effective. What type of device should Joseph use for two-factor authentication?


A.     Biometric device

B.     OTP

C.     Proximity cards

D.     Security token


Correct Answer: D




What type of attack is shown here?




A.     Bandwidth exhaust Attack

B.     Denial of Service Attack

C.     Cluster Service Attack

D.     Distributed Denial of Service Attack


Correct Answer: D











What is the correct order of steps in CEH System Hacking Cycle?











Correct Answer: A




Identify SQL injection attack from the HTTP requests shown below:


A.       http://www.myserver.c0m/search.asp?


B.       http://www.myserver.c0m/script.php?mydata=%3cscript%20src=%22

C.       http%3a%2f%2fwww.yourserver.c0m%2fbadscript.js%22%3e%3c%2fscript%3e

D.       http://www.victim.com/example accountnumber=67891&creditamount=999999999


Correct Answer: A


Free VCE & PDF File for ECCouncil 312-50 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

Comments are closed.