.. / netsh.exe

Display or modify the network configuration


Functions:
Type:
Toolsets:

Resources

Network

Show firewall rule

netsh.exe -r W10.ad.bitsadmin.com advfirewall firewall show rule name="Remote Desktop - Shadow (TCP-In)"
Usecases
Mitre Att&ck
T1562.004

Enable firewall rule

netsh.exe -r W10.ad.bitsadmin.com advfirewall firewall set rule name="Remote Desktop - Shadow (TCP-In)" new enable=yes
Usecases
Mitre Att&ck
T1562.004




Updated: 2023-08-25
Contributor: Arris Huijgen (bitsadmin)