Slashdot Mirror


Feature:Obscurity as Security

Matthew Priestley has taken a break from slaving for the man to write us a piece where he takes on the convential wisdom that Security through Obscurity isn't secure at all, and tries to argue that sometimes it is. Click the link below to read it. Lots of interesting stuff and some good examples. Its worth a read. The following was written by Slashdot Reader Matthew Priestley Obscurity as Security Disclaimer: The author of this paper works for Microsoft, but his opinions may not be those of Microsoft. In fact, they aren't. The author hereby declares that nobody important is even aware of his existence and that the closest he has ever come to plotting with Bill Gates on the Master Plan was when they used adjacent urinals this one time. The author did not peek.

0 Introduction With the popularity of the open-source mindset, a general contempt has drizzled upon all forms of obscurity. The concept of security through obscurity (STO) in particu lar has been decimated. Security through obscurity, which relies on the ignorance of attackers rather than the strength of defenders, is dead in all but practic e. The victory of the opposing full disclosure approach is so complete that proposed ta ctics die at the mere hint they are a form of STO.

This paper suggests security through obscurity can and does work in certain strictly limited ways, and should not be eliminated unthinkingly from the admin's arsenal. It further implies that the boundaries between STO and 'real' security are blurry and deserve evaluation. However, this paper in no way proposes obscurity as a method for keeping secrets in the long term.

1 Full disclosure does not apply to instantiated data Instantiated data - the data used by specific instances of an algorithm - do not fall within the scope of full disclosure. Were this not so, then even the simplest password would violate the ban on security through obscurity. Passwords are secrets known only to their creators, and password entry is commonly obscured, as in the case of the 'shadow' login of UNIX. While the login protocol may be open, passwords themselves are a form of STO, with obscurity localized in the password string.

Instantiated data are exempt from full disclosure because the risk from their failure is limited. When a script cracks a password, the damage done to the secure system extends only as far as that password's scope. The cracker cannot use the compromised string to gain power directly in another system, even if that system runs the same password protocol. Nor can anything be inferred about the value of one password merely from the value of another with equal or lower permissions.

A similar example of instantiated data obscurity is the private key that forms the basis of asymmetric cryptography. So obscure is this information that it is rare for even the owner to be familiar with its precise value. But such obscurity is a necessary element of modern security schemes. Strong security does not eliminate obscurity - rather, it localizes obscurity to instantiated data. The phrase in cryptology, 'carry all security in the key' might be better phrased 'carry all obscurity in the key'.

2 Full disclosure does not apply to time-limited secrets Secrets that expire after a short lifetime can be protected by a wider array of techniques than long-standing secrets. The defense of information that will be irrelevant in a matter of hours or days may not warrant fully peer-reviewed security. Consider the famous Navajo code-talkers of World War II. Among the Americans coordinating the at tack against Japanese-held islands in the Pacific were a number of Navajo Indians, who spoke a slangy version of the complex Navajo tongue. Commands from HQ were issued through these code-talkers, who encrypted and decrypted with an alacrity that belittled the automated methods of the day. This is an excellent example of time-limited security through obscurity. Secret languages are excellent security in the short-term, but however cryptic Navajo may be, it is a code subject to human betrayal. Use of Navajo against the Japanese much beyond the 3-year window of the war would have been unwise. But because the secrets of American strategy in the Pacific were irrelevant after the conclusion of the fighting, the long-term weakness of obscure Navajo as a security measure was unimportant.

3 Obscurity serves as a tripwire Perhaps the classic example of wrongheaded STO is the administrator who modifies his web server to listen on a nonstandard port - thereby confusing attackers, as the theory goes. Considering the degree to which tasks such as port scanning can be automated, the naivete of this defense seems plain. The cracker might be forced to check all 64512 unreserved ports, but eventually the concealed web server will be found. This appears to be a weakness of STO, but if manipulated correctly, it is in fact a great strength. Imagine that our same admin had also invoked a tripwire script and set it to listen on one or more unused ports. When the tripwire is probed with a SYN packet from a cracker trying to locate the web server, instantly the system goes to full alert. The packet is logged and the admin's pager sounds like an alarm.

Such tripwire approaches work because they do not expect obscurity to keep information hidden. Rather, they obscure information as a ploy to force invaders into showing their hand. Because the obscured implementation differs on each system, crackers must resort to guess-check scanning before attacks can commence. But tripwires are deployed throughout the system, anticipating this very move. Running an automated kit suddenly becomes a risky proposition, and even talented crackers must gamble on, for example, whether 'root' is really the name of the primary account or merely a hotline to the authorities.

Lighthearted implementations of this approach are a staple in the popular "Indiana Jones" films. In one scene, Jones is confronted with a hallway of lettered tiles, all seemingly alike. To cross safely he must step only on those tiles with letters corresponding to the secret word 'Jehovah'. The penalty for a misstep is to crash through the floor and plummet into a gaping pit. Attackers not privy to the password would find an exhaustive search less than optimal in this case. When traps are mingled with genuine data, STO can be a powerful disincentive. Such measures do not make a given machine resistant to breach in the long term, any more than medieval moats could ultimately protect their castles. But like moats, tripwire obscurity provides a critical buffer against attackers, allowing defenders room to breathe.

4 Asymmetric cryptography exhibits traits of STO Despite the notion that asymmetric cryptography such as RSA is 'real' security, in some aspects these methods resemble STO. Indeed, this entire class of cryptography is founded on the hopeful guess that a certain mathematical problem is intractable. The back door into cryptographic methods that rely on multiplying primes is, quite simply, to develop a swift means of factoring those multiples. This NP-time problem must be solved before a private key can b e derived from its corresponding public key, and the notorious difficulty of NP problems leads some supporters to characterize asymmetric cryptography as 'prova bly secure'. This is far from the case - there is uncertainty among mathematicia ns as to whether this problem will even prove non-trivial once approached from t he right angle. Startling progress has been made in solving similar 'impossible' problems using innovative ploys - for example, DNA computers can now solve the Traveling Salesman problem in linear time. Given that asymmetric encryption is used widely in the world's e-commerce infrastructure, the repercussions when this piece of obscurity is cracked are disturbing to contemplate.

One telling argument against STO is that it promotes a false sense of security, leading admins into complacency. But the complexity of asymmetric cryptography, combined with reports of its infallibility, can produce much the same effect. Co nsider this social-engineering exploit of digital signing. Using a tool such as m akecert, the cracker generates a root certificate with the name 'Verisign Class 1 Primary CA' and uses it to sign an end-entity certificate with the subject 'CN=Rob Malda, E=malda@slashdot.org' (CT:Please don't. I'm used to posers pretending to be me in Quake, but not on email ;) The cracker then sends the email to an enemy, using a client that does not validate e-mail addresses and spoofing the return address friendly name. The inexpert recipient, thinking all is in order and knowing that digital signatures never lie, trusts the root certificate and hence forth carries on a conversation with a false CmdrTaco. Only scrutiny of the headers will reveal the mail is actually going to a different address. The widely made claim that public-key cryptography is 'real' security and completely unrelated to 'false' STO delivers a more powerful illusion of security than anything an XOR'd password file can provide.

Even brute-force cryptanalysis has parallels in STO. Suppose we wish to conceal the passwords for a number of Swedish bank accounts. We resolve to write them to a secret location on our hard drive, perhaps a few unused bytes in a file sector. Only we, who know the lucky offset, can read the data. This form of concealment is a typical case of secruity through obscurity. The integrity of our secret depends on the ignorance of the cracker, and a trial of all 2^n possible locatio ns compromises the system. But in what way is this fundamentally different from the 'genuine' security of n-bit encryption? To break this form of security, 2^n keys are generated and tried agains t the cipher text until the result is a plain body. Is the difference between this 'true' security and the 'false' STO merely than n is considerably larger in encryption than in the case of hard drives? But this implies that our real error lay, not in reliance upon obscurity, but in having a hard drive of insufficient size!

5 Conclusions Security in the absence of obscurity is not strictly possible, but good systems both localize and advertise their points of obscurity. When the admin is fully a ware of the obscurity in a system, tripwires and instantiated data can provide a useful complement to more rigorous security techniques. Obscurity cannot keep information safe or concealed for long, but it can make attacks risky and destroy the effectiveness of automatic kits. These benefits should not be dismissed as an article of faith.

192 comments

  1. Another example by Enry · · Score: 2

    Turning off ICMP ping access to a host you want to keep hidden will usually ward off casual script kiddies. In this case, you're obscuring the fact that the machine exists at all.

    However, this is always part of a larger overall scheme to keep intruders out.

  2. Re:Excuse me but... by javac · · Score: 1

    I think this was a very informative article. I believe it brought out some points that I hadn't thought of before.

    Alot of us here at /. don't know everything about security already. I am a programmer and I really like to learn new things. Slashdot isn't just news. It is whatever Rob wants to post. Thanks for the great essay.

    geach

  3. The Traveling Salesman has not been solved! by dgerman · · Score: 5

    > DNA computers can now
    > solve the Traveling Salesman problem in
    > linear time.

    The Traveling Salesman Problem is NP-Complete. If the DNA computers are able to solve it in linear time, P = NP, and the most important problem in Computer Science would be solved. I believe you meant: "DNA computers can now solve _some_ instances of the TSP in linear time, which is far different from your previous claim. There are, of course, some algorithms that give you a good approximation to the solution, but they don't "solve" the problem either.

    1. Re:The Traveling Salesman has not been solved! by Sensor · · Score: 1

      I'm pretty sure he means linear... all you have to do is use a bigger vat. Saying that some instances can be solved in linear time is meaningless anyway... linear describes the growth of complexity when compared to the size of the dataset - when all you have is a series of points then talking about its complexity is impossible.

      Tom

    2. Re:The Traveling Salesman has not been solved! by Spiv · · Score: 1

      I'd never heard of DNA computing before, so I followed the link and took a look.

      I'm certainly not qualified to know how much of it is really feasible, but it is quite interesting. However I'm not convinced that this technique would really solve the problem in linear time.

      My reason for this is just a hunch, but it seems intuitive. They assume that the process of taking n DNA strands, chucking them into a bucket (so to speak), and mixing, will only have a linear cost. I'm not convinced this would be the case.

      Visualise n to be fairly big, and each DNA strand to be fairly long. Now picture n strands of this length put into a mixing process. Now I'm not a chemist, but wouldn't tangles and other geometric issues, if not sheer weight of numbers, render the cost of adequate mixing worse than linear?

      Put simply, if it takes, say, 10 milliseconds to adequately mix 10 strands, do you think it would really take just 1000 milliseconds for 1000 strands? Or 1000000 for a 1000000? Maybe it would, but I'm unconvinced. If nothing else, I doubt that a linear relationship for this is proven.

      Or maybe I just misunderstood the whole thing. Please tell me where I've screwed up :)

    3. Re:The Traveling Salesman has not been solved! by daVinci1980 · · Score: 1

      I agree. This sounds like crapola to me!

      And the link provided does not demonstrate the travelling salesman problem the way I learned it. We learned it such that the travelling salesman _was_ concerned about the distance travelled, which makes the problem MUCH more complex. Plus, with this addition, the travelling salesman is revealed for what it truly represents: circuit design.

      The problem is of course VERY simply when there are only 3-10 cities involved, but grows to unsolvable proportions as it grows to 100 cities and beyond. (2^100 ~ 10^30). Note that earth has only been around for approximately 10^27 milliseconds.

      The problem showed grows complex only at a linear rate, not n^P... Oh well...

      --
      I currently have no clever signature witicism to add here.
    4. Re:The Traveling Salesman has not been solved! by Gleef · · Score: 2

      Looking at the link he gave, the DNA-computer based solution doesn't even claim to be a linear time solution. Given a finite number of paths between TSP points, and assuming the "Mixing" stage takes negligible time, you will get a number of non-unique DNA strands. Each DNA strand can be checked in linear time. The problem can't be solved in linear time.

      ----

      --

      ----
      Open mind, insert foot.
    5. Re:The Traveling Salesman has not been solved! by dgerman · · Score: 1

      > We learned it such that the travelling salesman > _was_ concerned about the distance travelled,
      > which makes the problem MUCH more complex.

      Actually not. There are two variations of the TSP problem: one is to "decide" whether there is a path of less than x units between the cities, and the other is the "optimization": what is the optimal path between the cities. Both are NP-Complete, and in that respect, equivalent. If you can answer the optimization problem in linear time, you can solve the other in linear time also and vice-versa.

    6. Re:The Traveling Salesman has not been solved! by Anonymous Coward · · Score: 1

      The whole point of the NP class problems is that they can be solved using a non-derterministic Turing machine (NDTM) in polynomial time. An NDTM can be simulated on a standard Turing Machine (TM) but not in polynomial time. If you could find an algorithm that solved the TSP (an NP - Complete problem) in polynomial time on a TM then indeed P=NP. The DNA algorithm is taking a different tack it is taking a massively parallel approach. In principle it could do as advertised without violating the above. (Whether it does or not is another matter.) The factorisation question that is important for cryptography is moot. It is within the realms of possibility at a solution in P could be found. There are already quantum algorithms that could make the problem tractable, these use the same trick of massive parallelism, however no machines that could take advantage of the algorithms yet exist.

    7. Re:The Traveling Salesman has not been solved! by robbo · · Score: 2

      Note that checking n strands in linear time produces an n^2 algorithm. Perhaps not linear, but definitely P. It's pointless to argue P vs NP when you're dealing with a 'computer' that can't be represented by a Turing machine- if DNA strands can perform an exponential number of operations in polynomial time, then NP problems will become tractable- but they will still be NP (and probably not P) problems.

      --
      So long, and thanks for all the Phish
    8. Re:The Traveling Salesman has not been solved! by ainvy · · Score: 1

      The traveling salesman is not only solvable in
      linear time, but also in constant time!
      In fact, even a bigger class of problems,
      called the polynomial hierarchy (PH) can be
      solved in constant time.

      The catch is in the number of processors
      required to do so. This translates to the weight (or volume) of the DNA which grows
      exponentially in the size of the input.

      DNA computing does not give us any additional
      power over traditional computing: quantumn
      computing does.

      Vinay

    9. Re:The Traveling Salesman has not been solved! by Slak · · Score: 5
      Perhaps I'm wrong here, but while this DNA computer (very) arguably may solve some TSP problems in polynomial time, it does so in exponential space. That is to say, if a given DNA computer can solve an n-node TSP problem in, say O(n^2) (or some other polynomial) time it probably requires O(e^n) space to achieve it.

      This doesn't even address the question of whether or not the DNA computer is deterministic. In other words, given the same input, will it always produce the same output in the same (exact) running time? For example, I could claim that this message is encrypted with the only provably secure encryption algorithm - a 1-time pad. The fact that you are reading it means that you broke my code in not just polynomial but constant time by guessing the correct key (a string of 0s, as it turns out) does not make the 1-time pad encryption scheme (in general) insecure. I happened to have choosen a cryptographically crappy key.

      To continue my rant, the factoring is not "obscure". RSA would be "obscure" if it relied on some "magic" number - that is, in finding this single "magic" number, one could decode *all* messages encrypted with RSA. Since the public key is, well, public, the strength of the algorithm lies in the difficulty of factoring an arbitrary large composite number that has only 4 factors.

      I'm just getting warmed up here - the author's example of using social engineering to compromise Verisign's key is invalid. In this case, the underlying cryptographic system was not compromised . To turn the argument, I could just have easily socially-engineered any STO-based system just as easily affecting the same results. The reason that STO is bad is that this is not the only option. For systems using strong (non-STO) crypto, the only option to breaking it is through social engineering.

      The quote: "The widely made claim that public-key cryptography is 'real' security and completely unrelated to 'false' STO delivers a more powerful illusion of security than anything an XOR'd password file can provide." particularly ires me. The fact that a cracker knows exactly how a password is encrypted and still can't extract it is a secure system. A password "encrypted" (and I use the term loosely) through an obscure algorithm (that is, once you know the algorithm - not the key - you can get any password) is not secure. Offline, I can reverse-engineer your algorithm and run you SOL.

      Next, the example of the Swedish (ObEd: shouldn't that be Swiss?) bank account is totally misrepresented. In an STO system, a cracker would only need to run through the contents of the drive. That is, if the drive were size n, he (and it's always a "he", isn't it?) would take time t. If the drive were size 2*n, he would take time 2*t. If the author has no understanding of the difference between a linear scan of an array and the exponential search required to go through all possible keys of, say DES, then he's a moron. If he stores his Swedish bank account PIN somewhere on a 2^56 bit hard drive, than yes, he has the same security as someone encrypting the PIN with 56-bit DES. The difference of course, is that someone has to "remember" 2^56 bits (plus some to "remember" the offset) to find his PIN, while the other has to "remember" merely 56. That, is the power of strong encryption.

      Even if this guy weren't from microsoft, he'd still be an idiot!

      Cheers,
      Slak
      --------------------------------------------
      It has long been known that one horse can run
      faster than another - but which one?
      Differences are crucial. -- Lazarus Long

    10. Re:The Traveling Salesman has not been solved! by Sensor · · Score: 1


      typically DNA machines take quite a long time to process anything, after all there are fixed costs involved in extracting the solution but AFAIK the actual time elapsed during mixing does not grow that fast.

    11. Re:The Traveling Salesman has not been solved! by Kintanon · · Score: 1

      Ok, maybe I'm just an idiot. But isn't the TSP juust an excersise in pattern matching? It took me maybe 5 minutes to solve the version that the link in the article pointed to.
      It's just a matter of sorting connections until the string is complete. Enough conditions are given that any computer should be able to solve it in seconds. I suppose if there were 50 thousand cities you wanted to visit without every visiting the same one twice it would be a lot harder... But I think given that a solution exists I can solve anything up to 12 or so cities.
      Probalby more.

      Kintanon

      --
      Check out JoshJitsu.info for Brazilian Ji
    12. Re:The Traveling Salesman has not been solved! by Gleef · · Score: 2

      Right, and we haven't even dealt with the "Mixing" stage yet. The way I see it, given a small number of nucleotides, you aren't even guaranteed a full sample space. If you have just enough nucleotides to make a full sample space, Mixing will be slow as the number of free nucleotides drops to zero, and there's no way to prevent duplicate strands, so you won't get a full space anyway. Increasing the vat will get you faster Mixing, and exponetially more duplicates and wrong answers to check.

      As the problems get more complicated, strands are more likely to break, further compounding the situation.

      This makes any real DNA-computer solution of the Traveling Salesman look awfully NP to me.

      ----

      --

      ----
      Open mind, insert foot.
    13. Re:The Traveling Salesman has not been solved! by Anonymous Coward · · Score: 0

      > It's pointless to argue P vs NP when you're
      > dealing with a 'computer' that can't be
      > represented by a Turing machine

      Surely you meant to imply "tractably" at the
      end of that sentence. As it stands now, the
      sentence implies that deterministic turing
      machines are unable to simulate
      non-deterministic machines at all; this is, of
      course, not the case.

    14. Re:The Traveling Salesman has not been solved! by Anonymous Coward · · Score: 1
      DNA computers, of course, solve this (and related) problems by replicating and pursuing parallel tracks, breaking up the solution space and searching it (in principle) exhaustively. For a sufficiently large problem, one therefore needs an impractically large quantity of resources to provide the DNA.

      Quantum computers (in THEORY, anyway - in THEORY, communism works...) can exhaustively search solution spaces in linear time, using nondeterministic effects of QM (so that the question P=NP is not answered, but they act as a nondeterministic automaton, so they can solve NP, or Nondeterministic-Polynomial problems in polynomial time - as you might expect). Whether there is a limit on how many tracks can be pursued, analogously to the DNA computers, is unclear at this time, since no working models of any useful size have been built. There is no obvious theoretical reason why such a barrier should exist, however.

      The applicability of approximate algorithms for solving the TSP to the parallel question of code-breaking is, of course, doubtful. In the case of the TSP, one has a metric by which "approximate" solutions can be judged - and there are algorithms which can guarantee a result within, say, 10% of the best possible answer. In code-breaking, however, a wrong key produces gibberish, and there are no "approximately right" keys which decrypt SOME of the information only.

      In other words, barring an engineering breakthrough in quantum computation, the problem P=NP is still the principal weak point in modern cryptosystems - one which remains unanswered. Assuming it holds, and no working, size-unlimited quantum computers can be built (for whatever reason, such as as-yet unclear theoretical limits to maintaining coherence) then increasing the key size will always move the problem of attack beyond the abilities of the largest available computer, while keeping "legitimate" (i.e. key-enabled) decryption and encryption feasible.

      Oh, assuming nobody invents time-travel, of course.

    15. Re:The Traveling Salesman has not been solved! by Anonymous Coward · · Score: 1

      The comments seem to go back and forth, not realizing that we're not even discussing the same thing. People talk about solving the TSP, but they are only talking about solving an INSTANCE of the TSP. Any instance of TSP is solvable (just like chess it may take practically forever with a large enough problem), but there is no polynomial time algorithm known to solve TSP. This also seems to be a sticking point with some, because people seem to think they could just come up with one in a couple of hours, but some of the greatest mathematicians of the last few centuries have all been stumped trying to prove that P=NP OR P!=NP (excuse the C), much less actually finding the algorithm if P does equal NP. Now it is basically accepted in the scientific community that P!=NP, but it would revolutionize computer science and mathematics if P=NP. So if you do (miraculously) find a polynomial time algorithm for TSP, let me know, but I won't be holding my breath.

    16. Re:The Traveling Salesman has not been solved! by Have+Blue · · Score: 1

      The applicability of approximate algorithms for solving the TSP to the parallel question of code-breaking is, of course, doubtful. In the case of the TSP, one has a metric by which "approximate" solutions can be judged - and there are algorithms which can guarantee a result within, say, 10% of the best possible answer. In code-breaking, however, a wrong key produces gibberish, and there are no "approximately right" keys which decrypt SOME of the information only.

      Unless I seriously misunderstand the operations of quantum computers, couldn't you just port a normal crack program and try every possible key simultaneously?

    17. Re:The Traveling Salesman has not been solved! by Tau+Zero · · Score: 1

      4.3 billion years = 1.36e20 milliseconds. I don't know where you got the other 7 orders of magnitude from.

      --
      Time is Nature's way of keeping everything from happening at once... the bitch.
    18. Re:The Traveling Salesman has not been solved! by cookd · · Score: 1

      Isn't there an O(1) way to check the solutions? Given enough filter paper, you can do your DNA weight analysis all at once to find the strands that are the right weight, do some other chemical processes with the whole mess at once to get the optimal solution. At least that is the way I understand it. (Of course, again we get into the linear time vs. exponential equipment/resources.)

      --
      Time flies like an arrow. Fruit flies like a banana.
    19. Re:The Traveling Salesman has not been solved! by daVinci1980 · · Score: 1

      See this is not how I learned the problem... Ours was an Optimization problem, but we were forced to find the minimum distance required. This meant that we had to test every possible solution / 2, because we could say that A-->B == B-->A, where distance was concerned.

      The problem as posed only requires us to work until we find 1 solution. This problem can easily be reduced to linear time, given the proper model of coding.

      In addition, the problem as posed will take 2^(N-2) time, on average to solve, whereas the average time to solve the problem as I learned it would _always_ be 2^(N-1)...

      To determine any path that is less than X units is not too difficult a task, because again this only requires 2^(N-2) tests on average to determine.

      In addition, I wrote a routine that would solve this problem in very short time, but it was based on the premise that any city could travel to any other city, thusly highways and byways were thrown out..... (The solution was very simple, and I could find psuedo code or the actual code if you want it...)

      --
      I currently have no clever signature witicism to add here.
    20. Re:The Traveling Salesman has not been solved! by Convergence · · Score: 1

      I notice one small problem: All human encryption algorithms (excluding one time pads) may be cracked in a known bounded time, because the size of the keys can be bounded and a brute force search may be done. So yes, I can always crack IDEA, DES, PGP, Twofish in a known amount of work. (2^128, 2^56, 2^2048, 2^256). Here, the security comes because, given an unknown password it is 'very difficult' to determine the plain text from the cypher text. More critically, it must be 'nearly impossible' to determine the password from a (small) known set of plaintext/cyphertext pairs.

      Of course, the above excludes side-channel attacks, those attacks on the mechanisms, the endpoints, on the implementation, on the protocol. The worlds greatest encryption algorithm is useless to someone if you can sniff their keyboard, or analyze radio emissions from their monitor, or the power usage characteristics of their smartcard.

    21. Re:The Traveling Salesman has not been solved! by Roundeye · · Score: 1

      I am intrigued by your possible method.

      Being the sort who would like to fund
      developers, I will pay you $1,000 for your
      polynomial time implementation of TSP.

      Everyone deserves a fair shake.

      :-)

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    22. Re:The Traveling Salesman has not been solved! by Anonymous Coward · · Score: 0

      people... math isnt the only way to keep things secret. sorry to burst all of your bubbles.

    23. Re:The Traveling Salesman has not been solved! by Anonymous Coward · · Score: 0

      IIRC, the fellow who figured out how to use DNA computers to solve TSP in P-time also discovered that encoding the data onto DNA strands properly was an NP-complete problem.

  4. Re:Excuse me but... by confuzn · · Score: 1

    Some people need things spelled out for them.

    Yes I know .. stupid pun.

    --
    http://www.confuzn.com
  5. Restating the blatantly obvious is often useful by Anonymous Coward · · Score: 0

    just think about how many times the answer to your problem was right in front of your nose.... darkharlequin

  6. Re:Excuse me but... by Anonymous Coward · · Score: 1

    Maybe it wasn't blatantly obvious to a Microsoft employee.

  7. Obscurity can be ONE element for security by redelm · · Score: 2

    ... but it shouldn't be the ONLY security measure.

    The criticism of STO is usually directed against systems that use STO as the primary or only security measure.

    -- Robert

  8. urrrgh by Sensor · · Score: 5

    What a truely afwul set of sentiments... I

    The whole concept of STO is based around the idea that your attacker does not know the system that you are using to protect your data.

    This is radically different from not knowing a particular piece of information (ie the key) in order to access data.

    In the first case an inexpert crypto designer may find that their 'security' system infact contains a large number of clues as to its structure. Take for example a simple substitution cypher, while it might appear to the naked eye to be a random collection letters an experianced attacker would simply build a histogram and break the code based upon the distribution.

    Moreover STO can quite easily become an argument for leaving holes (ie possible buffer overflows) open because "nobody knows about it". Quite simply this sort of sentiment has been shown to be very wrong over the years.

    I find the arguments about hidden trip wires more interesting - but I would argue that this does not represent STO. The form of security may well be known to the attacker but the actual events which may trigger security alerts could be considered as an equivalent to a key.

    STO has had its day - no information which is genuinly important should be protected in this manner.

    Given that the normal definition of security is that it should cost the attacker more to breach the defenses than the information itself is worth - information with a very short lifespan may be eligable for some forms of STO and I'm sure that everyone occasionally follows this maxim.

    But as a principal and as a technique I would like to see STO burried once and for all.

    Tom

    1. Re:urrrgh by bhurt · · Score: 1

      You're being too generous, I think. If you want to know when someone accesses your website, why not just turn on logging in the webserver? I'll grant that knowing someone is scanning you is helpfull- but that doesn't keep the hacker out of the website, does it? It's kind of like saying that if you have security cameras, you don't need locks on your doors.

    2. Re:urrrgh by psaltes · · Score: 1

      I think part of the point of his article is that the definition often used of STO is not in fact what the words, or even the concept means; certain aspects of STO are obviously stupid, as you pointed out, but "nobody knows about" my passwords, and I hope to keep it that way.

    3. Re:urrrgh by Chandon+Seldon · · Score: 1

      Think about it this way:

      Computer has web server on port 43474, ports 80, 8080, 21, 43473, and 43475 are all set up to log *any* access to them, plus add an entry to a file that the web server reads for blocked IPs.

      With the above setup, if you try to screw with the box then you get on a banned list, probabaly.

      --
      -- The act of censorship is always worse than whatever is being censored. Always.
    4. Re:urrrgh by Anonymous Coward · · Score: 0

      Yep. Suppose I'm poking around at my college. If there's a locked door without a camera watching it, I'd be willing to poke around the lock a while. Even though I'm pretty bad a picking locks, I might succeed given enough time. If there's a camera watching, I won't even bother.

  9. Steganography by redelm · · Score: 1

    Steganography (hidden writing) is another example of a system that relies heavily on STO. A modern example would be using low order bits on music CD's, *.WAV, and maybe *.jpeg files to move banned information past censors.

    -- Robert

    1. Re:Steganography by Sloppy · · Score: 1

      Steganography doesn't have to completely rely on it, though. Encrypt the data before you hide it, and that will make it look all the more like random noise.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
    2. Re:Steganography by EJB · · Score: 1

      That is not necessarily true.
      Using a One Time Pad and the low order bits in pictures, audio etc. is 100% provably secure.

      It is also possible to exchange information during seemingly innocent cryptographic actions; it is possible to hide information in a DSA signature for example, and even if you look carefully it is impossible to prove that there is hidden information or not.

      Only the simplest steganography methods only rely on STO.

      EJB

    3. Re:Steganography by Anonymous Coward · · Score: 0

      If I understand the concept of a One Time Pad, it's useless in practice, because you need a secure way of transmitting the pad to the receiver... in which case you might as well just transmit the kiddie porn instead, right?

    4. Re:Steganography by drivers · · Score: 1

      Ya. This is good for hiding the fact that you are sending encrypted data. But I'm sure it could be figured out if someone was really watching you and you did it the same ways often enough.

    5. Re:Steganography by Anonymous Coward · · Score: 0

      Well yeah, that's true. Although if you do have occasional spy beer-bashes you could exchange your purely random pads there so you can exchange useful information securely in the future.

      I was simply trying to say that steganography can be made as secure as you want without having to revert to obscurities.

      EJB

    6. Re:Steganography by cduffy · · Score: 1

      Not provably. Heck, you COULD just be mixing random numbers into your low-order bits... do binary encoding, strip the headers (and any similar giveaways) and there's no way to tell.

    7. Re:Steganography by Roundeye · · Score: 1

      There are encryption systems (I'd have to dig
      for the references but I have them somewhere
      here) which allow a user to encrypt multiple
      pieces of content under different keys within
      the same data stream. This allows some degree
      of security under coercion: when They start
      breaking your fingers you give Them the password,
      but it is only the password which unlocks the
      "fake" information (to be done well it would
      have to look incriminating -- i.e., you are
      having an illicit affair with the recipient),
      while you keep secret the password that hides
      the real secret (say, your Ice-9 formula).

      Assuming crypto is not illegal this provides
      an out when someone catches your stego (just
      pre-encrypt with the double encryption system).
      The downside (just like steganography) is that
      it takes a lot more cyphertext bits to do this
      sort of encryption.

      So you'd better be sending some big ass sound files or images to hide it in...

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    8. Re:Steganography by dmiller · · Score: 1

      Stego does not rely on STO - good stego is about hiding data such that an observer cannot even prove that it is there.

  10. The problem with STO by bhurt · · Score: 5

    First off, the author misunderstands what is meant by STO. It does not mean Security through secrecy. All security depends upon a secret- be it the factorization of a composite, a secret key or password or passphrase, or the combination of a safe. The fundamental security is how difficult is it for an attacker to guess that secret.

    So, the logic goes, make it more difficult for the attacker to know what secret they need to guess. Hide the security algorithm from them. Does the safe require a combination, a key, a palm print, or some combination?

    The problem is that, by obscuring the implementation, weakness that can signifigantly reduce the amount of secret key the attacker needs to guess are hidden ("Um, it's a bad idea to put the door hinges on the outside of the safe. I don't bother picking the lock- I pop the hinges and simply remove the door.").

    And this is the advantage open-source has. It's peer review limits the existance of such backdoors. And fixed faster when they are found.

    Do not think for a moment that restricting access to the source code makes it less likely such vulnerabilities will be found. The "black hats" (be they the evil hackers or the evil NSA) always seem to have enough time to reverse engineer the software from the binary. The "white hats" generally have better things to do with their time. By making it harder for the legitimate people to look for security holes, you are simply making it more likely that the people finding the security holes will exploit them, and not announce them. By making it illegal to reverse engineer the products, you're gaurenteeing this.

    If you don't beleive me, I recommend Bruce Schneier's "Applied Cryptography".

    1. Re:The problem with STO by jerome · · Score: 1

      yet, i learnt recently that the (open source) ssh
      was plagued by certain bugs (or were they features ?) that allowed breaking it -- and the product
      had been widely used before someone took the
      time to analyze the code deeply enough to
      find these bugs.

    2. Re:The problem with STO by Christian+Smith · · Score: 1

      Of course, had the code been closed source, it would not have been analysed at all except by people with source code access. The bugs may then not have been found at all!

    3. Re:The problem with STO by Anonymous Coward · · Score: 0
      Do not think for a moment that restricting access to the source code makes it less likely such vulnerabilities will be found. The "black hats" (be they the evil hackers or the evil NSA) always seem to have enough time to reverse engineer the software from the binary. The "white hats" generally have better things to do with their time. By making it harder for the legitimate people to look for security holes, you are simply making it more likely that the people finding the security holes will exploit them, and not announce them. By making it illegal to reverse engineer the products, you're gaurenteeing this

      The problem is that there seems to be no software to automatically analyze source code (with or without help of manual annotations) that is publically available. Very evil crackers or the NSA, are likely to have such tools. By publishing source code, you are making their jobs much easier. You can't at all proove much about assembly code, automatic analysis software would be 2 orders or magniture more complicated, thus, in proportion you are dramatically increasing the number of bugs found by VEC (Very Evil Crackers) with an equal effort.

      It is very unclear whether the public fixes to the open source code, could make the required VEC's efforts in order to crack greater than with binary only files.

    4. Re:The problem with STO by Anonymous Coward · · Score: 0

      ("Um, it's a bad idea to put the door hinges on the outside of the safe. I don't bother picking the lock- I pop the hinges and simply remove the door.").

      Um, that's exactly what they do. The door is held in place by steel rods when it is locked.

      P

    5. Re:The problem with STO by Anonymous Coward · · Score: 0

      Many of the smaller safes (the type that I believe was referenced) only have the hinges on one side and a dead-bolt on the other (not unlike a normal door to a room.) In such a situation, the hinges would create a weakness. However, what you are referring to is a much heavier (and more expensive) form of safe which has lock bolts all around the door. These may have the hinges where-ever as the hinges exist only to move the door, not be part of the bracing as above.

  11. Re:Linguistically Off Topic by norton_I · · Score: 1

    Acording to the dictionaries I looked it up in after my Anthro professor made an ass of himself on that topic, decimate can also be legitimately used to indicate the detruction of a "large but unspecified portion of a population" (my own wording). It is however, incorrect to say X decimated all of Y, or X decimated 40% of Y.

  12. Re:Excuse me but... by Eponymous,+Showered · · Score: 1

    This isn't intended to be news, Mr. Gibson. This is a feature. Give the guy a break. You may want to disable features in your preferences if you're only looking for hardcore news. And I'm sure you don't have Jennicam or Segfault in your slashboxes either, right?

    As a public service, you may also want to avoid the following stories (they contain a great deal of common knowledge - be careful!)
    Essay on Open Source as an Art Form
    Sun Claims MS Steals Vision
    High Tech Junk

    I, like many others I'm sure, was not aware of the Navajo story and also simply enjoyed the way the article was written. I give the guy credit, being a Microserf and posting on /.

  13. Wow, could this guy have missed the point more? by Anonymous Coward · · Score: 5

    Really, this article has very little to do with security through obscurity. STO, as implemented by Microsoft, is basically the premise that, because their code is not publicly available, the bugs in it will not be obvious, therefore not easily exploited. Proponents of STO argue that open source systems are more vulnerable because anyone can get the source and find the bugs in it, and thereby exploit these bugs. But the real problem is simply that because the systems which use STO are never as well debugged as their peer-reviewed open-source counterparts, an as-yet-undiscovered bug could be lurking around the next packet. Users must rely on the assurances of vendors, motivated by profit, that their systems are safe; on the other hand the users of open source systems are assured of better quality and quick fixes since the user population is itself selfishly motivated to make the system better and safer.

    Granted, this is nothing new, but I thought I'd post something more on topic than the article itself. Stating that encrypted passwords are a form of security through obscurity, as the author does, is just plain silly. If you're going to talk about encryption and STO, it's more relevant to delve into the fact that a closed-source encryption algorithm (a la Clipper) is inherently unsafe because it isn't peer reviewed and therefore has a much greater likelihood of eventually being broken because of the authors' undiscovered mistakes, than does an open-source one which has been examined by a wide audience.

    But then, what do you expect...

    1. Re:Wow, could this guy have missed the point more? by Anonymous Coward · · Score: 0

      You've got a different idea of what STO means than he does. Since his definition actually encapsulates useful techniques which people might want to use, I find it more helpful than yours, which is essentially a straw man you're using to attack Microsoft.

    2. Re:Wow, could this guy have missed the point more? by dutky · · Score: 1

      Bugs are unobvious by definition (all of the obvious bugs will have been squashed early). The real problem with STO is that, in all likelyhood, the bugs will be easier to find in the binary than in the source, because more sophisticated tools and greater effort is required to examine the binary than to examine the source.

      A programmer examining the original source for a program is likely to fall into the same traps as the author of the program due to reliance on comments in order to understand the code. When you are searching through a decompile or tracing the execution of a binary for which you don't have the source, you are likely to examine the program far more closely than you would if you had source available. Hence you will be more likely to notice odd program behavior that my be obscured otherwise.

      Finally, the idea that examination of the source is required in order to discover or exploit a bug in a piece of software is likely to be sadly mistaken. Normal users trigger bugs in closed source software every day without even trying. A diligent user can often pinpoint both the causes and the results of a given bug with only a few hours of experimentation. It is only a short step from a diligent user to a 'script kiddie' who can figure a way to use the bug as an exploit.

      The ability to 'examine' millions of line of code per second makes the compiled binary a far more powerfull tool for discovering the properties and behavior of any given program than all the open sources in the world. (there is a reason that people prefer to use on-line debugging tools than to hand debug with a trace-table)

    3. Re:Wow, could this guy have missed the point more? by _Sprocket_ · · Score: 1
      You've got a different idea of what STO means than he does. Since his definition actually encapsulates useful techniques which people might want to use, I find it more helpful than yours, which is essentially a straw man you're using to attack Microsoft.

      OK. Maybe bringing up the spectre of Microsoft here isn't required. The concept of closed source insecurity applies to any company producing any closed product with security implications. Let's call it SomeOS (I'll next find out that there's an obscure OS called 'SomeOS' with a community of ravinous zealots).

      The trouble with the writer's definition is that it includes "secrets" in the categrory of "Security Through Obscurity". Normally, advocates of eliminating STO are NOT, in fact, including the bannishment of secrets too. The author fails to recognize this and point out that he is attempting to further the definition to include other non-traditional aspects. In doing so, he confuses the entire STO argument. I'm sure that wasn't his intent.

      Its like stating that "dirt" includes fruites and vegetables (they're grown in dirt, after all). Then claim that "dirt is a required part of a helthy diet". At the least, you're going to have some confused, if not negative, reactions.

    4. Re:Wow, could this guy have missed the point more? by J.+J.+Ramsey · · Score: 1

      > A programmer examining the original source for a
      > program is likely to fall into the same traps as
      > the author of the program due to reliance on
      > comments in order to understand the code. When
      > you are searching through a decompile or
      > tracing the execution of a binary for which you
      > don't have the source, you are likely to examine
      > the program far more closely than you would if
      > you had source available. Hence you will be more
      > likely to notice odd program behavior that my be
      > obscured otherwise.

      That's assuming that the programmer is relying on comments to understand the code. I would suspect that a good programmer, or even a decent one would still read the code itself. A programmer may very well look at the comments in the code and say to him/herself "Ok, that's what this code is supposed to do, now let me read the code to see if it really does that."

      Ultmately, though, the problem with your comment is that it doesn't work out in practice. In practice, the peer review that open-source software gets does cause bugs to be fixed faster and security holes to be plugged. This isn't theory; this is what ends up actually happening.

    5. Re:Wow, could this guy have missed the point more? by cookd · · Score: 1

      I LOVE SomeOS! Nobody has ever broken into my SomeOS Advanced Systems Server. It picks a random port for each service every 48 hours, so that we can pick up snoopers. (Of course, the users then have to scan the ports, too, but that's ok, we trust them, and so we just spend a little bit of time looking over the tripwire logs and filter out all of the normal sniffing.) Our Web Enterprise Access Kit web server is the exception. We leave it on a pre-specified nonstandard port that nobody knows about, except for all of the people who write the web pages that link to it. Other than that, the only way anyone would be able to tell what port the WEAK server is on is to look at the URL that some user has navigated to. How likely is that?

      Out of myself and the 2 other SomeOS users in the world, none of us have ever experienced a malicious attack on our server. 100% security!

      --
      Time flies like an arrow. Fruit flies like a banana.
  14. Security for the non-clued by StormCrow99 · · Score: 1

    What I would like to see is a step by step HowTo on security, for both individual hosts and networks.. Kinda like a "Security for Dummies" guide!

    1. Re:Security for the non-clued by Anonymous Coward · · Score: 0
      What I would like to see is a step by step HowTo on security, for both individual hosts and networks.. Kinda like a "Security for Dummies" guide!

      Look also, for Linux, at the Security-HOWTO and the Linux Administrators Security Guide.

  15. You missed the point! by hoppy · · Score: 1

    For a secret key crypto algorithm, as the name suggest there is a SECRET. It's NOT STO. One of the most famous algorithm in this category is DES wich is well publicized and cryptanalysed, this algorithm implied the secret key to be secret but you can have everything else even the S-BOX, and your are clueless.
    I agree with 'carry all obscurity in the key'. But this is better than carry obscurity everywhere. For my house i prefer to have to take care for the key and not for the key AND the door.

    When you say to illustrate your talk: "When the tripwire is probed with a SYN packet from a cracker trying to locate the web server, instantly the system goes to full alert. The packet is logged and the admin's pager sounds like an alarm."
    It's not STO it may be well know from the attacker without allowing him to bypass this trap.

    Your exemple about digital signature is only a way to demonstrate that you have a weak protocol to verify public key. RE-read applied crypto!

    Abscence of secret is imposible, but it's different from obscurity.

  16. Re:Excuse me but... by Anonymous Coward · · Score: 0

    Um, let's just hope Bruce Schneier doesn't log in to slashdot. That "informative article" did a horrible job confusing algorithmic obscurity with password "obscurity" (ie, secrets). PLEASE, if you want to know something about crypto, read information from established crypto experts (Bruce, for example...). Check out Bruce Schneier's company website for essays, and a link to his crypto-gram newsletter. Pick someone else if you want, but trust crypto experts first. BTW, does Matthew (the article's author) have a crypto background?? (He may well have one, I'm just not aware of it...)

  17. Re:Excuse me but... by lightPhoenix · · Score: 1

    In a perfect world, this knowledge *would* be old hat to every sysadmin... But this world is not perfect, so not all the info can be taken for granted. I've been reading /. for over a year, been messing with linux and such for about the same period, but I am more of a computer gamer, so I don't have the m@d aDm1n sk1llz. This stuff is new to me, and I bet its a good reminder to those who are veteran sysadmins who may have forgotten this stuff. So, uh, like lighten up.

    --
    http://www.somethingpositive.net Funny + bitter = comedy gold
  18. Hmm... by HaKn5La5H · · Score: 1

    So security may decrease obscurity and therefore my actual security...?

  19. obscurity of methods vs of data by krynos · · Score: 1
    What open source is about is exposing the methods, how the software works. It doesn't expose the password of other secrets. Many cryptographic algorithms are open to see if there's a flaw in the process, nobody would (or should) give their secret passphrase. For the certificate system to work you must trust certification authority.

    Currently the way you can register a certificate there is no trust between the certificate holder and certification authority, in short certificate this way are bogus, they are just repository of dubious information.

    Sure you may put traps in a system to find intruders, but the rest of the system should be secure. Obscurity will gain some time, but it's not the solution, remember it's the way things work that should be open, not the sensitive data itself.

  20. Reality check by JJ · · Score: 1

    Security is theoretically an impossible task. Given enough time and enough access any code can be broken any hiding spot can be found. Practically, security is about building the cost up high enough that it becomes too expensive to crack. Hence the code talkers where too difficult (timewise) to crack for the benefits. Enigma, the German code system, remained valuable for a significant period of time, hence cracking it for each and every day, was economically viable. Even an STO system as proposed, i.e. switching in to full alert when a wrong pattern is tried, would be worth cracking if the value was high enough.

    --
    So long and thanks for all the fish . . . !!!
    1. Re:Reality check by Eric+Green · · Score: 2

      Reality is that there exist encryption algorithms whose output could only be decrypted if a) you have the key, or b) you have the mythical quantum computers. With current technology, using a large key with a modern algorithm like TwoFish is pretty much unbreakable. Even with technology envisionable for the next twenty years it will remain unbreakable.

      Public key (asymetrical) encryption is theoretically breakable via mathematical attacks, i.e., that a quantum leap in our knowledge of mathematics could render it worthless. That is because the two keys are mathematically related. There are algorithms available now that are stronger for a given key length than the popular NSA-backed RSA algorithm (see 'eliptical curve technology' for an example), but those simply use a different function to feed the primes into. One reason to use an asymetrical algorithm only to exchange the keys for a symetrical algorithm is that this reduces the amount of text transmitted via the algorithm and thus presumably gives less ability to break it.

      In reality, when faced with a 1024-bit key and a modern encryption algorithm, you're not going to decrypt it without the key. But of course there's always side-channel attacks. If you have physical access to one end of the system to be cracked, for example, you can always just "look over the guy's shoulder" as he types in the password unlocking his keychain and reads the decrypted text. This could be via electronic surveillance literally looking over his shoulder, this could be via sneaking a virus into his system that records his keystrokes and records bitstreams coming to and from the hard drive and floppy drive into his encrption program, or it could be via rigging the encryption program itself so that it will EMAIL you the key. Or it could be buying the key from him. In any event, this is by far the most likely way of cracking a secure cryptographic system -- the algorithms themselves are pretty much uncrackable, but key management is always a problem.

      And of course the strength of the encryption has nothing to do with the strength of the cryptographic system. For example, one version of MS CHAP encrypted the password and sent it to the server. But -- it did not encrypt a salt that had been sent with the server along with the password. Thus all a bogon had to do was sniff the encrypted password, use it himself, and voila, as far as NT was concerned, the bogon was you.

      -E

      --
      Send mail here if you want to reach me.
    2. Re:Reality check by Anonymous Coward · · Score: 0

      Not so..

      There is a theoretically perfect cryptosystem, that _can not_ be broken no matter what resources you have. The one time pad.

      Recipe for perfect security:

      Ingredients:
      1 message (length n bits)
      n bits of true randomness.

      Instructions:

      1) generate sequence of bits as long as the message you wish to encrypt.

      2) make two copies of the random bitstream. (one for encryption, one for decryption)

      3) Give the person who you want to decrypt your message one copy of the bitsteam. (often called "pad")

      4) Xor the message with the other pad, and then destroy it.

      5) Send the encrypted message to the recipient.

      6) Make sure he destroys his pad too.

      and poof!

      You have a chiphertext no one can decrypt without the pad, because there is NO connection between the plaintext and chiphertext - with a one time pad, every plaintext is equally likely.. even if you have a machine that can test an infinite amount of keys in a finite time, you can never be sure that you have the right message.

      The disadvantage of one time pads is that they require huge keys, and thus key distribution becomes a major pain.

      -henrik

    3. Re:Reality check by Anonymous Coward · · Score: 0

      Reality is that there exist encryption algorithms whose output could only be decrypted if a) you have the key, or b) you have the mythical quantum computers.

      So, cheat. Get the key. It's still security by obscurity.

      All you have to do is bribe the folks who do the encoding, and you're all set. Or just set yourself up as the *intended* recipient of the encoded message. Trick the sender into trusting you.

      If you want to be strict and anal and mathematical, there is no such thing as security. There is *only* obscurity.

  21. Not really a defence of STO by Matts · · Score: 4

    While this was an interesting article, it wasn't a good defence against STO. The author appears to be arguing that STO, while isn't a good security defence, it can make a good security buffer. These are totally different things. So really he's saying that STO is good to have in your toolbox, it's not a good defence - this is what we've been saying all along.

    Having said that, his arguments are totally bogus. Saying that passwords are obscurity is nonesense. When we speak of STO we're talking about source code, not passwords, keyfiles, etc. Trying to defend STO by talking about the success of the navajo indian code is stupidity in the extreme. There are working practices available _today_ without using STO, so why would anyone bother with a "time limited" crypto?

    So just what _was_ this microserf trying to defend? It seems very unclear to me.

    Matt.

    perl -e 'print scalar reverse q(\)-: ,hacker Perl another Just)'

    --

    Matt. Want XML + Apache + Stylesheets? Get AxKit.
    1. Re:Not really a defence of STO by Anonymous Coward · · Score: 0
      The author appears to be arguing that STO, while isn't a good security defence, it can make a good security buffer. These are totally different things. So really he's saying that STO is good to have in your toolbox, it's not a good defence - this is what we've been saying all along.

      Yes, but there is nothing in practice that gives you 100% security.

      Having said that, his arguments are totally bogus. Saying that passwords are obscurity is nonesense. When we speak of STO we're talking about source code, not passwords, keyfiles, etc.

      No, it is an analogy, and a good one.

    2. Re:Not really a defence of STO by Trepidity · · Score: 2

      While this was an interesting article, it wasn't a good defence against STO. The author appears to be arguing that STO, while isn't a good security defence, it can make a good security buffer. These are totally different things. So really he's saying that STO is good to have in your toolbox, it's not a good defence - this is what we've been saying all along.

      It's not what I've been seeing all along. I've seen countless articles and rants as to how STO is evil and should be completely abolished, since it keeps people from finding problems to be fixed. I consider this wrong. Problems and such should be fixed, and the system kept as secure as possible, but there is nothing wrong with using obscurity as an additional security measure. For example, running your FTP server on port 22875. Anybody who needs to access your FTP server knows what port it's on (or follows a link with that information in it), but the various script kiddies with their buffer overflow exploits scanning for open port 21's don't find you. You should still patch for all the exploits, of course, but this security through obscurity measure could buy you a few days, months, or years before one of your unpatched vulnerabilities (if you missed one, or are behind) actually gets exploited.

  22. Perhaps you mean that STO is more interesting by pavlos · · Score: 1

    I grant you that Security Through Obscurity is far more interesting than real cryptographic or algorithmic security, allowing the administrators to play stimulating cat-and-mouse games with the attackers.

    The point of cryptographic security is that a very large amount of carefully verified work, the work of experts which cannot be easily duplicated, can be invested in the cryptosystem. The system can then be used by anyone, expert or not, any number of times, by just providing a passphrase. STO requires an expert to devise a new intricate ploy each time.

    Cryptography relies on certain algorithms having a minimum order-of-magnitude cost, and hence is vulnerable to spectacular algorithmic advances, but the problems are never meant to be intractable in the sense of "mysterious". A properly peer-reviewed cryptosystem is not weakened even if all of the scientists who invented it subsequently become traitors.

    Pavlos


    PS. Your point about engendering a false sense of security is correct, but the reason is that the users of the system wchoose weak passwords, leak them, etc.

    PSS. Your point about encryption vs. hiding data in your drive is a revelation. I have already ordered my 340282366920938463463374607431GB hard drive!

    1. Re:Perhaps you mean that STO is more interesting by Anonymous Coward · · Score: 0

      Commodore(64) computer games used to use this method as copy protection for their games. Place an instruction or two in an apparently unallocated section of the disk and have the program explicitly check for it. This prevented the copying of the the disk, because the copy routine only copied sectors that the TOC said had data.

  23. Absurd Definitions by FreeUser · · Score: 2

    I take some exception to the definitions used in the article. Obfuscation of information has never to my knowledge been equated with "security through obfuscation." Equating the two makes makes both terms meaningless.

    Security through obfuscation relies on a cracker's ignorance of a system vulnerability for protection, as opposed to disclosing the systems specs and subjecting them to rigorous peer review, allowing the vulnerability to be exposed, analyzed, and fixed.

    Encryption is the protection of DATA (whether it is a password, data file, or filesystem) through obfuscation of the DATA. Obfuscating DATA is not the same as obfuscating a system architecture in the hopes no one figures it out. To define the two as the same is no different than defining apples and cucumbers to mean the same thing, and leads to the same meaningless results (an inability to differentiate between the two until new terms are invented to compensate for the obfuscated and undermined definitions of the old words). The desire to not disclose confidential data residing on a hard drive does not imply that one is relying on "security through obfuscation" rather than strong, publicly reviewed security approaches. The two concepts are in many ways completely orthogonal to one another.

    About the only thing the article got right is the notion that, if the data need only be protected for a brief time, inherently less secure approaches may be used with some success. What is entirely glossed over, however, is that in using a less secure but perhaps more expedient approach one is still taking a terrible gamble, as there is a greater possibility the data will be compromized earlier than desired than if a more secure approach had been used. The probability may be small because of the limited time frame involved (making the risk "worth it" perhaps) but the possibility is nevertheless quite real. What I do not understand is WHY anyone would want to do something like that, when well documented, secure ways exist for protecting both transient and long term data and systems exist, making that sort of gamble unnecessary to begin with.

    --
    The Future of Human Evolution: Autonomy
  24. Digital signatures not a problem by Ulmo · · Score: 2

    An excelent article. However, I don't believe your example of a social engineering attack on digital signatures is quite right.

    The recipient's email client should check the authority signature of the sender's certificate against the known trusted Verisign certificate. In this case they wouldn't match. You can't make them match unless you know Verisign's private key.

    The user will be warned that the identity of the sender could not be verified.

    --
    Lachlan.
    1. Re:Digital signatures not a problem by pod · · Score: 1
      This was the part I really found very odd as well... isn't this exactly what browsers already do with secure sites? If the certificate is not signed by a KNOWN authority, a warning will pop up. Even if the false signer used the name/address of Verisign or whoever.

      Are we being fed FUD on slashdot?

      --
      "Hot lesbian witches! It's fucking genius!"
    2. Re:Digital signatures not a problem by ucblockhead · · Score: 1

      I'm not sure I completely understood what he was getting at with certificates, but an interesting social engineering "attack" using PGP would be to simply place a phony PGP signature in an e-mail that you knew was being sent to someone who did not have PGP. Or, for example, I could slap a PGP signature in this box, with the hope that no one would bother to actually go to the effort of checking it. Many people would simply assume that I was who I said I was simply because it "looked" right. I'd bet good money that no one would bother to check unless some other sign that the message was false appeared.

      Forgive my ignorance about certificates, but isn't the process that assigns certificates automated? If so, couldn't I get a certificate as "Microshaft Corporation"? How closely do people read those certificate pop-ups? If you're like me (I shouldn't admit this), you impatiently click "always trust" after a glance.

      --
      The cake is a pie
    3. Re:Digital signatures not a problem by Anonymous Coward · · Score: 0

      He did say that the 'inexpert user trusts the root'. Outlook, of course, puts up a tiny little dialog saying 'do you want to add this root to the certificate store'. Communicator informs the user of the seriousness of what you are about to do. Despite that, this particular point is flawed in other ways - he put E=malda@slashdot.org in the Certificate, but complying implementations (and at least Communicator) will check the Email address in the certificate with that of the recipient, and so would flag this. See the internet mail consortium's page on SMIME

  25. Layered Security by Anonymous Coward · · Score: 0
    This article is an excellent reminder of the value of layered security.

    All people mean when they lambast security-through-obscurity (STO), is that one shouldn't rely on it. STO provides a layer of security, but as the strength of that layer is unknown it must not be relied upon.

    By all means place obfuscating layer upon obfuscating layer in your security systems, it'll help, probably lots. Just don't impact usability more than you have to, or forget to put a layer or two of solid security somewhere (i.e. security which is still secure assuming the attacker knows everything but the cryptographic key, or equivalent).

  26. Re:Excuse me but... by The_Unknown_Bastard · · Score: 1

    I agree...it was a well thought-out article. Not all of us know everything there is to know about security.

    Try not to be an "info-snob" and give the guy a break...

    --
    **** Yet Another Useless Post from the Bastard ****
  27. Some Counterpoints by My+Little+Pony · · Score: 3
    1. There is a gross misrepresentation of digitital signatures. You can make all the CA certs you want claiming to be any number of well known CA's. The real CA's published public key is used to verify the user's cert, not it's name. Good luck guessing Verisign's private key. You're only hope is to hack the recipient of the email and replace Verisign's public key with the public key of your cert. (Note: I hope Microsoft's mail programs use PKC and not common names to verify certs. God help us!)

    2. The idea of hiding a web server port amongst a bunch of trip-wire ports misses the fact that 80% of (corporate) cracking is internal. Trusted users don't have to port-scan to find your hidden port. Any what do you do if your traps go off? Take the server off line? Can you say "Denial of Service"? OpenSSL is free. Basic HTTP authentication is pretty secure over SSL. That would help me sleep at night...

    3. The point about time-limited security is good, but (and not to be mean) who cares? Mr. Priestly cites an excellent example. Now cite one related to computers. Not very many good ones...

    4. The author seems to be spiraling in on what those in the security biz call "enticement information." This is information that you don't have to give out that only makes cracker's jobs easier. For example, a telnet banner (and you should be using ssh!) that says "This is the MegaCorp Accounts Payable SAP server running on Windows NT 3.1 (never patched!). Authorized use only!" should be replaced with "This system is for authorized use only. All activity is monitored."
  28. Excuse my (potential) ignorance... by PigleT · · Score: 1

    ... but what part of Security Through Obscurity is any more mature than some "admin" chanting "I bet you don't know my password, ner ner"?

    I knew there was a reason we were told to keep passwords "uncrackable" (in the brute-force-utility sense of Crack), or to use Kerberos or other means of keeping things secure...

    As someone who's had a machine broken into by means of an ethernet sniffer on someone with a weak (crackable) password used in two places, who was saved from a root login by various ttys being insecure, I no longer even let my passwords out from my current domain in plaintext; sometimes they don't go that far either. Ssh is only one means of doing this, but it's a bloomin' nice means.

    hackmeplease:vOyo1GrTWU6Ck:10001:10001::/tmp:/tm p/sh.root.sh
    to them too :)

    ~Tim
    --

    --
    ~Tim
    --
    .|` Clouds cross the black moonlight,
    Rushing on down to the circle of the turn
  29. Re:Excuse me but... by kps · · Score: 1
    Exactly /what/ in that article wasn't common knowledge?

    That P=NP?

    What is Slashdot coming to these days?

    Yeah, you'd think news like that would rate its *own* item :-)

    (Note: I didn't see anything *on the referenced site* that *claimed* that this method solved the Travelling Salesman problem in linear time. Hint: more cities need longer and more chains.)

  30. Objections by Todd+Knarr · · Score: 3

    I'd take objection to his calling the use of NP-complete problems "security through obscurity", specifically his statement that we're depending on the hardness of the problems for security and that they may not be that hard if we approach them right. From what I recall, what we're depending on in reality is the fact that NP-complete problems are harder than any other known problems, and provide an upper bound on the hardness of problems. We don't know that NP-complete problems are neccesarily hard to solve, but we do know that any other problems are easier to solve. Even if someone invents a linear-time method of solving an NP-complete problem they're still harder than any other problems, the upper bound just moved down a lot. This is a problem for cryptography, but it's not solvable without rewriting the rules of mathematics.

    As for calling a secret key "security through obscurity", he's missing the point. STO canonically refers to keeping the details of the underlying algorithms and/or implementation unknown. It does not typically refer to the idea that there's some piece of information that a legitimate user possesses that an attacker does not.

    1. Re:Objections by kps · · Score: 1
      I'd take objection to his calling the use of NP-complete problems "security through obscurity"

      He has a point though, if only by accident. He writes:

      The back door into cryptographic methods that rely on multiplying primes is, quite simply, to develop a swift means of factoring those multiples. This NP-time problem must be solved before a private key can be derived ...

      The complexity of factoring is an open question, isn't it? It might be easier than NP. A quantum computer using Shor's algorithm could factor quickly (if built), so factoring-based schemes (RSA) would fall apart. This doesn't require that NP-complete problems be solvable quickly.

    2. Re:Objections by cemerson · · Score: 1

      I think you're misunderstanding the term NP-complete.

      There are a few relevant problem categories:

      P: can be solved in polynomial time. These are "easy".

      NP: If you know the answer, you can check that it's right in polynomial time. Working out the answer from scratch may take an exponential amount of time, though. All P problems are also NP. These problems can be solved in polynomial time by a non-deterministic computer.

      NP Complete: A subset of NP problems which have an interesting property. If you can find an algorithm to solve any NP complete problem, then you can use that to solve _any other NP problem_ in polynomial time.

      So NP Complete problems are the hardest NP problems, but there are other problems which are much harder. Some problems have been proven to be harder than any exponential. That's pretty hard.

    3. Re:Objections by Anonymous Coward · · Score: 0

      Two points:

      1) Factoring a prime is not known to be NP-complete. It is in NP, it probably is not in P, and it would be a hell of a surprise if it was found to be NP-complete. The last one because it is also in co-NP and if it was NP-complete, then NP = co-NP, which is almost as unlikely as P = NP.

      2) There are a lot of problems that are harder than NP-complete ones, the most difficult problem category that I have encountered is 'elementary' problems. The time complexity of an elementary problem is O(2^2^ ... ^2^n) for arbitary number of exponents. Actually, there are some decidable problems that are not even elementary, for example equivalence of two regular expressions if we allow negations in expressions.

    4. Re:Objections by rew · · Score: 1

      > I'd take objection to his calling the use of
      > NP-complete problems

      Right.

      > From what I recall, what we're depending on
      > in reality is the fact that NP-complete
      > problems are harder than any other known
      > problems, and provide an upper bound on the
      > hardness of problems.

      No. Lower bound.

      It has been proven that all NP complete problems are just as hard as any other NP complete problem. That means that if anyone finds a way to solve an NP complete problem in P time, ALL of them have been solved in P time.

      Also, the fact that all of them are fundamentally equivalent means that we've been looking at these problems with thousands of people from hundreds of viewpoints for tens of years (3 decades now). That makes the chances of us missing an obvious solution pretty slim.

      > We don't know that
      > NP-complete problems are neccesarily hard to
      > solve, but we do know that any other problems
      > are easier to solve.

      No. It still hasn't been proven that P != NP. So we'd all celebrate at a big geek-party when someone proves that P == NP, but that would invalidate your statement. It could still happen. It's just quite unlikely.

      If one day someone proves P != NP, then your statement suddenly becomes valid.

      > Even if someone invents a
      > linear-time method of solving an NP-complete
      > problem they're still harder than any other
      > problems, the upper bound just moved down a lot.

      No. Not at all. For example sorting is proven to be N log(N). That means that anybody who claims that he can do better is lying. (figure out how to do the spagetti sort with a computer in linear time as is claimed and you're a hero).

      If someone finds a linear solution to any NP problem, most other NP problems will suddenly also be solvable in linear time. That's better than N log (N).

      Best regards,

      Roger Wolff.


  31. It's all STO... all of it I say! by Anonymous Coward · · Score: 1

    Consider some simple, general purpose Turing machine, so simple you have to write the "program" on the tape as well as your data to make it go (just like a card deck :-) ). Write out your data to be encrypted, your encryption program, and your password onto the tape. Run your machine so that the result is a tape with encrypted data, the program, and the password. With this data either you or your enemy can reverse the process. What part of the tape do you obscure? Usually the password, but in our system that's just a part of the tape.

    If you use a unique and clever algorithm for each encryption run, and the same password, you would need to obscure the algorithm to be safe.

    One can construct a theoretical framework where it's all STO. By obscuring only the password we simply make the job easier for our customary way of doing things. I don't have to remember and type in my whole decryption/access program, just a short string. If we have a very good encryption algorithm we force the attacker to guess the key, hence we force them to fight by our rules. IMHO it all comes down to that.

    1. Re:It's all STO... all of it I say! by mjh · · Score: 1
      When I speak of STO, passwords don't count. They are information points. Yes, they are obscured. But generally, STO to me refers to architecture, not information points.

      So the test that I use, is this: If the thing that I'm obscuring should be made public, how difficult is it to change that thing? If a password gets out, it is very easy to change it and retain the same level of security that we had prior to the disclosure of the information.

      But if the security of the thing I'm trying to build is based on secret knowledge of how its built, then I'm in trouble. If the only security that I use is architectural obscurity, then if knowledge of the architecture becomes public, I have to completely rebuild in order to improve security.

      For example, imagine a bank puts its electronic vault on a very specific IP address, and using a very specific port, which speaks some strange heretofore unknown protocol, and that's the only security used to protect access to the electronic vault... well that's a bank I'd be pulling my money from. Because if someone found the IP address and found the port, and reverse engineered the protocol, the amount of effort it would take to re-architect that electronic vault is about equivalent to what it took to build it. That bank would be left with few choices.

      The latter, to me, is what is meant by STO. Certainly hiding things that people don't need to know about is a good thing, but it better not be the only thing. And part of the other stuff that you use must be easily changed in the event of disclosure of information.

      --
      Key to financial independence: Spend less than you earn. Save and invest the difference. Do it for a long time.
  32. Re:Linguistically Off Topic by Mawbid · · Score: 1

    Why? To me, decimating 40% of the group would mean splitting off 40% of it and decimating that 40%, killing 4% of the total group. However, this is surely not the intended meaning in this case.
    --

    --
    Fuck the system? Nah, you might catch something.
  33. The author did not need to peek ... by cyberdonny · · Score: 2

    ... all is in the name of the company.

  34. Obscure is not mean same as secret. by Flambergius · · Score: 1
    I think this article would been much better if the author had not insisted using the term obscure too much. For example, while talking about passwords and keys he uses obscure when secret would have been more proper.
    Security in the absence of obscurity is not strictly possible.

    Well, it is actually, but I will agree that security in the absence of secrets is not strictly possible. There is a difference.



    --Flam

    --
    Computers are useless. They can only give you answers - Pablo Picasso
  35. Don't break ping! by Frater+219 · · Score: 3

    DO NOT block ICMP ECHO_REQUEST / ECHO_RESPONSE ("ping") packets. If you do, you will confuse systems, such as some routers, which use pings to determine shortest paths. A Net-connected host is required to respond to pings.

    1. Re:Don't break ping! by ajs · · Score: 1

      Everyone in their right mind blocks ICMP from any but a handful of trusted sources. A net-connected host is required to respond to daytime as well. Quick show of hands, now, how many people run daytime?

  36. Re:Security for the non-clued (Securing Linux) by UnknownSoldier · · Score: 1

    You might be interested in this link..

    http://www.ecst.csuchico.edu/~dranch/LINUX/Trini tyOS.wri

  37. yes and no by jslag · · Score: 1

    Depending on who you ask, of course. I just happened upon some discussion of this very topic in Stephen Gould's Wonderful Life. To summarize, yes, "decimate" did originally mean "kill one in ten" (of an army that failed to win, not necessarily a mutinous army), but modern usage has changed to the point that it means "kill lots of".

    But I agree that the author's use of "decimate" doesn't read very well.

  38. Glad he works at MS by Anonymous Coward · · Score: 3
    Ok, one at a time, shall we?

    Full disclosure does not apply to instantiated data

    True, but that's not what we're talking about. We're talking about the code that manipulates that data. Saying that STO doesn't apply to passwords is irrelevant.

    Full disclosure does not apply to time-limited secrets

    Your example is a time-limited method, not merely a time-limited secret. In context, Navaho was used for a very short time. Expecting to use some encryption method for only a short time and not have it cracked is probably a good example against your argument, rather than for. The Japanese didn't have PentiumIIIs and Linux, so a few years was not much time to work on a crack. Doing something like that today would have the algorithm (new and untested, as per your specs) reverse engineered very shortly. You run the risk of having your messages decrypted in realtime before you stop using that algorithm.

    Obscurity serves as a tripwire

    This example makes no sense. Such trip approaches work because they detect scans; it has nothing to do with the web server, or what port it's on. I'd be willing to bet that a cracker would be able to complete his scan and root your insecure web server before the sysadmin can respond to the page.

    Your Indiana Jones example is bogus: attackers wouldn't exhaustively search. They would intentionally break all the tiles, thus revealing which ones were supported. Crackers are not interested in drama. Not until they break in, anyway.

    "STO can be a powerful disincentive" is not true; cracker tools don't care.

    "But like moats, tripwire obscurity provides a critical buffer against attackers" is not true, either; tripwire only provides detection.

    Asymmetric cryptography exhibits traits of STO

    "...quite simply, to develop a swift means of factoring those multiples." Isn't that a direct quote from Bill? I would guess you are not a mathematician. (Neither am I) These methods are believed secure because it is believed there is no such "swift means". In math, that usually means you can't just program around it. It means you cannot do it. DNA computers notwithstanding. My DNA computer can barely play my mp3s, much less decrypt my password.

    Incorrectly used crypto programs are also not the issue. The issue is that even "correctly" used STO is insecure.

    I am not a cryptographer, nor a mathematician. But even I can see your arguments do not stand up on their own merits.

    1. Re:Glad he works at MS by Zoop · · Score: 1
      In context, Navaho was used for a very short time. Expecting to use some encryption method for only a short time and not have it cracked is probably a good example against your argument, rather than for. The Japanese didn't have PentiumIIIs and Linux, so a few years was not much time to work on a crack.

      Navaho had another advantage that more relates to STO--the language doesn't employ tenses, which is a very unique aspect. So histogram analysis, hard crunching of common language patterns to guess at meanings wouldn't work, PIII or no PIII. You would have had to account for such an unusual (for languages) aspect of the language's structure to make sense out of it.

    2. Re:Glad he works at MS by Anonymous Coward · · Score: 0
      Incorrectly used crypto programs are also not the issue. The issue is that even "correctly" used STO is insecure.

      What? TCP/IP ports were coded on 128 bits, the security by obscurity be close to crypto, provided by that design no-one would use them in clear text from the outside. telnet password == TCP/IP port.

      Similarily, if a server was coded with security in mind (each part coded with 5-way redundancy, and pipeline of data going through 10 different machines to reach the actual server), reviewed by top level programmers (with an insane amount of money as an incentive, say $100000 per security hole found) and no part of its code and design was know, I can tell you that it would be a fucking damn better security than the average apache. How would you start to find holes ?

      The best example of security by obscurity is probably the example of the cracker found by the "Internet Audit Project" recently featured on Slashdot. He was caught because a tty camera was hidden (maybe home-made) ; if the tty camera was a standard feature of the Linux Kernel, of the Linux distribution they use, he would have detected it, and worked-around it (removal of log files). The only way to find it was to download the whole disk of the attacked machine and analyze it exhaustively. Not possible. This is a success due 100% to security through obscurity. Although securelevels, or other systems could avoid the attack too, if there is a bug in them (and this is extremely probable), they could be attacked. But again, obscurity could save the day, by limiting the damages.

    3. Re:Glad he works at MS by EasyTarget · · Score: 1

      If your only concept of a tripwire is something that emails or pages the admin then these critisims are true.
      But trapdors can be more proactive than that, how about, 'more than 128 ports scanned - open the silo doors ;-)' or 'record IP and email FBI'. An old Vax I worked on locked any account which exceeded a certain number of failed logins. Easy to DOS but hard to get at the bosses email by just spotting bits of his password..

      --
      "Oops, I always forget the purpose of competition is to divide people into winners and losers." - Hobbes
    4. Re:Glad he works at MS by Anonymous Coward · · Score: 0

      I think you're both missing the point - the Navajo language was used because the chance of a Navajo speaker working as a Japanese radio operator was very small -- STO. The messages were spoken across radio links and thus would not be susceptible to brute force cracking even now.

  39. Traveling Salesman: Not linear by ~k.lee · · Score: 3

    Saying that some instances can be solved in linear time is meaningless anyway... linear describes the growth of complexity when compared to the size of the dataset - when all you have is a series of points then talking about its complexity is impossible.

    I believe he meant to say some subsets (special cases) of the problem can be solved in linear time, which is no big news anyway. For example, the TS problem is easy to solve in linear time in the special case that the graph is a circle.

    The question is moot anyway, because the notion that the computer solves the TS problem in "linear time" is correct but deceptive. In Fundamental Algorithms, all CS majors are taught to think of the Theta(N) (order of growth) as the "running time" of an algorithm; they then forget that "running time" is a metaphor for a number of computations. A more correct term for Theta(N) would be "increase in computational resources as input size grows".

    A DNA computer uses the chemical and structural properties of DNA to perform an exponential number of calculations in parallel. Thus, it is not computing a linear solution to the Traveling Salesman problem, but merely throwing vastly more computational resources at it. The former is an algorithms problem; the latter is an engineering problem.

    (BTW: I suspect that the amount of DNA you need does, in fact, increase exponentially with the data set size but in general this is not a consideration since you can put an insane quantity of DNA in a vat.)

    ~k.lee

    --
    (remove nospam for email)
    1. Re:Traveling Salesman: Not linear by Sensor · · Score: 1


      fair point

  40. Security to clue your ass by joq · · Score: 1

    Damn where have you been? Theres a lot of great sites with tutorials on protecting yourself. Number one a lot of things should be common sense. Delete default accounts, use strong passwords, keep up on latest exploits via a security list, etc. Heres some links for ya ;)


    But before I dew((do)doo)d00)
    All this STO is big freaking joke.

    Well maybe...just maybe if I hide my network vulnerabilities, people will just feel bad that I'm a shitty sys admin too lazy to fix the holes in my system
    www.securityfocus.com -- Excellent resource for up-to-date news
    www.securitysearch.net -- The Yahoo Search Engine of the Security World
    www.enteract.com/~lspitz -- Very Informative
    www.hackernews.com -- The CNN of the Hacking World

  41. Re:Excuse me but... by RickyRay · · Score: 1

    If everything vaguely related to computers were common knowledge to every /. user, there wouldn't be much point in having /. at all. I'm sure there are many areas in computers you wouldn't have a clue in, and another /. user will hopefully do you the favor of pointing out what an idiot you are when you don't know something that to them was obvious.

  42. Re:"real crackers" have the source - you don't! by Anonymous Coward · · Score: 0

    Any crackers worth his salt will already have the source code to Solaris, NT, etc. Although Linux puts this in more potential crackers' hands, it also puts it in the hands of people who will work to patch it up. Mark

  43. STO fails for the VERY lucky by ch-chuck · · Score: 2

    Can we say that info wants to be free, to obstruct (censor) info is a bug, and to enough eyes all bugs are transparent (routed around)?

    If I put my gold in a safe and there's a 1 in 6 billion chance of 'guessing' the combination, that means there's a good chance that SOMEONE on the planet can take it - which brings us to security thru superior firepower.

    I want to put my gold in a safe that NOBODY can access except me - perhaps a theoritically impossible goal - in which case all security is
    just varying degrees of obscurity but we can put up with infinitesimally small amounts of risk for most practical uses. So the issue may resolve to mere semantics.

    But I may be hallucinating again...

    Chuck

    --
    try { do() || do_not(); } catch (JediException err) { yoda(err); }
  44. security through obscurity by RelliK · · Score: 2

    1 - Instantiated data

    Passwords are the basic means of checking authorization, whether the protocol is obscure or not. I don't see why "password would violate the ban on security through obscurity".
    I don't see either how shadow login can be considered an obscure protocol. The author admits himself that the protocol is open. Just because the passwords are hidden does not make the protocol obscure. Using the same logic one may argue that any kind of security system is obscure because it restricts access to data.

    2 - time-limited secrets

    That is correct. However, this approach is rather risky. You never know how long it will take for attackers to crack it. In fact, it would not be secure to use it more then once...


    3 - obscurity as tripwire

    OK. I get the point. But how can you connect to a web server if you don't know its port?
    Besides, "Such measures do not make a given machine resistant to breach in the long term..."
    The author concedes that this tactics can be used to *detect* the attack but not to stop it.


    4 - Assymetric encryption

    That is his strongest point. Assymetric encryption is indeed a form of security through obscurity. Just imagine what would happen if you find an algorithm to quickly factor large numbers into primes... So yes, he does make his point that any security system cannot be completely free of obscurity.


    --
    ___
    If you think big enough, you'll never have to do it.
    1. Re:security through obscurity by Anonymous Coward · · Score: 0

      > Assymetric encryption is indeed a form of security through obscurity. Just imagine what would happen if you find an algorithm to quickly factor large numbers into primes... So yes, he does make his point that any security system cannot be completely free of obscurity. I don't agree. I suppose it could be argued that RSA depends on the fact that there is no known algorithm for factoring certain large composites. However, there could be a form of asymmetric encryption that doesn't have this weakness, we just haven't found it yet (or found the means to mathematically prove it, but nothing says it's impossible to do so).

    2. Re:security through obscurity by Anonymous Coward · · Score: 0

      Actually, we have - elliptic curve cryptography. Of course, there's no PROOF that it's better than RSA, but this is now commonly accepted, largely due to the fact it doesn't depend on the difficulty of factoring large numbers.

  45. The difference betwen STO and secrets by bluGill · · Score: 2

    Others have pointed this out, but I don't think everyone will get the difference even through they are right, so here is my attempt, dumbed down a bit for the less technical.

    Imangine for a moment that I capture Rob (cmdTaco ie founder of /.) and tortue him until he gives me the root password on the main /. server. I now have a seceret, and I can get into /., but I do not have enough information to get into User Friendly Even though(if) both run the same version on linux.

    Not imangine that I capture an enginerr from Microsoft and torture him until I get a previously unknown security hole in Windows NT. I can now break into any NT server in the world, (assuming the reqrisites for the hole are in place, obviously a system in a locked room not attached to a netwrok is safe)

    See the difference? In one area the terriorist got the ability to break into one machine, in the other the terriorist got the ability to break into virtually any machine.

    Now It is possibal that some bug exists in Linux that will allow anyone to get into it. With linux, once I discover how someone got into my machine I can fix it, with NT I have to wait for microsoft. So in reality what makes open source better in the face of attack is that I can fix it in a few hours whereas with STO I have to wait for a vender to fix it. If I'm a minor player and nobody else is attacking me, with STO my vender can leave me in the lurch, whereas with open source I can fix it myself.

    1. Re:The difference betwen STO and secrets by patSPLAT · · Score: 1

      Gimme a break, there's a big difference between the root/admin password and an OS security hole.

      Remove theloveoftheworld to respond.

    2. Re:The difference betwen STO and secrets by matthewg · · Score: 1

      Yes, but with operating systems such as Linux and OpenBSD where the source code is available, White Hats can look for security holes preemptively. With Windows, there might be huge gaping flaws that are known internally at Microsoft but ignored because "no one will figure them out."

  46. questioning is always good by Tim+Fraser · · Score: 1

    Although the author's article did not increase my respect for obscurity, his implicit point - that it's a good idea to question conventional wisdom - is a good one. I witnessed a prime example of this while watching the panel sessions at the 1999 IEEE Symposium on Security and Privacy. Several of the speakers professed new respect for the "penetrate and patch" technique. Among the government-funded security research community, which spent much of the last decade or so searching for foolproof methods for producing software demonstrably free of security holes, the conventional wisdom used to be that penetrate and patch was the height of inept foolishness. But, as several panelists pointed out, in the real world it is the de facto standard, because (as any Microsoft employee probably knows) it requires no burdensome initial investment in detailed design, formal verification, and heavy-duty software engineering practices that might delay a release. Considering that the "foolproof" methods have turned out to be commercially impractical, a renewed interest in penetrate and patch may be a good thing.

    I do not speak for my employer.

    - Tim

  47. And if your traps go off? by Kaa · · Score: 2

    Any what do you do if your traps go off? Take the server off line?

    There is an old but delightful movie called "How to steal a million" that is based on exactly that scenario. Basically, if your traps go off every fifteen minutes, you will not be paying any attention to them very soon.


    Kaa

    --

    Kaa
    Kaa's Law: In any sufficiently large group of people most are idiots.
  48. Yes it has by tilly · · Score: 1

    But there is a catch. The trick to the DNA "solution" is that it is a massively parallel solution. The time to get the solution may be linear, but the amount of DNA you need grows exponentially. If you simulate this on a single computer, the problem takes exponential time.

    However quantum computing offers similar tricks using a superposition of quantum states to do an exponential amount of computing without taking an exponential amount of time. The last that I heard that technology was looking more and more feasible in the long-term. But it is still a good 20 years off even if it can be made to work.

    As for P=NP, I honestly believe that they are different. As for a proof, well this post is too short... :-P

    Cheers,
    Ben Tilly

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  49. Authentication is NOT Obscurity by Frank+Sullivan · · Score: 3

    Apparently, the author does not understand this significant distinction. Secrecy != obscurity. In this article, "obscurity" is defined so broadly as to be useless... anything that isn't spammed out across the 'net is "obscurity".

    In the world of serious computer security, "obscurity" refers to keeping the *mechanism* for storing information secret, not the information itself. In practice, the mechanism should be able to keep the information secret even if the inner workings of the mechanism are known.

    For example, the algorithms used in the US government's ill-fated "Clipper chip" were kept secret - security by obscurity. When, under pressure from industry, the algorithms were finally released, significant weaknesses were immediately discovered. RSA, on the other hand, is not obscure. Even having the source code for the actual program used to encrypt data with RSA does not significantly reduce the time required to decrypt it (consider that a PGP-encrypted message states its nature in plaintext, right at the top of the message!)

    Another, more MS-vs-OSS example is buffer overflow attacks on daemon programs. The "security through obscurity" approach is to hide the source code, so potential buffer overflows are not obvious. But hiding the source does not *eliminate* them... it just hides them. With patience and educated guesses, they can and will be discovered. By opening the source, potential overflows can be found and discovered. One need look no farther than the recent security reports on the most popular closed-source web server (IIS) and the most popular open-source web server (Apache). Which one has had multiple severe, easily exploitable security holes reported lately? In other words, the obscurity of the IIS source made it harder to find weaknesses, but not impossible. In Apache's case, thousands of eyes have pored over every line of source, and the potential weaknesses were found and eliminated long ago. Which makes you feel safer - code thoroughly studied for weaknesses by thousands of programmers, or code where only the authors have examined it?

    ---

    --
    Hand me that airplane glue and I'll tell you another story.
  50. The problem with STO.. by EJB · · Score: 2

    The problem with STO, where the actual "algorithm" (any steps taken to create that part of your security) is secret, is that you don't know if it is secure.
    Because it is not, or hardly (only collegues) peer-reviewed, no one has told you if you made any obvious mistakes, and no one can assign an upper- and lowerbound to the difficulty of breaking your "algorithm".

    The algorithm you describe where the admin assigns a different port to the HTTP server is not STO; it can be analyzed, and flaws can be found. (And a great many there are)

    There are of course problems with these attempts to use a general concept, such as port numbers here, as a key in a secure protocol.
    Probably the biggest is that it is not seen as a secret. If Mr. CFO goes to the companies' secret website at port 6301, employee John Doe can walk in an spot the port number in the web browsers' location bar, because the web browser hadn't thought it was a secret.

    Probably Mr. CFO is also an average user who doesn't completely grasp the fact that the URL is now an important secret, so he writes it down on a post-it note attached to his monitor.

    The other problem is that "innocent" users, such as search engines, may also scan a whole lot of ports to find a webserver, so a) Mr. Sysadmin will get a lot of false alerts on his pager and b) the information will end up for all to see in some Big Search-engine's Database.

    The same goes for Joe Hacker who may be detected but has still taken all the necessary information within 4 seconds.

    EJB

  51. Re:Don't break ping! (or dest-unreachable) by Hardware_Bob · · Score: 2

    sure, don't block ping but even worse don't block ICMP host unreachable as this is used for MTU path discovery and can cause some very wierd errors. (and some frustrated users who have no idea why their transit is screwy) - Matt.

  52. Fools... by squarooticus · · Score: 1

    DNA computers avoid the problem of superpolynomial space requiring superpolynomial time by exploiting massive parallelism; unfortunately, these DNA computers require superpolynomial space to solve problems, which is arguably just as bad as superpolynomial time.

    Kyle
    --
    Kyle R. Rose, MIT LCS

    --
    [ home ]
  53. "Controlled sharing" of passwords is the real STO by hinhin · · Score: 1

    Clarification on passwords as STO: If passwords were always known only to their creators, then that would be plain security, not STO. But many administrators and organizations "issue" passwords, so that they are known both to their users and also a "select" group at the issuing organization. This is STO because the knowledge of the password by the "liegitimate others" in addition to the user can (like all STO info) be compromised. Further, the principle of non-repudiation is voilated: a user whose password was misued can always blame it on others who officially had access. Passwords created by, and known only to, their users don't have this problem, since there is only pure secrecy, no obscurity.

    --
    -
  54. What makes a secret secret? by ebcdic · · Score: 2
    The claim that if there's a secret, it's not STO, assumes that it's clear-cut what is and is not a secret.

    Suppose I hide the exam answers in /home/ebcdic/old/letters. That's STO. But the way you find them is exhaustive search through my directory, just as the way you find my login password is by exhaustive search of character sequences.

    The difference of course is the scale of the search. A one character password is no better than an obscure directory.

    The important thing is to be able to quantify, or at least make explicit, the effort needed to break in to the system. With prime-product based public key, you can say something like "breaking this requires either solving the discrete log problem or X amount of work using the best known algorithm".

  55. RSA, etc. by Dym_ · · Score: 1
    Factoring is not NP complete.

    Get a clue. For example, read Berkeley security class notes

  56. Actual STO argument by Chris+Burke · · Score: 1

    Okay, nevermind the curious definition of STO adopted by the author.

    A former coworker and I were discussing STO, and he argued, rather successfully I think, that STO is probably the best way to go for organizations like the NSA, for the following reasons.

    First, the NSA employs a great many security experts and crackers. They have enough resources to perform in-house peer review.

    Second, the odds of someone outside of the NSA being a friend who would disclose any discovered weaknesses to the NSA for them to fix is not very high.

    There is the issue of moles and such leaking the info, or the system being reverse-engineered (by sniffing air-bound packets?) The idea is that, by using their resources and internal peer-review, that they could create an algorithm that would be secure even if the algorithm was known.

    So it's not really STO, in the classic sense, but rather _Additional_ security through obscurity. Make your algorithm secure even if known, but don't give your enemies the algorithm for them to play with just to prove your point.

    Of course we both agreed that you should never use a STO-dependent system to talk to your bank or credit card company. :)

    --

    The enemies of Democracy are
  57. Re:Excuse me but... by Anonymous Coward · · Score: 0

    Actually, he never states that P=NP, he only says that the TSP can be solved in linear time with DNA.

    This is actually true, to a point. If I remember right the DNA method used depends on what's the equivalent of huge parallel processing. Possible city to city paths are coded in DNA and then they are joined and filtered using enzymes.

    The linear time assumed is basically because the more strands you through into the beaker, the more paths you can search simultaneously. It's not really an algorithmic speed-up, it more of a horsepower speed-up.

    Jason

  58. STO can be useful by tilly · · Score: 1

    First of all STO is not real security. It cannot be your only or primary means of security. But in many cases STO is a convenient solution that should not be ignored.

    For instance one problem with scripts is the fact that they often have passwords encoded in everywhere. What to do about it? Well in some random spot under an innocuous name, put a program that when passed a series of semi-open secrets by the appropriate user(s) (and possibly only when called by the appropriate program) will return a password, and log attempts to call it inappropriately. In your scripts you can call on that program.

    This means that you no longer have the passwords hanging around everywhere, and it additionally means that when you change passwords, you can just change that one program and all of your scripts will continue to work.

    This is not, of course, appropriate for a high-security situation or a broadly used solution, but when your need is a trade-off between convenience and true security this judicious use of STO is a hole, sure. But it is a hole that is reasonably hard to take advantage of. (Although if you know the rules for the program it then becomes trivial!)

    Cheers,
    Ben Tilly

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  59. Redefining Obscurity by ink · · Score: 1
    Yes, yes and yes.

    I toatally agree.

    BUT, you're simply redifining 'obscurity' to mean something different than STO defines it to be. STO conventionally means that the attacker doesn't understand your particular setup and/or system; it is 'secure' because your system is of an obscure type. If you want to re-define obscure to apply to secret keys and one-way hashes then you are totally correct; if you are trying to debunk the notion that STO isn't real security, you have failed.

    Putting a webserver on another port doesn't buy you much safety. As a worse case scenario, an attacker would be ignored after he attempted to contact an unauthorized port -- the attacker simply needs more IP addresses to complete her attack. Try to say the same thing about the shadow password file.

    You can't.

    The wheel is turning but the hamster is dead.

    --
    The wheel is turning, but the hamster is dead.
  60. Obscurity ISN'T Security by Gleef · · Score: 3

    First off, while Priestly does appear to have done some research, apparently he missed researching the definition of "Security Through Obscurity". Large chunks of the article are trying to say STO is essential because you have to keep keys secret. STO refers to systems where algorhithms are kept secret, not keys or data. By extension, if bugs and security holes are kept secret, that too is STO, since it's information about the algorithm. There goes point number 1.

    Point number 2 is somewhat valid, if you only need security for a short time, you can get away with STO. However, such situations are rare, and you are just as well off with real security, so why risk STO? Back in WWII, encrypting messages for broadcast was difficult and expensive, so they needed to come up with other ways (Navahos, Enigma, etc.), it no longer is a problem. Speaking of WWII, the German Enigma cypher is a classic example of the utter failure of STO, in a time-limited environment no less.

    Point number 3 is not security. Having tripwires in place might be handy against script kiddies, but a well informed hacker can avoid them. Even an uninformed hacker has a statistical chance of avoiding them; just by trying random ports, they might come across the real port before they find any tripwires. Unlike a medieval moat, a digital moat can be just jumped over without any planning or special equipment.

    Point number 4 is again based on the just plain wrong "But you keep keys hidden, that's STO" argument, but it makes a few other points as well. Yes, if someone finds a fast way to factor huge products of two primes, public key systems fall apart. Since the best minds in the world have been working on this problem for centuries without finding much, the chance of anyone finding a good solution right away is slim. In the mean time, open, non-STO public key systems with large keys are very secure.

    The phony certificate issue is not an issue of "Open Complicated Systems vs STO" it's an issue of "Untrained users can compromise security". Public key systems offer easy ways of protecting against forged certificates, as long as they get used. User training and dillegence is a critical part of any good security system, without it, you don't have security.

    The "Swedish Bank Account Number" example isn't an example of STO at all (unless you neglect to mention to anyone that the algorithm is an XOR of a key with the data). It's an issue of key management. On the other hand, using a simple algorithm like XOR would allow a cracker to get some useful information without needing to discover the whole key. More modern security algorithms don't have this hole.

    In conclusion, Priestly has shown little understanding of the real issues of security. He has come up with one case where STO is not worse than real security (but also not better), and a bunch of arguments based on misunderstandings that show he should hit some more textbooks.

    ----

    --

    ----
    Open mind, insert foot.
  61. Exactly my point! (no msg) by bluGill · · Score: 1

    see, told you so

  62. But since most break-ins are inside jobs... by Anonymous Coward · · Score: 0

    STO is utterly useless. Even traditional security methods are useless if full access power rests with any one person and that person becomes "disgruntled". Remember Wargames? The nuke couldn't be launched without the two halves of the code entered into the terminals at opposite ends of the room at (nearly) the same time and the two little brass keys also turned simultaneously. Full access should be spread over two or more people who must all agree when that access is really needed. The concept of a single 'superuser' (aka root) in inheritly insecure.

  63. Uh, that won't work by tilly · · Score: 1

    Remember the LinuxPPC challenge? The root password will *not* in general help in getting into a Linux box.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  64. Missing the Point by Anonymous Coward · · Score: 0

    If the point of security is to keep something secrete, of course there has to be a secrete. But you completely miss what STO is all about. STO generally means expanding the "key" to include guessing the methods themselves. It is generally not liked because it is associated with the gleeful idiocy of amateurs who think "I'm Bruce Schnier's successor because no one would immagine applying DES *and* IDEA to same file!" They don't realize that a) composing algorithms without thought might reduce to just one or the other with a different key and b) it would be smarter to have the "open" system that composes any 2 of 10 or 20 algorithms based on some published hash of the key. But that has at most the strength of increasing the length of the original key by log base 2 of the number of algorithms to be choosen from, and without examination, might actually be decreasing it.

    In fact, any STO system can be also described as an "open" system in which you have to guess the obscure part as part of the key. In your port exmple, you could also have listed and "open" security system which users must remember the password and the port, and the joint information is the key.

    Analysis:

    Your intro is OK. Part of the reason why I hate this article so much is that it fools you into reading further.

    Part 1 is completely meaningless. Most English speakers who aren't hampered by their own excitement at talking about big people subjects like crypto, can explain that the webster dictionary definitions of "obscure" and "secrete" and "secure" have some overlap. Whoop-de-do. I hope you have more to contribute to the world than that.

    Part 2 is irrelevant and trival. Of course if comething only has to be secrete a short time you can use a method which can be broken only in a longer amount of time. This has nothing to do with STO, and is hardly worth more than 2 sentences. The Navaho anecdote is actually an example of STO, but you use it as an example of something else in an article about STO, crushing all hope of recovery from the idiotic paragraphs above.

    Part 3 is just inane. How does alarming probes or punishing failed attempts have anything to do with STO ? How is the inane Indiana Jones anecdote at all related to STO ? If Indiana Jones didn't know whether you were supposed to step on the password, or whether those were just tiles and the password would be somewhere else, that would be STO. The fact the password was secrete has nothing to do with STO, see comments above. If you mean to say that "STO forces more random probing which can be noticed", then hello, just say that sentence!

    One might make the point that an obscure system must be learned, and you can notice that people are learning it. But alarming on scanning ports is not fundamentally different from alarming on repeated failed logins. The port number has just become part of the password to the machine, just like knowing the machine name was in the first place.

    If you had clearly stated that "The hierarchical nature of a port password which is possible to guess followed by a normal password can allert the system to the begining of a brute force attack", you would have at least addressed the issue, but you'd still be wrong -- one can just alarm on the first 64512 failed login attempts, and increase the password bits necessare by log2(64512), and you got the same thing.

    Part 4, first paragraph: this is when I knew for sure you were really an idiot, and not just a poor communicator. Are actually trying to imply that standard assymetric crypto will be broken sometime soon, but by using STO techniques we will all be safe ? Apparently not; you heard about DNA and Traveling salesman on some newsgroup or on cnn.com and felt you had to mention it to be cool.

    I'm not going to analyse any further. I can't. It's too painful. The said fact is, this is just cargo cult crypto -- he's spewing the same words a phrases and he thinks he's talking. Jaime Zawinski's dadadoo or whatever could produce this article if we feed it a security text and ran it a lot.

    Did you really believe that you were about to impart knew wisdom on the world by pointing out that passwords must be obscure/secrete ? The only thing I can immagine, is that you live in an environment so lacking intelligent beings, that is was natural for you to presume that the whole world was off on some tangent, demonizing STO, without your special insight.

    Just respond to this post and tell me this: how did you convince yourself that you had anything interesting to say when you started writing this ? What did you do, read a couple of newsgroups on security for a few days ? Go and read "Codebreakers" by David Kahn, then read it again, then read Bruce Schnier, then read Kahn again, then start doing web searches and find as many news stories of technical worth on compromised security as you can (like the old WSJ article on the pachinko fiasco in Japan, that's good).

    Finally, in your defense: it is difficult to speak about Security Through Obscurity without confusing people who think of steganography or other issues as soon as you start. The issues which need to be addressed in an article like what you attempted include some practically useful ones: By moving part of the "key" to your system to an unexpected place, you can defeat many of script-packaged security attacks which are common. (Use a cheap alpha box as you gateway; changing ports you mention; modifying the OS to use a novel encryption in the password file will defeat the pre-encrypted dictionary of passwords attack, etc.) These practicle uses filter out known attacks, but I don't think they change the security at all, as measured by the people who wrote those scripts and developed the attacks in them in the first place. They fall more into the catagory of making systems robust, in the engineering sense, than making them secure.

    Rob: How did this idiocy get in ? Don't you thing that you ought to start a separate part of /., which can be "iffy" submissions, which reader or moderator feedback will vote up or down ?

  65. Not quite by tilly · · Score: 1

    Factoring is not NP complete.

    Make that not known to be NP complete. It is clearly NP. The question is whether it is complete. To which I note that if, for instance, P=NP then factoring would trivially be an NP-complete problem. :-P

    Although it does seem doubtful that it would be NP-Complete.

    Cheers,
    Ben

    --
    My usual seat in the cluetrain is at A HREF="http://pub4.ezboard.com/biwethey.ht
  66. Re:Excuse me but... by waterhorse · · Score: 1

    I wouldn't say it was obvious... there's a difference between planned StO and having it just turn out that way.
    I guess the StO approach gets a bad rep for being the security model you're using when you aren't using a security model.
    At any rate, I guess that an awful lot of people rely on obscurity as their safety net. When you do leave a security hole by mistake, at least there's the chance that nobody will notice.
    Anyway, isn't obscurity the main weapon of the CIA et al? "need-to-know" and all? You don't see them talking about their spying arrangements openly, just so that people can mail in helpful suggestions...

  67. Obscurity does help... a bit by Anonymous Coward · · Score: 0

    Remember the "crack this PPC linux box" thing? Several people mentioned that this was harder than an Intel box because LinuxPPC is rarer, and hence less effort has been made by the script kiddies to find exploitable buffer overflows. If that's not (attempted) security through obscurity, nothing is.

  68. RSA and Obsurity by Otto · · Score: 2

    > To continue my rant, the factoring is not "obscure". RSA would be "obscure" if it relied on some "magic" number - that is, in finding this single "magic" number, one could decode *all* messages encrypted with RSA. Since the public key is, well, public, the strength of the algorithm lies in the difficulty of factoring an arbitrary large composite number that has only 4 factors.

    Actually, I think he was referring to the fact that the PRIVATE key must be kept obscure. Naturally. This likens to his issue of passwords being obscure. You can't tell someone your password, or it's useless. Same with RSA. You can't give out your private key, or it's useless.

    In any case, yes, I would say that by this definition, ALL security relies on some amount of obscurity. But big deal. This is more or less axiomatic, and the article's point seems to be moot. If that's all he was trying to say, I think it's safe to say we knew that. But that doesn't say that simple obscurity (such as the web page on a different port) is a good bit of security. It's not. It's highly insecure. But it is cheap, isn't it? As in all things, you must evaluate the need along with the price.


    ---

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  69. Slight correction... by Eric+Green · · Score: 2

    The Clipper algorithm, called "Skipjack", has now been released and cryptoanalyzed by the public cryptography community. Interestingly, it has been found to have possible exploits at 14 rounds, and has exactly 15 rounds. The question of whether the NSA has unknown technologies capable of breaking it at full strength is unanswerable, but suspicions are that the answer is "yes". But it currently cannot be broken via publically-available means.

    -E

    --
    Send mail here if you want to reach me.
    1. Re:Slight correction... by Eric+Smith · · Score: 1
      "Skipjack", has now been released and cryptoanalyzed by the public cryptography community. Interestingly, it has been found to have possible exploits at 14 rounds, and has exactly 15 rounds.
      Skipjack has 32 rounds. See the specifications.
  70. on the other hand by mcc · · Score: 1

    not everyone is paranoid enough to check the authority signature. yes, they should, but i'm not sure everyone will go to the bother, or that everyone knows how. For a lot of people, the words "digisign security certificate below" followed by the results of a cat /dev/random ought to be enough that they will just _assume_ it's valid without ever bothering to check. I think that was what the original point in the article was.

    1. Re:on the other hand by Anonymous Coward · · Score: 0

      Actually your software checks the authority signature automatically, it's not a matter of having to bother to do it.

    2. Re:on the other hand by Roundeye · · Score: 1

      bunk.

      your software might, but many users have
      (1) broken installs, (2) old software,
      (3) non-mainstream software, (4) no sense to
      know whether or not to accept a certificate,
      etc.

      I personally use 'elm' to read mail. If I see
      an S-Mime message come across, the identity of
      whose sender I am concerned about I can fire up
      another package to validate it.

      I have enjoyed seeing windoze lusers' mails
      come flying in with happy99 virii, and Melissa
      crap attached without their knowledge. If I
      want to view the latest pr0n avi attachment from
      some windrone I can do it, but generally it's
      been a waste of my time, and I don't feel the
      need to install some 40Mb piece of useless
      bloatware to read my *text* email. (this was
      to pre-flame the flamer who invariably babbles
      about the improvements of outlook/eudora/bloatmail
      etc).

      have a nice day

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
  71. He may not be speaking for MS, but it's MS-Speak. by Anonymous Coward · · Score: 0

    The author's opinions might not be TheCompanyLine(TM), but they are certainly of the Microsoft mindset.

    The author calls shadow passwords a form of security through obscurity (STO), but are they really? Everyone KNOWS where the password (and the shadow password) files are. Even if the passwords are not shadowed, they are still encrypted and require at least a marginal effort, on the part of the cracker, to break them. The shadow passwords just enable the next logical protection in granting read access ONLY to the owner of the file (i.e. "root"). But this isn't STO, this is an area involving File Permissions and File Ownership! Something Microsoft has yet to explore. Microsoft's approach is to "hide" plaintext passwords in a binary file in an undisclosed location. Nevermind the fact that anyone who learns this location can just go and extract the password strings from it, or write to it (due to Windows' lack of protected memory and file permissions/ownership).

    Renaming the superuser account to "toor" doesn't make the system any more secure if the administrator password is always the same or is easily exploitable.

    That is why STO will NEVER work.

  72. Re:Authentication is NOT Obscurity - watermarking by Thagg · · Score: 2

    One of the remarkably few papers presented by Microsoft at this year's Siggraph conference was on watermarking of models. The idea of watermarking, of course, is to embed some signature of the creator of the actor/model/whatever in the object itself, in a way that is robust. Hughes Hoppe, along with Emil Praun and Adam Finkelstein of Princeton, did indeed come up with a way of doing so that is all those things, by copying (extending? embracing?) a technique from the audio and image watermarking body of knowledge -- he encoded the watermark in the most salient features of the model, at various frequencies. The author of the model saves the original model, the watermark parameters, and releases the watermarked model to the customer. An interesting part of this, though, is that the watermarking algorithm -- or in this case -- the parameters passed to the algorithm, must be secret or it would be trivial to defeat. Furthermore, there is an interesting question when it comes to proving that someone has stolen the model. The original author must produce both the original model, and the watermark algorithm, to verify to the rest of the world that the suspect model is indeed a copy. Now, I would expect Microsoft (say) to object to this -- because if they release the details of the algorithm then anybody could defeat it. On the other hand, are you going to trust the alleged owner of the original when he says "Oh yes, the watermark demonstrates that it's my model. I'm sorry, but I cannot prove this to you." Even if they do that, it is difficult (though not impossible) to conceive of a watermarking system that doesn't allow post-hoc watermarking; that is, generation of a 'original' from the suspect copy. Hoppe does note this in his article, but it's just in passing. Finally, for you other Microsoft-haters out there, in Future Work Hoppe includes "an automated agent such as a web crawler to search for possible stolen watermarked documents." Here's the article

    --
    I love Mondays. On a Monday, anything is possible.
  73. Don't break PMTU discovery! by · · Score: 1

    Wrt to daytime: Host requirements are something entirely different.

    If you completely disable ICMP, TCL will break, because PMTU discovery doesn't work anymore.

    It's safe to disable some ICMP types, but don't disable it completely. More info can be found here:

    http://www.worldgate.com/~marcs/mtu/
    --
    OS lover

    --
    OS lover
    1. Re:Don't break PMTU discovery! by · · Score: 1

      s/TCL/TCP/ of course. Preview is my best friend
      --
      OS lover

      --
      OS lover
  74. Re:Don't break ping! (or dest-unreachable) by Cramer · · Score: 5

    This is certainly one of my pet peeves... IDIOT firewall admins who turn off ICMP entirely, or worse, turn off everything but ICMP echo. ICMP exists for a reason. Sure, there are some parts that can be turned off without a problem, but you need to understand what the f*** you're doing -- which is at least 105% of the problem.

    As for that BS about routers using "ping"... no they don't -- or more accurately, none that are worth their weight in twinkies. There are much better ways to judge distance -- oh, say, like the TTL in any IP packet. (Note: bind does this already.) Additionally, if you knew anything at all about ICMP, you'd know there is no (zero, none!) transmittion assurance for ICMP traffic. Nothing is going to alert you an ICMP message never got to it's dest. nor will anything ever retransmit an ICMP message. (RFC) Rule #1: NEVER SEND AN ICMP MESSAGE ABOUT AN ICMP MESSAGE.

    For the record, the parts that can be turned off without breaking the network stack are:

    ICMP_ECHOREPLY 0 /* Echo Reply */
    ICMP_ECHO 8 /* Echo Request */
    ICMP_INFO_REQUEST 15 /* Information Request */
    ICMP_INFO_REPLY 16 /* Information Reply */
    ICMP_ADDRESS 17 /* Address Mask Request */
    ICMP_ADDRESSREPLY 18 /* Address Mask Reply */

    Note: Turning off address mask info will break HP open spew.

  75. How to tell secrecy from obscurity with theory by Paul+Crowley · · Score: 1

    Secrecy and obscurity are fundamentally different in an information-theoretic sense. If you want to ask whether a particular fact, compromise of which might break your system, is a proper secret or merely security, ask yourself this: how difficult is it to measure the *entropy* of that fact, expressed as a number of bits unknown to the attacker?

    If it's, say, a randomly-generated 56-bit DES key, then the answer is easy: 56 bits. If it's a 1024-bit RSA public key, then it's somewhat harder, but the answer will be around the 1000-bit range.

    If it's a passphrase, it's probably around 40 bits or worse - people are very bad at choosing passphrases, so some care has to go into making guessing attacks difficult.

    But if it's a particular implementation issue, or an encryption algorithm you're keeping secret, how big is the algorithm in bits? In other words, how big and how regular is the space of algorithms from which it's drawn? Are there perhaps a thousand algorithms that you might have been equally likely to choose instead (10 bits)? Or ten thousand, but some are more likely than others (13 bits or less)? It's almost impossible to make a sensible estimate, and so actually working out how much security you get from keeping it secret isn't possible. *That's* what security through obscurity is and why it's bad.
    --

  76. Fear, Uncertainly and Doubt by hobbit · · Score: 1

    This article reads like FUD applied to cryptography.

    Firstly, secrecy and obscurity are not synonymous. This point has been made by others, so I won't labour it. Suffice to say that the product of two large primes is not as easily reverse-engineered as binary software.

    Secondly, the fact that secrets can be time-limited is exactly the reason why PGP, and other encryption software, usually recommends a default key length shorter than the maximum allowable.

    Thirdly, it is the threat of plummeting to certain death that gives the Indiana Jones technique its strength. That is to say, it is the fear of retribution, rather than the obscurity, which provides the security in this case.

    Fourthly, what a lot you have to learn about asymmetric crpytography! When I wish to authenticate the origin of a message, I don't just check its "This Key Generated for 'Verisign Clarse One Primary CA' by Genuine Microsoft Products" tag. And as for keeping your keys at an 'unknown' offset on your hard drive, well, if your mathematical principles had been followed in the design of cryptographic techniques used today, I think we'd be using methods much faster than brute force to crack them, don't you? ;P

    I'm awfully glad this guy works for Microsoft.

    Hamish

    --
    "Wise men talk because they have something to say; fools, because they have to say something" - Plato
  77. www.windows2000test.com broke ping by Anonymous Coward · · Score: 0

    No ping, but since they debugged their stack, they now can process HTTP requests. I wonder if this is deliberate?

  78. Obscurity is useful for a lot more by Anonymous Coward · · Score: 0

    I'm glad someone has brought out some positive aspects to obscurity. Having lived and worked outside of the U.S., including in the former Soviet Union, China, and Central Europe, in past years, I am quite aware of the risks of bringing attention to yourself.

    This is where details, such as anonymity come in, but anonymity, being virtually impossible to create without looking like a criminal or drawing attention, has its own problems. Obscurity is a vital part of security in many lines of work.

    I've always believed though that obscurity is used a lot more than may be publicized. By its very nature, obscurity discourages practitioners from revealing their methodology.

    The classic U.S. ubergeek mentality doesn't always realize the life or death implications of obscurity, security, anonymity and encryption, as realized by those who suffer under oppressive regimes. We should take care that we don't lose our own freedom through naïveté.

    1. Re:Obscurity is useful for a lot more by hobbit · · Score: 1

      You make good points, but they don't really back up the points that Mr. Priestly is making. Your arguments suggest the use of StealthPGP. In George Orwell's 1984, Smith relied on a piece of white dust or hair or something (I can't quite remember), but it didn't stop the Thought Police knowing his every move.

      --
      "Wise men talk because they have something to say; fools, because they have to say something" - Plato
    2. Re:Obscurity is useful for a lot more by Anonymous Coward · · Score: 0

      Good point. Helps to put the incredible arrogance and presumptuousness displayed in the other comments in perspective.

  79. the actual quotation is much funnier by hobbit · · Score: 1

    "The obvious mathematical breakthrough would be development of an easy way to factor large prime numbers."
    --Bill Gates from "The Road Ahead," p. 265.

    --
    "Wise men talk because they have something to say; fools, because they have to say something" - Plato
    1. Re:the actual quotation is much funnier by Another+MacHack · · Score: 1

      function factorizeLargePrimeNumber(p) = {1,p}

      Wow! What a breakthrough!

  80. Kerckhoff's Rule by Anonymous Coward · · Score: 0

    Readers might like to learn more precisely what the "STO" idea actually is. First expressed by Kerckhoff in 1883. "Security through obscurity" is where the _algorithm_ is secret. Kerckhoff's rule says that the algorithm and all details must be made public and that the secrets must all be kept in the _key_. --Zooko, can't log in right now http://wildgoose.tandu.com/~zooko mailto:zooko_d@hushmail.com

  81. Rebuttal to some points by Kragen+Sitaker · · Score: 1

    On code talkers

    The Navajo code talkers actually spoke in code as well as Navajo; a native Navajo speaker would have been able to understand the structure of their sentences, but not knowing the code, would not have easily been able to understand their meaning.

    On tripwires

    Tripwires have their disadvantages. You can't actually drop the cracker into a pit in a computer system. What you can do is try to make it harder for them to get in: drop packets from them, or answer them more slowly, etc. The trouble is, if the attacker can trick the tripwire, they can turn this into a denial-of-service attack.

    On NP and P

    You refer to the notorious difficulty of NP problems. But essentially all problems solved by computers are in NP; problems are in NP if a nondeterministic computer can solve them in polynomial time. Most of them are in the subclass of NP called 'P', which means they take polynomial time on a deterministic computer.

    There's a class of problems called NP-complete problems. Any problem in NP can be reduced to any NP-complete problem in polynomial time (deterministically). Presently NP includes some problems that take exponential time as far as we know. If we found a polynomial-time deterministic algorithm to solve an NP-complete problem, then we could use it to solve all problems in NP in polynomial time.

    Factoring numbers is not known to be NP-complete. It is known to be in NP, but it is possible that it is in P, even if NP != P. The Traveling Salesman Problem, on the other hand, is known to be NP-complete.

    However, nobody has found a quicker-than-exponential-time method to factor numbers yet. RSA is "provably secure" in the sense that any method to break RSA in a reasonable time can also be used to factor numbers in a reasonable time. (Other public-key cryptosystems use discrete logarithms in finite groups, not factoring numbers.)

    Your DNA computer point is ill-made. You still need O(k^N) pieces of DNA to solve TSP in linear time. This means that it is still trivial to construct instances of TSP that cannot be solved in reasonable time in reasonable amounts of space. (If k is 1.1, then N must be 48 to take 100 DNA units, 145 to take a million DNA units, 574 to take 6x10^23 DNA units, and so forth. It is trivial to construct an instance of TSP that requires more DNA than the Earth's mass to solve in linear time, using presently-known methods.

    You say, "the repercussions when this piece of obscurity is cracked", referring to the secret of factoring numbers in polynomial time. But, as you point out earlier in the same paragraph, nobody knows whether this secret exists at all.

    On human factors

    Your point that no computer technology is proof against people giving away the farm is well-taken. Of course, if I accept CA certificates from whoever sends them to me, I will have security problems, regardless of the technological security measures I try to use. The same is true if I type arbitrary commands for anyone who calls me on the phone. "echo + + > .rhosts, OK, I did that; what next?"

    On brute-force cryptanalysis

    Your point about brute-force cryptanalysis is also missing the point. If I have a hundred-gigabyte hard disk, there are 10^11 or so places on the disk that the secret information can be hidden. That's equivalent to a 36.5-bit key. If I go all out and buy a DVD jukebox with 10 terabytes, that's still only 10^13 places to hide the secret bank-account number, equivalent to a 43.2-bit key.

    On the other hand, if I encrypt my data with Twofish with a 256-bit key, there are 2^256 "places" my data could be "hidden". That's about 10^77 "places". 10^77 hydrogen atoms weigh about 10^54 grams. The mass of the sun is about 10^33 grams. So if you built a hard disk that stored one byte per hydrogen atom, you could obtain an equivalent degree of security by taking 1,000,000,000,000,000,000,000 stars the size of the sun for raw materials for your hard drive. (It turns out you'd need to use a significant part of the matter in the universe to build such a hard drive.)

    So yes, your real error lies in having a hard drive of insufficient space. But 'insufficient space' simply doesn't begin to convey the magnitude of the difference. It's sort of like describing downtown Hiroshima in 1945 as unseasonably warm, although that simile falls short of conveying the degree of the understatement by several tens of orders of magnitude. It's like saying that the universe is a little bit bigger than a hydrogen atom.

    There's another difference: the effort required to assemble several galaxies into a data storage device is roughly proportional to the size of the resulting data storage device. So is the effort of searching it. With encryption, on the other hand, using a key that is twice as long generally causes the encryption to take about twice as long, while squaring the difficulty of brute-force search. So I can use my Apple //e to encrypt something with a 128-bit key, and all the computers in the world working for billions of years won't be able to recover it.

    kragen@pobox.com (mailing lists)

  82. Tripwire by overshoot · · Score: 1

    My Little Pony wrote:
    Any what do you do if your traps go off? Take the server off line? Can you say "Denial of Service"?

    No, but any IP caught scanning closed ports goes into the deny table for a while. ipchains is SOOOO handy that way.

    --
    Lacking <sarcasm> tags, /. substitutes moderation as "Troll."
    1. Re:Tripwire by Alex+Belits · · Score: 1

      No, but any IP caught scanning closed ports goes into the deny table for a while. ipchains is SOOOO handy that way.

      Nice. Now one spoofs large number of IPs in his requests, and all of them suddently will be denied -- DoS again.

      --
      Contrary to the popular belief, there indeed is no God.
  83. "food for thought" for the very paranoid: by dermond · · Score: 1
    Yes, if someone finds a fast way to factor huge products of two primes, public key
    systems fall apart. Since the best minds in the world have been working on this problem for centuries without finding much, the chance of anyone finding a good solution right away is slim.


    just think for a second: what would you do if you where one of those bright minds of number theory and you would find a solution to the factoring problem? would you:

    • publish your results and hope you will be rewarded with lots of publicity?

    • sell your work to the CIA or the NSA or the KGB for a huge ammount of money and buy your own yacht and sail in the south pacific.. (of course you would give a copy of the work to a few people in a seald envelop with the request that they should publish it when you are dead or missing..)?



    i guess if one would find a solution to the factoring problem then he would maybe choose the second way... and how do we know how many people already sailing in the south pacific?

    and not let us assume you are the e.g. NSA who bought that algorithm.. you would plea for regulations on "strong" encryption..in the hope that people who really have to hide things think it is still secure..while they already know the key...

    mond.
    1. Re:"food for thought" for the very paranoid: by Fyndo · · Score: 1
      The (incorrect) assumption is that such problems are solved in complete isolation. Really, someone solves one part, publishes it, someone else reads that and realizes Ah-Ha! I can do this, and publishes it, and so on, and so on.

      So if you come up with an answer all on your own, it generally means everyone else is also just one step away... Including the bad guys :)

      While the NSA may be ahead of the rest of us in cryptography, it'd be because they have lots of cryptographers who all talk to each other, and keep up with the published literature. If it can be solved with just the public literature, sooner or later, someone will go public....

  84. hinges & such by hawk · · Score: 2

    Several years ago, I was about to buy a safe for my law office. As I lifted the safe off my shelf and on to the cart, I realized that it wouldn't be much use . . .

    1. Re:hinges & such by Anonymous Coward · · Score: 0

      that is why you bolt it to the wall/floor :)

  85. Re:Don't break ping! (or dest-unreachable) by Admiral+Burrito · · Score: 2

    Someone, please! Moderate these posts up!

    Because of people blindly blocking all ICMP, PMTUD (path maximum transmission unit discovery) is horribly broken for a large percentage of the internet.

    The problem appears when you have a link between yourself and the destination that uses an MTU less than or not equal to (I can't remember which) the common 1500. What usually happens is small transfers work ok, but large transfers don't. So, you may be able to (for example) log in and get a directory listing from FTP sites, and even download small files, but trying to download large files just doesn't work properly. This has frustrated many people, as the problem is not easy to figure out. And once you do figure it out, the only way to fix things is to complain to the offending firewall operator, who will usually give a response like "Everything works fine for me. Must be a problem with your system.", or something similar.

    "You're violating RFC xxxx" is just no match for "It works fine for me."

    The only real solution is education.

    So spread the word. Save the net.

  86. Well-known attacks by Eric+Green · · Score: 2

    I suggest buying a copy of Bruce Schneier's book "Applied Cryptography". He also has a web site (http://www.counterpane.com ) which has a lot of information that has trickled up through the ranks since the time that he wrote his book.

    You are referring to what are called "side-channel attacks" when you talk about bribing the folks who do the encoding, and you are correct, side-channel attacks are the only effective attack against modern cryptographic techniques. You are referring to what is called a "man in the middle attack" when you set yourself up as the intended recipient of the encoded message, but there are known techniques for dealing with "man in the middle attacks" (read Bruce's book).

    A cryptographic algorithm itself does not rely upon obscurity. The data is not obscure, it is effectively randomized. It does rely upon secrecy, in particular, upon the secrecy of the key. But secrecy is a different thing from obscurity -- obscurity is hiding a needle in a haystack in hopes that nobody will find it, while secrecy is carrying the needle around with you in your wallet. The difference is that someone might accidentally stumble over the needle in the haystack, but the needle in your wallet is never going to be stumbled upon by any intruder. Of course, if you leave it sitting on top of your dresser (like most people do with their "secret" keys), it's no longer safe from somebody stealing it! But that's a different issue altogether.

    -E

    --
    Send mail here if you want to reach me.
  87. How could we have been so foolish? by Anonymous Coward · · Score: 0

    Of course! my eyes are opened. You've solved all NP problems.
    We only need 2^64 processors to break a 64 bit encryption, each running one key once.

    Thanks for redefining big-O.

    p.s. please send me 2^64 processors

  88. obscure != secret by jsgf · · Score: 1
    Passwords are not obscure, they're secret. The distinction is that their secrecy has well-understood properties, and fit into the rest of the system in well-understood ways. The same applies to any other secret key.

    Obscurity strives for complexity and the appearance of security without any substantial way to analyze how the system is secure.

    The fact that there's no mathematical basis for understanding the intractability of algorithms used in cryptography (or analyzing computing effort in general) is troubling. However, the current state of cryptography is a collection of techniques which are known to work well in practice and are, so far as anyone knows, secure in well understood ways. If you compose a system using components with known properties, you can make an overall system with known properties.

    The real problem with using obscurity is that it strives for complexity for its own sake, whereas real security relies on simplicity. To paraphrase Hoare: "there are two ways of designing a system: keep it simple so there are no obvious problems, or keep it complex so the problems are not obvious".

    J
  89. Yay grammar.... by Anonymous Coward · · Score: 0

    I, for one, am just glad to see that _someone_ recalls that "data" is a plural noun....

  90. STO by aUser · · Score: 1

    I am definitely not aware a crypto expert. So this could be the opinion of Joe Everybody, when listening to the STO argument.
    The STO person says: "I will protect your secrets, but I will not tell you how, because that is a secret."
    The OSS person says: "I will protect your secrets, and I can mathematically prove that your secrets are safe (within known bounds); and you can let anyone of your own choice verify this."
    Now it's my choice whose solution I want to buy. Well, I can only say to the STO person: "Why don't you prove mathematically that your solution is safe?"
    STO requires you to trust the STO person, while OSS requires you to trust mathematics.

  91. the REASON behind breaking ICMP by Anonymous Coward · · Score: 0

    ICMP is broken. It is broken because it is an inherently insecure hack designed to hide some of the inadequacies within IP. The fact that IP doesn't automatically internally handle things like network topology discovery and handling with sanity checks is an inherent flaw. ICMP is broken because it can easily be fooled into screwing things up ... like killing connections by spoofing host unreachable messages and so forth. I admin firewalls from time to time. I also understand what ICMP does. People who rely on it to get stuff done get no sympathy from me and I _will_ continue to block the usage of utterly stupid protocols until they are fixed. The internet not only interprets censorship as damage and routes around it, but interprets brokenness as damage and disables it!

  92. One-Time Pad by Otto · · Score: 1

    >The disadvantage of one time pads is that they require huge keys, and thus key distribution becomes a major pain.

    No, the BIG disadvantage with one-time pads is that you need a secure channel on which to send the pad to the other person. Since you need that, and the pad is as large as the message, what's the point? Why not simply send the message over the secure channel?

    In any case, you are right. No amount of resources can decrypt this system without first obtaining the pad, or enough of it to make it possible to apply other techniques.

    ---

    --
    - Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
  93. Obfuscation: *may* be useful, but not sufficient by XDG · · Score: 1
    [As an aside, I wonder how vitriolic the comments would be if the original author worked for some other company...]

    Those people who are claiming that STO should be defined as "security *only* because the algorithm/implementation is unknown to attackers" and then go on to say that STO is not good security as are largely arguing a truism. (If I recall my debating terms correctly.)

    The logic for STO goes as follows:
    (a) There is a bad method of keeping secrets
    (b) We will make the secrets safer by not telling anyone about (a)

    This is almost definitionally a bad way to keep secrets as (b) -- not telling -- is almost certainly an even *worse* way to keep a secret than (a)!

    The two most frequent counter arguments seem to be:
    i. Open algorithms prevent (a)
    ii. Relying on (b) will eventually fail

    Argument (i) is merely a statement of how to get good security ("if the algorithm is secure even when the attacker has the algorithm and a plaintext/encrypted text sample, it must be secure"), which actually runs counter to the initial premise that security is *ONLY* due to obfuscation. If you had good security, it definitionally wouldn't be STO!

    Argument (ii) is the correct criticism of STO if STO requires the "only" clause.

    A generous interpretation of the author's original point -- STO jargon misconception aside -- is that obfuscating details from an attacker may enhance security. Consider the matrix:

    ........Quality of Security
    ..............Low..High
    ..............---------
    ........... N | A | C |
    .Obfuscated?. ---------
    ............Y | B | D |
    ..............---------

    (Hey! How about a "pre" tag!)


    A: is trivial
    B: is STO
    C: is "open encryption"
    D: presumably, is stronger even than C

    As an example, if I have a choice of strong, open encryption systems, why tell an attacker that I'm using Twofish instead of IDEA? Even if that obfuscated fact is revealed, the fallback of (C) is secure. In the meantime, however, I've layered on additional complexity for a would be attacker.

    Of course, practically speaking, (C) is sufficient, but there's certainly no need to go out of our way to tell potential attackers all the details.

    -XDG

  94. hmmm... by Anonymous Coward · · Score: 0



    after reading the comments in response to this unfortunate author's paper, i do wonder if he let anyone involved/interested in the subject matter (and hopefully someone with 0.5 a brain) read it before he submitted it.

    would he have done so, perhaps they could have pointed out to him the flaws in his paper. this would have given him a chance to go back and revise his paper, hopefully making it a bit tighter.

    btw - if you have carefully and intelligently developed a security mechanism, and you have chosen it because you strongly believe that it will keep your secrets secret, why should you hide the actual mechanism? if you can't afford to have anyone find out about the mechanism for fear that it will be easily compromised, then why choose it in the first place? seems to me as if the mechanism itself would be inherently insecure in such a case...

    d

  95. Re:Obfuscation: *may* be useful, but not sufficien by aUser · · Score: 1

    There is one serious problem with your approach. You say IDEA and DES are strong encryption systems. Well, why do you know this? Because people have been able to review them prove their strength. If you use a secret algorithm, you will not be able to know if they are actually strong... Therefore, there is no option D.

  96. Realistic security, optimistic obscurity. by Admiral+Burrito · · Score: 1

    1 Full disclosure does not apply to instantiated data Instantiated data - the data used by specific instances of an algorithm - do not fall within the scope of full disclosure. Were this not so, then even the simplest password would violate the ban on security through obscurity.

    The simplest passwords (the ones that assume nobody will guess your mother's maiden name, or the DOB of your firstborn, etc) are security through obscurity.

    But if you choose a password of a good length consisting of truely random alphanumeric characters, it's not obscurity because you can accurately calculate the odds of an attacker guessing it.

    The whole problem of security-through-obscurity is that obscurity looks better than it really is, and its true value is impossible to calculate (Except in the negative. As in, after you've been "owned"). This leads people to overestimate the effectiveness of the obscurity, which in turn leads to a false sense of security.

    2 Full disclosure does not apply to time-limited secrets Secrets that expire after a short lifetime can be protected by a wider array of techniques than long-standing secrets. The defense of information that will be irrelevant in a matter of hours or days may not warrant fully peer-reviewed security. Consider the famous Navajo code-talkers of World War II. Among the Americans coordinating the at tack against Japanese-held islands in the Pacific were a number of Navajo Indians, who spoke a slangy version of the complex Navajo tongue. Commands from HQ were issued through these code-talkers, who encrypted and decrypted with an alacrity that belittled the automated methods of the day.

    I think it's important to note that the Navajo translations were never sent out plaintext. After being translated into Navajo, the messages were still encrypted before they were sent.

    Being a computer person, I'm not familiar enough with "ancient" practices to know whether or not to classify the use of code-talkers as security or obscurity. In any case, using a code-talker with a modern cipher would actually be detremental, reducing encryption speed by a factor of about a billion. Modern ciphers are designed to be secure for decades regardless of the language used in the plaintext. The code-talker element of this item is completely irrelevant today.

    As for the argument about time-limited secrets, there's no obscurity involved (at least, not anymore). If you can figure that an adversary can try 2**72 keys before the secret becomes useless due to time, and you have a 128-bit key, then there is only a 1 in 2**56 chance of them guessing the key before the data expires. A "one in 72 quadrillion" chance is security, not obscurity.

    3 Obscurity serves as a tripwire [...] Imagine that our same admin had also invoked a tripwire script and set it to listen on one or more unused ports. When the tripwire is probed with a SYN packet from a cracker trying to locate the web server, instantly the system goes to full alert. The packet is logged and the admin's pager sounds like an alarm.

    First of all, if the attacker uses one of the various stealth scanning techniques, the system you've described is completely worthless. Some scanners don't complete the three-way handshake and your script would never be run. Others don't even send a SYN at all.

    Second, if you can detect the scan, what are you going to do about it? You could block the IP, but the attacker could always attack you from another location. And there's no guarantee that the attacker is at the IP the scan originates from, as packets can be forged (to make you block the wrong hosts), and there are even a couple of ways to bounce a port scan off an innocent machine.

    Third, if your web server is vulnerable, the alarm isn't going to save you. By the time you intervene your box would probably have been owned and used to scan hundreds of other innocent hosts. All because you overestimated the effectiveness of obscurity, leading to a false sense of security.

    4 Asymmetric cryptography exhibits traits of STO Despite the notion that asymmetric cryptography such as RSA is 'real' security, in some aspects these methods resemble STO. Indeed, this entire class of cryptography is founded on the hopeful guess that a certain mathematical problem is intractable. The back door into cryptographic methods that rely on multiplying primes is, quite simply, to develop a swift means of factoring those multiples. This NP-time problem must be solved before a private key can be derived from its corresponding public key, and the notorious difficulty of NP problems leads some supporters to characterize asymmetric cryptography as 'prova bly secure'.

    The only cryptographic systems that are "provably secure" are the One Time Pad and certain other secret splitting algorithms. These cannot be broken no matter what mathematical problems you solve and no matter how much computing power you have. This is for information-theoretic reasons that I won't go in to here.

    More common are systems that are provably equivalent to some hard problem. That is, if you can break the system, you can also do something else that is very hard (and vice versa).

    The whole point of proving something is equivalent to a hard problem is so that you can better estimate the difficulty breaking the system. If the best minds in the world have worked for centuries trying to figure out how to factor large numbers, and progress is at a fairly constant (slow) rate, you can get a pretty accurate estimate of how hard it is to factor a number of a given size. And if your cryptosystem is provably equivalent to factoring, the same estimate applies to your cryptosystem.

    Most cryptosystems depend on symmetric algorithms (like 3DES) that aren't provably equivalent to anything. This is why so much study is done on ciphers, trying to find weaknesses, before a cipher can be considered "secure". The more study is done, the better the estimate of the security of the cipher. Most cryptologists would tell you NOT to use the AES candidates yet, because they aren't well-studied enough. Most cryptologists, when their data is on the line, would prefer to see it encrypted with Triple-DES because it is such a well-studied cipher. If the best cryptographic minds in the world have studied a cipher for over two decades and have not found any major weaknesses then you can be pretty sure that there aren't going to be any suprises.

    5 Conclusions Security in the absence of obscurity is not strictly possible, but good systems both localize and advertise their points of obscurity.

    In practice there is no such thing as perfect security. The best a person can hope for is to make a realistic estimate of the difficulty of breaking the system. In the case of obscurity, realistic estimates are impossible, or simply not attempted. In the case of obscurity the best a person can do is make an optimistic estimate in order to justify the effort of obscuring a system. Such optimistic estimates tend to be wrong.

  97. You can tell he's from Microsoft because... by Anonymous Coward · · Score: 0

    Reading this reminded me of some of the testimony from the DOJ trial. And of a particular headline that someone's staff writer used for one of the more surreal weeks: "Witnesses in Wonderland" (I thin it was in Fortune's coverage). If you redefine the words so that they don't mean what everyone else thinks they mean, then you can say anything at all. You and Humpty Dumpty. Welcome to Wonderland, where we don't have a clue about the difference between time and algorithmic complexity (see, if it's not a parallel deterministic machine... you don't know what those terms mean? oh, you must be one of Micro~1's security experts - did you work on the Active X disaster?). I say this is spinach.

  98. Not quite. by Tim · · Score: 1

    Some thoughts on your post:

    1) The DNA computing solution to the TSP didn't use nucleotides, but synthetic strands of DNA made with unique sequences to represent the nodes of the graph. The sample space is therefore full as long as a suitable # of copies of fragments are placed in solution (hence the parallelism of the solution).

    2) Mixing is affected by the number of free DNA fragments, but only in the probability that two molecules will interact with DNA ligase in such a way as to ligate successfully. This, of course is more dependent on *concentration* of DNA and enzymes than the number of copies of DNA fragments considered in isolation.

    3) As alluded in 2, "Increasing the vat" will not necessarily get you *faster* mixing. Biochem textbooks go into this in painful detail in their discussion of enzyme kinetics. Basically, at some reaction condition an enzyme reaches "maximum velocity" and will not catalyze a reaction any faster than that rate, no matter what you do. Substrate concentration plays a role, as does product concentration, so while increasing DNA conc. will increase the "mixing rate" to a point, this effect will ultimately plateau.

    4) Given 3, you won't necessarily have more duplicates to check unless you allow the ligation reaction to run for a longer period of time. This is true if your ligase enzymes are already at their maximum velocity (which is commonly achieved).

    4a) This is sort of a nit-pick, but the number of "wrong answers" that need to be checked is ultimately a non-issue. The standard DNA manipulations used in a bio lab would allow you to filter out all but the solutions to this problem in a single step (gel electrophoresis of DNA allows molecules to be separated by size at very fine resolutions).

    5) As the problem domain is made more complicated, there are longer fragments of DNA to screen. However, DNA breakage is not a practical concern, given that living organisms have DNA strands that are many kilobases, if not megabases long. We're talking about concatamers of N*20 bases here, where N is the number of nodes in the TSP. You're problem domain would have to be *huge* for this to be a real problem. Even then, the number of broken strands would be vastly outnumbered by intact strands.

    6) As someone else noted P or NP is irrelevant to this type of solution to the TSP. The DNA solution is fundamentally parallel, but to measure it with a problem set defined for Turing machines is like comparing apples to oranges. The DNA approach makes Turing NP-complete problems tractable in "real" linear time (linear because it ultimately take linear time to sequence DNA fragments). But as so many others have noted, the solution space for this problem is not linear, since the real work is done by enzymes in a massively-parallel fashion. It just happens to be a cheap massively parallel computer =)

    If anyone wants to debate this further, I'm game. Contact me at trobertsNO_SPAM@du.NO_SPAMedu

    -Tim


    --
    Let's try not to let fact interfere with our speculation here, OK?
  99. Except that the time-limited point IS valid. by ToastyKen · · Score: 1

    I was also rather disappointed by the fact that 90% of the article really just dealt with passwords/keys, which really is not the point at all.

    BUT, one point IS valid, and I've seen few people mention it:
    Time-limited use of STO can still succeed in some cases. If the current implementation of security is only going to exist for a short period of time before being replaced, it could be sufficient, because it takes time to crack the system and find the hole.
    As long as you know that the odds of finding the hole before you replace the security system is very small, time-limited STO can be a reasonable compromise between efficiency and security.

    Thus, STO can be a valid TEMPORARY security measure.

    The danger, of course, is in growing complacent and deciding that the STO is secure just because no one is breaking into it, and leaving it in place for too long.

  100. Only Mircosoft's MTU path discovery is broken by Morgaine · · Score: 1

    I seem to recall that it's only the Mircosoft MTU handling that breaks totally when the packet-too-big responses are blocked: the RFC says that in the absence of a response then the MTU should be decreased to the guaranteed low value for all TCP/IP implementations, but apparently Mircosoft's stack just sits there forever expecting the world to adapt to what it wants.

    So, the poor sod running Mircosoft gear can't even get a slow email out asking the offending ISP to allow packet-too-big through ... Sigh.

    --
    "The question of whether machines can think is no more interesting than [] whether submarines can swim" - Dijkstra
  101. Re:Authentication is NOT Obscurity - watermarking by bloosqr · · Score: 1

    So what would happen if i just fft the thingy and invert it back? Filter out some of the higher frequencies (but not enough to destroy the image/sound etc..) .. even w/out knowing where exactly the tags are hidden, wouldn't that mess up the original signature? Or for instance to and D->A->D conversion.. Since obviously they don't want the watermark to mess up the picture/sound looking at it in frequency space may turn up the suspicious looking tags? Am I missing something?

    -avi

  102. Re:Excuse me but... by Anonymous Coward · · Score: 0

    Yeah you hadnt thought about it because you hang out here too much... a place where most people think (wrongly) that secercy can only be achieved through mathematical means... certainly not the case

  103. Resources for TSP by Roundeye · · Score: 1
    The travelling salesman problem is a decision problem (is there a tour of length k which visits every city (variation:exactly once)?). The optimization problem is simple to construct: merely solve the decision problem for k=1,2,3,4,... The lowest value of k which generates a "yes" from the decision problem is the length of the optimal path. This is polynomial if the running time of the decision problem is polynomial, which has been shown "in the literature" (this is not an obvious result as presented).

    What you seem to be talking about (I'm really stretching to fathom whatever it is you're trying to say) is a subset of TSP which assumes the triangle inequality (i.e., distances obey geometric rules). Unfortunately, this is a small subset of TSP for which numerous good results are known. Additionally you seem to imply that you were solving the problem on complete graphs, a *severely* restricted subset of TSP for which extremely good results (i.e., linear time in the size of the graph, IIRC) are known.

    Some of you might be interested in looking at the Travelling Salesman page at the Stony Brook Algorithms Repository (which I helped put together (sorry for the shameless plug, but ignorance is a terrible thing to let fester)).

    --
    "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
  104. Argh NO! by Anonymous Coward · · Score: 0

    No one has said that putting your ftp server on an odd port should be abolished (as long as your port doesn't clash with RFCs).. People have been saying "Putting your server on an odd port and calling it security should be abolished"! There is a big difference. STO isn't a type of security sutible for primary protection. It can be useful for strigthening strong things but nothing obsecure can be strong. So 'STO' is limited to making a secure configuration obsecure to buffer attacks that would otherwise slip in before you could fix the problem. 'STO' isn't the STO that security guys refer to unless it's the primary or only means of security. For example: Good security: Secure peer reviewed FTP daemon. Placed on odd port and responds like sendmail. (for fun. :) ). Bug discovered in daemon. Admin quickly responds and applies fix. Bad security: Secure peer reviewed FTP daemon. Placed on odd port and responds like sendmail. (for fun. :) ). Bug discovered in FTP daemon, admin doesnt read bugtrack or applyes fix slowly because he feels safe with his STO. Aweful security: Binary only FTP daemon, with or without port munging. Black hats find the bugs long before the white hats. In the first case, 'STO' was a fallback and the admin QUICKLY (like he had no security at all) took action to fix the problem. The STO may have very well saved his ass in the intervel between the discovery and him getting the announcement.

  105. Obscurity? by FonkiE · · Score: 1

    This guy is mixing up obscurity with secrets
    (password), shared secrets (asym. crypt) and
    algorithms (factoring numbers). Of course
    these are the weak things in cryptogarphy,
    but this has nothing to do with obscurity,
    becaus we *know* them. And using another port
    for a web server is a lousy example ...

    Please make him read Bruce Schneier!!!

  106. Fallacious RSA example by Anonymous Coward · · Score: 0

    The comment in the spoofing certificate question is no longer related to the reliability of the RSA encryption algorithm or the specific keys an individual may have,. It is related to the next highest implementation layer, which has a fundamental weakness - the set of "trusted" root certificates (which the browser/email/on-line banking system relies upon for making "trust" decisions) can be arbitarily be modified in most cases. At the protocol level, obscurity has re-appeared through the marketing messages and design choices of the programmer and the salles people. The user sees a prompt saying in effect: "Make this trust decision because we trust the way felt like doing it." The differences in motivations and needs between the developer and the user are never further apart than this. The issue that should come to the fore is trusting open (in the sense of easily and arbitarily modifiable) software is the greatest weakness. The "obscurity" stems from the message that software can be relied upon, everytime - while emprical evidence shows it can't. Embedded systems developed from a security perspective, with functionality added later are far more robust, particularly in the open network environment. Consider what would happen to the programming world if ayone could arbitarily modify the function a specific set of bytes performed (e.g. instructions to "load register EAX" cause data to load to register "EBP", in intel parlance). All security based only on software is flawed by obscurity. Get over it! Lyal

  107. WWII codes are a poor example in this age by laktar · · Score: 1

    The example of the Navajo code talkers in WWII is a very poor one. Today that code would be cracked in no time flat. The mass of computing power and knowledge of techniques in cracking such schemes available today as well as the number of people world wide who would be working on such an interesting project would render the code broken very rapidly. How long could that code possibly last today before somebody would suggest that it was similar to some Navajo that she had heard (here I'm using she just to be contrary to the author of the article) somewhere? The code would last a few days before it was found out and maybe a few weeks before a translation program that could do a reasonable word for word translation was available. Even if it was a newly invented language, it would still follow patterns and thus be easily suceptable to automated cracking attempts. Using current schemes is completely different. Passwords must be cracked on a trial and error method. Sure it's possible that somebody comes up w/ a fast implementation for factoring, but if such a thing were to happen, then encryption schemes would change. If you notice, we don't use the same method to encrypt passwords as we did back a few years ago. Think how fast a system could be cracked if that were the truth?

  108. "STO can be a powerful disincentive" by laktar · · Score: 1

    "STO can be a powerful disincentive"

    Is it just me, or is this a bit counterintuitive for everybody else out there? If you're a cracker who's bored on a Saturday night and trawling for boxes to get into and you find one that you could only get into by using some kind of brute force cracker to get in are you going to want to do that? Or, are you going to want to crack into some box you find that's mysterious & that you don't know the inner operations of? I personally would prefer to try and find the cock-ups of the designers of the STO'd system and get in that way. I have a feeling that most crackers would prefer this as well, with the exception of Script Kiddies who don't have much of a chance of getting in unless you use a poor STO based system anyway.

    1. Re:"STO can be a powerful disincentive" by Anonymous Coward · · Score: 0
      with the exception of Script Kiddies

      Almost all the crackers are some form of Script Kiddies.

  109. Re:Obfuscation: *may* be useful, but not sufficien by Anonymous Coward · · Score: 0
    There is one serious problem with your approach. You say IDEA and DES are strong encryption systems. Well, why do you know this? Because people have been able to review them prove their strength. If you use a secret algorithm, you will not be able to know if they are actually strong... Therefore, there is no option D.

    You miss the point. If I apply IDEA, DES, interleaved with xor garbling using a psuedo generator based also some data on set of CDROMs, with a hand-made selection algorithm, and I apply the different algorithms 10 times, then I get good security by obscurity. The hand-made algorithm is _ADDING_ security to DES, and IDEA. And there is no choice for the attacker than to first find out my algorithm which is a quite difficult feat (you are likely reconstruct the data of the cdrom, for starters). On the other hand, if you just say "here is a DES file", then the NSA will just crack it on its local supercomputer.

  110. Re:Obfuscation: *may* be useful, but not sufficien by aUser · · Score: 1

    I agree with you, if you are the kind of person that can write encryption algorithms of strength comparable to DES and IDEA.

    That means, for example, that you understand the DES and IDEA algorithm, and the reasons why they are strong. When you read the DES or IDEA source files, you understand fully why it works that way, and you can change it, and apply new ideas to it. For example, you can create a variation on DESIII and propose DESIV.

    If you are that kind of person, you may indeed make your own encryption algorithm. That puts you in the category of specialists, the experts, so to say.

    If you are not this level, you may be sure that creating your own encryption scheme is not such a good idea.

    Your own encryption scheme will most likely perform worse than the component schemes you have used. It is the same with compression algorithms. Try, for example, to zip or gzip an mpeg-compressed video file. The resulting file will usually be of the same size or bigger than the original file; defeating the object of compressing files. Because the mpeg algorithm heavily takes advantage of the fundamental properties of video data, it is able to compress this kind of data substantially. If you miss the point, and fail to understand the fundamentals of video data, your attempts to compress will not only be much worse than mpeg, you will also be unable to take advantage of the body of research that has been done already on the mpeg algorithm. Therefore, you will not be able to assess the fundamental properties of your algorithm, and the conditions in which it will perform properly or badly.

    Even strong encryption algorithms seem to be of varying strength. For example, I see experts writing about weak keys, and other kind of problems that you may encounter; and the strategies that these algorithms implement to alleviate these problems.

    If you concoct your own algorithm, you will be unable to assess the conditions in which your own algorithm may seriously lose strength.

    Maybe applying 128-bit DES after 128-bit IDEA, reduces the bit strength to an overall 32-bit strength BOGUS algorithm? I don't know. To find out, you need to understand the fundamentals of these algorithms.

    The question remains: How good are you at the subject? If you are any less than absolutely excellent, I advise you to stay away from writing your own encryption algorithm and to stop fooling yourself.