Rutkowska Faces 'Blue Pill' Rootkit Challenge
Controll3r writes "Three high-profile security researchers — Thomas Ptacek of Matasano Security, Nate Lawson of Root Labs and Symantec's Peter Ferrie — have issued a challenge to Joanna Rutkowska to prove that her 'Blue Pill' technology can create "100 percent undetectable" malware. The Black Hat 2007 challenge will feature two untouched laptops of the make/model of Rutkowska's choosing for her to plant Blue Pill on one. From the article: 'She picks one in secret, installs her kit, sets them up however she wants,' Lawson explained in an interview. 'We get to install our software on both and run it, [and] we point out which machine [Blue Pill] is on. If we're wrong, she keeps the laptop.' No word on whether Rutkowska will accept the challenge."
So they have a 50/50 shot of getting it right. How about something more along the lines of 10 laptops? And then they have to say what tipped them off.
...a 50 percent chance? do that with about 30 laptops to rule out that the infected laptop is picked by pure luck. ;)
She should say she installed it when in actual fact she didn't...
Then snigger while these guys spend hours scratching their huge domed craniums wondering how she did it.
Don't install root-kit on either one! ;)
No seriously now, if all she was allowed to do was touch one of them.. and both laptops had the same exact everything else, then it should be simple to find ANYTHING that was added to either one. But maybe I'm being naive.
_Vishal www.squad9.com
She installs Blue Pill, and if they detect it, great. If not, she has to show them it's there to prove they missed it, and they get a clue how to find it.
Either way, they can come out ahead here...
Another obvious thing I would request is that different services software be installed (and running) on the laptops. Like maybe put MySql on one running as a service and PostGres on the other. That way they can't do something as ridiculously simple like a memory or CPU profiler to find out which one is using up (all beit small) more CPU resources & memory. That seems to be the strategy of the challenging team: Matasano's Ptacek, who has spent a lot of time studying Rutkowska's work, said the challenge team will compare the behavior of the system to known norms to find the presence of Blue Pill. But how many times do you approach a computer that's infected & have all the behaviors of that machine mapped out? I think the real world answer to that is never. So perhaps the name of the "100% undetectable rootkit" will have to be "100% undetectable in the wild rootkit" since most of us have software on our machines (hell, even World of Warcraft did this) and not even us (the people who installed it) can adequately predict what its going to do. I guess one could always make a rootkit that (given the priviledges) targets a host process deep within a host tree and inserts itself into it. You CPU scheduler would simply be running a thread of a trusted set of processes but unless you had a behavior/benchmark for each process of that tree, you'd be hard pressed to figure out it is host to a virus. That said, I think it's entirely possible to create a nearly 100% undetectable rootkit as long as there are unknown & unprofiled processes running on that machine at the time. Just one more reason to only use open source, I guess!
My work here is dung.
Most malware nowadays is so obvious (after all they're there to do something - mail spam, click spam, DoS etc) and still most people hardly notice them.
;).
Also any such rootkit wouldn't work if the O/S starts off virtualized in the first place so that the rootkit would be "trapped". Then you can scan for the rootkit from "outside".
Of course this assumes no bugs in the virtualization stuff. But as we know there are tons of bugs in CPUs
It would either put paid to the security software vendors who may claim more than they can deliver or it will serve as a caution to overly-ambitious columnists. Can't-miss proposition in terms of its entertainment value.
If she loses, she gets to keep both Toshiba laptops.
grep -i "blue pill"
Duh...
Why not use more laptops so they have a smaller chance of GUESSING the right one? Or do they have to prove why they think its one over the other? In that case why use more than one?
They call me the wookie man, I guess that's what I am
this is clearly not a fair test, no one installs rootkits on virgin installs, also giving a small set of laptops means they have a much larger chance of just guessing which one even if they're wrong from their analysis, and if the rootkit is the only thing that is on it besides an OS how hard would that be to find? look at the file access dates? with no other software installed this should be trivially easy to find.
.. which already comes pre-loaded with malware to wehre they'd have to actually look for blue pill code.. that might be a little more balanced and realistic since virtually all consumer pc's have some form of virus or malware as people have no clue what it is or what it does and they like their animated mouse icon even if it's stealing their CC#'s for african nationals.
now if they wanted to test on an E-machine
If you're talking about two identical laptops, I think the test is unfair. You'd probably be able to determine which laptop was infected simply by measuring boot times - and this sort of test wouldn't be practical in the real world. (I suppose the attacker could make it more like a real-world test by installing different sets of applications on each machine.) A proper test would include several laptops of different manufacture and somewhat different hardware specs.
OK guys I don't think it's going to be as simple as "picking" which laptop they think it is on. I would assume they have to provide some backup/proof as to what they detected and how they know her stuff is on that laptop. This isn't Russian Roulette of computing. The point is also to backup their skills and more importantly their products. This is to get more press and make more $ and I think it's great.
It's time to put your money where your mouth is..
grits?
reech bee-yond ur clip-0n
I saw her talk at BH last year and thought it was very interesting. When it came to detection, however, she waved her hands a bit and claimed that a hypervisor could always alter anything in the PC that had to do with timing so that the OS would always think that the "normal" amount of time had passed for whatever operation it might be trying to time. The idea is that an instruction that the hypervisor intercepts will take longer than the native instruction, and you can detect that. The obvious way to do this is to use the RDTSC (read time stamp counter) instruction, which gives you CPU clock speed precision. The hypervisor can, however, change what the RDTSC instruction returns and therefore makes this timing method useless.
There are many other sources of timing information in a computer. Serial ports, parallel ports, USB ports, ethernet ports, IO space reads and writes, disk operations, the RTC (real-time clock), etc. I haven't thought too hard about using any of these things in particular, but I would be very surprised if a hypervisor could alter the behavior of all of these things in such a way that they couldn't be used as an alternate source of timing information when determining if an instruction you suspect is being intercepted is taking "too long" or not.
1. create dd dumps of both drives and run diffs on the images. Added benefit of also seeing if any lower level filesystem stuff was changed and not just files.
2. find / -type f -exec md5sum {} \; compare md5sums to find which files are different. Though this will cause a problem with storing the md5, maybe use a ram drive or exclude /media or /mnt.
"You guessed wrong."
"You only think we guessed wrong. That's what's so funny! We switched laptops when your back was turned! Ha ha! You fool! You fell victim to one of the classic blunders! The most famous is never get involved in a land war in Asia, but only slightly less well-known is this: never go in against three high-profile security researchers when a laptop is on the line! Ahahahahaha! Ahahahaha! Ahaha-"
"And to think, all that time it was your laptop that had malware."
"They both had malware. I spent the last few years building up an immunity to blue pills."
SIGSEGV caught, terminating
wait... not that kind of sig.
Activate it on both and see if they can tell.
and to make it even more fun, put something extra on them too.
* Winners compare their achievements to their goals, losers compare theirs to that of others.
Helu. I'm Thomas Ptacek, one of the four challenge team members --- Slashdot left out Dino Dai Zovi, who kicked this off by writing a virtualized rootkit at Matasano last year.
Joanna has responded to our challenge. We invited her to stipulate any terms she deemed reasonable. She proferred:
You can probably predict our response.
Here's where it stands: all parties agree that by Black Hat '07, Blue Pill will not be in a state where it is hard to detect. Our detection techniques are likely to detect Blue Pill at Black Hat. Blue Pill requires six months of engineering time to get to a state where Joanna is confident that we can't detect it.
Here's why you care: a few weeks ago, Microsoft decided that Vista Home would not allow virtualization, in part because of the threat of virtualized malware. To the best of our knowledge, there have been two (2) real hypervisor rootkits ever produced: Joanna's Blue Pill, and Matasano's Vitriol. Neither has ever been seen in the wild, because neither has been released to the public. Meanwhile, our team is preparing to demonstrate at Black Hat this year that hypervisor malware is actually even easier to detect than the kernel malware operating systems like Vista are already exposed to.
Joanna's Blue Pill work, along with all the rest of her work (check out this project, where she turns AMD security hardware against forensics devices), is top-notch. In a weird, secretive space like security, this is how science gets done. Joanna chooses a side: it's possible to make undetectable malware. We square off on the opposite side. Then we debate it using code, presentations, papers, and I guess Slashdot stories. Hopefully, in the end, we all learn something.
Hope this stays interesting for everyone. Thanks for paying attention!
I have been repairing computers for friends/coworkers for some time and Rootkits scare me. I run the MS tools, the blacklight, the A2Free, the hive comparators.... and pray that I'm not missing something. It's either that or re-install their OS, and since they come with DELL OEM licenses before Dell shipped CDs, that's a crapshoot.
...
The last machine I worked on actually had 'new' virii on them, which went off to AVira and Norton as a 'new' virus and was included in the next days updates. Insane.
My brother in law wants a new computer because he no longer trusts his disk - it's been infected so many times that he figures it's easier to get a new system (I've reimaged it several times to fix the problems). I keep pointing out that it only takes one infection to get ruin the new computer, but he's adamant
Why can't we just get along...
(and don't tell me to put Ubuntu on peoples laptops...)
Compare this to making a "secure" operating system - every bug doesn't have to be secured - just the ones that are being exploited. Same with anti-virus programs - they don't catch all viruses, only what they know to look for.
So the rootkit doesn't have to be perfect to be invisible to *most* users... it just has to hide from the AV software (or other security). And as the security software gets better... so can the rootkit, ie, in the next "version" add the bugs that the security programs are looking for.
Who needs progress when you have profits?
If I were her, I would put Blue Pill on both machines. This has two advantages for her: First, the examiners' obvious strategy of comparing runtime aspects (CPU %, execution time, IO, etc) between the two machines fails, because now both machines incur the VM overhead penalty, and second, if the examiners pick out one of the machines as infected, she can 'prove' them wrong by showing the infection on the other one (given the contest rules of one clean machine, one infected machine). It's worth noting that that's not a real proof, because if the examiners really can deduce the presence of Blue Pill, then they could just show that both are infected. But this strategy definitely defeats the 'compare execution' plan that the examiners have said they are going to use.
I found this useful:
Debunking Blue Pill myth
I do not believe in karma. "Funny"=-6. Do good and forbid evil. Yours, Oft-Offtopic Flamebaiting Troll.
...then you count Windows Vista as malware to begin with. Free laptop!
It should be really easy to detect which Windows machine has had the blue pill used on it--it's the one that's able to stay up for four hours.
This guy's the limit!
HTH
Deleted
amen... shes so sexy ..
i would love to hear her talk about rootkits while..
Kill your TV
Just weigh the machines. The heavier one would have to have the extra files and stuff.
the other laptop is a witch!
then the same technology could be used for DRM.
The Kruger Dunning explains most post on
A guy walks into a doctor's office. His right eye is bloody and bruised. "Doc," he says, "I've got a problem. Every time I drink cocoa at home, my eye hurts."
The doctor, shocked at the condition of his new patient's eye, runs a gamut of tests, ruling out allergies or other clinical issues. Thinking the issue may be psychosomatic, he sits his patient at a table on which rests a tin of cocoa mix, a thermos of hot water, a cup, and a spoon. He invites the gentleman to mix up the cocoa and take a sip.
The man pours hot water into the cup, and dumps in a couple of heaping spoonfuls of mix, using the spoon to mix vigorously. He then drinks from the cup, and immediately screams. Hastily placing the cup on the table, he clasps his hands to his eye.
"Interesting," the doctor proclaims. "Have you ever considered removing the spoon before drinking?"
(and don't tell me to put Ubuntu on peoples laptops...)
This seems to be a problem of your own making. If you refuse to remove the spoon, you will continue to hurt your eye.
Microsoft is to software what Budweiser is to beer.
Really?
[FUCK BETA]
Geek or not, that comment probably just lost any smidgen of a chance you had of ever getting laid.
Wanna fight ? Bend over, stick your head up your ass, and fight for air.
You keep using that word. I do not think it means what you think it means.
Like CSI, you know, dust the keyboards for prints.
She will lose. In both the antivirus will detect that Windows is installed, so both will have malware, blue pill or not.
god i wish i had mod points.
it's creepy shit like this that makes me love slashdot.
The test is for in-memory exploits which do not get written to disk. The malware may not persist through a reboot, but many crucial systems have long uptimes.
I would be careful to work on such a challenge, if I were her :) . I suppose the best step for her would be to decline politely.
Wait, what?
Per TFL: A mystery? It's more than obvious that Mrs. Rutkowska is a transsexual Obvious?
Not to several of the posters above this one, at a minimum...
it's not clear if it's gonna be new software from Symantec or just the current version of antivirus.
If it's something new, they should give her a change to play with it first.
Someone modded this Troll, but it's clearly supposed to be Funny.
Congratulations on wasting some tool's mod point. There's some guy out there who can't tolerate the word "cunt," even when it is part of a hilarious and clever pun. He's just that much of a tool.
She should choose two of those 'Million Dollar Laptops' reported on a while back :).
I don't disagree with her theory, but in practice it is difficult enough to achieve that it will probably never happen.
Check how much RAM appears to be installed and how much is used by the OS.
To win, she needs laptops that are NOT identical.
Five laptops, one with her stuff, and the other four with benign virtualization. :-)
I mean, really, how are you to be sure it isn't just something like VMWare?
Testing for specific products has problems. The list of products is unbounded and unknowable. (VMWare, Virtual PC, Parallels, Qemu+KVM... and even future products) Her malware can pretend to be Qemu+KVM, and how would you know it isn't?
DefCon is way easier to attend. It's cheap and we need only 1 vacation day to attend. Blackhat costs an arm an a leg and, last I checked, was in the middle of the week.
Just install Windows on it, malware than 95% of the population don't detect.
Well now we know that CPU usage is an indicator of the rootkit, a detector shouldn't be too hard. Thanks author of the undetectable rootkit for telling us how to detect it!
Giving them a 50% chance of guessing right seems lame, and the reward for beating 50% odds is only a single laptop, which is equally lame.
Give her 10 laptops and let ber BP one of them. If they guess wrong, she keeps all 10.
THAT'S fair.
I am also having to assume the software must be installed and run by a 3rd party, so we don't have any engineers "snooping" around the system for anomolies to direct their software to investigate. Not that a true 100% BP would mind that, but lets keep everyone honest.
I work for the Department of Redundancy Department.