GCHQ: Can you crack it?

Just had a quick go at this, but can’t afford any more time on it, so thought I’d share my progress (if any!)


The code starts as..

eb 04 af c2 bf a3 81 ec 00 01 00 00 31 c9 88 0c
0c fe c1 75 f9 31 c0 ba ef be ad de 02 04 0c 00
d0 c1 ca 08 8a 1c 0c 8a 3c 04 88 1c 04 88 3c 0c
fe c1 75 e8 e9 5c 00 00 00 89 e3 81 c3 04 00 00
00 5c 58 3d 41 41 41 41 75 43 58 3d 42 42 42 42
75 3b 51 89 d1 89 e6 89 df 29 cf f3 a4 89 de 89
d1 89 df 29 cf 31 c0 31 db 31 d2 fe c0 02 1c 06
8a 14 06 8a 34 1e 88 34 06 88 14 1e 00 f2 30 f6
8a 1c 16 8a 17 30 da 88 17 47 49 75 de 31 db 89
d8 fe c0 cd 80 90 90 e8 9d ff ff ff 41 41 41 41

This looks very much like hexadecimal to me… so converting it to decimal yields…

235 04 175 194 191 163 129 236 00 01 00 00 49 201 136 12
12 254 193 117 249 49 192 186 239 190 173 222 02 04 12 00
208 193 202 08 138 28 12 138 60 04 136 28 04 136 60 12
254 193 117 232 233 92 00 00 00 137 227 129 195 04 00 00
00 92 88 61 65 65 65 65 117 67 88 61 66 66 66 66
117 59 81 137 209 137 230 137 223 41 207 243 164 137 222 137
209 137 223 41 207 49 192 49 219 49 210 254 192 02 28 06
138 20 06 138 52 30 136 52 06 136 20 30 00 242 48 246
138 28 22 138 23 48 218 136 23 71 73 117 222 49 219 137
216 254 192 205 128 144 144 232 157 255 255 255 65 65 65



I then tried some character encodings… first as alt codes.. 

ë ¯ Â ¿ £ ü ì    etc…

unicode was much the same, and ascii didn’t really work.


Next, I tried bringing the original decimal to modulo 26, (i.e. 27 becomes 1, 28 becomes 2 etc.)


1 4 19 12 9 7 25 2 0 1 0 0 23 19 6 12
12 20 11 13 15 23 10 4 5 8 17 14 2 4 12 0
0 11 20 8 8 2 12 8 8 4 6 2 4 6 8 12
20 11 13 24 25 14 0 0 0 7 19 25 13 4 0 0
0 14 10 9 13 13 13 13 13 15 10 9 14 14 14 14
13 7 3 7 1 7 22 7 15 15 25 9 8 7 14 7
1 7 15 15 25 23 10 23 11 23 2 20 10 2 2 6
8 20 6 8 0 4 6 0 6 6 20 4 0 8 22 12
8 2 22 8 23 22 10 6 23 19 21 13 14 23 11 7
8 20 10 23 24 14 14 24 1 21 21 21 13 13 13 13

 and then reference 0 to a, 1 to b, 2 to c… yielding

b e t m j h z c a b a a x t g m
m u l n p x k e f I r o c e m a
a l u I I c m I I e g c e g I m
u l n y z o a a a h t z n e a a
a o k j n n n n n p k j o o o o
n h d h b h w h p p z j I h o h
b h p p z x k x l x c u k c c g
I u g I a e g a g g u e a I w m
I c w I x w k g x t v n o x l h
I u k x y o o y b v v v n n n n

then [with the help of this site] tried various operations on the rows and columns of letters, mostly the rotating of the letters from their position through the alphabet (the function called ROT.all) in case they’d displaced the letter/number combo by some arbitrary number, none of them looked legible.

This is where I decided not to waste more time on it!

I also tried viewing the page source, but no tips there.

Hope this helps someone… 

Miami 2 Ibiza Acronyms

Couldn’t find the acronyms for this song listed anywhere, thought I’d compile a list of the abbreviations/acronyms/meanings as I think they are…

AP– Audemars Piguet [watch company]
QVC – shopping channel
mp3 – music file
Bold BB – model of blackberry
BM – BMW car
TT – Audi TT card
CK – Calvin Klein
PVC – Type of plastic
JVC – Camera Manufacturer
FHM – Mens magazine
LV – Louis Vitton [handbag]
LPR – Laurent-Perrier Rose Champagne
APC – French Fashion Brand
PRPS – Denim Brand
Nike SB’s – Nike Skateboarding Shoes
SHM – Swedish House Mafia
NYC – New York City


Full lyrics:

She says she likes my watch, but she wants Steve’s AP
And she stay up all hours watching QVC
She said she loves my songs, she bought my mp3
And so I put her number in my Bold BB
I got a black BM, She got a white TT
She wanna see what’s hiding in my CK briefs
I tell her wear suspenders and some PVC
And then I’ll film it all up on my JVC

Uhh, scene one. Everybody get in your positions.
Pay attention, and listen.
We’re tryna get this in one take, so lets try and
make that happen.
Take one, action!

She pose for FHM, She like my Black LV
We spillin’ LPR, up on my APC
I’m in my PRPS and my Nike SB’s
Ravin’ with SHM, London to NYC
I got my Visa and My Visa
A diva and her dealer
B***h I’m up on the guest list with the Swedish House Mafia
You can find me on a table full of vodka and tequila
Surrounded by some bunnies, and it aint f***ing easter
I wake up in the morning with a mild case of amnesia
With a girl that like a girl like Lindsey Lohan, Queen Latifah
A few n****z are pullin, Yeah guetta must be fever
And that’s standard procedure from Miami 2 Ibiza

World War One Anecdote

I heard this from an old guy who heard it first hand from a vet, and he thought that it wouldn’t be recorded anywhere. I’m writing it into the ether for posterity, on the off chance a historian finds it in years to come and finds it interesting.

‘They used to carry people back and forth from the front line trenches to the behind lines rest area’s in old London buses. Rather than sit quietly, they would always run up to the top deck, and run from side to side trying to topple the bus”

Whether this was insanity, fun, or a desire to stay on the front line wasn’t explained.

Fresh ubuntu installation changes.

I’ve had the pleasure of installing many new ubuntus (10.10) in the last few weeks, having had a new computer myself, an old one break, installing it on a friends computer, and getting a new computer in the robotics department at uni. I thought I’d record the things I do with a new installation for posterity.

Firstly, to install, I find a USB stick by far the easiest way. I make this either using ‘unetbootin’ on windows, or the ‘startup disk creator’ on linux (System>Administration). Having the iso already downloaded makes it a little faster. On the victim pc, I put the stick in, boot straight into the bios to make sure that USB boot is at the top, it often isn’t, then restart into ubuntu. The install process is so simple nowadays, anyone could do it.

Once installed, I install chromium from the software centre (open source version of google chrome browser). It is my favourite browser by far, and I sync them all across my computers, so my preferences are kept the same wherever I’m browsing, and given that it seems 90% of computer use now is online or cloud based, this is the logical first step for me! I replace the firefox icon at the top with the Chromium icon.

Next, Docky. This is my new favourite application launcher, and is very mac-esque. A few customizations make it better, such as removing the docky anchor icon, making the background 3d, and removing icons I don’t like by dragging them to the bin. Removing the lower bar is the next obvious step to avoid feature duplication.

I install the propriety drivers for a graphics card if I have one, ubuntu should prompt about this if you try to use nice effects like compiz fusion which has some really nice features I love, like workspaces on a cube, and wobbly windows. Other non opensource things worth adding are java and flash.

Next, I change the minimize, maximise, close icons to the windows way round, ubuntu changed this recently, and I don’t like it. To fix, alt-f2, type gconf-editor, apps>metacity>general, and change ‘button layout’ to ‘menu:minimize,maximize,close’ (no quote marks).

Dropbox is always a gudden, for users of that, and spotify is another essential for me, but you’ll have to install ‘wine’ first, as there’s not an official linux version (one is in beta, but only for premium users, because ads aren’t figured out yet properly). The spotify team have instructions on running it under wine, ( a windows emulator), and you’ll have to fiddle with some settings like hardware acceleration. VLC is probably the best for playing local files, although it isn’t great on features (but it does play everything!).

I remove the chat bar from the top right, which for some reason also loses the shutdown icon, so you need to right click > add to panel, and add a shutdown icon, and also a log-out button if you’ll need to do that. I also add a force quit icon.

I add a simpler shortcut for the terminal, like ctrl+space, and make terminal work with standard copy paste shortcuts, rather than ctrl+shift+x, but this is only really for power users.

There’s skype, and filezilla, if you use them. There’s also the standard things like changing the personal options like wallpaper, screensaver, power options, and docky has some nice extras you can add like a gmail checker, and a weather icon. That’s all I can think of for now, it’s probably worth browsing the ‘featured apps’ in the software centre, and see if anything takes your fancy!

Boot problems on ubuntu

I forced a shutdown at an inconvenient time on my kernal, and the mounting process was slightly ruined. I couldn’t find this solution anywhere, but when I tried to boot into linux (ubuntu 10.10) it froze at the busybox region of the boot process, said something about initfram, and that the partition didn’t unmount correctly. I tried ^d, no joy, it just froze a little later.

I booted with a live ubuntu disk, but it wouldn’t let me do anything with the partition, saying it was exclusively in-use by another application, or mounted (which it wasn’t), and fsck wouldn’t work, even on force.

The solution was to boot with a live ‘systemrescue cd’ available as an option on the universal usb installer and worked my way through that, ran fsck (not root/sudo required, I think it’s an auto root), and fsck could fix the problem from there. Voila.

Hope this helps someone else in the same predicament searching for the solution!

Computer Anti-virus Solutions

Even though I’m super busy with work at the moment, I though I’d take a break to write some things about  software I use for different purposes. A few things have made me think a lot about this in the last couple of days.

Firstly, I’m back home from uni for Easter, so got the usual request from the parents (and friends!) to look at their computers in the office. One was being extremely slow, and the internet wasn’t working on it, further investigation showed that the device manager was completely blank. After a lot of searching, I found that this can be a symptom of spyware called MSMGT, which we certainly had! After removing that by hand, with the help of the program ‘hijack this’ (only recommended for ‘advanced’ users) I set to work removing the inevitable onslaught of other spyware on the machine. I downloaded spybot S&D. It tooks a few hours, but came back with nearly 200 different problems. Wow. They had a copy of Norton running, which expired over a year ago, and had turned Windows update off. They wondered why they had these problems!

After sorting all that out, I wondered what the best anti-virus program would be to live on the machine. I’ve toyed with a lot in my time, starting with AVG, moving to Avira, and Avast. I can’t use AVG anymore, when it runs the scans it bogs the system down so much I end up just cancelling them, making it useless. They also all seem to be getting pushier and pushier with upgrading! Adverts, flashing upgrade boxes, and making it harder and harder to find the free version to download. That’s the problem with these programs, they all have another agenda – to make money. The only open-source program I know of (ClamWin) only does scan on demand, and doesn’t have a resident scanner, so that’s no good! I thought I’d try out Microsoft’s latest offering, Microsoft Security Essentials, being out for around 6 months or so.

I must admit, it did impress me. I’m not usually much of a Microsoft fan-boy. Mostly because I really don’t like paying for anything, being young and poor, so open-source (and Google) suits me fine. Their other free thing, that browser, is rubbish (more in another post possibly), and I tend to use LaTeX rather than office, because it suits the content I have to write about better (maybe more on my experiences with that too!). I use the Ubuntu distro of Linux most of the time, only dipping back to Windows when I have to, but the rest of the world lives in it, so I reluctantly do it more than I’d like! Anyway, it downloaded easily, you have to have a genuine Windows (not many people have fake windows really anyway…), and the best thing for me is that it has no premium option! No constant persuading to fork out cash, it runs nicely in the background, only bugging me for the important things (like – ‘do you want to get rid of this?’) and when it’s scanning, it doesn’t take over, I didn’t notice it. It has enough advanced options to keep the advancer user happy, whilst being simple on the face of it for the basic user.

Reading around the internet, it didn’t quite get the highest rating for security, (A rather than A+ which only Avira got), which I guess is what I expected from MS, but as uptake increases for it, user feedback on discovered malware should push it to be better and better. I think the trade-off to not get bugged is worth it. This is now my new favourite, but of course I’ll keep trying new versions of others periodically. I’m sure lifehacker will tell me if something big happens!

I hope I’ve managed to justify my reasoning, this was partly to convince myself I’m doing the right thing by recommending this from now on to friends and family (I get asked this question a lot).

This blog will really be a mixed back probably from my random mix of hobbies and passions; from rock climbing to programming, with some engineering and robots in between, and I run my computer very efficiently, small inbox, few desktop icons, only the required processes in the background, I kinda have to do this because my PC’s so old, if I didn’t it would die on me, so I’m sure I may share hints and tips periodically. I also keep myself massively occupied, and generally don’t enjoy writing, having only ever really written when forced to by the powers that be, so this will only have new posts once in a blue moon probably (an astronomical event that is 1.16 × 10-8 hertz, or every 2.7 years for most people)  I might start to enjoy it here, you never know!