The Register® — Biting the hand that feeds IT

Feeds

Security by obscurity not so bad after all, argues prof

Security by obscurity may not be so bad after all, according to a provocative new research paper that questions long-held security maxims. The Kerckhoffs' Principle holds that withholding information on how a system works is no security defence. A second accepted principle is that a defender has to defend against all possible …

This topic is closed for new posts.

Page:

You missed a bit

Let me just fix this part:

"Security by obscurity may not be so bad after all ***when used as an additional layer of defense***".

That's better. Surely this is obvious to anyone, though. since any extra layer of security is a good thing.

Anonymous Coward
Anonymous Coward

fail_32.png

Eh?

I don't know of anyone who has said *using* security by obscurity is bad.

Everyone I know says that RELYING ONLY on security by obscurity without any other security layers is bad.

If a VIP goes on a trip to a dangerous place do you :

1) Publish detailed information about precisely when she will be where alongside details of your precise security strategy for each location, transit routes in between and security details during transit. Have all of this information scrutinised by an ad hoc network of independent security experts from around the world to see if they can find a vulnerability. At the same time of course, your adversaries get to scrutinise your plan too.

or do you :

2) Not announce the visit until it's already underway. Withold details of the trip from all but those who absolutely need to know, and even then tell them only those details that they need in order to do their job.

There is certainly a debate to be had. Option 2 could allow the security detail to get sloppy. However, I think when looked at this way, the answer isn't quite as obvious as it first seems.

The VIP...

The point previous comments have made is that in both your cases, there is strong security for the VIP visit. Obscurity makes it more secure. Security PLUS Obscurity.

The general maxim about Security BY Obscurity is a warning not to believe something is secure just because information is obscure. The comparative metaphor would be the VIP is coming to visit, give her an airline ticket, cabfare and a map of town and send her on her way. And don't tell anybody. She'll be safe, nobody knows she's coming. THAT'S BAD.

Your Option 2 is clearly better than Option 1 but both rely on the existence of good security.

Joke

re: a VIP goes on a trip to a dangerous place do you

doesn't that depend on the VIP ;-)

Tell me, when you have an operation, do you:

a) see a person who has been acredited by an open place of learning (university), got certificates on their wall, and people checking that what they do is safe.

or

b) see a person who says "I know what I doing, honest gov'nor", but who has not been to university, got a degree, certificates on their wall, no-one checking them, etc.

Now how obvious is the answer? Yes it is possible that just by himself, guy (b) is better than guy (a), and you would be much better there, but how do you know?

But that is selection for competency, not selection for security. This goal is not that goal.

Secrets only work as long as they are ...

... secret.

That is the basic tenet in the idea that security by obscurity doesn't work. But one of the purposes of security is to keep secrets, so you can argue that if you can't keep your security measures secret, you can't keep any data secret. So in some sense security _is_ obscurity.

What you don't want is that leakage of one secret will reveal them all. If your sole defence is a secret (weak) encryption method, leakage of this _will_ reveal all your secrets. In the same way, leaking one encryption key (to a strong encryption) should not reveal all your secrets. So you need to make a diagram of dependencies: What information will reveal what other information. And if a small set of informations will reveal a large fraction of the remaining information, your security just isn't good enough.

Obscurity is security when it is a

one time pad. Other methods depend on the effort the attacker has to put into cracking it. Obscuring the algorithm doesn't put much impediment in the way of the attacker.

the fatal flaw with one time pads is you can only use them once

Boffin

One time pad rarely useful

For this to work you need an alternative communications channel for communicating the pad, which is more secure than the channel you are trying to protect. Works for the diplomatic services which can send trusted couriers on a regular basis to embassies abroad. Can't think of any other contexts where this is useful, and far more where it isn't.

One time pad

Which of course brings us back to the key exchange problem - and essentially full circle. Perhaps back to the good old days of a courier with a briefcase handcuffed to his arm.

Not a game

Security is not a game, so game theories aren't relevant. The consequences of the code being cracked are normally far worse than that of a game, and relying on likelyhood of an attacker working it out rather than having to use brute force is poor given the potential consequences of aa successful crack.

Obscurity will only delay an attacker, they will use better tools to unpick the algorithm, like researchers used a scanning electon microscope on MiFare cards.

Holmes

Just to clarify

When academics talk about 'game theory' they don't mean games as in recreational activities. It just means any scenario in which there are two (or more), parties with differing objectives.

I totally agree. As soon as he said security was a game I stopped reading.

id like to see him try and explain to the families of terrorist victims that security is just a "game"

Anonymous Coward
Happy

http://lmgtfy.com/?q=game+theory+

That's really funny! - Security is not a game, its serious, therefore game theory does not apply...

Anonymous Coward
Anonymous Coward

@Gideon1

I think you misunderstand what is meant by "game theory" - I recommend you do some research and then you will find it is far more than just how to win at Connect4.

Wikipedia is, as always, a good starting point.

Facepalm

Rubbish

It can be modelled as a game, so game theories are relevant. Worse consequences are modelled as higher costs in the game. You multiply those costs by probability and hey presto you have expected cost.

Headmaster

The word "Game" in 'Game Theory' is misleading you. While it can apply to games, it's more generally a study of any interactions where there is some competition or contest between the participants. The idea of mutually assured destruction comes from game theory (and the consequences are a bit worse than a code being cracked).

Go read up on it a bit (http://en.wikipedia.org/wiki/Game_theory) and look past the name.

Anonymous Coward
Anonymous Coward

someone doesn't understand game theory.

but games can be important

Game Theory is not just about playing games.

From Wikipedia: "Within math, game theory reflects calculated circumstances (games) where a person’s success is based upon the choices of others (Myerson, 1991). It is mainly used in economics, political science, and psychology, and other, more prescribed sciences, like logic or biology. While at first designed to investigate contests where an individual does better at another’s outlay, or zero-sum games, game theory applies a wide range of class relations, and has developed into an umbrella term for the logical side of science, to include both human and non-humans, like computers. Classic uses include a sense of balance in numerous games, where each person has found or developed a tactic that cannot successfully better his results, given the other approach."

Misunderstanding of terms

Game theory is not the study of how to win at tiddlywinks.

Thumb Down

and here we have someone who doesn't understand that "Game Theory" isn't actually a game!

Try reading Pavlovics "Final Comments". He blithely assumes you can obscure your own algorithms. This is what makes the paper silly junk science.

Coat

The Game

You just lost. ;)

Unhappy

As a security professional...

...I have been saying this to my clients for many years.

But I haven't been publishing that advice, or talking about it at conferences, because I wanted it to remain secret...

Security by being obscure, more like

The argument holds true, in a target-rich environment, where the only thing to be had, from a given computer, is a collection of photographs of naked people doing athletic - but strangely unemotional - things, to one another, plus the login details to the likes of Facebook or Twitter.

If, on the other hand, your computer is full of blueprints for stealth helicopters, sonarless submarines, and death-ray satellites, and is housed in a concrete bunker armed by the kinds of people that only Gordon Freeman can take down, then it is no longer obscure, and all the old arguments apply.

The professor's argument boils down to a wilderbeest defence: stay in the herd and don't look weak enough to count as dinner. However, some of us aren't wilderbeest.

Holmes

Nothing here to see folks, move along, move along....

Defense in depth...

...make it hard(er) for someone to breach your defenses and hope they go and find easier pickings elsewhere.

Go

Quite Correct

The prof is quite correct in what he says. Encryption per se is useless. As technology gets better, you have to use longer and longer encryption keys and more computationally intensive methods to ensure brute force can't work. This is a battle the defender will always loose, especially when dealing with items that need a long service life, such as smart meters etc.

People keeping missing something very important. What one piece of information does an attacker need to brute force encryption, no matter how complex? He needs to have a way of determining when he has cracked the encryption. If he can't work out he's cracked it, he can't know to stop and will simply move onto the next key. So, the secret with ecryption is not to make the key longer, but to simply create data packets where it is almost impossible to determine when it is decrypted!! This, in essence, is security through obscurity and will work regardless of technological advances. The big mistake companies make all the time is to encrypt too much information in one go and therefore give people the chance to determine they've succeeded through looking for words etc. If you encrypt shorter packets of information, this becomes harder. Additionally, using XML or any other standard that uses primarily clear text is an issue as this removes large numbers of permutations. For instance, if a number is held as digits, the vast majority of options are removed as a decrypted version must be digits only. However, if it's held as binary, all options are in play.

Too many security professionals these days use the simple, thoughtless processes rather than putting themselves in the hackers shoes and seeing it from their point of view. Stronger and stronger encryption algorithms with longer and longer keys is not the way to go. Security needs to get smarter, not simply longer and more complex.

Boffin

If a system has many instances the attacker has access

A security system with few instances is more likely to benefit from obscurity than one with many. Kerckhoff's principle assumes with many instances it becomes inevitable the attacker will be able to acquire and reverse engineer one of them.

So security then has to rely on key management, and the ability to preserve the security property of the system by rekeying it.

It also makes sense for the good guys to be able to peer review and discover weaknesses before the design is finalised, given that the bad guys can later if a failed attempt is made to keep the system is kept obscure. But obscurity prevents widespread peer review.

Password Prompts

The perfect system would then present the attacker with a password prompt and take every step necessary to present the attacker with what looks like a brilliantly designed system that uses what seems to be a 2056-bit key.

Little does the attacker know that the password prompt is a fake. Password? There is no password.

Now _that's_ security.

FAIL

Er...

Next day's headline, "No Password Exposes All Classified Data"

Obviously sarcasm needs to be clearly identified as such.. Noted

Anonymous Coward
Anonymous Coward

Re: As a security professional...

But, of course, this paper is saying security by obscurity and game theory approaches are good ideas precisely to deflect attention from the real security techniques which remain obscured by the publicity over this ... then again, maybe that's what they want us to think!

Obscurity hinders

I rely on a complex 20 digit password for access to my SSH account.

BUT I also use a non-standard port and and only allow access to a very unusual username. Every bit helps even if it just hinders most of the automated probes

"Pavlovic compares security to a game in which each side has incomplete information."

Well he's certainly being OBSCURE so that much is true. Why doesn't he tell us what game he is talking about rather than giving us useless clues?? It could be anything a MMORG or an FPS. In fact all games have incomplete information.

And is it really right that these so-called "academics" are allowed to play any computer games at work on the taxpayer's dime?

This would NEVER happen in the private sector. Imagine it - "What's that? hackers have just broken into our database and stolen all the customer passwords?! Well hang on guys let me play minecraft for a bit and develop a game theory about it."

would NOT happen

Trollface

If you're not trolling then you should probably get over this whole game theory thing - did you not read all the posts above?

And not all games have incomplete information. Poker, yes (you don't know what cards the opponent has); chess, noughts and crosses, no (you know all the pieces he has, what moves he can make, etc).

FAIL

This is either a very good joke, or you don't realise how many millions of $currency companies like Tesco, Morrisons, etc. spend on Game Theory calculations of what the other one is going to do. "If we drop prices, if they also drop prices, we'll lose money, but if they don't drop prices we'll make money, but only if we drop prices by a certain amount, which depends on whether and by how much they drop prices, and we might actually make more money by /raising/ prices, as long as they don't.... etc....."

Anonymous Coward
Anonymous Coward

I can't work it out - are you a troll or an idiot?

that's even worse. if he means poker then he's gambling too, gambling with taxpayer money to boot and all the games you mention require opponents - especially poker which might mean the whole department was at this. at least if he was playing quake no-one else is necessarily involved.

chess is considered more acceptable because its meant to be more work than fun although its still a game and it still means at least two academics are involved now in this scandal.

as for incomplete information you are wrong. In chess you do have incomplete information because you don't know where the other player will move or whether they will just resign. same with naughts and crosses you dont know where the other player will move. Not even on the last turn sometimes ive seen players just give up before the end so u can never tell

"you don't realise how many millions of $currency companies like Tesco, Morrisons, etc. spend on Game Theory calculations of what the other one is going to do"

I don't understand what you mean. They buy and sell products, they aren't gaming companies. Sure they sell games is that what you mean? I don't know why people insist that by simply prefixing the word "game" with the word "theory" then gaming becomes a matter of work rather than entertainment.

""If we drop prices, if they also drop prices, we'll lose money, but if they don't drop prices we'll make money, but only if we drop prices by a certain amount, which depends on whether and by how much they drop prices, and we might actually make more money by /raising/ prices, as long as they don't.... etc.....""

That's not a game. That's business. If they really treated business as a game they'd have gone bust long ago.

Anonymous Coward
Trollface

@nomnomnom

Was it you who wrote the rotting dog blog?

If yes, then you are a master of Irony, and an unspeakable troll.

If not, then you need to read more and write less.

>troll or idiot?

Both

Anonymous Coward
Anonymous Coward

Does it

matter?

Anonymous Coward
Anonymous Coward

Obscurity has a more respectable stablemate

It's called Steganography, and is part of the security toolkit. Basically one can hide the important information within a morass of irrelevant data - very hard to crack unless you can reverse-engineer a sample. So, it is used for instance for spy communications, where, if you get a system to crack then you've already got your spy. Granted not so good for a mass produced item. However, consider the case of DECT phones, who managed very well through NDA and custom chip implementations to keep their algorithm secret and in fact it stood for over 20 years - far longer than it would have done if it had published its details. That said, the value of the protected information was also quite low, though an undetectable wire-tap would have been useful to, for instance, the NoTW.

Go

A Jolly read

I recommend anyone to read the article - it's informal conversation style is quite funny/alarming at times - witness this footnote:

This is, of course, a blatant oversimplification, as are many

other statements I make. In a sense, every statement is an

oversimplification of reality, abstracting away the matters

deemed irrelevant. The gentle reader is invited to squint

whenever any of the details that I omit do seem relevant,

and add them to the picture. The shape of a forest should

not change when some trees are enhanced.

Trollface

@NomNomNom

Trolling, or seriously just completely misunderstanding the concept of Game Theory?

capitalizing it won't help, that's just an argument from authority.

Explain to me in simple terms exactly what game the academic in this story was playing to devise his theory and we'll go from there.

Facepalm

The post is required, and must contain letters.

-> letters

@Nomnomnom

As respectfully as possible: please get out and go look up the term on your fav search engine.

Or better still, stick to playing games....

(So much for not feeding the troll....)

Page:

This topic is closed for new posts.