Mac Thief Caught Thanks To Applescript & Timbuktu
el.cerrito.slasher sent in an amusing bit found on MacSlash. This story
is a tale of a stolen iMac that just happened to be running Timbuktu (a remote
control program like VNC I believe). Well the stolen box kept getting
used, and the owner was able to track it down through
a variety of amusing Timbuktu Fu. Funny story.
What a brilliant idea. AppleScript - although simplistic and arcane - obviously has some uses. Forget getting the iTunes song or FTPing files, here comes the Timbuktu/AppleScript remote-disk-erase squad! ^_^
I think, therefore, I'm smarter than our president.
And that is what he did, by setting the default AOL phone numbers to two numbers with caller id, and watched for a modem to call both.
-dair
Personally, I'm slightly security paranoid, but I don't believe that anyone who steals my machine is going to care what's on it, but more likely swap drives. Ok, that's what I'd do, at least.
But, looking at this, I'd love to have something like this running. Are they any current security programs that do things like this? I would need it for Windows and Linux.
Now if only I could have it run in the BIOS. Imagine if on the bios level, without a proper key or password or whatever, if the hard drive was removed and replaced, it would then call a panic number whenever connected. That'd be neat.
The power of accurate observation is commonly called cynicism by those who have not got it. - G.B. Shaw
For those of you who got a real kick out of this thing, you may want to read Cuckoo's Egg. Cuckoo's Egg is a little older (he talks about using the teletype), and follows a real life story of an admin who went and tracked a bad hacker (or thief? -- sorry it's been a while). It has the same sort of "you out-think me, i'll out-think you!" back and forth flavour to it. Give it a read, you won't be disappointed.
All it would take to permanently disable this sort of thing would be to format the hard drive and reinstall the OS. And that would be very likely to happen on a Linux box. I mean seriously, how many thieves are going to be willing to sit and work at a Linux box till they come up with a valid Username/Password combo?
With a Windows box, on the other hand, you could easily write a program to verify the computer's IP address at boot time, and if it doesn't match, send an email to you reporting the unusual IP address and any other useful info you can think of. At each boot thereafter (common with Windows, of course) it checks a particular file on a particular server for instructions on what else to do, such as activating auto-destruct. That way you never auto-destruct your own computer by accident, since it requires permission first.
If you were particularly ambitious, you could have it activate a keystroke logger and email the recorded info to you each time it boots.
Now if only there was a way to remotely electrocute the current machine's user when they touched the keyboard (this feature might be useful in a day to day network environment as well).
I Am My Own Worst Enemy
FYI:
p plescript+imac+timbuktu&num=20&hl=en&sa=N&tab=wg
http://groups.google.com/groups?q=Bridges+myers+a
I had flashbacks to reading "The Cuckoo's Egg" while reading this transcription. Does anyone else remember reading the commands listed in the book and quickly running over to a unix box to play?
Honestly, I'm not -too- surprised that this happened. My machine runs:
/bin/date | mail
/sbin/ifconfig -a | mail
(Running dyndns would be interesting also.)
on bootup. I originally did this so that I could keep track of my box and identify when it went down and what the current IP was so I could ssh in and look around more comprehensively, although it has crossed my mind that if my machine were to get stolen it might report back to me where it was. I'd happy to see that it's worked out at least once for someone.
Most ISPS keep logs of usernames and passwords on certain ips (especially if they're static/near static as in a cable modem or dsl connection). From there, it's fairly easy for the ISP for connect that back to a real name.
I'd be very intrested to see if this is enough information to get a search warrent.
-- Mike wildcard@illuminatus.org
The article doesn't say the thief was caught. To quote the guy himself: "So the conclusion to the story is: iMac and Lexmark printer recovered, one female pled out to possession of stolen property and got a year's probation.".
Possession of stolen property is very different to theft. She claims to have bought the imac from "some guy". Ok, she might be complicit, but we won't ever know.
ooooooh! What does this button do? - DeeDee, Dexters Lab.
<SARCASM>
In related news, the FBI has announced that its stealthy "Magic Lantern" program is officially being launched under the name "fbiJack."
"This guy got lucky, but how 'bout you, Slick?" taunted Special Agent Kay. "Wouldn't you feel better knowing that fbiJack is running on your machine? You can pick up an installer disk at any U.S. Post Office or download it from Microsoft.com."
</SARCASM>
I thought that his name was Hamburgler, not Mac Thief...
Oh THAT kind of Mac.
"So there he is, risen from the dead. Like that fella, E. T." - Father Ted Crilly
This is quite a bit fancier than putting "logout" in someones .login when they leave their terminal unguarded.
The problem with doing something like this under a system requiring user accounts is that once the person discovers that they can't just turn it on and get a point-and-drool interface, they'll erase it and start from scratch. Perhaps if you wanted something like this (and had a bit of technical skill) you could have it boot from a small partition (I mean, how many users know much about that?) that checks to see if what its booting into is what it should be (ie has windows been installed where linux should be), and if so alters something on that OS to make it phone home (obviously, something different for every OS that may be installed would have to be done, but this is hypothetical), and then proceeds to boot the new OS normally.
In the case of many Linux machines on dialups with a dedicated phone line, they are told to dialup on boot anyway, so that would give you some oppertunity to trace it, by checking the number that it is calling from. However, that is assuming that someone sets everything up, including the modem cable, before turning it on the first time.
On another note, how come erasing everything didn't remove Timbuktu? Does it live in the System Folder only?
...why Windows XP is frequently calling "home" :-)
Now instead of all that freaky AppleScript, the payload of the script is a simple
sudo rm -rf /
Applescript is my least favorite part of Macs. (shudder). it's nice to be able to integrate shell scripts as AppleScript now; just wrap the entire shell script in a single line of Applescript.
ZOMG I WOULD LOVE TO KNOW ABOUT YOUR FEELINGS ON MACINTOSH VERSUS WINDOWS, VI VERSUS EMACS, AND HOW YOU'RE NOT A DORK
Wired Article on how d.net helped someone track down their stolen computer.
maybe, but then you'd have to get a load of Mac install disks and a bootable disk to ake the computer useful again - no-one's gona want an iMac with no software on it, and no theif is gonna want to steal something worth a few hundred only to have to spend money on it to get it going again. This isn't Lex Luthor we're talking about here, this is probably some kid theiving to buy crack.
That was classic intercourse!
Seriously.
If you were really serious about inflicting pain, how about:
setting up one of those $125 per call phone lines in the bahamas and then having the imac call it every 2 minutes...
repeatedly call 911 and play recorded message: "help! I've fallen and I can't get up!" over and over again
install a keylogger so you can post their most intimate conversations on your website.
those are just a few ideas that have popped in my head.. Hell, you could do that with VB email virii and make a mint with the first one...
If you were me, you'd be good lookin'. - six string samurai
Recovering the iMac at all is very cool. Every PC and Mac should have some "phone home" program installed; I bet most stolen computers aren't wiped. Anyone buying a Mac/PC on the super-cheap, is unlikely to buy or dig up a copy of the OS to start fresh.
:-)
:-)
:-)
The lack of a prosecution for the theft is disappointing. (As someone who has had their place robbed twice in the past two years, I find the low capture/prosecution rates depressing; it just doesn't seem to be a priority with law enforcement. Sigh. Oh well, if anyone tries to hit me again, they'll be on candid camera
What might also have been cool, would be to use AppleScript to flip on the microphone, record the sound in the room, and send the recordings now and then, when connected. (Or use AppleScript to download a program that does the same; I don't know AppleScript.) That would potentially allow more "evidence" to be collected. If the lady didn't steal it, there's a chance you'd record something that would be useful. (Her thanking her brother-in-law for the Mac, or the like.) Having the Mac copy you on all incoming and outgoing mail may also be useful. (Not sure if the Mac could do it; Outlook almost does this by itself, with all the viruses it accepts
Probably not admissible in court, I guess. Although using a stolen device for surveillance really *should* be a legal means of admissible evidence, in a perfect world
-me
Love many, trust a few, do harm to none.
Ah, the joy of editors. There's always that other place, as an alternative ;-)
ooooooh! What does this button do? - DeeDee, Dexters Lab.
The boot sector is replaced with a BSD style boot selector, set to boot from the "stolen" partition by default (ie if you are using the machine yourself, you select BSD or Windows - thief has 5 secs to figure out what is wrong, and cant, so gets default behaviour.
After the initial boot sector process, control passes to a next stage, "Stolen" ... This displays a message "Unable to start Windows ... perhaps modem cable is not connected to the phone? ... Please connect cable to phone, and press return"
The average thief will understand this, and connect the phone cable. The real owner would press CTL-ALT-DEL.
When the thief connects the cable and presses "enter" the phone dials the owner, his mates, his mobile, his dog, cat, ma, pa, and the 911, 999 (in case its in Europe), FPI's private number, SWAT, the US Marines, Bin Laden, the Mafia hit-man hot line, and that number the Gas Company reserves for reporting leaking gas mains.
Not only that, the boot sequence will auto-hack so this is the ONLY boot option, and disable CTL-ALT-DEL. The dialling sequence will repeat till the battery runs out.
Someone will be pissed enough to find out who owns the unlisted number and send the boys with big sticks round for a visit.
Sent from my ASR33 using ASCII
Problem solved:
/etc/lilo.conf), then this won't work without a password. But a lot of Linux installs I've sat in front of are open to this...
LILO boot: linux -s
To be precise, that should be whatever the name of the image is, followed by '-s'. You can hit TAB to view a list of images.
Now, if whoever installed Linux locked down lilo as well (with the restricted keyword in
Of an admin legend I heard once about an overzealous equipment cage guy that spent years doing tcpdumps scanning for the mac addresses that belonged to a shipment of missing ethernet cards, and eventually caught the guy that did it. Anybody ever heard that one?
The most important thing any republican needs to know.
You have the phone number. Doesn't anyone have any clever social engineering skills anymore? Get the damn user to tell you their address....
That sounds like an ok idea. I think if I did that to any of my machines I'd have to go bail my wife out of jail every night.
So he called up all the places in town that sold Macs (all two or three of them) and waited. Sure enough the idiot kid shows up at a store asking about an HD-20 boot disk. Snagged!
The difference now is that the internet is everywhere, and it's now possible to have the computer "phone home".
--
"Open source is good." - Steve Jobs
"Open source is evil." - Microsoft
Hmm. If you have a voice modem it wouldn't be too hard to just call 911 and play an audio file "This computer was stolen, blah blah blah" through the modem. Don't forget the AT command to turn off the speaker first.
Now if G.Bush could just get a certain Saudi to steal his computer...
Call me an idiot, but if for some reason I ever stole a computer, I'd likely mail the drive back to the poor guy out of sympathy. I certainly wouldn't reformat the drive. I'd get rid of the drive no matter what even if it meant pitching it in a landfill.
Wouldn't it be great if every Mac/WinTel computer came with a stripped-down, Timbuktu-like program as part of the operating system?
Ummm... every Mac now comes with cron and sshd already installed. What more do you need?
Lost: Sig, white with black letters. No collar. Reward if found!
no offense mate, but I think you're reading into this a little too deeply. A parable for you - how many car theifs take their newly acquired goods around town for a spin? Not many - if they do, they're idiots. No, the first thing they do is get it to a chop shop as soon as humanly possible to be sold for parts. The parts themselves are worth much more than the car as a whole. Some guy who steals your computer doesn't care what you're running or what your password is - he cares how large (and popular) your HD is and if the cd-rom's a dvd too. It's not about the machine, it's about the total income derived from selling all the parts. You could be running Basic for all he cares; if it spins or hums or whatever he can sell it. Triv
All new XP boxes do.... it is supposed to allow Microsoft support to remotely fix a machine. They already can kill the box remotely if you happen to share the same key as 10K of your friends.
While its not hidden from sight, check out tight vnc if you want remote access to your box. Nifty little program for those of us who need to do something with a remote box - like my mom's....
+++ UGUCAUCGUAUUUCU
So I placed a Lost and Found ad with a Reward, and sure enough a couple days later this kind person calls me to say they found the laptop.
The people who found it said they watched it fall off my car on the highway and stopped to pick it up. The amazing thing was that the only damage to the Powerbook was the floppy drive and a scuffed case (battle scars.)
Unfortunately, the people who rescued my mac weren't mac users. Actually I don't think they were computer users at all as it seemed the only thing they were capable of was changing the names of all the files on the desktop to variations of :aaasjkdfl;jjj, including the hard disk:fhhdks;jasdfjjh. And that's what really would've been nice, a form of nag-ware that ran when powered up saying: to whom it belonged, and how a reward for return would be paid, etc. And maybe an applescript to auto-dial the modem to my home phone. Then at least I'd have a chance of caller-id picking up!
-
What I did on my Windows machine to record the IP address was use a *very* simple set of tools. .bat file, which runs and ends very quickly at startup: .sys file to my hotmail account. And it does so periodically.
.p.
1. I wrote a one-line
ipconfig > c:\windows\system32\ip_ADDR_resolv.sys
to make it look like a system file. All it is really is an output of my local IP address.
2. I used the free StealthMailer program at: http://www.amecisco.com/stealthmail.htm to mail my
3. For added cool, you can use low-level key-logging software and mail out everything that use types and mail it to yourself. Cost is about $79/license.
You can't beat that for peace of mind.
Uh, except that it had a passworded remote-access program on it (Timbuktu) that told a master server that it was indeed his (sister's) computer. It's more the equivalent of... well, someone stealing your computer, then you connecting to it 'cause it phoned you up and said "Hey! Here I am!". Please read the article before posting - all of this was covered.
Every once in a while I like to masturbate a new word into my vocabulary, even if I don't know what it means.
That's probably why you aren't a computer thief.
There should be a moratorium on the use of the apostrophe.
Max V.
NeXTMail/MIME Mail welcome
"An easier solution would be along the lines of what they do with dogs"
Send it to obedience school? Teach it to heel?
Watch out if your thief is Korean.
This just exacerbates the problems with the current police system. Cops would much rather sit by the side of the freeway eating a donut, drinking some coffee and pointing a fucking radar gun at your car. God forbid they actually help people out in recovering stolen property, that has to be done by the individual these days.
Why is that? Is it because traffic citations are easy and gain them money? Is it because they can bust someone for possession of a "controlled" substance and also get forfeiture of property? Is it because law enforcement is just lazy when it comes to going after real criminals who leave behind real victims because it's not economically viable?
I'll let you decide.
Hammer of Truth
...the security implications of this "suicide script". I can easily see someone taking this applescript and tweaking it to create a really nasty trojan. Hope all you Mac users are either running a current version of an anti-virus proggie or have applescript disabled...
Knowledge is power. Knowledge shared is power multiplied.
First you set the bios password. I know it can be removed, but thieves are idiots afterall and this might take them a good deal of time.
/home filesystem through the crypto loop back (you *do* mount your /home dir through the crypto loop device in Linux, right???). Obviously, they won't be able to guess this password (hell, my password to do this consists soley of 9 digits).
/home, a sweet little /etc/init.d/ script you made sends your IP address via email to you. Then you can SSH on in do whatever you like.
If they get past that, and boot, they'll be confronted with a password prompt to mount your
So they will have to remove somehow repartition the drive and install another operating system. Can a thief do that too? This causes the thief precious time and effort... more and more the machine becomes a less interesting proposition.
Between boot and trying to mount your sensitive crap in
BTW, I can't spel.
The Timbuktu extension that's installed on it posts a unique identifier to Netopia's IP Locator server (findme.netopia.com) whenever it connects to the internet.
What about the privacy aspects of this? Sure, in this instance it worked out to be a good thing, but do you really want someone else to know where you are using their license? How is this different than Windows XP phone home? What -other- information is being transmitted to Netopia?
I went through this same drama last year when our company kept having our laptops stolen at night. Our instant messenger software quickly gave us the IP of the stolen laptops as soon as they were brought online. I called the police, Earthlink, AOL, and Netzero with exact call times and IP hoping for help. Didn't get ANY... police were very impatient, saying unless I could prove (via fingerprints, door busted open, etc) who stole them, they wouldn't do ANYTHING. ISPs said they wouldn't act without a subpoena.
Moral of the story: Have it call home to a CallerID box- having just the IP won't get you anywhere.
To an extent, There are a number of things you can do that you couldn't normally to retrieve your own property that has been stolen. I believe this includes entering other peoples property.
Alcohol, Tobacco and Firearms should be the name of a store, not a government agency.
You're not breaking into their house - you're having the police go and get it. What you're saying is that it should be illegal to hack your own computer. Uh, no.
I have a server that I co-administer with a friend. Well, guess what? He updgraded sshd and stupidly did a STOP on it, not a restart. The server is some 19 hours from and 2 hours from him. I had to exploit the box to get back in. Should that be illegal? NO. BECAUSE IT IS MINE. Same as the iMac. It was the guy's sister's, she gave him permission to do it, and that's all that matters.
Every once in a while I like to masturbate a new word into my vocabulary, even if I don't know what it means.
Flushed with a sense of accomplishment from landing a cushy job getting cussed at, spit on, and occasionally having to duck bullets for the princely sum of $18,000/year, these guys really get off on standing in the rain writing tickets.
More likely it is because ticket revenue makes up a large portion of most department's annual budget, so it's more like, "If you want a new bullet proof vest you better get out there and write daddy some tickets like a good little bitch." It is inconceivable to me that these guys actually have ticket quotas. Does that mean we aren't doing our job as a citizen if we don't occasionally get caught speeding so we can pay our "supplemental taxes"?
Don't hate the cops-- hate the administration that wastes all your tax money and police resources on the "war on drugs", and forces officers to whore in the streets for money to shore up budget holes that are left behind as a result.
Hate the "police state" if you want, but try to remember that cops are people too, and a lot of them hate their jobs and bosses as much as you hate yours, only they are hating theirs for less money with a much greater risk of injury or death in most cases.
My dad was a police officer for a while, and he used to tell me, "Cops are people, just like everyone else. The problem is that for what they are paying, you tend to get two kinds of candidates: starry-eyed idealists naieve enough to think they can "make a difference", and people who couldn't find a job doing anything else." Unfortunately there is a shortage of the first kind. Feel free to sign up if you would like to offer your intelligence and talents to serving the community for little or no compensation.
When I told him I was thinking about becoming a police officer he told me, "Son, if you have any involvement with law enforcement it better be from the other side. You will make a hell of a lot more money, and people will respect you more. If that doesn't help you make up your mind know that I would rather shoot you myself than hear someone else shot you."
I think most of what is wrong with police services today comes from the top down more than the bottom up. Even granted that you aren't working with the best and brightest most of the time, if the administration pointed them in the right direction and focused on the right things we would al be happier, officers included.
Naturally, a local number is useless, unless you are willing to have your computer try to make a long distance call to your local PD.
It would be nice if there were a common set of geographically-independent numbers that mapped to common services (fire, police, general emergency, medical, etc.)
You could've hired me.
Some people have suggested a "real" thief would just erase the HD and start over. And, some might.
But most thieves are dumb, or at least cheap; do you think they are going to erase PhotoShop, etc and go out and buy a copy, and then do that 20 or 50 more times? It isn't much use without apps.
If you don't leave your SW about in an obvious place, they won't have an OS install CD (to boot an iMac or any Mac made since about 1996. A boot floppy is useless; most won't boot with System 7.1, which did fit on a floppy. And if your floppy collection is anything like most people's, there won't be a decent label on it anyway. x86 is, of course, different; boot floppies are pretty easy to come by and they work).
Auto-dial 911 is A Bad Idea; they have enough trouble with users who can't figure out why the cellphone called 911 from a football game cuz the guy sat on it and it auto-dialed with "quick 911" enabled.
A periodic eMail to your own account sounds good; there is plenty of evidence there and, properly done, it doesn't compromise your own security (or risk your own life w/electric keyboards... YIKES! -I don't trust any computer that far).
IANAL, but I have previous experience with issues like this as I used to sell used computers, and I didn't always purchase my stock from the most reputable sources.
If you buy from a store, or from an auction, you're probably safe. But if you buy from an individual, especially from someone you don't know, you might want to do some sanity checks. First, check for serial numbers. If there aren't any, DON'T BUY IT. This can be tough if the computer was self assembled as some clone cases don't have serial numbers on them, but practically all OEM computers will.
After purchasing it, WIPE IT. Reinstall the operating system from scratch at the very least. If you're a good samaritan, you might want do back up the system, especially if there seems to be any personal information on it. But you want the system itself to be clean.
Take the serial number on the computer and any other equipment you bought, and report it to the police. Pawn shops do this all the time. First of all, if any equipment you report comes back stolen, you can't be prosecuted for possession of stolen property, even if you had a pretty good idea it was stolen. Secondly, I'm not sure about every state, but in Texas even if it IS reported stolen, you're still the rightful owner of it and its the responsibility of the original owner to prove in court that they are the rightful owner before being able to reclaim it. Pawn shops usually get around this by offering to return the equipment for the price they paid for it (which is generally a small fraction of what the equipment is really worth). In many cases the equipment is insured and the original owner would easier collect on the insurance rather than spend a couple years in court trying to get a computer back that by the time they finally get it would need to be replaced anyways.
As for the lady in the article, it was probably one of those "look the other way" things. I'll get a good deal on a computer and I just won't pay attention to how I got it. If there was even the slight bit of legitimacy to her purchase she wouldn't have been so eagar to take a plea agreement.
-Restil
Play with my webcams and lights here
At our local geek store, on the wall, is this running gag. This guy took an old case and filled it with cement (harder than you might think). Then he sets the 250lb beast on his front porch. He keeps a running log of movement and/or spottings of people trying to steal it. One time someone did steal it only to leave it in a ditch not 20 feet away. Later, he made a 350lb version of a working computer! He has detailed plans for doing this :). Personally, after driving by the place to see for myself, I can't imagine walking all the way across his yard, picking a computer off the porch, and walking back, in plain daylight with neighbors and all! But, no, the logs plainly show that people try this all the time. he should design a camera triggered by the case's movement to get the look on their faces when they try to pick it up >:).
I would like some milk from the milkman's wife's tits
You're kidding!
$50K and I get to carry a GUN?
Screw system administration. I never get to wave a gun at anyone here...
I'm going to sign up.
I wonder what my odds of passing the psych eval are...
I was thinking about this yesterday, actually.
a -remote-detonator as well.
When I turn my Thinkpad on, it gives me a nice big IBM logo. What if one could replace that logo with a bitmap of some sort, that was password protected like BIOS passwords are? It could say "property of, gimme the thing back, etc etc" and would be completely impenetrable.
The whole phone-home thing seems logical, but for those of us who use OS's that can't be accessed without a password (ie XP/WinNT/Win2k, assuming it's set up properly) the machine is going to NEED a reformat/reinstall before it's been swiped anyways. By the time someone got into my OS (so that a dialer could work) they would need my user pwd, which hopefully they wouldn't have.
It would also be nice to see a machine *properly* support secure smartcards so that the machine would be useless (except for parts, no way around that) without it.
Of course, I like the mini-tower-case-on-the-porch-stuffed-with-C4-and-
-
-- "Ignorance more frequently begets confidence than does knowledge." (Charles Darwin)
No. The thief could just as easily say "he let me borrow it". you need witness, or other evidence.
The Kruger Dunning explains most post on
Maybe think-before-post next time?
that was a little snide, wasn't it? the poster said they didn't know about macs.
And of course you were under no obligation to post a reply. not everyone has the same knowledge as you.
I'd also like to point out that point number 1 was an assumption, and that you really don't know.
Maybe think-before-post next time?
The Kruger Dunning explains most post on
that was the first thing I thought.
Even Rotx would probably be enough for most criminals, considering they didn't even do a re-install of the system.
Or mail the docs to your self, then shred.
I would be really cool if you could catch them using map quest!
The Kruger Dunning explains most post on
What happens if there's a power failure while you're not around? When the system reboots and you're not around, you're in trouble. Of course, many BIOSes are compliant enough with ATX to offer the ability to stay down if power failure occurs, but what if your BIOS battery gets wiped out?
I like the idea, written above, of having a GPS phone send an SMS daily with tracking info. However, I know nothing about GPS phones. I hope this functionality is easy to create...
Get off my launchpad!