It's a matter of fact that modern computer systems are insecure - viruses, malicious actors, Trojan programs, etc. are always trying to breach into our systems using known and yet unpublished bugs in OS and services. MS Windows has a long history of security flows and vulnerabilities, more than hundred bugs are discovered each year in the system. You may install a honeypot from this nice list and assign it a white IP to get an idea of how aggressive are attempts of breaching into your system.
If you think that your rigs are protected by your NAT1) router then think twice (credits arstechnica.com):
(11/29/2018) More than 45,000 Internet routers have been compromised by a newly discovered campaign that’s designed to open networks to attacks by EternalBlue, the potent exploit that was developed by, and then stolen from, the National Security Agency and leaked to the Internet at large, researchers said Wednesday... As a result, almost 2 million computers, phones, and other network devices connected to the routers are reachable to the Internet on those ports.
Also consider reading the following articles on DNS-rebinding technique which among others may be used for stealing money from selected e-Wallets:
If you are interesting in security of computer systems then I would recommend you to learn how to use Nmap network scanner or/and OpenVAS tools. Who knows, may be you'll find a new bug in MS products and earn $100,000 by submitting the bug report to MS bounty program.
Unfortunately, a computer connected by Ethernet2) cable to a network can't be 100% secured, there is always a risk of being compromised, but we may lower the risk by protecting our system by the mean of Windows Defender Firewall3)
Consider the quote below (credits rackspace.com Best practices for firewall rules configuration):
Block all traffic by default and explicitly allow only specific traffic to known services. This strategy provides good control over the traffic and reduces the possibility of a breach because of service misconfiguration.
I'm totally agree with it. We'll configure windows firewall in exactly the same way - block all inbound connections and add rules for allowing selected services to be able accept incoming packets. Note: services such as TeamViewer, RDP, etc. will be not affected, they will continue working as before.
You may configure Windows Firewall either manually by following this how-to or by running the script ConfigureFirewall.bat
STEP 1. Open firewall control panel
1. Press WINLOGO+S
to open search dialog.
2. Type firewall
into the search box.
3. Click the Check firewall status
item
STEP 2. Verify firewall status
4. Be sure that firewall is ON
for all of your networks.
5. Use the Turn Windows Defender Firewall on or off
control panel if firewall is off for some of your networks.
STEP 3. Open Advanced Settings panel
STEP 4. Verify default policy
7. Each Profile should be configured as follows:
Windows Defender Firewall is on. Inbound connections that do not match a rule are blocked. Outbound connections that do not match a rule are allowed.
8. If your configuration differs from the above settings, then click the Windows Defender Firewall property
label to call the configuration dialog and follow clauses 9 and 10. If it's OK, the jump to STEP 5
9. Click each profile's tab and configure the State
fields as follows:
Firewall state: On (recommended) Inbound connections: Block(default) Outbound connections: Allow (default)
10. If your configuration differs from the above settings, then click the Windows Defender Firewall property
label to call the configuration dialog.
STEP 5. Backup firewall configuration
I recommend to save your current firewall configuration into a file. You'll be able to undo all of your changes if something goes wrong by importing this settings back.
11. Click the Export Policy
items
12. Select a folder (it's up to you).
13. Type a name of the exporting file, for example firewall_settings
. It'll be saved with the wfw
extension.
14. Press the Save
button.
STEP 6. Disable existing Allow
rules
Let's disable all existing firewall rules which allow some inbound connections.
16. Click the Inbound rules
item.
17. Click the Filter by state
item to show the popup menu.
18. Click the Filter by Enabled
item in popup menu.
Selecting all rules
19. Click the header of the Action
column to get sorted list.
20. Select the first item in the list by clicking on it.
21. Scroll down the list by mouse wheel or using scrollbar.
22. Scroll to the last Allow
rule (it's particular name is unimportant, it could be a last item in the list at the very bottom)
23. Press the Shift
key on your keyboard and while keeping it in pressed state click the last item with the left mouse button to select all Allow items in the list. They all should turn blue (selected).
24. Click the Disable rule
item. Wait from 1 to 10 seconds.
25. Click the Clear All Filters
item
Your final list may looks something like this.
26. Note the absence on any icons Allow(green)/Block(red) in front of rule's name.
Well done! Continue to the next section - Explicitly block unwanted/illegal traffic