Archive for August, 2009

A Lapse in Policy

We have all be on the phone talking to someone that we may not know all to well, when at the end of the conversation they say “sounds good, go ahead and shoot me an email about this.”. If you are like me you think, “why we just talked about it”. However that email actually is used for quite a few things: The most obvious one is that it will be used as a reminder, people often use there inbox as a to-do list. The next thing that email will be used for is a record of your request, most companies have very strict policies on change management where all changes must have a request associated with it. The final thing that email will be used for is authentication, with the raise of knowledge about social engineering over the phone email as authentication has come into play.

The lapse in policy comes from the last two things the email serves. It comes from the assumption that only the person who controls the email account can send an email from that email address.  Unfortunately email, like most Internet protocols was invented before security was taken into account. Its actually considered quite trivial to send an email appearing to come form any name and email address that you please.

Fortunately there is a simple fix to this problem: Simply reply to all request emails with a confirmation request. So if person A requests person B to preform some task on the companies file server. Before preforming the task, person B should send a confirmation email to A asking for A to confirm the task.  Then the request and the confirmation should be stored for record keeping and we can be sure to the point of the security of the email account that the request was authentic.

Paying the Ultimate Cost

In America and most of the western world when we hear the phrase “paying the ultimate cost” we think of dying for a cause. Basically it means we value ones life as the highest cost we can sacrifice. In security the only way to protect something is to make the cost so high that attacking it is simply not worth it to the attacker. So in the west and especially America we use the threat of taking away someone’s life as the cost for committing very serious crimes. Some would debate how well this works, but I am of the personal belief that it works pretty well.

People often argue that defending against a suicide attacker is impossible for the reason that the attacker doesn’t value their own life. The problem with this argument is in the assumption that to the attacker the ultimate cost is the attackers life. I would argue that there most be something that is to valuable to the attacker that will make them feel the attack is not worth it. An example suggestion would be the attackers family. If the 911 hijackers thought America would hunt down their family and killed them I would suspect they wouldn’t have done it.

Now this sounds horrific, that’s because it is. We in America and other Christian based moral codes would never hold the fault of a family member against the entire family. I would also never suggest that as a solution or support it. The point to the argument is that in trying to mitigate a risk you most consider the potential cost to the attacker. The higher you can make it the better. Unfortunately when you deal with people that have a different moral framework, like terrorist,  costs are measured differently. When attempting to develop mitigating controls to defeat terrorism we have to be creative in finding costs to the attacker that are ok in our own moral framework but are still costly enough to make the attacker not attack.

Twitter can be neat

If  you are like me you don’t exactly see the usefulness of the social networking site Twitter. After reading a recent wired article I can not better see that usefulness. There appears to be some pretty clever people connecting common house hold devices to Twitter.

This really isn’t all that new of a concept however. People have been connecting bots to IRC for control for a very long time now. I would suspect similar devices have been plugged into IRC. I wonder about the secuirty behind putting so much control of your house onto the net. Losing control of your own account could give an attacker control of say your air conditioning and drop your house to 60 degrees. Causing your electric bill to ski rocket.

Insights in Risk Assessments

Bruce Schneier has a great insight on risk. In a recent post to his blog he wrote:

People have a natural intuition about risk, and in many ways it’s very good. It fails at times due to a variety of cognitive biases, but for normal risks that people regularly encounter, it works surprisingly well: often better than we give it credit for.

This struck me as I listened to yet another conference presenter complaining about security awareness training. He was talking about the difficulty of getting employees at his company to actually follow his security policies: encrypting data on memory sticks, not sharing passwords, not logging in from untrusted wireless networks. “We have to make people understand the risks,” he said.

It seems to me that his co-workers understand the risks better than he does. They know what the real risks are at work, and that they all revolve around not getting the job done. Those risks are real and tangible, and employees feel them all the time. The risks of not following security procedures are much less real. Maybe the employee will get caught, but probably not. And even if he does get caught, the penalties aren’t serious.

Bruce hits risk assessments right on the head in this post. The risk inherent in what is considered risky Internet  behaviour is not as bad as many make it out to be. People often surf the web in untrustworthy wireless networks and store data on none encrypted memory sticks and nothing bad ever seems to happen because of it. At least on the personal level. We may read news articles once a week that describe how some sensitive data was lost on a stolen laptop or some other similar story. The thing to take from them is that they are in the news, if it happened to everyone it wouldn’t be news worthy. Bruce goes on to say:

“Fire someone who breaks security procedure, quickly and publicly,” I suggested to the presenter. “That’ll increase security awareness faster than any of your posters or lectures or newsletters.” If the risks are real, people will get it.

This is exactly correct. People need a real risk to be aware of the riskiness of their behaviour. However the network administrators need to take into account the actual risk, likelihood, and cost of each policy. You can’t stop business in the name of security.

Great C Tutorial

Dr. Dave Marshall at Cardiff School of Computer Science has written a great C tutorial. This tutorial is mostly aimed at UNIX C developers and covers the basics of C programming to advanced multi-threaded application development. This is the tutorial that I used to learn C and I still open it up whenever I need to look up something new or need a quick refresher on something. Unfortunately it appears that Google keeps burying the link so I thought it would be helpful to others that are looking for in my opinion the best C tutorial available online.

Its Alive

Hours after deciding WordPress should be the content engine I use for this website/blog I am able to post this message. I was attempting to roll my own content engine based off of Django for several months. The problem was that I didn’t find developing it very interesting. Once I got based user authentication and deciding how to store the data in an effect way for searching the project lost my interest. I have read about WordPress for years and I have always read good things. So I did a bit of research throughout the day today and decided just to leap and see what I thought. Boy am I glad I did.

Its been very easy to fill this site with content. Using the static pages I will finally have a place to post some of my projects/research which is something that I have been wanting to do for quit a while now. I am also able join web 2.0 and blog. I am currently going to mostly fill this site with my own thoughts and opinions. I am always welcome to hearing other peoples point of view and I will most likely time to time post things that are a bit off the wall to examine peoples responses.

So if anyone is considering using WordPress I’d recommend you give it a shot and I hope you enjoy  this site.