Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Windows 7 - No Solution Working To Block Specific IP

24 Feb 2015   #1

Microsoft Windows 7 Ultimate x64 / 6.1.7601 Service Pack 1 Build 7601
Windows 7 - No Solution Working To Block Specific IP

Long story short, the ultimate solution, to my dilemma, would be a way to "Disable Active Scripting" on a "per-website" basis.

However, from all of the research that I have done thus far, that option looks grim.

Using Internet Explorer, here is the problem at hand:

I go to a website, one of those websites where, when you click on an Input box, say like a search field, automatically via Java Script, one Pop-Under, or more, appear.

Not Pop-Up, Pop-Under, there is a substantial difference, trust me, as Pop-Ups are stoppable.

This is a great annoyance to me, as to anyone, as that Pop-Under is almost always advertising based.

I have tried a number of solutions, from a number of various engineering sites throughout the net, to stop that Pop-Under, but, for some reason, being that Pop-Under is being called from Script, it appears impossible to stop, at any cost, short of turning off Active Scripting, which I can not afford to do, as some sites, I still need the scripting on.

Just a few of the solutions I have tried:

* I look in the source code of the web page, gather all address that refer to advertising, get the Name Server IP, add those IP's to the HOSTS file. Still gets through.

* Do a video screen capture as the Pop-Under is called, to go back slowly, and see the very fast flashing IP of the offending Pop-Under. Add that IP/Address to HOSTS, still gets through.

* Took the offending IP of the Pop-Under and attempted to block it via Windows Firewall, ...New Rule/Custom/ etc., both Inbound, and Outbound, both Local, and Remote. Still, it gets through.

I have to admit, this one bugged me, as many of the sites that display how to block a single IP using Windows Firewall, many of the folks claimed it worked for them, and quite frankly, it works for me also, AS LONG AS the IP is NOT called from Script, but when the IP is called from Script, then neither the Firewall, nor HOSTS method, any longer work.

* Added offending IP to IE's Internet Options/Restricted Sites, still gets through.

* Also understand I have the option to stop all outbound traffic, and then setup a rule for every single outbound allowance, which is ludicrous, as there are numerous outbound allowances that would be needed, and I only want to stop one single IP.

I mean, I am at wits end here, usually adding an entry to the HOSTS does the trick, but when it is called from Script, NOTHING works to stop that IP.

Don't get me wrong, I am fully aware that there are ways around the HOSTS, as some programs still get through even if you have a related IP listed in the HOSTS, but how they do it, I have not a clue, this is in fact what I need to learn.

I also fully understand, that by simply blocking the IP, the Pop-Under window, itself, will still come up, being that it is called from Script, best I can do, is stop the content in that window.

Any help would be greatly appreciated folks, as I plead total ignorance to this point.

Thank You

My System SpecsSystem Spec
24 Feb 2015   #2

Windows 7 Pro 32

It shouldn't matter that the IP is called from a Script. Is it possible they are maybe using different IPs, hidden frames etc to fool you into blocking the wrong IP?! Have you looked at the page source? Have you tried Developer Tools(F12)? From there you can see all connections from a window/tab. In the IE window you want to check, press F12, go to the "Network" tab and press play, then do a reload/refresh in the IE window.

The Windows Firewall by default allows all outbound connections. You can still add block rules without having to change the default value from allow to block.

To block the entire pop-under from opening you have to block Scripts from executing at the page that's creating the pop-under window. And my understanding is that you don't want do to that, not for all sites anyway.

A blacklist approach is not as good as a white list approach. For example you could use zone Trusted instead of Restricted, and set the Internet zone to level High. It takes more time to maintain a white list but it'll work much better!
I have IE configured this way: Internet Zone = High, Trusted = Medium-High. I then add trusted domains like this: *
This approach won't stop all content from untrusted sites, but it will stop all Scripts and other less safe content.

If you still want to go for a blacklist approach, it should be possible. You just have to make sure you have the correct IP's to block, and from what you describe I'm not sure you have.

What do you mean with "very fast flashing IP of the offending Pop-Under"? Is it a redirect to another site?
My System SpecsSystem Spec
28 Feb 2015   #3

Microsoft Windows 7 Ultimate x64 / 6.1.7601 Service Pack 1 Build 7601

Quote   Quote: Originally Posted by Tookeri View Post
What do you mean with "very fast flashing IP of the offending Pop-Under"? Is it a redirect to another site?
Yes. After you click into the, "enter text" field, immediately a Pop-Under appears with a URL.

But, that very same Pop-Under immediately switches to another URL, which is the annoying ad.

So the very first URL, obviously is the redirect source, that URL/IP, is the IP I am trying to kill.

That is why I had to use a video screen capture, to capture that very first, fastly disappearing IP.

And as I said above, I was able to get that inital IP, and tried to block it every way I know how, to no avail.

If it weren't for some of those ads being of the nature of those, "full screen locked" ads that you need to reboot to get rid of, and major annoyances of that type, I would not care as much.
My System SpecsSystem Spec

28 Feb 2015   #4

Windows 7 Pro 32

You should add the URL of the page it's redirected to also to the Restricted Zone. That will stop it from running Scripts and probably not be so annoying anymore.

To try and stop redirects you could change the setting "Allow META REFRESH" to disabled for the Internet Zone. But that will affect all pages and might break functionality on legitimate sites. But they usually provide a link to use instead of the redirect.

The security level High which is the level for Restricted sites don't allow Scripts or redirects, and many other things.

A great browser extensions that blocks/warns of "bad" sites based on user reputations is WOT(Web Of Trust). I only use it in Firefox but it's available for Internet Explorer as well:

You can use this page and enter the URL of the ad page to check its status in WOT:
My System SpecsSystem Spec
28 Feb 2015   #5
Layback Bear

Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64

Their is a very good chance you have some PUP's that have been installed or a browser add-on.

If it was my computer I would run Malwarebytes and Adwcleaner.

And from Breeping Computer.

AdwCleaner Download

Windows 7 - No Solution Working To Block Specific IP-adwcleaner-1.jpg

My System SpecsSystem Spec

 Windows 7 - No Solution Working To Block Specific IP

Thread Tools

Similar help and support threads
Thread Forum
Parental Controls - Allow or Block Specific Programs
How to Allow or Block Specific Programs in Windows 7 Parental Controls Using Parental Controls, you can allow or block specific programs from being used on your computer by standard user accounts. Here's How: 1. Open the Control Panel (icons view), and click on Parental Controls. ...
How do i block a specific program from accessing the internet?
Hi everyone i'm having problems with this now i have Eset smart security witch manages the firewall but of course i'm not sure if it's because of Eset but when i went to the advanced settings i only got these options. There is no "rules" tab i don't know was this because of some updates or my...
Network & Sharing
HDD issue, how to block off specific areas from use?
I made a post awhile back about a HDD making clicks, as though the arm was resetting. Occasionally while accessing files explorer freezes. I however noticed this has (so far) only occurred at a specific point of disk usage. I'm hoping I can some how amputate the bad section of the drive so it is...
Hardware & Devices
How to unblock/block a specific computer?
Okay, I start this way. Me and my brother have both W7 Home 64bit, and I'm able to connect every other computer, but not his. also he can connect others but not me (example. I cant see him on network, cant connect his server (any game that needs your computer to host it up)). everyone says that we...
Network & Sharing
How to Block Specific IP Addresses??
I would like to block a certain IP address from having any connection to my network, and I don't recall how IPSec works, or if it even works in Windows 7. In class, we learned it on XP. If somebody could please tell me how to prevent this IP from contacting me ever again? I'm not sure what...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 01:20.
Twitter Facebook Google+