naspers experiencing google.com redirects

Vlad

Senior Member
Joined
Mar 5, 2005
Messages
695
Reaction score
0
Location
Cape Town
I was informed by someone on the inside that ppl in the naspers building are unable to browse google.com, because they get served and 'alternative' search engine. The helpdesk guy apparently said that it was Google's fault 'because they must have forgotten to register the domain' (insert helpdesk joke here).

Obviously, they must have some spyware/adware on their server, but i was wondering if anybody can explain to me how this is done. It's not something on the user's machine, and the redirect happens on different browsers.
 
how can you find out which DNS server has been 'poisoned' and how do you get it right again?
 
Well ...

You can try a DNS lookup on a "trusted" server. In this case you need to query one of

ns1.google.com. 248922 IN A 216.239.32.10
ns2.google.com. 248922 IN A 216.239.34.10
ns3.google.com. 248922 IN A 216.239.36.10
ns4.google.com. 248922 IN A 216.239.38.10

or any other non-compromised DNS server. Then do a lookup for google.com on all your corporate DNS servers.

In this case it should be

www.l.google.com. 295 IN A 66.249.87.104
www.l.google.com. 295 IN A 66.249.87.99

If it returns anything else, it's compromised :) Maybe. It could also be a round-robin DNS, which makes the waters a LOT more murky.

As to how to fix it - you need to make sure it can't be poisoned (apply a security patch, set some access control list, hope for the best ...), then you need to clear it's cache (usually restarting does this) and then make sure it now resolves correctly.
 
DNS poisioning is not all that simple, most servers are not so stupid to accept and cache information that did not come from the authoritative NS, or that was not requested.
 
In this case how would this work? Would the poisoning take place on the users network or on their ISP's? I assume its easier to compromise a corporate network if this is what was being done.

We have just had a problem with proxy servers in certain areas denying html requests to our server in the States. How would one theoretically go about this?

I assume a user searches for a domain.
This request goes to the users ISP
Its converted by a dns server into an IP address
It gets directed to a proxy server where the page is cached

This is where I get lost:

As an example I understand that Mweb dial up and adsl accounts will access our sites via a proxy serve, That we log the IP address of the proxy if they are interacting online with the site but when they are in read only mode they are looking at cached pages.

How close am I? How would someone go about poisoning this process? What would prevent some proxy servers from processing html pages from our servers and not others? I always understood that these proxy servers are supposed to flush their cache every eight hours or so.

Sorry for being a bit simple.
 
Last edited:
helpless said:
In this case how would this work? Would the poisoning take place on the users network or on their ISP's? I assume its easier to compromise a corporate network if this is what was being done.
Well, as Karnaugh pointed out, DNS cache poisoning, or DNS spoofing is not an easy thing to do in practice, at least not since the scare in March and April when SANS (http://www.sans.org) issued a notice about this afer a widespread outbreak, affecting BIND as well as Widows NT and 2000 servers. Their summary can be found here: http://isc.sans.org/presentations/dnspoisoning.php. I would say it's easier to compromise an internal server (only used in the company) rather than an external one (internet accessible), but it depends on the competence and diligence of the company's Information Security staff.

helpless said:
We have just had a problem with proxy servers in certain areas denying html requests to our server in the States. How would one theoretically go about this?

I assume a user searches for a domain.
This request goes to the users ISP
Its converted by a dns server into an IP address
It gets directed to a proxy server where the page is cached

This is where I get lost:

As an example I understand that Mweb dial up and adsl accounts will access our sites via a proxy serve, That we log the IP address of the proxy if they are interacting online with the site but when they are in read only mode they are looking at cached pages.

How close am I? How would someone go about poisoning this process? What would prevent some proxy servers from processing html pages from our servers and not others? I always understood that these proxy servers are supposed to flush their cache every eight hours or so.
In this case, DNS spoofing isn't the only way to achieve this, you also have to look at the ISP's proxy server. Most ISP's run a transparent proxy, which is supposed to be invisible to the user. The only purpose and effect of such a proxy would be to speed up browsing by serving the page from its cache, instead of from the original server. RFC 2616 (http://www.w3.org/Protocols/rfc2616/rfc2616.html) describes the HTTP/1.1 protocol, and describes in section 13 how proxy servers should and should not act. Like all RFC's it's not the easiest document in the world to read if you're not familiar with the terminology and concepts.

1) The proxy can have a ACL blocking certain sites (Bad, bad ISP ...). This is highly unlikely, though, especially for a large ISP like MWeb. They can get into a lot of trouble if they start censoring. Also, I may be wrong, but for DSL I believe that MWeb uses the SAIX proxy for DSL and their own for dial-up, which means two different proxy servers needs to be affected.

2) The proxy server or DNS server could be compromised, either changing the cached pages on disk, or some spoofing attack. Again, for a large ISP, very highly unlikely. They are supposed to be very paranoid over security, and the bad press would be devastating. And it would affect all users of the proxy for a certain time period, not just specific geographic areas.

3) There could be a geographically-localized connectivity issue, where the routers involved cannot actually get traffic to/from your site, either because of an issue locally in SA or an international issue. I think this would be the most likely scenario, especially if it resolved itself fairly quickly. As an example, I was on-site at a client (using IS as ISP) on Wednesday when I suddenly couldn't resolve ANY DNS entries any more. This turned out to be due to the 2-hour Telkom cable failure at New Doornfontein.

4) All the users' machines in the area could of course be compromised, but this is also close to impossible. DSL and dial-up gets assigned IPs from different IP pools (One belonging to MWeb and one to SAIX), making compromising VERY hard to do realistically.

Proxy servers needs to remove pages in their cache once one of the following happens:

1) It's out of space to cache (usually works on a last-accessed, first out principle).

2) The page has expired (each page contains a expiry date for proxies. If it doesn't, the proxy can use a heuristic calculation to determine this). In this case it will verify with the original server whether the cached page is current or not.

3) The page can be marked as non-cachable, in which case the proxy should issue a new request to the server for every access to it.

While it is certainly possible to do all this via some compromise of the servers involved, breaking into a machine that's properly updated and protected and secured is not a very easy task, and I think a bit beyond the scope of his thread :) But remember that not every anomaly is caused by malicious intent, it could also be due to a temporary misconfiguration, someone accidentaly switching the wrong machine off at the wrong time, plug the right cable into the wrong port, or routine maintenance. Or maybe a physical cable/equipment failure.

As an aside, you can use http://www.procata.com/cachetest to test how closely your proxy conforms to the HTTP/1.1 specs.

helpless said:
Sorry for being a bit simple.
No problems :) Everyone has to start learning somewhere, and I don't mind at all.
 
2) The proxy server or DNS server could be compromised, either changing the cached pages on disk, or some spoofing attack. Again, for a large ISP, very highly unlikely. They are supposed to be very paranoid over security, and the bad press would be devastating. And it would affect all users of the proxy for a certain time period, not just specific geographic areas.

The way our problem rolled out was as follows:

We took issue with one of the smaller ISP's over the fact that they are spamming our mail accounts to promote their services.

The next day we started getting complaints from users.

They could ping the sites, get into irc and ftp to the server but html pages returned a 500 error message.

It was not all users and it was a problem on both the SAIX and IS networks.

After the first week Internet Solutions got a tech to flick a switch. It then took another week and a half to get Saix to clear the problem they had. We have had no feedback besides outright denials and not a cheep from them after returning to normal. I believe that this was abuse at the highest level and the failure to follow up and address the possibitly is nothing short of criminal neglect.

If I am correct and we were targeted, how many other sites experienced the same problem? How many of them were not even aware that they were off line for close to three weeks. How far does it have to go before whoever is supposed to be responbile for the integrity of those networks actually gets off their backside and plugs the hole.
 
helpless said:
We took issue with one of the smaller ISP's over the fact that they are spamming our mail accounts to promote their services.
I am assuming you had/have an account with smaller ISP (named x), and x is a IS reseller?
Depending on your contract with the smaller ISP it may be allowed since it is offical communication...but anyway

helpless said:
If I am correct and we were targeted, how many other sites experienced the same problem?
You mention IS and SAIX here, unless your organisation is very big I doubt anyone noticed. There is the small possibility that some techie you jumped all over might have felt that undeserved and done it, but that is a very very small possibility.

I think the best thing would be for you to describe your problem in more detail because right not it sounds like paranoia :/
 
Nope, we had no relationship with the ISP concerned. They were mailing addresses for dormant sites. I am also quite sure that if push came to shove they are well within their rights and they can argue that they have every right to fill my box with their spam. This however is besides the point.

We host a couple of local adult sites and the users picked up the problem right off. It then took us two and a half weeks to get it resolved and if it was a disgruntled tech the networks have a problem they need to address. If it wasnt abuse its incompetence.

At the end of the day does it really matter? What is frustrating is that there are no answers, there is no accountability.
 
SAIX is on the blink again. We have been flooded with mail from Mweb and Telkom clients who cant see our servers. How many other sites are they blocking? How long are the internet users in this country going to put up with this sort of service?

Needless to say there has not been so much as a cheep out of their Help Desk. Its pathetic.
 
2) The proxy server or DNS server could be compromised, either changing the cached pages on disk, or some spoofing attack. Again, for a large ISP, very highly unlikely. They are supposed to be very paranoid over security, and the bad press would be devastating. And it would affect all users of the proxy for a certain time period, not just specific geographic areas.

What I dont understand is that SAIX have wittingly or unwittingly blocked our server since the beginning of the month and there is nothing we can do about it. They deny there is problem and nobody gives a ****.

We are not the only ones being affected and what I dont understand is how they get away with it.
 
Top
Sign up to the MyBroadband newsletter
X