Skip to content

Disable Firewalls

lethanhtung01011980 edited this page Apr 7, 2020 · 10 revisions

Goals

  • Already had admin
  • To turn off firewall for further attacks?

Windows

Ref:

Windows 10 / Windows 8/ Windows 7 / Server 2008 /Vista/Server 2012:

  • Turn off for all: netsh advfirewall set allprofiles state off
  • Turn on for all: netsh advfirewall set allprofiles state on
  • In powershell, to turn off PS > Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled False

Older Windows versions – XP / Server 2003:

  • Turn off firewall: netsh firewall set opmode mode=DISABLE
  • Turn on firewall: netsh firewall set opmode mode=ENABLE

Windows 2000

  • Turn off firewall: net stop sharedaccess

Linux

Sidebar

0. COMMON exploits

1. Scan Info

1.2 Passive Gathering

1.3 Active Gathering

2. Pre-attack

2.2 File transfer

3. Get Reverse Shell

4. Exploits

4.2 Windows Exploits

4.3 Linux Exploits

4.4 Password crack

4.5 Buffer Overflow

4.6 Web attacks

6. Escalate Privilege

6.1 Escalate in Windows

6.2 Escalate in Linux

7. Access and further attacks

8. Port redirection and Tunnelling

9. Metasploit

10. Kali

11. Thirdparty scripts

Clone this wiki locally