EFF Reverse Engineers Carrier IQ 103
MrSeb writes "At this point we have a fairly good idea of what Carrier IQ is, and which manufacturers and carriers see fit to install it on their phones, but the Electronic Frontier Foundation — the preeminent protector of your digital rights — has taken it one step further and reverse engineered some of the program's code to work out what's actually going on. There are three parts to a Carrier IQ installation on your phone: The program itself, which captures your keystrokes and other 'metrics'; a configuration file, which varies from handset to handset and carrier to carrier; and a database that stores your actions until it can be transmitted to the carrier. It turns out that that the config profiles are completely unencrypted, and thus very easy to crack."
If it's unencrypted... (Score:5, Funny)
...why would anyone have to crack it? Just open and read it. BRB, I'm going to 'crack' these jpegs of naked ladies.
Re:If it's unencrypted... (Score:5, Insightful)
'crack' is a vague expression. It says that it's unencrypted, which doesn't mean it isn't encoded. If you read the articles, it will be clear that by cracking they mean understanding what's in there.
Re:If it's unencrypted... (Score:5, Insightful)
Unencrypted != human readable.
Obfuscated bytecode is unencrypted and still takes a lot of effort to make sense from.
Re:If it's unencrypted... (Score:5, Informative)
Being unencrypted and being human readable are two different things. Reverse engineering includes figuring out the data structure and format and actually figure out what bit means what data. Generally a simple process if it isn't compressed, encrypted or complex, but still reverse engineering.
Re:If it's unencrypted... (Score:5, Funny)
Indeed. Anyone who has worked with any sort of Perl source code knows just how true your statement is. It's unencrypted, it's not (intentionally) obfuscated, and it may even have comments, but it's not human-readable, even after you've worked extensively with Perl for a couple of decades.
Re: (Score:2)
Or ASCII... ever tried reading the binary values for ASCII codes? Thankfully almost every hex editor ever built can decode ASCII...
But I understand the confusion - you just assume that if it isn't encrypted that it will be in a format that can be easily read...
The youth of today. You've not lived until you've decoded EBCDIC or read the holes on a Hollerith card or five bit paper tape.
ASCII is trivial compared to those three.
Re: (Score:2)
Punch cards are easy. Get out a bottle of MangnaSee, pour some on a magnetic tape, and stick it under a microscope...
Re: (Score:2)
Thank you, damn kids nowadays have no idea whatsoever.
Try sight reading paper tape.
Re: (Score:2)
I'll just encyrpt my paper tape by running the tape back side up.
Re: (Score:2, Funny)
it's not human-readable, even after you've worked extensively with Perl for a couple of decades.
Which pretty much makes you a masochist. I used perl for a project once because it was the only language I could get to talk to MSSQL from Linux without screwing up. I dread maintaining it.
Re:If it's unencrypted... (Score:5, Funny)
Ever look at LISP code. Looks like fingernail clippings in oatmeal.
Re: (Score:2)
Pah, kids these days. Try TECO
"It has been observed that a TECO command sequence more closely resembles transmission line noise than readable text. One of the more entertaining games to play with TECO is to type your name in as a command line and try to guess what it does. Just about any possible typing error while talking with TECO will probably destroy your program, or even worse - introduce subtle and mysterious bugs in a once working subroutine."
-- Real Programmers Don't Use PASCAL [ryerson.ca]
The fi
Re: (Score:2)
Re:If it's unencrypted... (Score:5, Informative)
It was also written in forth, of all things. So it's like finally figuring out the compression scheme and decoding the file - only to find out that it is an image of naked lady *martians*.
Re:If it's unencrypted... (Score:5, Funny)
> It was also written in forth, of all things. So it's like finally figuring out the compression
> scheme and decoding the file - only to find out that it is an image of naked lady *martians*.
Er... you do realize this is slashdot, and to an entire generation of nerds who spent most of their post-pubescent lives lusting after Star Trek aliens, both real-live implementations of "forth" and images of "naked lady martians" are considered a good thing to find inside compressed, encrypted binary blobs?
Stick with something safe, like car analogies.
Re: (Score:2)
real-live implementations of "forth" and images of "naked lady martians" are considered a good thing...
I must not be living in your universe then. The last time I experienced Forth was an interpreter on a cart I bought for my C64 back in the 80's. I think I popped it in the slot once, then it sat on a shelf for the next 10 years and finally got round filed. I can't think of anyone I know who would consider Forth more than a curiosity and more than one of them would try to re-write the module in Python, probably.
Re: (Score:2)
Re: (Score:2)
In the early 90s, portions of the computer art crowd (the ivory tower capital-A Art folks, not the demoscene folks) were using a lot of Forth to do things people would use Processing for today.
Re: (Score:2)
It's my understanding that the camera systems that run suspended on cables over the football fields and up and down the sidelines are run on forth, not that that's a huge job market but it's still in use.
Re: (Score:2)
In spite of protests to the contrary, Postscript is practically forth with a few keywords changed and a vector graphics library pre-loaded.. That came in handy when I needed a program to produce printer ready output.
Python may be generally preferable, but Forth can fit in a really tiny and minimalist environment.
Re: (Score:2)
Python may be generally preferable, but Forth can fit in a really tiny and minimalist environment.
Yeah, but shouldn't it have been called Backth? I mean, it's using reverse polish notation...
Re: (Score:1)
As another coutner-datapoint: All "new world" Macs (PowerPC Macs running OpenFirmware) were using Forth as the bootloader. This also goes for all Sun gear that used OpenFirmware, as well as anyone else. OF was the only real alternative to CMOS for years, and was built around a Forth interpreter.
Up until 2006 or so, you'd probably get a decent driver-level coding job using Forth, but nowadays Lua would be a more useful language to know.
Re: (Score:1)
I must not be living in your universe then. The last time I experienced Forth was an interpreter on a cart I bought for my C64 back in the 80's. I think I popped it in the slot once, then it sat on a shelf for the next 10 years and finally got round filed. I can't think of anyone I know who would consider Forth more than a curiosity and more than one of them would try to re-write the module in Python, probably.
Alright, whippersnappers, listen up.
FORTH was incredibly useful in the day when many SS-50 Bus systems had 32KB memory cards. I had one that also came with an old 8-KB memory card, but wasn't functional because it's address space overlapped the 32KB card. A simple lookup of the address pins on the memory controller address chip provided the knowledge to re-address the card to a new range, and so I had a system with 56KB addressable memory (the processor card had RAM and ROM onboard.)
So what to do with the e
Re: (Score:2)
I did use forth for a little while a long time ago. But I'm far to comfortable with normal algebraic notation to stay with it.
So, IMO it's no use as a high level language, but it makes a very good assembly language especially if you're space constrained because optimising for space is just a simple LZW style compression algorithm. Something that is very, very well understood.
So it'll never die, just get hidden everywhere there's half a penny to be shaved.
Re: (Score:2)
Do most geeks/nerds really know about cars? I am a nerd/geek, and I don't know about cars. :P
Re: (Score:2)
Judging from most slashdot car analogies, I'd say "no". Which, I think, makes it safer ground than programming languages and naked aliens.
Re: (Score:2)
If the images were in an undocumented proprietary format, figuring that format out so that they could be viewed outside of the intended proprietary app would be cracking.
Seems like a waste of time (Score:4, Informative)
All I want to know is... (Score:1)
Re: (Score:1)
android? (Score:4, Interesting)
why does a story about carrier iq have the android icon on it?
Re: (Score:2)
Re: (Score:1)
Re:android? (Score:4, Funny)
why isn't there an iPhone/iOS-related tag?
Because Apple vowed that it was never installed, and that it was disabled by default when it was installed.
Re: (Score:1)
...and that it was disabled by default when it was installed.
So Apple lied when they said
Apple vowed that it was never installed
no?. And we must believe it was really disabled?
Re: (Score:2)
because Carrier IQ software is embedded in phones that use the Android OS?
So it's badly written & only helps the carrier (Score:3, Insightful)
All it needs now is a $5 per Android handset "licensing fee" and you've got your smoking gun!
Cough it up (Score:5, Insightful)
If you haven't done so yet this year, it's time to go donate a few bucks to EFF.
I wouldn't bring it up if we didn't need them so bad.
I'm in for another fifty, just because I saw this story and it's fucking Christmas and if SOPA passes we might as well kiss our Internet goodbye.
Re: (Score:2)
Yup!
I don't agree with everything the EFF says by any stretch... but compared to the other extremes... they get some of my money!
Re: (Score:2)
Re:Cough it up (Score:4, Informative)
It's tax deductible.
To donate by sending a check: 454 Shotwell St, SF, CA 94110
Donate online [eff.org].
Good things they've done. [wikipedia.org]
Re: (Score:2)
Consumer Protection (Score:5, Insightful)
At the risk of being modded down, I think that if there is not already legislation to protect people from this type of spying then there should be.
Of course (Score:3, Insightful)
Of course there will be. The legislation will say "you may continue to spy as long as we get a cut".
No, that wasn't a joke.
Re: (Score:2)
Exactly right. EFF isn't corrupt - we're better off with them than legislation.
In this case market regulation >>>> government regulation.
Re: (Score:3)
Protect? Surveillance and enforcement are much more profitable than privacy. Be glad the lawmakers are still calling the internet a 'right', any day it could become a mandate.
This is the greatest spycraft tool and marketing assault ever conceived, all wrapped into the guise of bringing info to the masses!
Throttled, vetted and sanitized info is the endgame if the entitled set get their way.
Re: (Score:2)
What type of spying? So far, no one has shown that anything invasive has been sent. Only videos of event triggers, not actual storage or sending. The profile example for my phone looks innocuous enough, and the more I read about CIQ the more I think it does exactly what it says - help the carrier improve the network.
So what exactly is it you want protection against?
My carrier has already asked that it be removed from devices. The free market worked. Mostly because Sprint has been trying very hard to ke
Re: (Score:2)
You're referring to this specific instance (CIQ) whereas I am referring to the entire idea.
Even if you are correct that nothing serious has happened..this time, the reality is that if we have no legal protection that we will be spied upon as much as possible for corporate gain.
I want a life and I want it private. As I also want to be able to use the Internet (I don't use facebook et al and I make every effort for my private life NOT to be posted), and I want to be able to use a telephone without fear of be
collector/c info please (Score:5, Interesting)
Of course we hope people can also send us Profiles from Windows Mobile, BlackBerry, iPhone and "feature phone" ports of Carrier IQ.
I'd settle for more info about "c" on the machines collecting data.
grep -H https *.xml
att-galaxy-s2-defaultProfile.pro.xml: UploadUrl="https://ciqcol01.ciq.labs.att.com:10010/collector/c">
htc-amaze-tmob-defaultProfile.pro.xml: UploadUrl="https://oddca.t-mobile.com/collector/c">
htc-evo-sprint-iqprofile.pro.xml: UploadUrl="https://collector.iota.spcsdns.net:10003/collector/c">
tmob-galaxy-s2-defaultProfile.pro.xml: UploadUrl="https://oddca.t-mobile.com/collector/c">
I was able to get ciqcol01.ciq.labs.att.com 10010 to respond with telnet; but, it dropped my connection when I sent GET/POST etc. The others didn't respond. I'm assuming they have been moved.
Re: (Score:2, Insightful)
Interesting. Port 10010 doesn't show up on a port scan but responds to telnet.
host ciqcol01.ciq.labs.att.com
ciqcol01.ciq.labs.att.com has address 216.103.127.200
nmap -P0 216.103.127.200
Starting Nmap 5.21 ( http://nmap.org/ [nmap.org] ) at 2011-12-23 07:52 CST
Nmap scan report for 216.103.127.200
Host is up (0.028s latency).
Not shown: 998 filtered ports
PORT STATE SERVICE
139/tcp closed netbios-ssn
445/tcp closed microsoft-ds
Re:collector/c info please (Score:5, Informative)
By default, nmap only scans a subset of ports (first 1000 of all protocols or something).
Try explicitly telling it to scan that port (using the -p option)
Re: (Score:3)
Just the 1000 most common ports. Hence why it says "not shown: 998 filtered", as well as the two showing up. There is an option which will tell it to do a full scan of all 65536 ports.
Thats probably why they chose that port, incidentally-- gets missed on a casual scan.
Wikipedia article (Score:1)
Re:Wikipedia article (Score:5, Insightful)
Welcome to Wikipedia, the free encyclopedia that anyone can edit.
Re: (Score:2)
Wiki = What I Know Is.
Given the intelligence of most people on this planet, Wikipedia isn't very intelligent. It's also SLOW to pick up on the latest and greatest. And it's still sorely out of date on many topics.
What Wiki knows is garbage.
Re: (Score:2)
Wiki = What I Know Is.
Yeah I'm not going to add in the references, this is from this [wikipedia.org] page.
"Wiki" (pronounced [Ëwiti] or [Ëviti]) is a Hawaiian word meaning "fast" or "quick".[5]
Re: (Score:3)
Welcome to Wikipedia, the free encyclopedia that anyone can edit, even though your edit won't last 24 hours.
Still undiscovered versions out there? (Score:4, Interesting)
We know it's on android, but the article points to an earlier article that says, "In our post yesterday, we wrongly assumed that Carrier IQ was something that carriers added to smartphones — but now it’s clear that Apple bakes Carrier IQ into its closed-source iOS for use by carriers."
This makes me suspicious that there may be a version in Windows-based phones, or other phones with different data OS' installed.
Re: (Score:3)
Im curious whether this is true of blackberry. Im still rather skeptical that RIM would take their supposedly security-minded product and then compromise it by including something like this in the stock firmware.
Re: (Score:2)
^^ Mod parent funny!
I smell a class action suit (Score:5, Insightful)
So not only are you possibly able to invade my privacy, but you're also charging me for the bandwidth to do it? I'm sure the TOS doesn't cover you for the later.
Re: (Score:3)
This shows how many layers can sit between the users and the trusted network - open or closed in every phone shipped in parts of the world.
Many noted it sends "nothing" back - but it still shows how easy it is to get a whole generation of devices shipped with any shipped or installed crypto dead out of the box.
Where are the telco open source developers, former big telco contractors on this?
A
Re: (Score:1)
I loved my old Evo.
Rooted with CM7 on it.
Whatever phone you have, you should have root.
Most likely you should replace the stock firmware with something else.
Re: (Score:3, Informative)
This may help explain why some carriers (e.g. T-Mobile) required an "unlimited" data plan for certain phones. Even though my wife only uses about 40 MB of data over T-Mobile's network a month, they want to require her to use the more expensive unlimited plan. If it's an unlimited plan, they aren't charging you for additional data transfer.
Well, technically they might be, but not directly; and not legally. If that's really the reasoning, then they're just extremely evil and bad, bad people.
Root phone and run Cyanogenmod! (Score:1)
http://www.cyanogenmod.com/blog/cyanogenmod-will-never-have-carrier-iq
Most non-OEM ROMs do not have Carrier IQ.
Re: (Score:1)
It's lordpwnalot. Surely, you can trust him.
Re: (Score:2)
More than just privacy (Score:2)
My big problem with CarrierIQ has not been concerns over privacy (I just assume the carrier can see anything I send over their network) but the fact that it is both buggy and unstoppable. I was in the middle of nowhere when I noticed that my Atrix 2 was nearly dead (I had charged it that morning). Checking the battery monitor showed that "Device Health Applicaton" had sucked down 80% of my battery, and had been using GPS for 6 hours strait. Of course you can not force it to quit, que stream of [explative
This was too easy... (Score:1)
Re: (Score:1)
It took a picture of my dick and tweeted it :(
Tony Weiner.