Top Banner
A walk through Windows Firewall & Netsh commands Rhydham Joshi M.S. in Software Engineering, San Jose State University Phone : (+1) 408-987-1991 | Email : [email protected] Blog : malwareforensics1.blogspot.com | Linkedin : www.linkedin.com/in/rhydhamjoshi
25
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A walk through Windows firewall and Netsh commands

A walk through Windows Firewall & Netsh commands

Rhydham Joshi

M.S. in Software Engineering, San Jose State University

Phone : (+1) 408-987-1991 | Email : [email protected]

Blog : malwareforensics1.blogspot.com | Linkedin : www.linkedin.com/in/rhydhamjoshi

Page 2: A walk through Windows firewall and Netsh commands

Contents: Navigation to firewall settings Firewall Tabs:

• Allow an app or feature through firewall• Change notification settings• Turn Windows Firewall on/off• Restore defaults• Advanced settings

Windows Firewall with Advanced Security Tabs: Activate logging for allowed/denied traffic Inbound and outbound rules in brief Monitoring Tab: The things we need to take care about

• Firewall• Logs Exploration

Netsh commands References

Page 3: A walk through Windows firewall and Netsh commands

Navigation to Firewall settings• Control Panel -> System and Security -> Windows Firewall• Run command : firewall.cpl• Type : Windows Firewall in Windows search box.

Page 4: A walk through Windows firewall and Netsh commands

Allow an app or feature through windows firewall

• Allow/Deny any app/services in Private/Public network

Page 5: A walk through Windows firewall and Netsh commands

Allow an app or feature through windows firewall

Page 6: A walk through Windows firewall and Netsh commands

Change Notification Settings &Turn Windows Firewall on or off

Page 7: A walk through Windows firewall and Netsh commands

Advanced Settings:

Page 8: A walk through Windows firewall and Netsh commands

Tabs: Windows Firewall with Advanced Security

Page 9: A walk through Windows firewall and Netsh commands

Activate Logging for allowed/denied traffic

Page 10: A walk through Windows firewall and Netsh commands

• In Domain Profile Tab Logging Customize See the dialog box for “Customize Logging Settings for the Domain Profile”• Click YES for “Log Dropped Packets” & “Log Successful Connections”• Repeat steps for “Private Profile” & “Public Profile”

Activate Logging for allowed/denied traffic

Page 11: A walk through Windows firewall and Netsh commands

Inbound Rules and Outbound Rules

Page 12: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 13: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 14: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 15: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 16: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 17: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 18: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 19: A walk through Windows firewall and Netsh commands

Inbound & Outbound Rules

Page 20: A walk through Windows firewall and Netsh commands

Monitoring: The thing “WE” need to care about

Page 21: A walk through Windows firewall and Netsh commands

Monitoring Firewall

Page 22: A walk through Windows firewall and Netsh commands

Explore the logs

Page 23: A walk through Windows firewall and Netsh commands

Network shell commands

• Import/Export Firewall Settings• Enable Remote Desktop

Connection• Enable a program• Enable/disable a port• Enable Remote Management• Allow/Disallow Ping• Change Logging path• Restore Defaults • Enable/disable Windows Firewall• Query Firewall logs

Page 25: A walk through Windows firewall and Netsh commands

Thank you.!