Author Archives: Kirrus

In response to UKIP gloating on facebook..

2015_04_22_21_26_35_March_Cambridgeshire_Free_Discussion

So, this popped up via my town’s facebook group. I couldn’t resist responding. If you’re curious, here’s the wikipedia page on the Indian mars probe.

My response to this, and the assorted “Yeah!”, “We should give them nothing” etc, I responded as follows;

Do you understand what an amazing achievement that was? The normal cost of any western probe to Mars? Hell, I’d gladly pay more tax I can’t afford to for that stunning gem.
It was, and still is absolutely incredible they did it for so little, and with
so little. It’s giving them a reason to strive, to push for something different, for knowledge and understanding and plain old new technology. You know, just that thing humanity must get more of quickly, or watch our world burn from a fire of our own making. We fail, we get to watch our grandchildren or our great grandchildren die. All of them.

I probably shouldn’t have, and hyperbole just a bit on the All Die prediction, but eh, we do nothing about oil running out & climate change, we’re probably all screwed. We’re still probably all screwed anyway, but..

I wonder if this has anything to do with the slow-motion civilization collapse depicted in my current read, Ready Player One?

 

After Death (mind-dump thoughts on digital death)

So, here’s something that’s been coming to mind of late, especially with the recent death of Leonard Nimoy.

Our digital lives varnish after our death. Oh, don’t get me wrong, they’ll last a little longer than our deaths — the server this blog is hosted on for example will stay running. However, it won’t get maintained, that’s what I do, so over time it’ll get hacked, or will break. My brother might take over maintaining it for a while, but in the end, the words and thoughts stored here (some hidden from public view) will vanish.

Archive.org is great, it’ll keep a copy of these words for posterity.. but who’ll ever read them?

I’m not sure if I’m morbid at the moment, or it’s just depression talking, but this all feels so.. transient. These words won’t have the lasting power of those stored on a book, in the end they’re stored on media that’ll die a lot faster than a book degrades, stored correctly. Not to mention, they’re stored in a particularly complex format, that isn’t human readable in any way without the right filter and conversions.

I guess, this is really just underlining the importance of Archive.org and their ilk. Not that I suppose anyone’ll care about what’s stored here.. much as the most read post here is my brother’s posts on linux beep music 😉
https://kirrus.co.uk/2010/09/linux-beep-music/

Low Carb Hot Chocolate

One of my bosses sent me this, his favourite easy recipe for a nice hot chocolate style drink. Saving it here so I remember to do it..

Half a tin of coconut milk in a saucepan.
Simmer.
Stir in as much cocoa as you want, and chunks of chocolate too, if you like it thick.
Add some xylitol to sweeten.
Pour into a mug.
Thick, astonishingly satisfying and good for you.

(Obviously, only pour into a mug once all the cocoa has mixed and chocolate melted – I use a whisk, and add a capful of vanilla essence too).

WordPress Cookie names

Here’s a list of cookies WordPress sets when you log in. Because I can’t find this list anywhere on the net and I need it.

wp-postpassUsed to allow access to password-protected posts
wp-forgotUsed during password resets
wordpress_[HASH]Admin panel auth cookie
wp-settings-3Settings cookiewp-settings-time-3 — settings cookie
wordpress_test_cookiecookie used to test that wp can set cookies. Honestly guys, really?
wordpress_logged_inAnother Auth cookie

Heartbleed, the media, and passwords. I might be annoyed.

This is a rant. It’s a long one. I’ve not proof-read it much, there’ll be mistakes.

Opening

So, unless you’ve been hiding under a rock of late, you’ve heard about Heartbleed. Heartbleed is a bug in one of the core programs used in the open-source world to keep secret those things you need, like credit card details. This particular bug is important, because it can leak information that shouldn’t be leaked, like credit card details. Just click the link above, it gives a really good basic idea as to how it works. It mainly affects those things protected by SSL.

So, now that everyone knows what it is, why is it important? The information leaked can be anything that the computer (hence -forth called “server”) responsible for keeping the website involved on the internet has in it’s memory. That can include, requests for websites, file transfers, emails, ssl certiticates, ssl keys, credit card numbers and passwords.

Passwords, memory and maths

Now that last one, that’s the one the media, and certain people, have been shouting about. This bug has the small potential to leak passwords. However, this is totally not as serious as it sounds. Passwords are only kept in plain text for a short time – normally, as long as it takes to hash them (one-way-encrypt), and check them against a database. So, your passwords aren’t sitting out in the open, for anyone to steal. Additionally, you have to have entered your password within a second (or two at the latest) of someone using this bug to pull information from a server. As problematic as this bug is, it’s limited. It lets you get 64 kilobytes of information from the server memory. That sounds a lot, till you remember that modern servers have up to 16,777,216 kilobytes, or 262,144 blocks of 64KB. Even servers a few years old (and in server terms, that can be really quite old) have 4,194,304 kilobytes, or 65,536 blocks of 64KB. So, someone has to have managed to use this bug, to grab exactly that block at the right time, to get your password. Also, trust me, we would notice if someone started reading that much information out of our servers constantly. It would be obvious something was wrong. Additionally, not every server is vulnerable to this weakness. Those running IIS, or an older (but still patched) version of operating systems used to host websites remain safe. It’s something like 2/3rds of sites, and crucially, only those 2/3rds of servers setup for SSL.

So, why all the “RESET ALL YOUR PASSWORDS!” screaming? There is a small chance of grabbing an SSL key. Now, due to the way this bug works, this is more likely than other things to have happened. Why is the key important? It’s the set of random numbers that says you ‘own’ a certificate. So in theory, it can be exposed. Why is this a problem? With the key, you can pretend to be the person for whom it was created — if you got google.com’s key, you could pretend to be google.com. Now, this *still* isn’t that easy to use, you basically have to perform a Man In The Middle attack, which is hard, and complex, and will only get you really limited information, depending where you can do it.

No, this is not as serious as it sounds

So, why have I been tweeting lots saying you shouldn’t rush out to reset all your passwords? Three reasons. The first; the likelihood of anyone actually getting your password is really, really really small. Remember, there’s that (at best) 65,536 places your password could be, and only 2 seconds to find it before it vanishes. Per affected website. Add that to the fact that these bugs are hard to find, and using them to get information is hard. Using them to get useful information is also hard – all the bug comes back with is a load of data you have to run through conversion routines to get anything out of. Additionally, due to the way this data is stored, there’s no guarantee it’ll be easy to match your password to your username, which is crucial if you don’t want to have to guess usernames.

My second reason is one of worry about the affect telling those who aren’t used to strong password security will have. You’re going to be telling people to dump every single one of their current passwords and start again. It’s already really bad – the top 2 passwords of last year were “123456” and “password”.  So, though I have no studies on this, I would bet, with hard cash, that forcing those not using good passwords to reset their passwords with fear, will weaken passwords as a whole. I suspect that we’ll find a lot more weak passwords, and a lot more passwords shared amongst websites in the next few batches of password leaks.

Finally, my third reason. Evidence. We’ve had no evidence of large scale, source-less password leaks recently. Hackers, especially some of the nicer ones have a habit of dumping their finds publicly, and a large-scale capture of passwords would show up in activity around the internet. Additionally, passwords aren’t the only thing heartbleed can expose. It can expose credit card numbers. And the credit card companies do not like sites to whom they’re traced back a hack. In fact, they have a habit of forcing said companies to go through a rigorous, lengthy, and painful auditing process, to find out exactly *how* the passwords leaked. The security community would have heard of these audits turning up nothing, of credit card data vanishing out in any significant quantity, or even the audits would have thrown up the bug.

Media

So, this password thing. It’s being pushed by the media, and by the guys who created the ‘heartbleed’ website as a much bigger impacting issue than it really is. Now that the bug is out in the open, script-kiddies will start using the heartbleed website, as will advanced state agencies. I’ve heard some rumours of people seeing internet-wide scans originating from state agencies, shortly after the bug was announced. So, it’s important that it’s patched quickly, it’s a big problem for the tech community, but with the low chance of password exposure, it’s not that important. So, why are the media saying “CHANGE ALL YOUR PASSWORDS”. Two reasons mainly, first is that’s a far better headline than “There was a bug. We’ve fixed it.” The second, is that that’s the response we, the hosting & security community, have ingrained as ‘the’ response to any sort of compromise. Yahoo got hacked? Change your passwords. last.fm got hacked? Change your passwords. So, when they hear about this hack, which they do not understand, they fall back on the thing they know, and since this bug affects ~60-70% of ssl protected servers, they think “ALL” instead of just a limited set.

Responsible Disclosure – how not to do it

In my opinion, the heartbleed release is a perfect example of how NOT to do responsible disclosure, no matter what certain lucky parties claim. First, create a website with inflammatory content. Then, get those who have insider access to patch. But crucially, don’t inform operating systems before you make it public. Don’t let anyone know in the security teams of Ubuntu, Debian, RedHat or SUSE. You know, just the people who actually have to *create* and *deploy* the patch to the millions of affected servers. Don’t let big publishers or sites know (Yahoo, BBC, Facebook). Instead, publish your site, and wait for the shitstorm to hit, as the media companies take this up, shout about it, and make customers scared.  Now, in a boon, the debian OpenSSL team got a patch out for this bug, 30 minutes after they had a bug report. But they didn’t have a bug report when heartbleed went public. No, the bug was reported hours later, after the viral-news effect had got around to someone who knew where and how to report a bug in debian’s bug tracking system.

Other, big bugs

You know, there’s a package that runs a good 22% of the internet. In the past week, they published a really critical bug, one that allows remote authenticated access to their sites. This package? WordPress. The bug will allow an attacker to gain administrative-level access to any wordpress site. In actual damage terms, this bug will cause me far, far, far more grief, and likely our customers, than the heartbleed ever will. Heartbleed was patched out in our network in the space of a few hours, with some minor services taking maybe a day or so. If we’re not running a vulnerable version of WordPress on our network, this time next year, I’ll eat my hat. If some clever black-hat hasn’t written an automatic compromise bot, to exploit this within the next few months, I’d be very surprised.

Another package that had a critical security patch in the past week? Just an addon to wordpress, that a good proportion of wordpress sites also use; Jetpack. They found that they had another remote-access, post, and privilege escalation bug in their code. Again, this single bug will cause us far more trouble in the long term, simply because people won’t upgrade.

Other, easier ways of loosing your password

Every now and then, someone’s website gets hacked, crap gets uploaded. We trace it back to their computer, using their login details. What happened? Though we’ve never been able to say with 100% certainty, they were probably infected with a keylogging virus, that saw them typing in their (s)ftp login details, and which automatically used said details to deface their site. That has become less common in the last year, but it was almost a weekly occurrence only last year.  How did the keylogger get installed? Simple, our customers either didn’t have anti-virus, weren’t maintaining it, or actively ignored it’s alerts. They click on links in emails they’re not expecting, open files in emails they’re not expecting, and get infected. Just this week, something has been quite determined to infect me – sending me ‘delivery notes’, asking me to ‘print a zip file’. The ‘zip’ file was a Microsoft Excel .xls file, and likely not an xls file, but something quite nasty.

Internet cafes. Ever used one to pick up your email? There’s a good chance that someone knows your email account password — those computers often have keyloggers installed, or have someone on the same network watching the net traffic, or intercepting it. Use that same password on paypal? Oh well, say goodbye to your money. Ever used a public wifi connection? You know, one of those unencrypted ones on your iPhone? Your iPhone logs into your email accounts without encryption? Say goodbye to your username and password.

In closing

Is heartbeat serious? For webhosts, yes. For users, in the brief period after heartbleed.com went live, till our servers were patched? Yes. Now? Not really. It could have been a lot better, and it could have been a lot worse. Hopefully, this will give the OpenSSL guys more resources to stop any future bug like this slipping through the net. Do you need to reset your passwords? Only if you connected to a vulnerable https:// site, in the brief period that the bug was around. Better would just to watch your bank statements, something you should be doing anyway. Use 2-factor authentication if you can. Use a password manager, my favourite is Keepass, with it’s database stored on Dropbox, and a key file stored elsewhere. Use separate passwords for every site, and don’t try to remember them, just auto-generate them using keepass’s algorithms.

My life, part 3, 1998-2005

This is part three of my autobiography so far. Part one is here. Two is here.

Grin

So, just before I went to secondary school (age 12+) for the first time, we went to a covie camp. This was important for one main reason. During one of the sermons, we were shown a film, and whilst watching, I had an moment of absolute clarity, and total conviction. Christianity is true, there is a God, and he does love me. You know, typing that will never not be strange.

I broke down crying. I remember that moment as if it were an hour ago. I became a Christian. So, in a weird sort of way, my parent’s divorce kinda led me to converting to Christianity.

About year two or three of secondary school, I started going to visit the school counsellor. I remember nothing of those visits, only that they were helpful. During that time, I shunned friends, and mainly stayed in the school libary during my free time, or read books. I used books as an escape, leaving this world for different ones, preferring anything strange or different. I stripped through crime, fantasy and science fiction books rapidly. I also volunteered to help in the school library, putting books away, keeping it tidy and neat.

At some point, the school counsellor left, and a new one arrived. I didn’t gel with the new counsellor at all, and so didn’t go back. That would be my last counselling session for quite some time. Time passed.

At some point during this time, I felt snubbed by the librarian, a silly thing, I felt I’d been passed over for some additional responsibility. Additionally, I had a very brief ‘girlfriend’ and a relationship that I wouldn’t really engage at all with. That also led to an embarassing suituation a little while later, which I won’t repeat, which helped solidify my intent to remain a bachelor for some time, and would be the only time I briefly had a girlfriend, or any sort of significant other, to date.

Watching the solar eclipse at a covie camp

Watching the solar eclipse at a covie camp

I switched from volunteering at the school libary, to helping out in the school IT suite, spending any spare time playing with the computers. I was the source of at least two spates of communication tools getting around the IT department’s lockouts to prevent them, since I just continually played with the sandbox I was given. For those geeks, at this point we were running windows XP. I however didn’t keep my mouth shut about the ways to talk to other pcs, and they spread like wildfire around the school, till they were locked down.

That was the first point I really got interested in computers.

During all this time, we had an… interesting contact schedule. Dad got us 2 and a half weekends out of every 4, and a weekday evening. We were with mum the rest of the time. Dad was at this point working for Kleeneze, delivering catelogs and taking orders. Since mum and dad didn’t really get on, or talk that much at all, we had basically different responsibilities and rules at each place. To an extent, we just got used to it. Mum and dad took turns to have us christmas, with the other parent having us over new year.

New year 2000, the milienium, I was at a relatively boring party at my church. I never did really get the whole new year thing, and to this day I still don’t.

Eventually, I did A-levels. I am the proud bearer of 2 A levels in vocational Information Comunication Technology, or in other words, how to use Microsoft Word. I only got a C in that, mainly because I was bored out of my mind, and the spec was just a bit mad. We did get taught some useful snippets though, I learnt basic binary and database normalisation. That was also the first time I created a website.

Next up, my first job.. To Be Continued…

My life, part 2, 1995-1999

This is the second part of my autobiography write-up. If you’ve not read this before, start here.

For James, mainly, I’ve put way more emotional information in here, and stuff about how the divorce affected me, and continues to affect me, than I planned. So, if you’re a potential (or current) employer reading this, know I’ve gotten past all of this, and I’m working really hard to heal the scars my childhood left me. This isn’t really for you, it’s for him.

Dad reminded me of something that happened during the divorce. We were playing in the garden with some of my cousins, in fact on this climbing frame dad had got us:

A couple of my cousins. The one on the far right is the one in the story that follows.

A couple of my cousins. The one on the far right is the one in the story that follows.

Let’s call her Terri. We were all playing on the frame, and she was hanging like a monkey, from the very top. However, she got stuck, couldn’t find a purchase, or climb off, and her hand was slipping. I got to the top, and grabbed onto her hand, hard, wouldn’t let it slip, and shouted for the others to go get help. Help came, no-one was hurt, although I might have hurt her hand not letting it slip!

Terri went on to become an *awesome* climber, and is in fact still the strongest climber of the lot of us, so no harm done.

baby, children, and dogs

Baby me, with Nanny’s dogs, and some related family on Dad’s side.

Moving on! Mum and Dad both changed churches (we’re a christian family), related to the divorce. Mum eventually remarried. Dad’s church had a ‘covie camp’, basically a load of us went off with loads of other kids, and we did fun stuff, like go to a Gladiators TV filming, swimming pools and other really awesome things. It was a christian camp, so every night there’d be a sermon and other things going on. As we didn’t have much money at all, neither mum nor dad, church members paid for us to go, something I’ll always be grateful for.

I guess, if we go offtopic for a second, this is may be an affect of divorce some people don’t realise. Both mum and dad were spending most of their resources trying to bring us up, and give us a good place to stay whilst we were staying with each other. Divorce splits assets, and everyone has to spend more.

Throughout this period, mum leaned on me more than she should have, and I had a constant want for my parents to get back together. I knew, in my head, that it was impossible, but in my heart I just wanted it like it was before. Looking back, what I really wanted was what I had thought of as a safe place, a safe and stable time before everything changed. I also had a constant want to help my dad, I knew he was unhappy, and wanted to help, but couldn’t do anything. Also, I felt responsible for Garreth, my little brother, though we fought and argued just like most young children. This responsibility would imprint on me, to the point that to an extent I still feel responsible for him, and try to look out for him, when he’s with me.

Left to right, Garreth, Mum, myself, and a baby B (cousin). Oh, and you can also see my Uncle C's arm on the left.

Left to right, Garreth, Mum, myself, and a baby B (cousin). Oh, and you can also see my Uncle C’s arm on the left.

During this period, I had real trouble handling my emotions, loosing control of them now and again. I was basically bottling everything up inside me, till it exploded. The explosions would be anger, and would blow up physically; it would be rare that I wouldn’t damage something or hurt somebody. After an explosion I’d be wracked with intense and overwhelming guilt and sadness.

During one of these instances, in Junior school, I remember I got into a fight with someone in the playground, and hurt them. I was called into the head-teachers office, and she basically said that there were other kids who were in worse suituations, I should just deal with it. Looking back, I’m just a little angry at that, all it did was make me internalise it all, and try to bottle it more. Just what I needed.

These spates continued till I was about 13, I eventually hurt a kid quite badly at school, to the point he was hospitalised and had a few stiches, as I’d trapped his thumb in a door. The secondary school of course reacted, but not how you’d think. I was put on a grade of emotional monitoring, having to meet with my tutor and set goals. The teachers also kept an eye on me to an extent. At that point I basically remapped the ‘fight’ explosion instinct to a ‘flight’ instinct, something that would stick with me, to the point if I have a anxiety attack for any reason now, or get into any sort of conflict suituation, I’ll run.

One last thing that was left in me during this period, was the following:

argument == conflict == threat == RUN (== being Equal To)

The covie camps we went to as kids were really fun, and eventually would go on to have a *massive* impact in my life, again changing me. But, I’ll talk about that in the next part: To Be Continued.

My Life, part 1, 1987-1996

A friend asked me to tell him about my life, some of the stuff I’ve gone through. I’m a bit nervous about putting it online, since there’s security implications, and I totally don’t want to sound narcissistic. I’ve changed some facts, and not put some in for aforementioned security reasons. This is of course from my point of view, and has my bias, and will be text, lots and lots of text.

So, if you’re sitting comfortably, I shall begin.

I was born in 1987, in a snowy city overseas, in a British Military Hospital, as dad was an army nurse. This has made life a little more interesting than normal, as technically, I’m not English, Welsh, Scottish or (Northen) Irish, but British. My place of birth always makes official people raise an eyebrow. My brother (Garreth) was born around 19 months after me, in a standard english hospital.

From left to right, Mum, Nanny, me, Great Grandma (dads side), Dad.

From left to right, Mum, Nanny, me, Great Grandma (dads side, shortly before she passed away) and Dad.

My first memory was, amusingly, swimming with a plastic lifebelt around me, in a hot sunny cyprus, quite young, thinking “I won’t remember this”.

I have broken and scattered memories of my childhood until my late teens really. If I dig really hard I can pull out more fragments, but not many. Quite a lot of my early history I mainly know through childhood photos, and the stories my parents told me.

Dad was posted to Cyprus a couple of times, we went with him and mum when we were quite young, pre-school age. A couple of funny stories I’ve been told; there’s a photo somewhere of me *just* as I bite into a lemon. My face says it all, EWWWW! I did go on to love the taste of lemons and sour things though, so something imprinted 😉

kirrus holding onto mobility scooter

Holding onto Nanny’s mobility scooter

Another story, one time myself and Garreth somehow managed to climb up and grab dad’s car keys from a key hook on a wall. We then managed to open the car, and successfully start the engine. Bear in mind, this was whilst we were in cyprus, so only 5 or so at the time 😉

Myself and my brother in cyprus, covered in washing up foam

Myself and Garreth (in that order), in Cyprus

Dad left the army, relatively soon after we started school, he and mum didn’t want us to grow up as army kids, and he didn’t really fit into the army, from what he told us. Mum at this point was also apparently quite unhappy.

At age 8, my parents started divorcing, a process that took a few years. I have a few visible memories during this period, of a social worker asking us who we wanted to live with, and mum coming home one day, and telling us it was over. I also remember one or two fights between my parents, and suspect I heard/saw far more that were supressed.

The most powerful memory I have during that period, was clinging onto my dad, as he was dropping me off in the school playground, not wanting to ever let go, not wanting to leave him, at the start of a Junior school day. I would have been around 8 or 9 at this point. They somehow managed to get me separated, dad left, and me into a quiet office. I fought, hard, wriggling whilst someone held me, trying to calm me. Eventually someone said ‘Johnathon, you hurt me!’, and instantly I calmed. I never wanted to hurt anyone, ever, I just wanted to be with Dad.

That divorce would go on to shape me, to an extent I’m only now realising.

Part 2