Slashdot Log In
Tool Detects "In-Flight" Webpage Alterations
Posted by
CmdrTaco
on Wed Jul 25, 2007 10:24 AM
from the its-like-a-foil-hat-for-your-browser dept.
from the its-like-a-foil-hat-for-your-browser dept.
TheWoozle writes "In a follow-up to a recent story about ISPs inserting ads into web pages, the University of Washington security and privacy research group has teamed with the International Computer Science Institute (ICSI) to develop an online tool to help you identify if your ISP is inserting ads or otherwise modifying the web pages you request."
Related Stories
[+]
Your Rights Online: ISPs Inserting Ads Into Your Pages 434 comments
TheWoozle writes "Some ISPs are resorting to a new tactic to increase revenue: inserting advertisements into web pages requested by their end users. They use a transparent web proxy (such as this one) to insert javascript and/or HTML with the ads into pages returned to users. Neither the content providers nor the end-users have been notified that this is taking place, and I'm sure that they weren't asked for permission either."
[+]
Your Rights Online: Study Confirms ISPs Meddle With Web Traffic 131 comments
Last July, a research team from the University of Washington released an online tool to analyze whether web pages were being altered during the transit from web server to user. On Wednesday, the team released a paper at the Usenix conference analyzing the data collected from the tool. The found, unsurprisingly, that ISPs were indeed injecting ads into web pages viewed by a small number of users. The paper is available at the Usenix site. From PCWorld:
"To get their data, the team wrote software that would test whether or not someone visiting a test page on the University of Washington's Web site was viewing HTML that had been altered in transit. In 16 instances ads were injected into the Web page by the visitor's Internet Service provider. The service providers named by the researchers are generally small ISPs such as RedMoon, Mesa Networks and MetroFi, but the paper also named one of the largest ISPs in the U.S., XO Communications, as an ad injector."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Should just block all ads, but... (Score:4, Interesting)
The hash gets calculated once for static content, which is usually the bulk of the traffic, no? So
not too big of a hit.
Browser sees content. Browser sees hash. Browser compares the two...
--
Censored [blogspot.com] by [blogspot.com] Technorati [blogspot.com] and now, Blogger too! [blogspot.com]
Frames (Score:3, Insightful)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2, Interesting)
Re: (Score:2)
Browser sees content. Browser sees hash. Browser compares the two...gets an OK.
Re:Should just block all ads, but... (Score:4, Funny)
1.) Claim the hash is to protect the copyright on your site
2.) Sue any ISP that alters the site without permission under the DMCA
3.) ???
4.) Profit!
Parent
Re: (Score:2)
Re: (Score:2)
Re:Should just block all ads, but... (Score:5, Insightful)
MOVE TO ANOTHER PROVIDER TODAY.
Why should I do that if I don't know the ISP is modifying the web pages in flight? Maybe I need a tool that could somehow detect that? That would sure be useful. Oh wait...Isn't that what this discussion is about?
Parent
What ISPs do this? (Score:2)
Re: (Score:2, Interesting)
The dont add may be they can subtract? (Score:2)
Oh lord the confusion (Score:4, Interesting)
Re:Oh lord the confusion (Score:4, Informative)
Parent
UW and Good Tool (Score:2)
I like UW and their tools. I think they've done wonderful work. Paint.NET is fun, easy, and I love that they are still working on it.
Who/what is able add to your pages:
Next week on Slashdot (Score:5, Funny)
Re: (Score:2)
Caveat 2: Our integrity checking mechanism is not cryptographically secure. If a "party in the middle" were modifying web pages that you visit, it could modify our scripts as well. Instead, our mechanism acts as a "tripwire" that is likely to catch any party that is currently unaware of our experiment. In the future, we could create a huge number of variants on the JavaScript tripwire. This would make it more difficult for a "party in the middle" to reliably determine
Re:Next week on Slashdot (Score:5, Informative)
Parent
Answers to questions in this thread (Score:5, Informative)
Feature request (Score:2)
Re: (Score:2)
That, or ISPs will work harder to defeat the detection.
Re: (Score:2)
Not quite... (Score:4, Interesting)
As long as the actual API used by the Javascript is common enough that the ad-injectors can't recognize and block our code by keeing in on the API calls rather than the overall Javascript.
The proper solution, adding integrity checking to all HTTP, seems like its not happening.
Parent
Re: (Score:2, Funny)
What is your favorite flavor of ice cream?
Re:Answers to questions in this thread (Score:4, Funny)
Parent
Re: (Score:3, Funny)
Analyses (Score:3, Informative)
We are waiting for the Slashdot and DIGG deluges to pass, however, before we have a more detailed analysis.
Re: (Score:3, Informative)
Re: (Score:2)
I agree that doing things cryptographically-authenticated would be a good thing (one could probably do a more lightweight opportunistic mechanism, myself and others at ICSI have an upcoming paper in HotSec on the possibility), but most people don't use https, and a lot of web sites don't SUPPORT https for many things.
Re: (Score:3, Informative)
If you self-sign, everyone gets a nag panel everytime they visit your web page. If you have verisign or someone else provide you with a certificate, it costs real money.
Also, the HTTPS handshake is expensive, figure ~.1 CPU second per visitor to handle the public key exchange, and it starts to add up. There is a reason why GOOGLE doesn't use https for gmail by default (you have to manually type in https://mail.google.com/ [google.com] to get gmail through SSL), the key
Re: (Score:3, Informative)
ANd click the link anyway, we want to have as many people try it as possible.
Re: (Score:3, Informative)
Actually, our test page happens to answer these questions, to some extent.
All of our test pages are marked with "Pragma: no-cache" and "Cache-control: no-cache" in the HTTP response headers, but we're observing changes to the pages anyway.
Our integrity checking mechanism uses AJAX requests (XmlHttpRequests) to fetch the test page. ISPs can't distinguish between an AJAX request and a normal page request (i.e., they both look like normal HTTP requests), so they inject ads into both. However, we're
Re: (Score:3, Insightful)
Under normal circumstances AJAX and "normal" requests are the same; however, AJAX has a "setRequestHeader" parameter that can be used to set additional headers. This is significant in that HTTP/1.1 states:
You'v
Please don't post negative results! (Score:5, Informative)
No need for thousands of "All good in Kalamazoo" & "Up to date in Kansas City" posts.
A possible workaround (Score:5, Informative)
If you want to be stricter, encode your webpage content with base64 to make sure the ads don't intrude your precious content.
Re:A possible workaround (Score:5, Insightful)
Parent
Re:A possible workaround (Score:4, Informative)
Parent
acronym nazi (Score:2)
Inserting Ads (Score:3, Funny)
Inline HTML Signatures (Score:2)
The XSS idea would be to have the ability to have multi-part responses from the web server. The browser would put the page together fr
Simple in principle (Score:2)
Step 1: Calculate md5sum of webpage, store in separate location.
Step 2: Include on the webpage some javascript to md5sum itself and compare this to md5sum in known location. Issue an alert if it differs.
Step 3: Profit!
Of course, this is awkward for dynamically generated pages and if the ISP is happy to mess around with the page to insert ads, they're probably also happy to mess around with any javascript which dete
What about upstream modification (Score:5, Funny)
This is the reason that we need to push for network neutrality [handsoff.org]. When the only choices are between a giant douche [summerseve.com] which alters content and a turd sandwich [panerabread.com] which alters content, the customer ends up screwed [lowes.com] in the end.
They WANT to be slashdotted (Score:3, Informative)
Old stuff. (Score:4, Interesting)
FWIW, seemed only one person noticed that the forbes page they loaded somehow had the company logos everywhere
I toyed with the idea of substituting ads with reminders (meeting at 2pm, or "you have been on slashdot for 2 hours!") and other more useful information.
Lastly, I don't think their naive hashing thing checks if you are altering the images - the content may remain unchanged, but linked to contents may change (they aren't checked from what I see), so it doesn't work for my scenario where different ads are substituted for the unaltered URL.
That said, I'm still curious on:
1) How many ISPs would bother modifying traffic from those 7 destinations they are testing.
2) What the various laws around the world say about this.
3) What those laws say about "sponsored internet access" where an ISP gives a cheaper package/plan where the ads are substituted with the ISPs advertisers with the risk of some corrupted info.
4) What those laws say about "streamlined internet access" where an ISP provides a package/plan where ads and other crap are removed (or modified) for their customer.
If it's happening near the client.. (Score:3, Insightful)
..why not just use SSL?
I can understand how this wouldn't help with hosting ISPs who insert ads into their own customers' pages, but if you're worried about your readers' ISPs modifying your pages, SSL seems like a no-brainer.
What's the downside? It can't still be CPU, can it? It's 2007 now, and processing power is ridiculously cheap/fast.
Re: (Score:3, Informative)
Re:I've got a better method... (Score:4, Informative)
Parent
Re: (Score:2)
2. There are plenty of people who would never know: people who use adblocking software, for one. In any event, many commercial webpages are so overrun with advertising anyway, how would you know that one in the crowd was inserted by your ISP and not original to the page?
The subject doesn't make
Re: (Score:3, Informative)