Some Hotspot Operators Secretly Intercept, Insert Ads In Web Pages
An anonymous reader writes with this excerpt from the NYT's "Bits" column: "Justin Watt, a Web engineer, was browsing the Web in his room at the Courtyard Marriott in Midtown Manhattan this week when he saw something strange. On his personal blog, a mysterious gap was appearing at the top of the page. After some sleuthing, Mr. Watt, who has a background in developing Web advertising tools, realized that the quirk was not confined to his site. The hotel's Internet service was secretly injecting lines of code into every page he visited, code that could allow it to insert ads into any Web page without the knowledge of the site visitor or the page's creator."
I don't think this is news. (Yes, I must be new here.....)
Of course this is in no way limited to hotels, even ISP's have been shown to do this. Using Client-Server encryption like SSL should easily bypass that.
Some ISP's do stuff like this as well
I was at a Hampton Hotel and noticed it. It was very annoying (randomly changed words into links which popped up ads when hovered).
Guess the $120 a night I was paying wasn't enough for 1/100th of a Broad band connection, they also needed the $.00001 per ad impression too.....
Complimentary breakfast was good though.
I wonder if there is a way to consistently detect and remove/alter these ads? A nice "Marriot is trying to advertise at you" text notice. A new browser extension perhaps?
Well, if you use Firefox that is.
If the connection between you and the website is encrypted, no one can add code to it.
This is why websites need to publish policy files a bit like ABE (Application Boundaries Enforcer). This would mean that a website would publish what resources that site can request and destinations that are not in that policy are not loaded. Unfortunately if they can intercept anything that you are served then the injector can just modify the policy file too. Perhaps signed policy file could solve this?
Does anyone know if SSL solves the problem? Can a malicious endpoint act as a proxy so the SSL connection is between the endpoint and the real site and then serve you a different SSL certificate with the adverts included. (Although I doubt they can make a certificate look like the legitimate website.) Alternatively they could just drop everything down to HTTP...
(Although the guy who wrote ABE/NoScript should be considered in caution because of what he did to NoScript users in the past. He deliberately removed NoScript blocks for his own website so he could raise money on his plugin update page that opens after updates.)
Slashdot needs Geekcode | Can anyone recommend any good SCIFI? My tastes: Foundation, Startide Rising, CITY, Ringworld,
Obviously posting with the complimentary Hotel wifi.
Thats right Captive Portal operators routinely inject advertisements either for their own operations or to suplement the donation button's found on the captive portal login at coffee shops, hotels and so on. Its a fairly common way to monetize what to a consumer might just be a temporary waystation to access the internet for free an hour or so. Often once some kind of payment has been tendered those 'ads' can be made to go away by the captive portal operator if they so choose. Sometimes CPO's even drop people into a walled garden featuring local businesses so you can freely web-shop the neighborhood once your free 2 hours is up. So you either pay or wait 24 hours when the captive portal resets. Usually a captive portal is a combination of server-router-software solutions and they don't exactly come cheaply irregardless what you might've been led to believe. Its an interesting side business if you have the time and witherwhal.
This strange comment at the bottom of the message is illogical.
Whether it's free Wi-Fi or paid Wi-Fi, read those Terms of Service. I'm sure this activity was disclosed in theire either explicitly or with ambiguous language. As the saying goes: Don't like it? Don't use it.
Up, Up, Down, Down, Left, Right, Left, Right, B, A, START
Contrary to popular belief, a recent study has found that, 'First,' actually comes before second, and is generally regarded as something that should not be mistaken with second.
Remember, One comes before Two comes before 60 comes after 12 comes before Six Trillion comes after 504.
Wouldn't this be copyright infringement? The web page as you intended is your creative work, they are altering and distributing your work. I don't think you are allowed to do that.
"better ways of doing things eventually just replace the inferior things" - Linus Torvalds 09-08-07
Unless you have specifically trusted whatever certificate authority server the ISP put up to do that.
Good job. Now go investigate the difference between insert and append and figure out if one or the other can be used to generate lists in non-sequential order.
You can make money from running an open wifi AP. I might try this myself and replace all google ads with my own, also deprive the Goog of some money for their driverless car pet project
IANAL, and I don't play one on TV, but it seems pretty clearly a violation of a web site's copyright to do this. A web page
is a visual work, and at least for any country that is party to the Bern Convention (this includes the US and most or all of Europe),
a page is copyright even if it doesn't say so. So for the hotel or ISP to modify the page, especially when it is being paid to do so,
seems a clear violation. Some web site should make a big stink (lawsuit!) about this and put an end to the practice. I think it wouldn't
be a difficult case to win, particularly with all the other copyright enforcement actions going on (MPAA, etc.).
I wonder if a similar case can be made for organizations like health clubs that show TV programs at the wrong aspect ratio, making
people look as if they're 20% fatter (wider) than they actually are...
someone should crack it and turn it in to something useful like advertising for something free & open source like Linux, Debian, Emacs or Vim
Politics is Treachery, Religion is Brainwashing
Marriot you say?
Time to register a copyright on my webpage, put up a local bulletin board offering $100 per screenshot of my website, and then offer their legal department the chance to settle for $2,000 per infringement, an 80% saving over the statutory rate...
So set up an encrypted tunnel to your home machine and set it up so you can browse the web through the tunnel as if you were at home. Slower perhaps, but worth it. If they are injecting stuff, then what else are they doing? Looking at your traffic?
I work for an ISP, and we had a vendor try to sell us a box that would insert ads into downloaded web pages. My boss and I kicked the idea around for about half a second before turning our noses up at it.
Having said that, as a consumer, I wouldn't care if someone providing free WiFi inserted ads to offset the cost of providing bandwidth as long as the ads weren't too egregious. If you are providing a service that I value for free, then I don't care if you throw a few ads up to generate some revenue to fund your free service. For example, I've started seeing targeted ads on some web pages I visit, and quite frankly I don't much mind seeing ads for motorcycle parts and camping gear (two of my interests) when viewing web pages. Viagra and match.com, on the other hand...not so much.
The difference between this and what the vendor was trying to sell the company I work for is that we are already charging our customers for bandwidth. Inserting an ad on their connection after they've already paid to receive service seemed just a little...sleazy. WiFi at a hotel would seem similar to the ISP example.
MCSE? No, sir...I don't do Windows. Yes, I am an idealist. What's your point?
This is standard practice here in China. Whenever I'm not using my VPN, my ISP injects code to pages I visit that opens a pop-up window with ads. It is quite annoying as you can imagine. I've seen this at multiple locations, so it's not specific to this one ISP.
In November 2007, I bought a wireless box from Meraki (http://www.meraki.com/). I intended to use it to provide a free wireless hotspot for my neighborhood, and to be ready to peer with any neighbor who chose to work on the grassroots network. These were primarily symbolic acts, since neither service is likely to get much use in my neighborhood.
In most respects, the Meraki box appeared to do a good job of exactly what I wanted. But I noticed a little blank stripe at the top of Web pages. I found that Meraki hacked HTTP packets to add that stripe. As owner, I was able to set the contents of the stripe (e.g., to advertise myself as the provider of the free hotspot, or to ask for payment if it's not free). But, I was not able to eliminate the stripe. I called support, and they confirmed that the stripe is not optional, but its contents are owner controlled. I sent the box back for a refund. I understand why Meraki provided the feature (I don't like it, but I understand). I don't understand why they made it impossible to turn it off. They were very good about delivery, support, and refund in all other respects.
I think that Open Mesh (http://www.open-mesh.com/) provides something like the Meraki box, but cheaper and transparent to all Internet traffice. I have not tried their products yet.
For the time being, I just leave my Tomato (http://www.polarcloud.com/tomato) box unprotected, and I think that people occasionally park in front of my house to use the network. But there's no chance of peering to help avoid the last-mile bottleneck.
Mike O'Donnell http://people.cs.uchicago.edu/~odonnell/
I guess this speaks to inexperience of the web developer. It was not long ago that ISPs were trying to do this. It was not that long ago that web developers put third content within a frame along with ads that generated personal revenue. AFAIR, this idea of pushing personal ads over third party content is as old as the mass advertising on the web. And I know some ISPs specifically did this.
This is a negative practice. It is one of the primary reason used to justify web blockers. While one might trust the website, there are many ways to inject other ads and content into a web page. As such, it is best, from a security perspective, not to load ads.
"She's a scientist and a lesbian. She's not going to let it slide." Orphan Black
And this guy claims he's a web developer and this is the first time he has ever seen someone do something like this before?
Yeah, he's some web developer all right. He may know how to write HTML a bit, but he obviously is lacking in a few other tools of the trade or in his own personal knowledge / experience...
Old news. Move along.
Just to be clear about that ...
You're postulating a situation where:
The ISP
is owned by a certificate authority
that is, by default, trusted by your browser vendor
and that certificate authority
is creating certificates for 3rd party websites
without the 3rd party websites' permission
in order to facilitate man-in-the-middle attacks
so that the ISP can inject ads into your session.
I would imagine the backlash would kill both the ISP and that certificate authority.
Use HTTPS Everywhere extension (currently for FireFox, I don't know about chrome equivalents).
This will make everything coming to you as an encrypted stream, by passing the Hotspot's rewritting.
Or the Hotspot will attempt to Man-In-The-Middle Attack your encrypted stream (decrypt it itself, as if they were a normal client like you, and then re-encrypting it before sending it to you, as is they were a server. Except they don't know the original private encryption keys, so they will need to use another private key). In that case, it's harder for you to bypass the ads, but HTTPS Everywhere 2.0 or newer or Certificate Patrol will both be able at least to detect the unusual switch of encryption key.
A harder to bypass way would be to use a SOCKS proxy over SSH ("ssh -D" under unices, or corresponding setting in PuTTY under Windows).
If SSH connections are blocked, use corckscrew to try connecting over a HTTPS proxy.
Or use some HTTP tunnel.
At worst, use a DNS tunnel. Much slower, but almost always work.
The latest step are more Geek's last measure. But HTTPS everywhere is currently a must on any laptop.
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]
I can't tell if you are joking or being sarcastic here. I'm pretty sure that you have just described a business model in actual use. It seemed to be promoted by Meraki as a way to make money with their wireless boxes.
I also believe that there was a dispute some years ago regarding television broadcasts inserting advertisements as if they were posted on the fences at baseball stadiums.
I would greatly appreciate reliable pointers that anyone could provide to these behaviors. I will try to find some later. For now, this is what I remember, and I think it's right, but it hasn't been checked.
Mike O'Donnell http://people.cs.uchicago.edu/~odonnell/
I posted a comment below regarding Meraki wireless boxes that did this in 2007. I never experienced an actual deployment, but there must have been some.
Mike O'Donnell http://people.cs.uchicago.edu/~odonnell/
"I have news for you. When Roscius was an actor in Rome..."
1. The websurfer agrees to a Terms of Service that allows the ISP to make changes to inbound website page requests.
2. The websurfer proceeds to request pages from a remote webserver. The ISP injects ads as the customer consented.
No where in this was the remote webserver compromised or hacked. The website still loads as the content owner designed on computers accessing the website through ISPs that have not adjusted the content. Since the customer is agreeing to allow the ISP to alter his web browsing experience in exchange for Internet Access, this is permissible. Unethical, perhaps, but permissible. Certainly not compyright infringement.
Up, Up, Down, Down, Left, Right, Left, Right, B, A, START
certificate you don't get to use any https websites at all. Most people will eventually accept rather than lose the ability to access anything that uses https (that means no gmail/yahoo mail, no facebook, no twitter, no logging into slashdot, etc).
In the 1990s, there used to be tons of free dial-up ISP providers that gave you free access so long as you agreed to surf the web through their branded version of Internet Explorer that framed websites in ads. Some providers required you to click the ads so many times within a certain interval of time or get disconnected.
I'm sure these frames and banner ads "violated" the design of websites that were browsed by these users, but since the websites themselves were not hacked or damaged and displayed correctly on the computer screen of those not using ad-managed ISPs/web browsers, there is probably not a tangible copyright issue.
Hotel Wi-Fi is just the modern version of this same model, albeit without using software or requiring ad clicks.
Up, Up, Down, Down, Left, Right, Left, Right, B, A, START
They have to pay the bills somehow. A bigger deal would be if they were removing others ads..
Don't like ads, don't use their service or block them.
---- Booth was a patriot ----
people occasionally park in front of my house to use the network
Or they are casing the house, as since you are 'above' the average end user out there they know you have some electronics in there they might want to steal..
---- Booth was a patriot ----
I don't care about all of this at all. Insert or replace any ad you like, I'm still blocking it anyway.
Two quick things:
- Thanks for the Open Mesh link, I hadn't heard of it before and I'll definitely check it out.
- I'd be wary about running an open AP for the purposes of distributing a connection to your neighborhood; you may be violating your own ISP's terms of service (although not ethically an issue to me), and, far worse, you may open yourself up to people attempting to do illegal/unethical things, something that could fall back to you.
To me, access to my wireless AP should be treated like my own home's front door; I'd gladly give my trusted neighbors keys, but I'd do everything I reasonably could to protect myself from the rest of the world, who I do not implicitly trust as a group.
LegendMUD
Justin Watt, a Web engineer, was browsing the Web in his room at the Courtyard Marriott
C'mon editors - "Web Engineer?" What the hell does that mean? It's amazing how engineers allow their title to be attached to every job under the sun these days. You certainly don't hear about 'Web Laywers' or 'Web Dentists.'
This is common: Seems the IETF conference in Paris had conference-goers fixing the hotel wifi: http://newsletters.networkworld.com/t/6464858/258822064/355639/0/
The last 2 weeks, I visited 6 different countries and hotels in those countries. I intended to use ssh as a VPN back to my home computer and do all the email, browsing over that connection. It worked flawlessly here in the states from friends homes and the local library.
When I arrived in Europe country "a", the hotel wifi was limited to the first floor lobby. Since I didn't bring any devices that could be plugged into a wall, I was stuck sitting in the lobby to surf. Port scans showed that a proxy was being used and only HTTP or HTTPS traffic were allowed. No SMTP, no ssh, and definitely no VPN (openvpn or L2TP-IPsec) were allowed. Broken.
Country "b" wasn't any better except the wifi worked from my room. No non-standard ports worked.
Country "c" had issues with coverage ... but by that time, I'd already been off the net for 5 days and was starting to not care at all. No ssh ports worked.
Country "d" is known for being hi-tech. The internet didn't work at all in that very expensive, high-end hotel. I had a suite there. In the morning, I convinced the counter lacky to reboot the router in the lobby and everything started working - again, no ssh ports worked.
Country "e" was in Eastern Europe and the auto-answer on the phone in my suite had me looking for bugs in the room. It was strange to hear someone else talking through the speaker phone on the telephone when I hadn't made any calls. The phone never rang either. The suite looked nice in a once over, but all the details were cheap. They had marble floors and walls with plastic shower arms and plastic towel racks. None of the drawers or cabinets fit properly. Everything was just a little off. Still the city views out the windows were FANTASTIC. Oh, the internet only supported HTTP/HTTPS - no other traffic worked.
Country 'f' is my home country. Here there are liabilities for downloading copyright content, so I get the desire to filter the connection - even block netflix and bittorrent, but why block ssh and VPN traffic that business travelers require?
On my next trip, I'll do a few things differently:
* I will take my travel wifi-router with my. I'd assumed it wasn't needed this time. I was an idiot. Rooms that didn't have wifi coverage had rj45 ethernet ports.
* I will setup an HTTPS web interface to my desktop system on the normal port, 443.
Seems many network providers are lazy and allow all traffic on port 80/443 and block everything else. Lazy and stupid. I've met a few guys in small companies who block everything except proxied traffic for ports 80 and 443. No other outbound ports are supported regardless of the protocol used. HTTP to port 82 fails. We have lots of geniuses working in IT.
This problem is big enough for a revolt. We all need to be vocal in our hotel reviews and tweets to get this fixed. Soon hotels will be advertising completely open ports on their internet if we are successful.
If it is ok for a business to make changes in other peoples' materials then the reverse is also true so if I want to make huge changesd in Marriot's web pages that should not be illegal at all. good for one is good for all.
hmmm...Seems to me that if I add a clause to my websites Terms of Service that states "Modifying this websites code while being transmitted to the end-user to include but not limited to injection of advertisements is a violation of this website's Terms of Service."
This would allow legal action to be taken against these companies. Also it seems to be a violation of the owner's copyright on their webpage since it is being modified without their knowledge or consent.
Thanks for the advice, but I studied the issue quite a bit, and read the careful insights from Bruce Schneier (http://www.schneier.com/blog/archives/2008/01/my_open_wireles.html), and I decided that I don't want to treat any portion of the world-connected IP network as my personal domain. I carefully chose an ISP (Speakeasy) who allows, and even caters to, sharing.
I have no interest in convincing you to take my attitude. But you should be aware that it isn't necessarily a matter of naivety.
Mike O'Donnell http://people.cs.uchicago.edu/~odonnell/
I just leave my Tomato (http://www.polarcloud.com/tomato) box unprotected, and I think that people occasionally park in front of my house to use the network
I see a lawn strewn with soiled condoms and a knock on the door from the FBI in your future.
Solved.
... but since it still going on, it is worth bashing it around a bit. Maybe we can get more people to use HTTPS. Maybe we can even get Slashdot to make their HTTPS port actually work.
now we need to go OSS in diesel cars
Always connect to your home or work VPN when traveling.
SSL in the form of HTTPS would solve the problem only here and there, depending on which sites are setup for it, and if so, whether or not their secured pages have includes that are plain HTTP.
If you go the VPN route (which will be based on SSL or other crypto) then all your activity is subject to only one ISP's quirks (that of your home or business) wherever you happen to be. In addition, you get essential protection from the scads of random criminals and malware carriers that your system will encounter on the various Wifi networks with which you connect.
Wait. Would the ads actually bypass adblock?
It's an annoying practice, but I've seen it in airports too. Denver International does, or at least did, for example. Nasty. But not new.
The network belongs to the hotel, not the guest, and the hotel can do whatever they want.
A company called N Town communications had a box that did this in 1999. They were an internet startup in Knoxville, Tennessee. As a way to "bring the web home", as they called it, their proprietary device intercepted HTTP traffic for all of their customers, reconstructed the web pages, inserted them into a frame with an ad bar along the top, and then broke it down and sent it on.
The bar also had a link to your mail box, a search bar (not something browsers had at that time), and maybe local time / temp / etc. The business plan was for local newspapers to use their advertising department to sell ads for these bars, which would be displayed only for local ISP customers wherever they browsed. Hence, "bringing the web home". For the customers, they received ultra-low-cost dial-up internet service. (I believe they were $5 a month for the test ISP they ran in Knoxville.) The real business model, of course, was to sell these boxes to ISPs around the country that want to partner with the local paper, and to get those papers a way to take a cut of internet ad revenue.
Anyway I think the technology was patented by them in 1999 or so, and so I expect this new tech is either owned by the same folks or about to get their pants sued off by those same folks. I knew a guy who worked on technology there. They were out of business by the end of 2000 but someone has to own that patent.
It doesn't hurt to be nice.
If I am using public WiFi everything goes through an SSH tunnel or a VPN.
I tried to use putty one, but never found the equivalent for "-D". Just use cygwin's SSH.
With all other tunneling options, under SSH->Tunnel.
Instead of "local" (= "-L") or "remote" (= "-R"), just pick "dynamic". ( = "-D").
"Sufficiently advanced satire is indistinguishable from reality." - [Tips: 1DrYakQDKCQ6y52z6QbnkxHXAocMZJE61o ]