Ask Slashdot: Good Tracking Solutions For Linux Laptop?
First time accepted submitter WillHPower writes "So I have ordered a new Ubuntu-powered laptop. I spent some extra bucks on lots of RAM and a good sized solid state drive. After putting money into it, I'd like to find a way to track this laptop in case it's ever stolen. Are there any good tracking software/services the run on Linux laptops? Also, are there any other techniques besides tracking for dealing with a lost or stolen laptop that I should consider?"
No, there's no good Linux HW tracking software. Why? Cause there's no good software for other platforms either. It's all "make-you-feel-good-software" which doesn't survive a simple OS reinstallation...
You're probably better off going with theft protection. Your best bet might be to label it a "Linux Laptop" in big bold letters.
http://preyproject.com/
Writing a bash script that automatically sends the laptop's current outbound IP address to a remote file is one idea. That would at least help you figure out to some degree there the laptop has been used from. It'd require law enforcement to go further than that, though...
Assuming you have valuable and/or personal data on the machine, don't forget disk encryption. Either encrypt the entire disk, or perhaps just the data partition. Truecrypt is a good solution for this.
Enjoy life! This is not a dress rehearsal.
http://preyproject.com/download
http://preyproject.com/
A plethora of solutions already do this, without the overhead of reinventing the wheel. Check out http://preyproject.com/
I'm a big fan of these - - They deter the actual theft before it happens.
http://www.stoptheft.com/
+++ATH0 NO CARRIER
Get internal gps. Dual boot with a no-password windows xp account. The thief will have a much higher chance to log into that. Make it spam a home server with its coordinates every second its on and has access to the internet. Encrypt your linux partition. The key is you want the thief not to just wipe it and sell it, they need to power it on.
Encrypt the hard drive. Insure against theft. Forget about it if it's stolen.
Finally had enough. Come see us over at https://soylentnews.org/
...the problem seems to be that just knowing the IP of your stolen computer is not enough for the police to get it back for you. It seems they also want a photo of the thief taken while using the computer, which complicated matters a lot. At least that's what other users have reported.
You'll have to try harder than that to get me to help you track people.
I would recommend Prey: http://preyproject.com/blog/2011/04/its-official-prey-is-now-on-ubuntu
I have used it and it seems to work well. It's free for up to 3 machines too.
The first thing the theft will do: an offline OS installation.
I bet the stolen Linux laptop will have its OS erased to either to run MS Windows or an other Linux distro.
I know it's almost offtopic but what happens if they steal a Mac? I've seen a raided office a few days ago. They got all laptops, half of them were Macs. Do they install some OSX on them?
I tertiary the others on this.
While it is true none of the solutions will survive an OS re-install, in most cases that's not terribly relevant. You want to track it down before they re-install the OS anyway.
Prey is very unobtrusive; I often forget it's even there. It can give you screen shots, access location information, and even snap pictures with the webcam if your laptop is so equipped.
Great product and service.
Depending on the laptop (in BIOS), you can use CompuTrace with Dell laptops.
http://www.absolute.com/en/products/absolute-computrace
Life is not for the lazy.
Actually they do the same thing, install windows on it. Go to craigslist and notice how many suspiciously cheap macbooks with windows installs there are.
Apologies if this sounds like I'm some sort of shill, but I'm not. Just a happy customer:
http://preyproject.com/
* Free and open source
* Completely passive
* If the laptop is reported missing (and has net access to know this), Prey will report its geo-location via Google Maps, take passive captures of the user with the laptop's webcam, take screenshots of their activity, and if necessary completely lock down the computer (though you'd normally do this manually and as a last resort - once locked, the thief will probably ditch it very quickly). Does other things as well.
* Works on Win/OSX/Linux/iOS/Android
* Allows you to run it in two ways:
1. Make an account on the website, install the software and link it to your account, so that should your laptop go missing you can report its absence via the site and it'll do its thing once the laptop goes online elsewhere. Free accounts all you to link up to 3 devices, pro accounts allow more in addition to more features, but you'll easily be fine with a free account.
2. If you want to be completely independent, you can run Prey stand-alone. No account needed - it works by monitoring for the existence of a URL when online, and if said URL reports a 404 error, it triggers and sends reports via email. Hence, you set up some free hosting with a dummy file, point Prey to the full URL of said file, then if laptop goes walkies, remove the file from the host to trigger Prey. No reliance on accounts or anything. Bit much for a regular user but easy enough for advanced users and not dependent on a company for the software to keep working.
Since you're running Linux, you will probably discover that any thief will reformat the hard drive to install Windows. This leaves two options:
1) Look into software that may already be baked into the firmware.
2) Have it automatically, and preferably transparently, boot into Windows then follow some of the other advice found here.
Neither route will help you recover a laptop once it has passed through the hands of professionals.
Overall, you'd probably be better off detering theft in the first place: don't use it in overly public places, never leave it alone in public places, invest in a good lock, and make it look undesirable. (One thing that I like about my ThinkPad is that it looks 10 years older than it actually is. Stickers, especially "non-removable" ones, make more identifiable and harder to resell without a cleanup effort. Scratches and dings will reduces its apparent value. Heck, smashing the slot for the lock will probably deter most thieves since it would be harder to sell.) Remember, the best way to avoid being a target is to avoid looking like a target.
Oh, and write down every serial number on the system.
Configure it to launch a DDoS against the NSA and FBI if your password isn't entered within 30 seconds of booting.
Solving Unix problems since 1989...
This will get you an IP address every 15 mins in your apache log so you can login or trace it.
/usr/bin/curl https://mywebserver.org/checkin
/usr/bin/ssh -R 43811:localhost:22 mywebserver.org
*/15 * * * *
Also, if you don't want to run a full apache stack, boa is a nice light webserver which will do the same. Also, many options for perl/python servers which could be lighter yet but you would need to implement your own logging. Another cool option is have your laptop open a reverse ssh tunnel right to your server when it boots.
@reboot
Join the Slashcott! Feb 10 thru Feb 17!
They will? I thought that was classified.
You're a slashdot guy, so you must be pretty talented. Open the thing up and find some unused GPIO (or serial port) that you can tap into and hook a small block of C4 and a detonator up to it [1]. Then, create a cron job that runs daily to check that you've been logged in at least once, and if it doesn't it should assume the laptop was stolen and trigger the detonator. No. Wait. Better make the cron job run every 12 hours. You can never be too careful. Just make sure you never sleep in on weekends or leave your house without your laptop.
Next, to be extra safe, you'll want to somehow monitor failed login attempts and trigger the C4 whenever too many happen. Not sure how to do this as I'm a hardware guy myself, but I'm sure you can figure things out on your own or with your frienemy Google. I'd say that allowing one failed login attempt should be a safe threshold, but I'd recommend against allowing any more than that, as you're just asking for trouble. In fact, unless you're some kind of pussy that can't type, you can probably get away without any grace login attempts.
If you were really paranoid, you could try to implement some sort of retina scan or proximity sensor using the built-in webcam, but that's an advanced topic probably better left for some future "Ask Slashdot" post.
[1] If you have sort sort of issue with using C4, maybe you should consider somehow using a thermite charge instead. Less "bang", yes, but definitively more colourful, and would give new meaning to the term "toasted skin syndrome".
Put a Windows 8 sticker on it. Nobody will touch it.
Have gnu, will travel.
Prey is great. It is more effective than "Find My Mac" and runs on may platforms, including most Linuces. :-) Android, MacOS and iOS - besides teh usual vanilla from Redmond.
http://preyproject.com/
From the FAQ:
"Flyin' in just a sweet place,
Never been known to fail..."
No, just enter the following URL:
www.nsa.gov/applications/search/index.cfm?q=I lost my laptop could you tell me where it is
I have to admit I was freaked out when the result came back and said, "You're ON your laptop. Stop fucking around, Robert"
Unless they start it up and are greeted with a LinuxMint login screen.
Just set up your laptop to post crap about bombs, etc, if you don't reset a timer after a period of time. The NSA will find it for you right quick!
Whilst not necessary cost effective as a demo for our IT department we hid a 'Geogram One' arduino device in a laptop. runs off usb power so works whenever the theft powers on the laptop. GPS antenna is hidden in the screen you can get the location by sending a 'Text Message' to the device and it responds with the co-ordinates.
1. laptop stolen
2. IT department sends sms/textmesage with password and instruction to hidden device
3. when laptop is next powered on it starts periodically sending sms messages with location to within 2-4m in our tests.
4. ring cops with location.
will survive any hard drive swap or format and with the corect epoxy if they find it they will atleast brick the laptop in the process as it takes the smd components with it.
downside is time to install and price. also ultrabooks have little space to hide it but any larger laptop you can often find a spot.
Any time dogma takes precedence over reality, you're going to fall like the Soviet Union.
Futurist Traditionalism