How do I know windo...
 

[Closed] How do I know windows firewall is doing its job?

9 Posts
4 Users
0 Reactions
58 Views
Posts: 2053
Free Member
Topic starter
 

I've added a rule to windows firewall to block outgoing connections from a certain program, but want to be able to check how often it's trying to connect and subsequently being blocked to make sure my rule is working.

If it were a browser or similar I could just open it up and see that it has no connection, but its something that connects in the background and doesn't give an error if it can't connect.

I've had a look in event viewer but can't see anything that actually logs when a rule has been applied?

 
Posted : 28/02/2017 10:48 am
Posts: 90742
Free Member
 

[url= https://www.howtogeek.com/220204/how-to-track-firewall-activity-with-the-windows-firewall-log/ ]First Google hit[/url]

 
Posted : 28/02/2017 10:52 am
Posts: 2053
Free Member
Topic starter
 

i did google it, honest guv.

 
Posted : 28/02/2017 10:55 am
Posts: 2053
Free Member
Topic starter
 

Following the instructions in that post just gives me an empty log file, nothing showing as allowed or blocked? 😕

 
Posted : 28/02/2017 11:01 am
Posts: 5181
Full Member
 

In the properties bit there's three tabs for the settings for domain/private/public profile. Make sure you're doing the settings for the right one (or all of them).

 
Posted : 28/02/2017 11:04 am
Posts: 76786
Free Member
 

In the properties bit there's three tabs for the settings for domain/private/public profile. Make sure you're doing the settings for the right one (or all of them).

It'll probably be "private" assuming you set the network to "Home" when you initially connected to it. It'll show "connected" in the Firewall Properties page.

 
Posted : 28/02/2017 11:13 am
Posts: 2053
Free Member
Topic starter
 

Yep, fixed, I took out the environment variable part of the log path and directed it straight to c:\ seems to work now.

Can't see that the prog is trying to connect and I made a dummy rule to block chrome to see how it looked when that got blocked to make sure I wasn't missing something.

Hopefully its just not talking at the moment then!

It'd be a lot handier if the log actually told you which program it was that was trying to connect, I'm just trying to figure it out by looking up the IPs...

 
Posted : 28/02/2017 11:16 am
Posts: 2053
Free Member
Topic starter
 

Actually, its certainly dropping two connections, looks like a third gets through but its showing as a connection to 192.169.1.1 which is the main router. The two dropped ones are out in the wild.
Assume that the connection to the router isn't going to be anything going external?
But then there's loads of those ones going on all the time so may just be a coincidence that it always appears between the two blocked ones...

 
Posted : 28/02/2017 11:21 am
Posts: 76786
Free Member
 

192.169.1.1 which is the main router.

192.16[b]8[/b].1.1 you mean?

it might be helpful if we knew what this app was?

 
Posted : 28/02/2017 11:23 am
Posts: 2053
Free Member
Topic starter
 

Sorry yes, typo.

Its a bespoke program from work that was written quite a while ago.

 
Posted : 28/02/2017 11:25 am