Slashdot Mirror


Ask Slashdot: Securing a Journalist's Laptop Against a Police Search?

Bruce66423 writes: In the light of the British police's seizure of a BBC laptop what is the right configuration and practices to ensure that such a seizure provides zero information to the cops? This post from Thursday might be a good place for some ideas, but that one's expressly about securing a Chromebook; what would you advise for securing a more conventional laptop? (Or desktop, for that matter.)

41 of 324 comments (clear)

  1. Laptop by fyngyrz · · Score: 5, Insightful

    Don't store your information on the laptop in the first place. Just use it as an editing and remote-access tool over a secure connection or to a USB stick you don't expose to search procedures.

    That's about the best you can do, short of memorizing everything.

    Encrypt the laptop, and you could lose it. Just let them search it top to bottom, then when they're done and you're wherever you're going, wipe the hard drive, reinstall your OS, and carry on.

    It's really not a great idea to carry information you need to be secure around with you.

    --
    I've fallen off your lawn, and I can't get up.
    1. Re:Laptop by allo · · Score: 2

      Why? Break it in two parts and its very expensive to restore data. Drop it into the toilet and flush. Nobody will find it.

    2. Re:Laptop by Anonymous Coward · · Score: 2, Funny

      Why swallow? .

      That's what she said.

    3. Re:Laptop by BitterOak · · Score: 2

      Why swallow? Micro SD is small enough to hide in your shoe. Rip the inner sole slightly and carve out a tiny slot. The police might check your shoes quickly but they won't look close. The metal will block scanners.

      Even at airports, you're required to take off your shoes and have them X-rayed. I'm sure a targeted search by police would be at least as thorough.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    4. Re: Laptop by gweihir · · Score: 2

      And once they suspect that, they will just x-ray you, like they do for drugs. And then wait until it comes out and maybe slap a few extra charges on you.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    5. Re:Laptop by w3woody · · Score: 3, Interesting
    6. Re:Laptop by peragrin · · Score: 2

      Most shoes and sneakers have a strip metal along the sole for rigidity. Take an old pair apart sometime. I always seem to break the inner soles of my footwear. That is how I know.

      Unless they see something obvious you can hide a microsd card there without an issue. I have yet to see a police officer do more than a quick visual inspection tion/ X-ray of shoes.

      --
      i thought once I was found, but it was only a dream.
    7. Re:Laptop by Jane+Q.+Public · · Score: 3, Insightful

      Micro SD AND Truecrypt.

    8. Re:Laptop by arth1 · · Score: 2

      I have a couple of micro-SD cards hidden inside a USB thumbdrive. There's plenty of space for them, and an X-ray scan will just show layers of small chips, just like what's already in a USB thumbdrive.
      I seriously doubt that anyone would think to look there for extra data storage. Well, until I posted this, that is...

      Other possible places include inside the key caps on full size keyboards, inside RJ-45 and HDMI sockets, in the clamp of metal watchbands (with a wad of fluff on top to hide it from casual inspection), the sheet battery or docking station connectors of laptops, or inside a personal vibrator (the yuck factor will be too high for it to likely be disassembled).

    9. Re:Laptop by Anonymous Coward · · Score: 2, Insightful

      Absolutely this. If the data isn't there to seize, then they can't seize it. SSH to another box (or a proxy) and then X/RDP to a machine that has your stuff. Even if your laptop gets confiscated/stolen/broken you don't lose the data, and they can't retrieve anything from it unless you give them the path to get in. You don't smuggle cards or drives of stuff that can be decrypted with enough time and energy.

      When Mitnick was on the run for all those years, that was exactly the method he used. The only thing that screwed him at the end was he went to servers unencrypted, so he was vulnerable to a MITM at the end. Tunneling everything over SSH or a VPN with replay detection/protection would protect you for the most part.

    10. Re: Laptop by neurosine · · Score: 2

      I was going to make this same suggestion.

  2. Easy by Anonymous Coward · · Score: 2, Informative

    Easy: Store nothing sensitive anywhere on the laptop. Make sure all browsing history/data is wiped before the laptop is every put to sleep/hibernate.

  3. Complete Deniability that data exists by gurps_npc · · Score: 4, Interesting

    Whatever kind of encryption you use should have the ability to use alternative passwords - an unlimited number of them. So enter password (A) reveals your tax records, password (B) gets pictures of naked 30 year old men. But enter password (C) and you get clear pictures of Mr. Cameron violating a dead pig. When they demand your password, give them password A. If they get all torture-ish you give them password B.

    --
    excitingthingstodo.blogspot.com
    1. Re:Complete Deniability that data exists by kbonin · · Score: 4, Informative

      TrueCrypt probably triggered their warrant canary and the dev team decided to call it quits, since NSLs are so much fun to fight for people living in the formerly free country known as the US. In the mean time, code forked and picked up here: https://veracrypt.codeplex.com...

    2. Re:Complete Deniability that data exists by kbonin · · Score: 2

      Nobody has found any real crypto weaknesses in TrueCrypt to date, in public or in any of the private crypto groups I know of. This article claims that two TrueCrypt driver bugs expose systems to a privilege escalation attack, and these have been fixed in VeraCrypt: http://www.itworld.com/article...

  4. Re:How about this... by Anonymous Coward · · Score: 2, Informative

    Unlike common criminals, try cooperating with the police. You'll be better off in the end for it generally.

    What if the police have become criminals themselves?

  5. Don't have anything for them to find by Todd+Knarr · · Score: 4, Insightful

    Best bet is simply not to have anything for them to find. Store your data on a thumb drive (that you'll carry or ship separately) or upload it to your own server or a service like Google Drive or Dropbox, encrypting it or not first, all depending on how sensitive the information is. Delete it or secure-wipe it or wipe the whole drive and do a complete factory restore on your laptop depending on how invasive you think the search might be. Then let the cops search all they want, they won't find what isn't there.

    NB: Linux makes a better platform for this than Windows. On Windows bits of your files can end up in the oddest places to be found during a scan of the drive. On Linux it's easy to set up a separate partition where all your data will go and be certain it didn't leave traces anywhere else, and that partition can be secure-wiped and reformatted without messing up the OS installation in the process. Plus the cops are less likely to be familiar with Linux, and you can play the dumb-non-techie card of "I dunno, it's whatever the guys in IT put on it. I just follow the instructions to run my programs and everything works.".

    1. Re:Don't have anything for them to find by LVSlushdat · · Score: 4, Insightful

      Tell me my tinfoil hat is on too tight if you want, but I *strongly* suspect its NOT going to be *too* far in the future when those of us who refuse to use Windows and use Linux instead will be charged with violation of a yet-to-be-passed law, but one that is almost surely to be passed by the authoritarian thugs that currently infest most governments. For all we know, this sneaky Transpacific Partnership abortion thats making its way thru the halls of congress may have the beginnings of such in it, and since we, the unwashed plebes, are not privy to its contents, heaven only knows what is in it. Both the US and UK are diving at a faster and faster rate down towards blatant totalitarianism.. When you look at the many traffic analylsises that have been on Microsoft's latest offering, you start to wonder if they've not gone into partnership with the NSA to fill up that giant datacenter in Utah with everything you do on your Windows machine. This being the main reason I suspect it won't be too long before those of us who don't suck at the MS tit, will be persecuted for using an OS that doesn't feed the MS/NSA behemoth... Before you accuse me of being paranoid, stop and think about what I said.... Glad I'm 65 and not a youngster growing up in this ever-increasing totalitarian world...

      --
      THANK YOU, Edward Snowden!! Americans owe you a debt of gratitude (whether they know it or not..)
  6. Re:Do we have to go through this again? by AmiMoJo · · Score: 2

    The key is to have no way to decrypt the laptop, then they can't force you to. Make sure someone else has the key, preferably in another jurisdiction (i.e. country).

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  7. Re:How about this... by Anonymous Coward · · Score: 2, Insightful

    > Unlike common criminals, try cooperating with the police. You'll be better off in the end for it generally.

    Sigh... Dont Talk to Police

  8. Not possible by gweihir · · Score: 3

    In the British Police-State, that is not possible, unless the journalist is willing to go to prison for failing to disclose an encryption password. Forget about "plausible deniability", that is for kids and morons. It does not work in practice.

    The time to protect essential freedoms in Britain is past, and the battle (pathetic though as it has been) is lost. Anybody now trying to protect itself will just be classified as a "terror supporter" and that is it. Expect concentration camps to be opened soon.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
    1. Re:Not possible by AmiMoJo · · Score: 2

      Recent events don't seem to support that assertion. The Guardian was able to handle the Snowden files without being imprisoned or losing them. Okay, some MI5 goons made a show of destroying a few laptops, and the footage ended up on YouTube and the stories were published anyway.

      The BBC's mistake was not protecting their journalist's data properly. If you take precautions, it's possible. In this case, if they had used a live CD so there was no trace, and protected the contract details with encryption the police would probably have been screwed. They could have tried to prosecute for not decrypting, but then there would be a huge legal battle over it, taking years. They only did this because they were able to do it by the back door, in a way that made it hard to resist.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    2. Re:Not possible by gweihir · · Score: 2

      The question was about an individual journalist. If you have an organization large and well-known enough to be hard to touch and somebody with real courage on the top, then you have a chance. But the editor of the Guardian _was_ willing to go to prison, if that was what it took. And that _is_ what it takes in a police state slowly going towards full-blown fascism.

      --
      Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  9. Tails and remote storage by klingens · · Score: 3, Informative

    On your Laptop there is a normal Windows installation which is not used for work. Only for stuff like browsing the web in the evening at the hotel. mails to the kids, etc.
    On a USB stick on the keychain there is a copy of Tails https://tails.boum.org/index.e...
    You rent some VPS or root server in a country of your choice, under a different name, preferably paid via cash. This is the place where all the data for work is stored. encrypted.
    This server you only access via Tails which uses Tor by default.

    If you can't do this, you put an encrypted VM onto your Laptop which happens to have the data for work and you write your stuff or access the web for work related research only in this VM. Again using a distro like Tails.

  10. If you're in Britain by physicsphairy · · Score: 2

    Don't store anything on the laptop. The fact they can legally compel you to provide the means of data access means you are in trouble in every case which they have possession of both you and your laptop. You can either do a really good job of hiding the data or you can keep it outside of where they can get it. How about a remote server a trusted person can deactivate if they hear about your situation?

  11. 1, 2, 3 by chill · · Score: 3, Interesting

    1. Use Linux for the simple reason you can separate partitions. Create a separate /home partition that mounts on an encrypted removable drive, like an Ironkey.

    2. Do all work on the removable drive.

    3. Never cross a border with both the laptop and the removable drive. Ship out courier the drive separately and carry the laptop.

    This way there is nothing on the laptop to be searched or seized.

    --
    Learning HOW to think is more important than learning WHAT to think.
  12. Re:Do we have to go through this again? by BitterOak · · Score: 5, Informative

    The key is to have no way to decrypt the laptop, then they can't force you to. Make sure someone else has the key, preferably in another jurisdiction (i.e. country).

    That could land you in prison in the U.K. Legislation in that country required you to decrypt data for authorities on demand. Losing or destroying the keys is no excuse.

    --
    If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
  13. Re:Do we have to go through this again? by gweihir · · Score: 2

    Indeed. That British law is not about right or wrong, it is about enabling them to do it to you for daring to encrypt things they want.

    --
    Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
  14. Re:Securing your laptop? Only one way by Z00L00K · · Score: 2

    Seems to be overkill.

    It's probably better to have only sensitive stuff encrypted and hidden, that way it will be harder to determine if it contains interesting stuff. You may feed cops with some information, but only information that they essentially can figure out anyway.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  15. Step by step instructions by spiritplumber · · Score: 5, Interesting

    1) Make one of these: https://hackaday.com/2015/10/1...

    2) Hand everything over. Warn the bad guys that if they try to use your USB stick, it'll fry their computer.

    3) When they fry their computer, ask if they have learned their lesson about taking you on your word.

    4) Be cooperative. You already won the battle of wits, be a gracious winner.

    5) Your data was on your obscure self-hosted webserver elsewhere in the first place.

    --
    Liberty - Security - Laziness - Pick any two.
  16. You may be compelled to decrypt it anyway by gotribal · · Score: 4, Interesting

    Back when I was at Kazaa many years ago, I kept all my files in a BestCrypt-encrypted drive, and all sensitive emails were PGP-encrypted. I was feeling pleased - if anyone got hold of my computer, there was nothing to see. But then one day our office was raided in a search discovery order, and all that time spent encrypting things came to naught, if I refused to hand over anything it would have been contempt of court. And so I printed out thousands of emails in one long continuous unformatted strip... that was about as far as I could go. I did consider that I could have gone one step further and used BestCrypt's feature that lets you create an encrypted drive that's actually two partitions - give out one key and all you see is nice set of clean files, plus a whole lot of random bytes. It's something to consider, but you're living dangerously if it's a court order. BTW, there's discussion here about keeping data in the cloud - another tempting option. Broadly the law can compel you to hand over any data "In your control or possession", where possession is defined as including the means to retrieve remote data. So there would need to be zero knowledge of having that remote data at all. Just sayin'

  17. Store nothing by folderol · · Score: 2

    The parent organisation should maintain a networked data store that all it's reporters have a write only password for.
    Data is then sent via ssl. No other encryption software of any kind on the laptop.
    Absolute minimum of services and a tiny hard drive, with no swap file/partition.
    Reporters should only use a plain, single view, text editor that doesn't store parts of a working document to file, and can be made to direct send the data without ever touching the hard drive.

  18. Re:Do we have to go through this again? by BitterOak · · Score: 2

    The police have to show that you have the key for there to be a prosecution. Otherwise they could just lock anyone up by demanding that they decrypt /dev/random. For safety you have should make sure you can prove that you don't have the key.

    First of all, there's never any way you can prove you don't have a key. Period.

    Secondly, I don't think you're correct about the law. I think the law requires you to be able to decrypt any encrypted data you have (/dev/random is not a file; it's a device), or any encrypted communications you have engaged in. My understanding is that it is effectively illegal in the U.K. to use communications protocols which employ perfect forward secrecy for that reason. (There are exceptions for some SSL web traffic, I think, but I could be wrong.) I'm not a lawyer though, so I could be wrong about my second point.

    --
    If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
  19. Two Man Control by tengu1sd · · Score: 2

    And for the politically correct, social just warriors, etc. .. man in the sense of person

    You carry a laptop, you carry a live boot USB stick/CD, You carry encrypted media, possibly the same as a boot USB. Your counterpart, possibly in another country, carries the decryption key. You carry his decryption key. Never cross an international border together.

  20. Re:Securing your laptop? Only one way by ArmoredDragon · · Score: 3, Insightful

    I personally use Windows EFS on my entire c:\user\myname folder, and that whole folder is backed up to a zero knowledge storage provider. I do this for my desktop and laptop.

    Unless you save documents outside of that folder (which by default, 99% of all applications store it somewhere in that folder) then it's not likely to be retrievable.

    AFAIK, Windows EFS uses AES-256 as a block cipher, with RSA-2048 or ECC-256 for key escrow (you can do up to RSA-16,384, or ECC-512.) AFAIK not even the NSA is able to crack either of those. The weakest link would be your password, with shorter passwords being easy to break (complexity, i.e. mix of case, special characters, numbers, isn't anywhere near as important as length) so use one that's 15 characters or longer.

  21. Re:Do we have to go through this again? by JustAnotherOldGuy · · Score: 2

    The police have to show that you have the key for there to be a prosecution.

    Unfortunately, these days they can just insist that you know the key, or claim that they know you know the key, and you'll probably sit in jail for quite some time before they let you out (if ever).

    It's hard to prove you don't know something, especially if you've encrypted data that they want. Their reasoning (to the judge) will be, "Who would encrypt data without a way to decrypt it, your Honor?" and most judges will go "That makes sense."

    And frankly, it does make sense. Why would someone encrypt their data if they didn't have a way to decrypt it?

    --
    Just cruising through this digital world at 33 1/3 rpm...
  22. Re:Securing your laptop? Only one way by BlueStrat · · Score: 4, Insightful

    The only reliable way to protect your data from government thugs is to change the government such that there are no government thugs wanting your data.

    Anything else is a band-aid and temporary at best.

    Strat.

    --
    Progressivism (aka US 'Liberalism'): Ideas so good they need a police/surveillance-state to enforce.
  23. Re:Securing your laptop? Only one way by clovis · · Score: 4, Insightful

    The only reliable way to protect your data from government thugs is to change the government such that there are no government thugs wanting your data.

    Anything else is a band-aid and temporary at best.

    Strat.

    That is the final step in the process.
    Step one is getting people to realize there's a problem.
    And that's why journalists need to have their information protected, and that's why the goons want to get their hands on it.

  24. Re:Do we have to go through this again? by arth1 · · Score: 2

    And frankly, it does make sense. Why would someone encrypt their data if they didn't have a way to decrypt it?

    Who's to say it is encrypted data? I tend to do this to SSDs first thing I get them:
    dd if=/dev/urandom of=/dev/XXX
    The reason is partially to thwart compression schemes and make sure that the drive really can handle being full of uncompressible data, and partially to enter "worst case" write amplification as early as possible, so I know what the real worst-case speed of the drive is, and not get nasty surprises later
    Of course, after that, any unpartitioned space on the drive will be indistinguishable from, say, a truecrypt unpartition. But I sure can't decrypt it, because it doesn't have encrypted data on it. Probably.

  25. Re:Securing your laptop? Only one way by AK+Marc · · Score: 2

    Buy a laptop with an SD card slot. Put all files other than OS and some games on the SD card. Hide the SD card inside your luggage handle when passing through security. Or FedEx it to your destination. Encrypt if excessively paranoid. The stock SD card slot won't generate excessive interest, they won't even know to look for or expect it. If you are overly concerned, use a micro-SD card in an adapter, leave the adapter in your slot, but hide the micro card anywhere, slipped behind the tag in your underwear would survive a strip search.

    If you don't have an SD card slot, take two mirrored HDs outbound, and send the used one back while installing the "spare" for the return trip.

    Hiding the data is better than encryption. Encryption is easy to break if you have the person with the key in a locked room and a $5 wrench (well, 5 quid spanner, for the UK).0

  26. Re:Securing your laptop? Only one way by BlueStrat · · Score: 2

    The only reliable way to protect your data from government thugs is to change the government such that there are no government thugs wanting your data.

    Since all governments will want, and are likely to insist upon, access at will to private documents, I wouldn't expect this plan to work. The Russians tried replacing a horrible monarchy with "the people's government" and wound up with Lenin and Stalin and abuses the equivalent of anything the czars committed.

    That's actually a key concept and also a key reason for keeping government as decentralized and local as possible. The more concentrated & centralized government power is, the quicker it falls to corruption and outright despotism and tyranny.

    That was also one of the reasons the US Constitution was written so as to allow the central government only a few limited powers and keep as much of the governing affecting individuals as local and accountable as possible.

    Sadly, the US has over the last ~100 years, moved away from decentralized and accountable governance to become a top-down, centralized-power, crony-capitalist fascist surveillance-state oligarchy.

    Strat

    --
    Progressivism (aka US 'Liberalism'): Ideas so good they need a police/surveillance-state to enforce.