Certified Ethical Hacker (CEH) — Question 66
A pentester gains access to a Windows application server and needs to determine the settings of the built-in Windows firewall. Which command would be used?
Answer options
- A. Netsh firewall show config
- B. WMIC firewall show config
- C. Net firewall show config
- D. Ipconfig firewall show config
Correct answer: A
Explanation
The correct command is 'Netsh firewall show config', as 'netsh' is the command-line utility for configuring and monitoring Windows network settings, including the firewall. The other options either reference incorrect commands or use tools that do not provide firewall configuration details.