Re:Lenovo Caught Installing Adware on New Computers
by heyalexej on Thursday February 19, 2015 @08:59AM
(#9073960)
The code you linked is nothing out of the ordinary as far as adware in Chrome plug-ins etc. go. For an example have a look at the source code[1] of "Awesome Screenshot"[2] which is used by ~1,4M users and also calls home to 7 different hosts[3]. This is just one of many many Chrome plug-ins that is injecting ads and Google encourages this[4]. It makes sense to limit injections to markets they can serve / are affiliates in.
[1] https://github.com/heyalexej/pretty-fucked-up/blob/master/ba...
[2] https://chrome.google.com/webstore/detail/awesome-screenshot...
[3] https://gist.github.com/mvirkkunen/89f61a06819530e48b53
[4] https://developer.chrome.com/webstore/program_policies#ads
Some of the code inserted is pretty strange, including functions to checks for lenevo, bestbuy.com and isPayingCountry() with a list of country identifiers:
http://pastebin.com/AQqWirba
So apparently they work with some big companies, and I can't work out what the country check is for, perhaps for subsidiaries of a large customer?