If an attacker can trick a victim user to click a link like this, and the Web application does not validate input, then the victim's browser will pop up an alert showing the users current set of cookies. An attacker can do much more damage, including stealing passwords, resetting your home page, or redirecting the user to another Web site. What is the countermeasure against XSS scripting?","acceptedAnswer":[{"@type":"Answer","text":"Replace \"<\" and \">\" characters with \"& l t;\" and \"& g t;\" using server scripts","comment":{"@type":"Comment","text":""}}],"suggestedAnswer":[{"@type":"Answer","text":"Create an IP access list and restrict connections based on port number"},{"@type":"Answer","text":"Disable Javascript in IE and Firefox browsers"},{"@type":"Answer","text":"Connect to the server using HTTPS protocol instead of HTTP"}]},{"@type":"Question","eduQuestionType":"Multiple choice","position":28,"text":"BankerFox is a Trojan that is designed to steal users' banking data related to certain banking entities. When they access any website of the affected banks through the vulnerable Firefox 3.5 browser, the Trojan is activated and logs the information entered by the user. All the information entered in that website will be logged by the Trojan and transmitted to the attacker's machine using covert channel. BankerFox does not spread automatically using its own means. It needs an attacking user's intervention in order to reach the affected computer. What is the most efficient way an attacker located in remote location to infect this banking Trojan on a victim's machine?","acceptedAnswer":[{"@type":"Answer","text":"Downloading software from a website? An attacker can offer free software, such as shareware programs and pirated mp3 files","comment":{"@type":"Comment","text":""}}],"suggestedAnswer":[{"@type":"Answer","text":"Physical access - the attacker can simply copy a Trojan horse to a victim's hard disk infecting the machine via Firefox add-on extensions"},{"@type":"Answer","text":"Custom packaging - the attacker can create a custom Trojan horse that mimics the appearance of a program that is unique to that particular computer"},{"@type":"Answer","text":"Custom packaging - the attacker can create a custom Trojan horse that mimics the appearance of a program that is unique to that particular computer"},{"@type":"Answer","text":"Custom packaging - the attacker can create a custom Trojan horse that mimics the appearance of a program that is unique to that particular computer"}]},{"@type":"Question","eduQuestionType":"Multiple choice","position":29,"text":"SNMP is a connectionless protocol that uses UDP instead of TCP packets (True or False)","acceptedAnswer":[{"@type":"Answer","text":"true","comment":{"@type":"Comment","text":""}}],"suggestedAnswer":[{"@type":"Answer","text":"false"}]},{"@type":"Question","eduQuestionType":"Multiple choice","position":30,"text":"A common technique for luring e-mail users into opening virus-launching attachments is to send messages that would appear to be relevant or important to many of their potential recipients. One way of accomplishing this feat is to make the virus-carrying messages appear to come from some type of business entity retailing sites, UPS, FEDEX, CITIBANK or a major provider of a common service. Here is a fraudulent e-mail claiming to be from FedEx regarding a package that could not be delivered. This mail asks the receiver to open an attachment in order to obtain the FEDEX tracking number for picking up the package. The attachment contained in this type of e-mail activates a virus. Vendors send e-mails like this to their customers advising them not to open any files attached with the mail, as they do not include attachments. Fraudulent e-mail and legit e-mail that arrives in your inbox contain the fedex.com as the sender of the mail. How do you ensure if the e-mail is authentic and sent from fedex.com?","acceptedAnswer":[{"@type":"Answer","text":"Verify the digital signature attached with the mail, the fake mail will not have Digital ID at all","comment":{"@type":"Comment","text":""}}],"suggestedAnswer":[{"@type":"Answer","text":"Check the Sender ID against the National Spam Database (NSD)"},{"@type":"Answer","text":"Fake mail will have spelling/grammatical errors"},{"@type":"Answer","text":"Fake mail uses extensive images, animation and flash content"}]}]}]}
ECCouncil certification · Exam EC0-350

EC0-350 Mock Exam Page 3

Ethical Hacking and Countermeasures V8

Free EC0-350 mock exam questions 21–30, each with the answer and an explanation.

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

Free EC0-350 questions

21–30 of 261 free
Question 21 Choose 1

In TCP communications there are 8 flags; FIN, SYN, RST, PSH, ACK, URG, ECE, CWR.
These flags have decimal numbers assigned to them:

FIN = 1
SYN = 2
RST = 4
PSH = 8
ACK = 16
URG = 32
ECE = 64
CWR = 128
Jason is the security administrator of ASPEN Communications. He analyzes some traffic
using Wireshark and has enabled the following filters.

What is Jason trying to accomplish here?

Show answerHide answer

Correct answer: B

SYN, SYN/ACK, ACK

Question 22 Choose 4

How do you defend against Privilege Escalation?

Show answerHide answer

Correct answer: A, B, C, E

Use encryption to protect sensitive data

Restrict the interactive logon privileges

Run services as unprivileged accounts

Run users and applications on the least privileges

Question 23 Choose 1

How would you describe an attack where an attacker attempts to deliver the payload over
multiple packets over long periods of time with the purpose of defeating simple pattern
matching in IDS systems without session reconstruction? A characteristic of this attack
would be a continuous stream of small packets.

Show answerHide answer

Correct answer: C

Session Splicing

Question 24 Choose 1

Maintaining a secure Web server requires constant effort, resources, and vigilance from an

organization. Securely administering a Web server on a daily basis is an essential aspect

of Web server security.

Maintaining the security of a Web server will usually involve the following steps:

1. Configuring, protecting, and analyzing log files

2. Backing up critical information frequently

3. Maintaining a protected authoritative copy of the organization's Web content

4. Establishing and following procedures for recovering from compromise

5. Testing and applying patches in a timely manner

6. Testing security periodically.

In which step would you engage a forensic investigator?

Show answerHide answer

Correct answer: D

4

Question 25 Choose 2

Which of the following statement correctly defines ICMP Flood Attack? (Select 2 answers)

Show answerHide answer

Correct answer: B, D

The ICMP packets signal the victim system to reply and the combination of traffic
saturates the bandwidth of the victim's network

A DDoS ICMP flood attack occurs when the zombies send large volumes of
ICMP_ECHO_REPLY packets to the victim system.

Question 26 Choose 2

Most cases of insider abuse can be traced to individuals who are introverted, incapable of
dealing with stress or conflict, and frustrated with their job, office politics, and lack of
respect or promotion. Disgruntled employees may pass company secrets and intellectual
property to competitors for monitory benefits. 
Here are some of the symptoms of a disgruntled employee:
a. Frequently leaves work early, arrive late or call in sick
b. Spends time surfing the Internet or on the phone
c. Responds in a confrontational, angry, or overly aggressive way to simple requests or
comments
d. Always negative; finds fault with everything
These disgruntled employees are the biggest threat to enterprise security. How do you deal
with these threats? (Select 2 answers)

Show answerHide answer

Correct answer: B, C

By implementing Virtualization technology from the desktop to the data centre,
organizations can isolate different environments with varying levels of access and security
to various employees

Organizations must ensure that their corporate data is centrally managed and delivered
to users just and when needed

Question 27 Choose 1

Consider the following code:
URL:http://www.certified.com/search.pl?
text=<script>alert(document.cookie)</script>
If an attacker can trick a victim user to click a link like this, and the Web application does
not validate input, then the victim's browser will pop up an alert showing the users current
set of cookies. An attacker can do much more damage, including stealing passwords,
resetting your home page, or redirecting the user to another Web site.
What is the countermeasure against XSS scripting?

Show answerHide answer

Correct answer: B

Replace "<" and ">" characters with "& l t;" and "& g t;" using server scripts

Question 28 Choose 1

BankerFox is a Trojan that is designed to steal users' banking data related to certain
banking entities.
When they access any website of the affected banks through the vulnerable Firefox 3.5
browser, the Trojan is activated and logs the information entered by the user. All the
information entered in that website will be logged by the Trojan and transmitted to the
attacker's machine using covert channel.
BankerFox does not spread automatically using its own means. It needs an attacking
user's intervention in order to reach the affected computer.

What is the most efficient way an attacker located in remote location to infect this banking
Trojan on a victim's machine?

Show answerHide answer

Correct answer: E

Downloading software from a website? An attacker can offer free software, such as
shareware programs and pirated mp3 files

Question 29 Choose 1

SNMP is a connectionless protocol that uses UDP instead of TCP packets (True or False)

Show answerHide answer

Correct answer: A

true

Question 30 Choose 1

A common technique for luring e-mail users into opening virus-launching attachments is to
send messages that would appear to be relevant or important to many of their potential
recipients. One way of accomplishing this feat is to make the virus-carrying messages
appear to come from some type of business entity retailing sites, UPS, FEDEX, CITIBANK
or a major provider of a common service.
Here is a fraudulent e-mail claiming to be from FedEx regarding a package that could not
be delivered. This mail asks the receiver to open an attachment in order to obtain the
FEDEX tracking number for picking up the package. The attachment contained in this type
of e-mail activates a virus.

Vendors send e-mails like this to their customers advising them not to open any files
attached with the mail, as they do not include attachments.
Fraudulent e-mail and legit e-mail that arrives in your inbox contain the fedex.com as the
sender of the mail.
How do you ensure if the e-mail is authentic and sent from fedex.com?

Show answerHide answer

Correct answer: A

Verify the digital signature attached with the mail, the fake mail will not have Digital ID at
all

Full mock exam

Sit the EC0-350 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real EC0-350 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full EC0-350 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 873questions in the bank
  • Newmock on every attempt