Skip navigation.

exploreopera

| Help

Sign up | Help

There is no spoon

It is not the spoon that bends, it is only yourself

Posts tagged with "challenge"

Threat modelling

, , , ...

I have a very difficult task those days: defining guidelines to ensure the security of a distributed application.

Despite the Oxford study that shows that engineers have a way of looking at the world that is similar to terrorists (?????), thinking as a hacker is not straight forward. And that's exactly what I have to do.

More than this, it's a job that involves great responsibility. It's important to review and validate all the assumptions and to test the results.

Anyway, I'm using the threat modelling methodology, which basically means the following steps:

  • Imagine all the possible attacks to your system (of course, there are already lots of papers describing possible attacks; I am using them as a starting point)
  • For each possible attack, evaluate its probability and the effects if it happens
  • For each possible attack, decide if preventing it is necessary and/or possible
  • For the remaining attacks, define the prevention measures
  • For all attacks define the contingency plan (what to do if it happens)
  • Translate the prevention measures in coding guidelines, test scenarios and maintenance procedures

Of course, in real life things are more complicated; for example data needs to be partitioned in sensible information (for example private data, commercial data etc.) and non-sensible information (for example lists of countries). Data Flow Diagrams are also very useful in order to follow exactly where the data is going, and so on.

Those steps should always be followed by many reviews, by training developers to follow the guidelines and by enforcing the guidelines.

I like this methodology because it starts from real world questions: What can an attacker do? How difficult is for him to do that? What are the effects of an attack? It also forces the analyst to learn about software vulnerabilities.

There is however another facet of any attempt to security: it always involves the human factor. I won't go in this subject now, but I recommend Bruce Schneier's blog for a very smart and insightful view on security, especially when it involves the human factor.


Personal advertisement: I am PassionIT and help teams that develop high quality software. I train, I help improving and I work hands-on, depending on the needs. Contact me if you need help.
Alexandru Bolboaca-Diaconu



Add to Technorati Favorites  Digg!

Sleeping late and doing great

, ,

My friends know very well that I'm not a natural born morning person; in fact I was heard many times telling people that all that comes before 9 AM is very early. Of course, on the other hand, I don't go to bed early, but some time during the night.

It so happens that during this week I had to wake up at 7:30 AM every morning, and, strange enough, I don't feel that's bad. How does this happen?

I think that's a matter of what you do rather than when you do it. If you do something that's interesting (as I happen to do now), I am really happy to wake up early in the morning. If you go to a job that doesn't challenge you, that's not interesting for you and you just go there to take the money than waking up early is just not worth it.

So if you don't like to wake up in the morning, maybe the question you need to ask yourself is: do I have what to wake up for?