0% found this document useful (0 votes)
6 views2 pages

Work Ethics and Ethical Hacking Quiz - Answer

The document outlines a midterm exam for a Work Ethics and Ethical Hacking program, focusing on scanning types, objectives, and TCP connection establishment. It includes questions on commands like ping and arping, their benefits, and potential disadvantages. Additionally, it covers the 3-way handshake process and TCP connection flags.

Uploaded by

ziad68442
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Work Ethics and Ethical Hacking Quiz - Answer

The document outlines a midterm exam for a Work Ethics and Ethical Hacking program, focusing on scanning types, objectives, and TCP connection establishment. It includes questions on commands like ping and arping, their benefits, and potential disadvantages. Additionally, it covers the 3-way handshake process and TCP connection flags.

Uploaded by

ziad68442
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Name:

Midterm Exam 2024-2025 (3rd Year)


Work Ethics and Ethical hacking Program

Q1 15 Marks
1. Mention the types of Scanning.

Port Scanning.

Network Scanning

Vulnerability Scanning:

2. What is the objective of the Scanning process?


Identify live hosts on a network.

Discover open ports and services running on those ports.

Determine the operating system and architecture of the target system.

Identify potential vulnerabilities that can be exploited.

3. What is the difference between the two commands (ping & ping swap)?

Ping: Sends an ICMP echo request to a single target IP address to check if it is alive.

Ping Swap: Sends ICMP echo requests to multiple IP addresses in a range simultaneously to
discover live hosts in a network.

4. What is the benefit of this command? Support your answer from the figure below.
Does this command work in the LAN or WAN?

Benefit of the Command:

The arping command is used to send ARP (Address Resolution Protocol) requests to a specific IP address to discover its MAC address.

It is useful for identifying devices within a Local Area Network (LAN) and verifying their presence.

The output shows that the device with IP 192.168.16.70 is active and responding to ARP requests.

Does this command work in the LAN or WAN?

This command works in a LAN (Local Area Network) because ARP is used to resolve IP addresses to MAC addresses within the same network segment.
Name:

5. Briefly explain how to establish the TCP connection (3-way handshaking). Mention
the TCP connection flags.

3-Way Handshake Process:

SYN: The client sends a SYN (Synchronize) packet to the server to initiate a connection.

SYN-ACK: The server responds with a SYN-ACK (Synchronize-Acknowledge) packet to acknowledge the client's request.

ACK: The client sends an ACK (Acknowledge) packet to confirm the connection.

TCP Connection Flags: SYN, ACK, FIN, RST, PSH, URG

6. What is the benefit of this command? Support your answer from the figure below.
Mention the disadvantage of this method.

Benefits of the Command: Discovery of Open Ports, Quick Results, Service Detection

disadvantage of this method

The scan can be detected by intrusion detection systems (IDS) or firewalls, as it sends multiple packets to the target.

7. Mention port open or closed.

open close

open close

You might also like