wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CEH - 11/12 Practice - Part 2

Total questions: 51

Worksheet time: 51mins

Name
Class
Date
1.

Which of the following is considered as one of the most reliable forms of TCP scanning?

a)

Half-open Scan

b)

NULL Scan

c)

TCP Connect/Full Open Scan

d)

Xmas Scan

2.

Which of the following scanning method splits the TCP header into several packets and makes it difficult for packet filters to detect the purpose of the packet?

a)

SYN/FIN scanning using IP fragments

b)

IPID scanning

c)

ACK flag probe scanning

d)

ICMP Echo scanning

3.

What would you enter, if you wanted to perform a stealth scan using Nmap?

a)

nmap -sU

b)

nmap -sT

c)

nmap -sS

d)

nmap -sM

4.

You are doing an internal security audit and intend to find out what ports are open on all the servers. What is the best way to find out?

a)

Physically go to each server

b)

Scan servers with Nmap

c)

Scan servers with MBSA

d)

Telnet to every port on each server

5.

If a tester is attempting to ping a target that exists but receives no response or a response that states the destination is unreachable, ICMP may be disabled and the network may be using TCP. Which tool could the tester use to get a response from a host using TCP?

a)

Broadcast ping

b)

TCP ping

c)

Traceroute

d)

Hping

6.

The following is part of a log file taken from the machine on the network with the IP address of 192.168.0.110: What type of activity has been logged?

a)

Port scan targeting 192.168.0.105

b)

Port scan targeting 192.168.0.110

c)

Denial of service attack targeting 192.168.0.105

d)

Teardrop attack targeting 192.168.0.110

7.

You are attempting to run an Nmap port scan on a web server. Which of the following commands would result in a scan of common ports with the least amount of noise in order to evade IDS?

a)

nmap -sP -p-65535-T5

b)

nmap -A --host-timeout 99-T1

c)

nmap -sT -O -T0

d)

nmap -A - Pn

8.

Which of the following will perform an Xmas scan using NMAP?

a)

nmap -sA 192.168.1.254

b)

nmap -sV 192.168.1.254

c)

nmap -sX 192.168.1.254

d)

nmap -sP 192.168.1.254

9.

Which is the first step followed by Vulnerability Scanners for scanning a network?

a)

Firewall detection

b)

TCP/UDP Port scanning

c)

OS Detection

d)

Checking if the remote host is alive

10.

You are a Penetration Tester and are assigned to scan a server. You need to use a scanning technique wherein the TCP Header is split into many packets so that it becomes difficult to detect what the packets are meant for. Which of the below scanning technique will you use?

a)

Inverse TCP flag scanning

b)

TCP Scanning

c)

ACK flag scanning

d)

IP Fragment Scanning

11.

You perform a scan of your company's network and discover that TCP port 123 is open. What services by default run on TCP port 123?

a)

DNS

b)

Network Time Protocol

c)

Telnet

d)

POP3

12.

You have successfully compromised a server having an IP address of 10.10.0.5. You would like to enumerate all machines in the same network quickly. What is the best nmap command you will use?

a)

nmap -T4 -q 10.10.0.0/24

b)

nmap -T4 -r 10.10.1.0/24

c)

nmap -T4 -F 10.10.0.0/24

d)

nmap -T4 -O 10.10.0.0/24

13.

Which Nmap option would you use if you were not concerned about being detected and wanted to perform a very fast scan?

a)

-T0

b)

-O

c)

-T5

d)

-A

14.

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

a)

This is Xmas scan. SYN and ACK flags are set

b)

This is ACK scan. ACK flag is set

c)

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

d)

This is SYN scan. SYN flag is set

15.

If you want only to scan fewer ports than the default scan using Nmap tool, which option would you use?

a)

-P

b)

-F

c)

-r

d)

-sP

16.

You are the Network Admin, and you get a complaint that some of the websites are no longer accessible. You try to ping the servers and find them to be reachable. Then you type the IP address and then you try the browser, and find it to be accessible. But they are not accessible when you try using the URL. What may be the problem?

a)

Traffic is Blocked on TCP Port 54

b)

Traffic is Blocked on UDP Port 53

c)

Traffic is Blocked on TCP Port 80

d)

Traffic is Blocked on UDP Port 80

17.

Identify the UDP port that Network Time Protocol (NTP) uses as its primary means of communication?

a)

123

b)

69

c)

161

d)

113

18.

What does the option star symbol indicate in the following picture?

a)

n

b)

s

c)

t

d)

a

19.

You want to do an ICMP scan on a remote computer using hping2. What is the proper syntax?

a)

hping2-i host.domain.com

b)

hping2 -set-ICMP host.domain.com

c)

hping2 -1 host.domain.com

d)

hping2 host.domain.com

20.

What is the way to decide how a packet will move from an untrusted outside host to a protected inside that is behind a firewall, which permits the hacker to determine which ports are open and if the packets can pass through the packet-filtering of the firewall?

a)

Man-in-the middle attack

b)

Network sniffing

c)

Firewalking

d)

Session hijacking

21.

What type of OS fingerprinting technique sends specially crafted packets to the remote OS and analyzes the received response?

a)

Passive

b)

Distributive

c)

Active

d)

Reflective

22.

Firewalk has just completed the second phase (the scanning phase) and a technician receives the output shown below. What conclusions can be drawn based on these scan results?

TCP port 21 - no response

TCP port 22 - no response

TCP port 23 - Time-to-live exceeded

a)

The scan on port 23 passed through the filtering device. This indicates that port 23 was not blocked at the firewall.

b)

The lack of response from ports 21 and 22 indicate that those services are not running on the destination server.

c)

The firewall itself is blocking ports 21 through 23 and a service is listening on port 23 of the target host.

d)

The scan on port 23 was able to make a connection to the destination host prompting the firewall to respond with a TTL error.

23.

A penetration tester is conducting a port scan on a specific host. The tester found several ports opened that were confusing in concluding the Operating System (OS) version installed. Considering the NMAP result below, which of the following is likely to be installed on the target machine by the OS?

Starting NMAP 5.21 at 20011-03-15 11:06

NMAP scan report for 172.16.40.65

Host ip up (1.00s latency).

Not shown: 993 closed ports PORT STATE SERVICE

21/tcp open ftp

23/tcp open telnet

80/tcp open http

139/tcp open netbios-ssn

515/tcp open

631/tcp open ipp

9100/tcp open

MAC Address: 00:00:48:0D:EE:8

a)

The host is likely a printer.

b)

The host is likely a Linux machine.

c)

The host is likely a router.

d)

The host is likely a Windows machine.

24.

You are an Ethical Hacker who is auditing the ABC company. When you verify the NOC one of the machines has 2 connections, one wired and the other wireless. When you verify the configuration of this Windows system you find two static routes.route add 10.0.0.0 mask 255.0.0.0 10.0.0.1 route add 0.0.0.0 mask 255.0.0.0 199.168.0.1 What is the main purpose of those static routes? 

a)

The first static route indicates that the internal addresses are using the internal gateway and the second static route indicates that all the traffic that is not internal must go to an external gateway.

b)

The first static route indicates that the internal traffic will use an external gateway and the second static route indicates that the traffic will be rerouted.

c)

Both static routes indicate that the traffic is internal with different gateway.

d)

Both static routes indicate that the traffic is external with different gateway.

25.

An attacker is using nmap to do a ping sweep and a port scanning in a subnet of 254 addresses. In which order should he perform these steps?

a)

The port scan alone is adequate. This way he saves time.

b)

First the port scan to identify interesting services and then the ping sweep to find hosts responding to icmp echo requests.

c)

The sequence does not matter. Both steps have to be performed against all hosts.

d)

First the ping sweep to identify live hosts and then the port scan on the live hosts. This way he saves time.

26.

Which of the following Nmap commands will produce the following output?

Starting Nmap 7.80 ( https://nmap.org ) at 2022-04-08 09:31 EDT

Nmap scan report for 192.168.1.1 Host is up (0.00030s latency).

Not shown: 65534 open|filtered ports, 65529 filtered ports

PORT STATE SERVICE

22/tcp open ssh

443/tcp open https

444/tcp open snpp

3154/tcp open ccmrmi

a)

nmap -sT -sX -Pn -p 1-65535 192.168.1.1

b)

nmap -sS -sU -Pn -p 1-65535 192.168.1.1

c)

nmap -sN -Ps -T4 192.168.1.1

d)

nmap -sS -Pn 192.168.1.1

27.

As an Ethical Hacker you are capturing traffic from your customer network with Wireshark and you need to find and verify just SMTP traffic. What command in Wireshark will help you to find this kind of traffic?

a)

request smtp 25

b)

tcp.contains port 25

c)

tcp.port eq 25

d)

smtp port

28.

You have successfully compromised a machine on the network and found a server that is alive on the same network. You tried to ping it but you didn't get any response back. What is happening?

a)

You need to run the ping command with root privileges.

b)

The ARP is disabled on the target server.

c)

TCP/IP doesn't support ICMP.

d)

ICMP could be disabled on the target server.

29.

The following is part of a log file taken from the machine on the network with the IP address of 192.168.1.106: What type of activity has been logged?

a)

Port scan targeting 192.168.1.106

b)

Denial of service attack targeting 192.168.1.103

c)

Port scan targeting 192.168.1.103

d)

Teardrop attack targeting 192.168.1.106

30.

The network in ABC company is using the network address 192.168.1.64 with mask 255.255.255.192. In the network the servers are in the addresses 192.168.1.122, 192.168.1.123 and 192.168.1.124. An attacker is trying to find those servers but he cannot see them in his scanning. The command he is using is: nmap 192.168.1.64/28 Why he cannot see the servers?

a)

He needs to add the command ""ip address"" just before the IP address.

b)

He is scanning from 192.168.1.64 to 192.168.1.78 because of the mask /28 and the servers are not in that range.

c)

The network must be down and the nmap command and IP address are ok

d)

He needs to change the address to 192.168.1.0 with the same mask

31.

Emily uses nmap to scan two hosts using this command:
nmap -sS -T4 -O 192.168.99.1 192.168.99.7
He receives this output (912.jpg):
What is his conclusion?

a)

He performed a SYN scan and OS scan on hosts 192.168.99.1 and 192.168.99.7

b)

Host 192.168.99.1 is the host that he launched the scan from.

c)

Host 192.168.99.7 is an iPad.

d)

Host 192.168.99.7 is down.

32.

Port scanning can be used as part of a technical assessment to determine network vulnerabilities. The TCP XMAS scan is used to identify listening ports on the targeted system. If a scanned port is open, what happens?

a)

The port will send a SYN.

b)

The port will send an ACK.

c)

The port will send an RST.

d)

The port will ignore the packets.

33.

Trinity needs to scan all hosts on a /16 network for TCP port 445 only. What is the fastest way she can accomplish this with Nmap? Stealth is not a concern.

a)

nmap -s 445 -sU -T5 10.1.0.0/16

b)

nmap -p 445 -n -T4 -open 10.1.0.0/16

c)

nmap -p 445 -max -Pn 10.1.0.0/16

d)

nmap -sn -sF 10.1.0.0/16 445

34.

To maintain compliance with regulatory requirements, a security audit of the systems on a network must be performed to determine their compliance with security policies. Which one of the following tools would most likely be used in such an audit?

a)

Vulnerability scanner

b)

Protocol analyzer

c)

Port scanner

d)

Intrusion Detection System

35.

Gavin owns a white-hat firm and is performing a website security audit for one of his clients. He begins by running a scan which looks for common misconfigurations and outdated software versions. Which of the following tools is he most likely using?

a)

Nikto

b)

Armitage

c)

Metasploit

d)

Nmap

36.

NMAP -sn 192.168.11.200-215 The NMAP command above performs which of the following?

a)

A. A ping scan

b)

B. A trace sweep

c)

C. A port scan

d)

D. An operating system detect

37.

You have successfully gained access to your client's internal network and successfully comprised a Linux server which is part of the internal IP network. You want to know which Microsoft Windows workstations have file sharing enabled. Which port would you see listening on these Windows machines in the network?

a)

161

b)

3389

c)

445

d)

1433

38.

The tools which receive event logs from servers, network equipment, and applications, and perform analysis and correlation on those logs, and can generate
alarms for security relevant issues, are known as what?

a)

Security Incident and Event Monitoring

b)

Vulnerability Scanner

c)

Intrusion Prevention Server

d)

Network Sniffer

39.

What does the -oX flag do in an Nmap scan?

a)

Output the results in XML format to a file

b)

Perform an eXpress scan

c)

Output the results in truncated format to the screen

d)

Perform an Xmas scan

40.

During an Xmas scan, what indicates a port is closed?

a)

SYN

b)

ACK

c)

No return response

d)

RST

41.

While scanning with Nmap, Patin found several hosts which have the IP ID of incremental sequences. He then decided to conduct:

nmap -Pn -p -sI kiosk.adobe.com www.riaa.com

kiosk.adobe.com is the host with incremental IP ID sequence. What is the purpose of using "-sI" with Nmap?

a)

Conduct IDLE scan

b)

Conduct silent scan

c)

Conduct stealth scan

d)

Conduct ICMP scan

42.

Your company was hired by a small healthcare provider to perform a technician assessment on the network. What is the best approach for discovering vulnerabilities on a Windows-based computer?

a)

Create a disk image of a clean Windows installation

b)

Check MITRE.org for the latest of CVE findings

c)

Use the built-in Windows Update tool

d)

Use a scan tool like Nessus

43.

Which of the following is a command line packet analyzer similar to GUI-based Wireshark?

a)

Ethereal

b)

Tcpdump

c)

Nessus

d)

Jack the ripper

44.

If you want to only scan fewer ports than the default scan using Nmap tool, which option would you use?

a)

-r

b)

-P

c)

-F

d)

-sP

45.

Which of the following tools can be used for passive OS fingerprinting?

a)

tracert

b)

ping

c)

tcpdump

d)

nmap

46.

Which of the following tools is used to analyze the files produced by several packet-capture programs such as tcpdump, WinDump, Wireshark, and EtherPeek?

a)

Nessus

b)

tcptraceroute

c)

OpenVAS

d)

Tcptrace

47.

Which of the following TCP communication flags confirms the receipt of a transmission and identifies the next expected sequence number?

a)

RST flag

b)

FIN flag

c)

SYN flag

d)

ACK flag

48.

Which of the following ping methods is effective in identifying active hosts similar to the ICMP timestamp ping, specifically when the administrator blocks the conventional ICMP ECHO ping?

a)

ICMP ECHO ping sweep

b)

ICMP address mask ping scan

c)

UDP ping scan

d)

ICMP ECHO ping scan

49.

Which of the following IDS/firewall evasion techniques is used by an attacker to bypass Internet censors and evade certain IDS and firewall rules?

a)

Anonymizers

b)

Sending bad checksums

c)

Source port manipulation

50.

Which of the following port number is used to exploit vulnerabilities within DNS servers to launch attacks?

a)

TCP/UDP 135

b)

UDP 137

c)

TCP/UDP 53

d)

TCP 139

51.

Which of the following NTP commands determines where the NTP server obtains the time from and follows the chain of NTP servers back to its primary time source?

a)

ntpdc

b)

ntpdate

c)

ntpq

d)

ntptrace