ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 86 - PT0-003 discussion

Report
Export

During a penetration test, a tester attempts to pivot from one Windows 10 system to another Windows system. The penetration tester thinks a local firewall is blocking connections. Which of the following command-line utilities built into Windows is most likely to disable the firewall?

A.
certutil.exe
Answers
A.
certutil.exe
B.
bitsadmin.exe
Answers
B.
bitsadmin.exe
C.
msconfig.exe
Answers
C.
msconfig.exe
D.
netsh.exe
Answers
D.
netsh.exe
Suggested answer: D

Explanation:

Understanding netsh.exe:

Purpose: Configures network settings, including IP addresses, DNS, and firewall settings.

Firewall Management: Can enable, disable, or modify firewall rules.

Disabling the Firewall:

Command: Use netsh.exe to disable the firewall.

netsh advfirewall set allprofiles state off

Usage in Penetration Testing:

Pivoting: Disabling the firewall can help the penetration tester pivot from one system to another by removing network restrictions.

Command Execution: Ensure the command is executed with appropriate privileges.

Reference from Pentesting Literature:

netsh.exe is commonly mentioned in penetration testing guides for configuring network settings and managing firewalls.

HTB write-ups often reference the use of netsh.exe for managing firewall settings during network-based penetration tests.

Penetration Testing - A Hands-on Introduction to Hacking

HTB Official Writeups

asked 02/10/2024
Vipul Ishan
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first