Certified Ethical Hacker (CEH v10) — Question 96

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because performing a ping sweep first allows the attacker to identify which hosts are live before conducting a port scan, making the process more efficient. Option A is incorrect as the order does matter for efficiency. Option B is wrong because it suggests starting with the port scan, which is less efficient. Option D is incorrect as it overlooks the importance of identifying live hosts before scanning for open ports.