Blog of a Long Distance Worker Tech

The blog about mobile tech

On the road failure

generic_road_crash Well it had to happen, I am on the road and my netbook suffered a hardware failure. This was a non-fatal failure but a failure all the same – the WiFi went on the fritz and would not connect to any WiFi network. Now in the office this was not a major problem as I have wired Ethernet there but the company I work with has a second office which only have WiFi which pretty much meant that I could not work there nor could I do anything when I was back in the hotel.

So the decision was taken to replace the machine with something that could work particularly since I was four nights/five days from base. So given machine obtained (an Asus EeePC 1008HA), the recovery mechanism started.

What can I say about the experience? It took way longer than I hoped… in fact to basic usage of the machine it took the whole evening (expected) and to fully complete four days. Why did it take so long? Well the big time killer was synchronisation of files using Live Mesh – it just took a long time because I have a lot of data to put on the machine. Even then, this was sped up by the use of the non-dead machine I was replacing being local to the laptop for much of the recovery time, so this is not an issue of upstream performance on the small business ADSL. The one main thing though about the recovery mechanism was that it did work and got me working on the road. How about your on the road recovery mechanism? You really do need one for when you are on the road.

Note: My recovery steps

1. Base install of OS and configuration for basic networking including Anti-Virus (including machine hardening steps that I always follow)

2. Install key applications – Live tools, Live Mesh, Evernote, VPN client, Firefox, Firefox addins such as delicious and Xmarks to ensure I have my bookmarks and saved passwords, RocketDock, Skype, Skype handset drivers, Spambayes, WinSCP, Adobe Air, Tweetdeck (using group sync so I have all my groups) and Syncback.

3. Install MS Office 2007 and Project 2007 using online downloads of Trial software (hey I do not carry the disks, no need to when you can get the Trial versions that work up to 60 days).

4. Configure Outlook 2007 for my multiple Exchange hosted mail and IMAP4 accounts.

5. Install key driver software for 3G card etc.

6. Setup Live tools such as Live Messenger and Live Sync as necessary (I use Live Sync for My Pictures rather than Live Mesh just because it is setup in a better way for those file types).

7. Sync core file folders that are in Live Mesh

8. Sync secondary file folders in Live Mesh

9. Install iTunes and move my iPhone over and setting up Podcasts that I listen to on it (Music waited until it had completed synchronisation as I use Live Mesh that my MP3s are on all my machines).

10. Install Truecrypt for whole disk encryption, although activating this is outside of the four days :-)

11. When back at base, reinstall MS Office 2007 and Project 2007 using my actual media and proper activation keys (needed because the trial versions do not activate with my keys probably because my keys come from a volume licensing deal).

Whole Disk Encryption Update

lock It has been a whole week since I moved my main machine over to using whole disk encryption through Truecrypt. I though it was timely just to give a short update on experiences.

Firstly, it has not crashed :-) .

Everything is working fine exactly the same as my experience immediately after the installation.

Secondly, the performance also has continued to match what I reported – about a 10-15% slowdown on disk access. The worst impact is on standard boot or restart from hibernation, but I have slightly altered my behaviour to account for this. The change is that I am using suspend a whole lot more, and I am lucky that the MSI Wind U100 clone I have has an interesting feature that is almost like a neat feature I have in my Vista machines – the move to hibernation after a period of time in suspend. Let me explain further, if I suspend my laptop on mains then it will stay suspended until I press the magic power button and almost immediately go into the Windows logon screen. If I am suspended on battery however, after a period of time the machine will enter hibernation mode to save battery life. This means I use suspend as the first option (getting around the slow restart from hibernation) always.

Thirdly, have I noticed any other long term effects? Well I have noted that the auto defrag tool of choice does not auto defrag as often as it used to. I believe this is a tuning matter, a property of how I have been using the machine which I will watch over time to see if I can confirm what is going on. Secondly (and related to why I noticed the defrag), the encryption of the HD is (as expected to be honest) is playing funny buggers with the level of fragmentation – the machine does seem to be tending towards getting a higher level of fragmentation.

So all in all, this has been a successful implementation with some areas to watch. I will give an update on a longer term basis of course, so watch out for that in the future. Also are you using disk encryption? What are your experiences?

Whole Disk Encryption – The Holy Grail

You have your nice laptop for running around the world with, you are on a business trip to Warsaw and then suddenly after getting off the plane and on your way to your meeting you find that you do not have it. Doh! you remember that you put it in the little pocket of the seat in front of you just before you landed but you forgot to get it out. You frantically get in touch with the airline who tell you that nothing has been handed in, and then you start to worry about the commercial secrets that you have on the disk and that copy of the spreadsheet that contains all your banking details. It is lost and available to whoever has the machine. Oh, but you say that you have the OS logon to protect you… wrong, that is easy to bypass when you have physical access, just remove the disk. Oh yes, the Bios password – same issue and anyway you can normally get past that with some secret key presses found in many places on the Internet. What about the 40 bit encryption put in place by Excel on the spreadsheet? – nope that will be gone too with a couple of utilities, and anyway that data is spread all over the disk in temp and page files for the half skilled hacker to get.

So you are screwed. What now?

Well there is something that you could of done that is really easy to have implemented and that would have protected you from all but the most serious of attackers – whole disk encryption. Historically tricky outside of certain quarters, it certainly has been available but only in the last 12 months has it really become simple to implement and use. You could use Bitlocker from Microsoft of course, if you have Vista. Then again you are almost certainly not running Vista and anyway Bitlocker is a little tricky to implement and only available on some versions of Vista – definitely not the one you probably have. So what are the alternatives? Well I will not go into the whole bunch, but I will focus on one which is freely available and simple to implement – Truecrypt, in particular version 6.1 which has largely resolved some critical problems for operation with laptops that earlier versions suffered from. The problems that it used to have was that it would not let you suspend or hibernate, but that is now resolved.

truecryptSo how do we get it? Just go to Truecrypt’s website and download it, make sure that you have read the installation guidance off their website, backed up your important data (because it could go wrong!) and just run the installer and set your passphrase well. In my instance I found a big problem during the installation – I was installing on a netbook without an optical drive and the installation routing REQUIRES that you create a recovery boot cd. It is irritating that a bypass mechanism is not available for this, but this is sort of for your own protection. Anyway, out came the USB CD/DVD writer and a boot CD was dutifully created and installation completed. The installation is pretty simple and includes a test boot but the most interesting fact is that at the end of installation, your disk is still not encrypted. It actually does this as a first step after install completion, and it allows you to continue to run the machine as normal as it churns through all the disk encryption, and allows you to pause the process and/or shut down the machine at any time, for it to continue when you startup again. This is a very nice touch.

The encryption process takes a nice length of time dependent upon disk size but at the end, you have a high level of disk encryption that just happens all the time without you doing anything more. In operation you do not notice a difference at all apart from some performance loss. Now on my Atom based 1.6GHz processor, I reckon that the performance hit in normal operation is about 10-15% where disk access is required (I have not measured it) but there is a much greater effect on the hibernation process – both going into and coming out. Certainly a doubling of the time to do the process and I can only guess that during that phase the disk writing/reading capability is hamstrung in some way but the overall impact is acceptable considering that if I lost the laptop, all my corporate secrets are still secret – as long as I picked a suitably strong pass phrase and logon passwords. Note that for suspend operation, the encryption boot block does not come into operation so your logon password is all that protects you there.

Truecrypt does offer other facilities as well, as it offers multi-layers of encryption and data hiding but for the standard business use a single disk encrypt is almost certainly enough. Truecrypt also offers the more mundane folder encryption particularly for external drives but I will go through that in another post.

All in all then, this is a must both to protect your data and your clients data, and a simple addition to your portable business armoury. If you or your company wants further advice about deployment of software like Truecrypt and security principles that are advisable, then please feel free to contact Blackarrow Consulting via our website for that service.