Slashdot Mirror


Security Warrior

Peter Wayner writes with a review of O'Reilly's Security Warrior: "Close the doors and they come in the windows. Bar the windows and they slip through some cracks in the foundation. Seal those up and the find another way in through the door. Computer security is an odd pursuit because it's just not possible to have a strong, theory of everything when cracks can appear anywhere. Into this field comes Security Warrior, a book on the topic with a wide ranging collection of tidbits and suggestions on sealing as many holes as you can find." Read on for the rest. Security Warrior author Cyrus Peikari and Anton Chuvakin pages 531 publisher O'Reilly rating 7 reviewer Peter Wayner ISBN 0596005458 summary Not a deep approach to security, but a great bag of tricks every sysadmin should have at hand.

The book comes lightly packaged in a metaphor about the training of samurai. A security warrior, it is said, must avoid a "superficial study of the subject" because that leads to a "deterioration of the samurai spirit." To avoid this, the authors plunge deeply into a wide variety of ways that attackers might break into your system. The book is meant to help you "know your enemy" and "see through an attacker's eyes."

This chestbeating fluff disappears pretty quickly because the authors dive into reading assembly code in the first chapter and start talking about the registers of the CPU by page 4. The rest of the first part of the book explores reverse engineering software by reading assembly dumps and using good tools to decipher it.

After poking around in binary code, they turn to the bits floating around the network. Chapters 6 through 10 explore how to sit on one end of the Internet and pry your way into another computer. Chapters 11 through 17 dive deeper into the specific defenses of platforms like UNIX, Windows, SOAP and SQL. The rest of the book, Chapters 18 through 22, explore how to figure out just what the attackers may be doing by setting up honeypots and log analysis tools.

Covering all of these topics in 531 pages is clearly not possible and the book reads more like a survey or a catalog of what can go wrong. If you use PHP, for instance, as a frontend to your database, you might want to be sure that some "script kiddie" won't slip in some extra SQL in the form fields. Each topic isn't built up from some bedrock foundation with perfect mathematical pedagogy, it's just defined as a list of bad things that you should avoid doing.

The authors seem to be aware of how this might be misinterpreted. There are many good tricks in the book and it wouldn't be hard to rename it Al K Da's 1337 Haxor Tips . So the authors stress how learning about the enemy is the only way to defeat the hordes.

I think the problem is deeper and more philosophical. There's no way to prove a negative. There are no good mathematical tools that make it easy to prove statements like P!=NP or big numbers can't be factored quickly. In a larger sense, it's not really possible to prove that someone can't break into a system. A more traditional, ground-up approach to the topic can offer some assurances, but books like this one are always necessary. Anyone doing battle against unknowable and unpredictable adversaries must look between the cracks.

If you look at it this way, the book is a good collection of tips and hints that will help someone keep their network a bit more secure. It doesn't provide a deep, elegant and rigorous explication of the topic, but I don't think that is possible. It's a great collection of tricks that should be part of a good warrior's training.

Peter Wayner is the author of Translucent Databases and Policing Online Games . You can purchase Security Warrior from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

39 of 124 comments (clear)

  1. Another good book - Counter Hack by strictnein · · Score: 5, Informative

    Another good book in the same vein is Counter Hack by Ed Skoudis. It can be slightly dated, but still informative.

    Here's amazon's page on it. It's ranked 5 out of 5 stars.

  2. It's Good by qw(name) · · Score: 5, Informative


    A good security policy is paramount. This book does a good job pointing out some not-so-obvious places that are often over-looked in our haste to meet deadlines.

  3. Samurai by nacturation · · Score: 4, Funny

    The book comes lightly packaged in a metaphor about the training of samurai.

    First rule: know when to commit seppuku.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    1. Re:Samurai by fivesticks · · Score: 3, Informative

      ...and remember to wear badger skin underwear to keep out the fleas. (thanks Hagakure )

    2. Re:Samurai by janbjurstrom · · Score: 2, Interesting

      Heh, yes, Hagakure (In the Shadows of Leaves) has many insights on a lot of topics :). For the one at hand, a slightly more productive reflection from the book might be:

      If one is but secure at the foundation, he will not be pained by departure from minor details or affairs that are contradictory to expectation.

      But in the end, the details of a matter are important. The right and wrong of one's way of doing things are found in trivial matters.
      (Yamamoto Tsunetomo, Hagakure. Translation by William S Wilson)
      --
      668.5
  4. Sample Chapter on Oreilly site by bcolflesh · · Score: 5, Informative
    1. Re:Sample Chapter on Oreilly site by stratjakt · · Score: 3, Informative

      Is the whole book like that sample chapter?

      Because all I read was descriptions of some old attacks, SMB and UPnP exploits, some proof of concept code..

      Nothing about methods or philosophies to protect in the future, it looked more like every other O'Reilly book I've read, just info scraped from relevant forums and faqs to fill pages.

      Reads more like a script kiddy cookbook than a tool for Admins.

      --
      I don't need no instructions to know how to rock!!!!
  5. scary no doubt by segment · · Score: 4, Insightful

    It's nice to see there is no lack of someone/somecompany trying to make some money off of the security FUD/Errata scene nowadays. Strangely I've been running webservers, databases, clients without problems for years. I keep a slight watch on lists, and I think (IMO) I keep systems pretty tight either via normal tools, whether they're open source or not.

    I still don't understand how hard it is for companies to throw up a so called webserver and have who knows how many ports open. If it's a webserver its a webserver, mailserver then its a mailserver. I call it shoddy administration. Taking the time beforehand to configure something properly will definitely save you a heck of a lot of time down the line, it becomes a matter of watching for new holes and patching them up quickly. If servers are an issue write some script to install patches/fixes to clusters or so.

    Sometimes I sit back and wonder what the hell is happening to the security field as a whole. Within the past four years it went from a couple of individuals to everything being overrun by corporations. Security Focus to me pretty much sucks nowadays, but yet aside from lists such as NANOG, Secfocus, ISP-Lists, there are little resources left. I say strong planning nulls out any information you can get from a book. Besides most of the information one could ponder looking for can be found using good old google. Why should I keep waisting money to see the same things over and over again.

    1. Re:scary no doubt by segment · · Score: 2, Interesting
      Sure good planning doesn't help legacy systems, but good knowledge does. If you know X_LEGACY_SYSTEM is vulnerable to certain things, then you seek out the fixes for them, if the amount of the machines is overwhelming, then being a system admin, you wouldn't be hinder. Somehow - if you're using say a cluster of machines - you have some mechanism to do certain things cluster-wide, then you use your admining skills. Its not that hard to write an expect script to run through your network and download, install patches. Now being I say expect is because most Unix' run expect, and you don't have to independantly run through machine to machine to install the patches... I've dealt (as a system and security admin) with over 1000+ servers in one company combinations of legacy and new systems. While you can't plan on doing anything with a preconfigured system, you damn sure can make sure it's patched and secured any way you try to reason around this is basically an excuse to not do your work.
      #!/usr/local/bin/expect -f
      # lazyslashdotadmin.exp
      spawn sh [$argv 0]
      send "[wget www.secpatchsite.foo/path/to/patch]\r"
      send "[patchadd patch]\r"
      exit
      ....

      for i in `someshit to get your hostlists' addresses`
      do lazyslashdotadmin.exp $i
      done

      Would you look at that... I could chop up something in seconds to run around patching shit. Didn't test variables, I did it to prove a point. Sure admins all get busy, but most admins also get lazy

  6. The more things change, the more they stay ... by Doesn't_Comment_Code · · Score: 5, Insightful

    Security has been the same for a while:

    Don't open unused ports.

    Don't make your system unnecessarily complex.

    Don't use software if you haven't inspected it.

    Don't give access to those who don't need it.

    Handle every exception.

    Assume your user is an a**hole/dumbass who will use your system every way except the way it was intended to be used.

    Dot your i's and cross your t's.



    Now... Who wants to give me a book deal?

    --

    Slashdot Syndrome: the sudden, extreme urge to correct someone in order to validate one's self.
    1. Re:The more things change, the more they stay ... by LostCluster · · Score: 4, Insightful

      Now... Who wants to give me a book deal?

      The reason why there's so many security books out there is that people need to be shown how to do all the things that you list. Somebody who doesn't understand that a form which is browser-limited to only send numbers still has the ability to send back characters isn't going to bother to code in the line that bounces non-numeric input.

      It's hard to tell somebody who doesn't know what i's and t's look like to dot and cross them correctly.

  7. Perfect Security is infinite... by LostCluster · · Score: 5, Insightful

    There's no such thing as a physical lock that can't be broken. It's only a matter of how much force needs to be gathered to break down the door, or break a hole in the wall.

    An entirely secure site can be breached by a bomb being dropped on top of it. Now, some people might say that's cheating, because demolishing the site, and therefore whatever valuable was being protected too, doesn't give control of the valuable to the atacker. However, it does deny the services of the valuable to its owner as well. That's a security failure, the job is to keep the services of that valuable always available.

    Computer security should be thought of in those terms. There's no such thing as unbreachable security, you just want to set the threshholds of what it takes to breach the security high enough so that it becomes highly unlikely that anybody can come up with the force it takes to defeat them.

    Clearly, if somebody comes up with a processor that can quickly factor large numbers, then a good chunk of today's security theory will go straight out the window. However, since to our knowledge nobody has done so and nobody's close to doing so, we can consider that a good security technique to use now.

    One must always keep up with what tools the bad guys have available, because once they have something that can knock down a defensive tool with ease, that defensive tool had better have another line of defense behind it.

    1. Re:Perfect Security is infinite... by kfg · · Score: 2, Interesting

      However, physical security and network security are somewhat different issues. If you unplug from the net you are entirely secure from attacks over the net. Yeah, somebody can still drop a bomb on you, just as someone can drop a bomb on your house. Motivation to do so is often lacking though, since that denies them the ability to walk off with your TV set.

      The issue with net security is that you're inviting people into your foyer, and perhaps even your living room and bathroom, but wish to keep them from snooping in your bedroom or medicine cabinet, or slipping into the heating ducts.

      Maintaining limited security is a thougher nut than just throwing a wall around your place with big "Keep Out" signs.

      In any case, just as with home security, the real goal isn't so much to become ultimately secure, as you point out that's impossible, but to make it easier to break into your neighbor's house than your own.

      Suck's for your neighbor I suppose, but that's what it boils down to.

      KFG

    2. Re:Perfect Security is infinite... by LostCluster · · Score: 2, Interesting

      However, physical security and network security are somewhat different issues. If you unplug from the net you are entirely secure from attacks over the net. Yeah, somebody can still drop a bomb on you, just as someone can drop a bomb on your house. Motivation to do so is often lacking though, since that denies them the ability to walk off with your TV set.

      Unplugging from the 'net is a good idea for servers that offer no services to the 'net. (Software updates can be delivered to it by sneakernet when needed.) Unplugging a server that does offer a service while under attack, however, is a security failure that's contained. Yeah, you're protected from any further breaches, but now your service is down for security reasons, and not letting your service out is a Type II security failure.

    3. Re:Perfect Security is infinite... by Chazmyrr · · Score: 4, Insightful

      You're very close. The part that is wrong is how you decide where the threshold should be set.

      The correct answer is that the threshold should be set at the point where increasing security further incurs a greater cost than the value of the risk mitigated by the increase. In other words, you perform a risk assessment and a cost/benefit analysis before you spend a lot of time/money on elaborate security measures.

      If a security measure is going to cost $50k to mitigate $5k of risk, it isn't worth it.

    4. Re:Perfect Security is infinite... by Beryllium+Sphere(tm) · · Score: 2, Insightful

      >you just want to set the threshholds of what it takes to breach the security high enough so that it becomes highly unlikely that anybody can come up with the force it takes to defeat them.

      That's the classical definition of physical security, which assumes that attackers are controlled by economic motivations. It's highly unlikely that anyone would spend money on bribes and/or tools to steal my 1979 Volkwagen Rabbit, for example.

      It doesn't apply to some corners of information security, though.

      Technical security measures often amount to setting up a puzzle. There are people who solve puzzles for fun. To them, the harder it is to defeat your technical countermeasures, the more fun and prestige they get by defeating them.

      Consider all the people who spend days or weeks cracking copy protection on relatively cheap software packages, and who then don't even get paid for their work.

      MIT ran into this. There was one OS that kept going down as people figured out ways to crash it. Every fix just raised the bar and challenged the competitive MIT hackers to find new OS bugs. The administrators finally got some decent uptime by installing a "kill system" command available to normal users. They took away the challenge, took away the fun, and all the puzzle-solvers took their energy elsewhere.

      You can't use that particular trick if your threat model includes normal people, but it illustrates the point: there are some people who are motivated by difficulty.

      >An entirely secure site can be breached by a bomb being dropped on top of it.

      This is also true and insightful. I call it the platform-independent denial of service attack. Notice that off-site backups will limit the damage from both an air raid and from a zero-day exploit.

      >One must always keep up with what tools the bad guys have available, because once they have something that can knock down a defensive tool with ease, that defensive tool had better have another line of defense behind it.

      I'd go one step further and argue that the additional line of defense should be there in the first place, because we know that the abilities of bad guys increase over time.

      Good post! I'm adding you to my friends list.

  8. ...when cracks can appear anywhere.. by burgburgburg · · Score: 3, Funny
    One word: caulk.

    Nuff said.

  9. Re:Hrmm... by SquadBoy · · Score: 3, Insightful

    Yes yes it is. I have my copy in my bag right now. This is worth reading no matter what you do in IT. But I would come to this after reading Beyond Fear at least once and Secrets and Lies at least twice.

    http://www.schneier.com/

    --

    Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
  10. Re:Oh no. by Anonymous Coward · · Score: 2, Informative

    They have been replaced by Japanese riot cops practicing Aikido, a fighting philosophy where there is neither victor nor vanquished.

    Aikido isn't for fighting -- it's a defensive martial art whose purpose is to gently take down your opponent using a variety of joint locks, etc.

  11. Re:Hrmm... by Anonymous Coward · · Score: 5, Informative

    Its a good book if you are interested in gaining a foundation in analysing TECHNICAL security issues. I.e. its a good pen-testing research book, but it doesn't go into any great depth with regards to higher-management issues, such as a corporate policy, ITIL/BS7799 type work. It is however a good base for skimming the surface of everything nasty that can come your way. It is excellently referenced! which is handy!

  12. Unbreakable? by SharpFang · · Score: 3, Insightful

    Is it impossible? I mean, there are known vulnerablities, know secure tricks (i.e. passwords that would require unreachable computational power, "security areas" accessible only by people invulnerable to social engineering, after special training, system routines written with security in mind, hardware that is sealed in such a way that it cuts off any attacker on attempt of attack, and physically assaulted self-destructs?

    Things slipped out of control because growth wasn't followed by quality control. It would need to be designed from scratch. I think it would be possible - system completely unbreakable, without ANY holes.

    But I guess building it would be so expensive, that EVERYBODY prefers systems that work so-so and contain unknown bugs and nobody would be willing to buy it.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  13. Bah, you beat me to it by cipher+chort · · Score: 5, Informative

    I'm reviewing the book as well with the intent to publish the review, but with so much work lately I haven't had time for reading. Any way, my summary so far (up to the UNIX specific attacks) is that it feels somewhat fragmented, and the order is slightly jarring. The first section of the book jumps right into assembly. While that might be a foundation to computing (one step up from machine code), it's a real bucket of ice water in the face for anyone trying to get started with the book. Even though I've been trained in a couple of programming languages and I'm familiar with ASM, it was still difficult to follow along some times. The first section on networking felt very incomplete and shallow, but then after skipping around a bit they come back to more network security topics a bit later. It remains to be seen how well it will flesh out in the later chapters. I was rather hoping for some details, like W. Richard Stevens tcpdump approach to teaching TCP/IP, given all the detail they had earlier on ASM, but alas I haven't seen anything like that, so far. On the other hand, I found the section on reversing Linux binaries to be very enlightening. I never realized how broken/limited the tools are for reversing on a Linux platform. Certainly that could make it very difficult to examine Linux viruses and worms when they finally start circulating in large numbers. Any way, I'll reserve the rest of my judgement until I actually finish the book.

    --
    Someone is WRONG on the Internet!
  14. Seppuku by Timesprout · · Score: 3, Funny

    The book comes lightly packaged in a metaphor about the training of samurai

    Does this mean I can look forward to lots of MSCE admins comitting seppuku when they get cracked?

    --
    Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
    What truth?
    There is no dupe
  15. I read the first version by Hardwyred · · Score: 3, Funny

    It was called the Art of War by some guy named Sun Tzu. I think he worked for IBM or something ;-)

    --
    www.linux-skunkworks.com
  16. Get Safari by Michael+Crutcher · · Score: 4, Informative
    I'm not associated with O'Reilly in any shape or form but a lot of like minded geeks have never heard of safari. For $15 bucks a month you get access to an amazing number of technical books. You can keep 10 books on your "bookshelf" at a time and can remove a book from your bookshelf after you've kept it for a month.

    Some people might not like reading the books on your monitor, but it doesn't bother me. I think the electronic search features (in a specific book, across all books, etc.) really makes the service much more useful.

    Again, I'm not trying to plug, but after years of spending at least $50 a month on books I'm really satisfied with safari.

    1. Re:Get Safari by sbonds · · Score: 2, Informative

      I just read this book on the Safari website. The chances that I would have read it without Safari were pretty slim (though having the book show up on Slashdot helps those chances a lot.)

      Safari is definately worth a look for any techie, and the first two weeks are free.

      Here's a link to the full contents of the book on Safari.

      The book itself is also good. As the review said, it was nicely detailed where needed and skims over points that could be skimmed.

  17. Paradox of Open yet Closed by G4from128k · · Score: 3, Informative

    Computer security is almost an oxymoron in a networked environment. On the one hand we want to be connected to everyone and seamlessly share data, software, and functionality. And so we connect to large numbers of people, like the poeple we meet on /. and other forums.

    On the other hand, we want to restrict access to all but a "trusted" few. Yet the tools for creating trust on the internet are poor or illusory.

    Trust takes time to develop. Only after we have a breadth and depth of experience with the coutnerparty can we truely trust them. The existence of people willing to create a trusted persona over the months or years in order to gain black-hat access or run a scam is at odds with the natural speed of the internet were it only takes a few months to become a trusted veteran.

    Trust also requires tokens of commitment -- the idea that each party has something to lose in the relationship. Unfortunately, most online venues lack this because it is too easy to abandon a troll/criminal persona and create a fresh persona.

    I applaud the work of computer security professionals -- its an extremely hard job made harder by the conflicting demands on computer infrastructures and the mismatched timescales of trust and the internet.

    --
    Two wrongs don't make a right, but three lefts do.
    1. Re:Paradox of Open yet Closed by LostCluster · · Score: 3, Insightful

      "Trustworthiness" is created when somebody given the opportunity to screw up does not do so, and is the best predictor we have for whether somebody will screw up in the future.

      To banks, in order for you to have perfect credit credentials, you must have taken loans before and not violated the terms. Never taking a loan is a nuetral value... you haven't screwed up, but on the other hand you haven't had the chance to either. There's no data on you, which means the system has nothing upon which to make a decision, and therefore it's the system's least confident prediction.

      Tokens of committment can only be used to prevent somebody from breaching trust when what they've put up at stake is more valuable to them than what they might get as a result of breaching the trust. A token that isn't strong enough doesn't really create trust. However too strong of a token also will turn away those who don't trust you, which can deny the project you're trying to protect from getting the help it needs.

      The paradox of open yet closed is not one that can be solved, it just has to be dealt with.

  18. Ob by GillBates0 · · Score: 3, Funny

    1. Pull network cord
    2. Pull power cord
    3. ???
    4. Security!!!

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:Ob by kfg · · Score: 2, Funny

      That's a DoS.

      Not if you're using it as a doorstop.

      KFG

  19. How much security do I need? by stand · · Score: 4, Funny

    I think it's like that old joke about how to protect yourself from being killed by a bear. (I don't need to outrun the bear, I just need to outrun you). I only need to be slightly more secure than the rest of you. Right now, frankly, that's not too hard.

    --
    Four fifths of all our troubles in this life would disappear if we would just sit down and keep still. -C. Coolidge
  20. Computer Security In General by ausoleil · · Score: 4, Insightful

    IMHO, computer security is like trying to make something idiot-proof...as soon as it is (idiot-proof) someone perfect a better idiot. In regards to computers, there is no 100% safe way to fully protect your data -- except by rendering the machine inaccessable and turning it off. Of course, that's highly counterproductive.

    So, at the end of the day, all a sysadmin can do is operate the machine in a prudent manner (set it up to have security reasonable to the risk), keep it patched and raise the bar to keep as many potential foes out as possible. But bear in mind, no matter what you do, if one is determined enough, they WILL be able to break into your machine.

    After all, the best hackers are the ones you hve never heard of. Their best exploits are the ones that no one knows about. Children brag about their shenanigans, a wise criminal keeps his tools to himself so they keep working.

    Linux and other OSS projects have a community to identify the risks, but not even a community nor the author(s) of a given piece of code as complex as a working modern Linux system can identify them all.

  21. windows by hak+hak · · Score: 2, Funny
    close the doors and they come in the windows.

    Yeah, many computer hackers in recorded history have come in through Windows.

  22. We must not accept this by ChiralSoftware · · Score: 2, Interesting
    For as long as I can remember, everyone has been saying that computer security flaws are inevitable. Somehow they are part of the "laws of physics" of the computer world and we must learn to live with them. This thought pattern is out of date and is holding us back from having secure systems. We have accepted this idea of inevitability of security problems just like we used to accept the inevitability of cars leaking oil or that certain medical conditions were incurable.

    Computer security problems almost always fall into a few well-known (beaten to death is more accurate) patterns. One such pattern is the "buffer overflow attack". Why does anyone accept this? There is absolutely no reason for modern software to be subject to buffer overflows. We have languages like Java which run everything within a protected virtual machine and don't use buffers. We can design CPUs which allow sections of memory to be marked "execute only, don't write". We can use safe string libraries instead of creaky old standard lib. And yet I still hear people saying that buffer overflows are a given.

    Same with root escalations. For years we have had ideas of how to have systems that are compartmented and don't have root. In the Unix world, we have the idiocy of "trusted ports" (ports I could go on and on. The only reason why computers are so insecure is because we have accepted that they are and decided to live with it. This is just wrong.

    --------
    Create your own WAP site, or become a Wireless-Enabled Hosting(tm) provider

  23. Some Wisdom by Anonymous Coward · · Score: 2, Funny
    Close the doors and they come in the windows. Bar the windows and they slip through some cracks in the foundation. Seal those up and the find another way in through the door.

    Best security practice- get rid of your Windows first.

  24. Social Engineering by pizzicar · · Score: 4, Insightful

    Even with the best of hardware and software locks and keys, the weak link is still the human. There have been many /. articles on social engineering and the current crop of books (The Art of Deception by Kevin Mitnick for example) shows how the best laid security plans can be circumvented by a minimum wage clerk. Education for all employees should be a big factor in securing systems. An email from the IT department just won't cut it - we need to teach people how and why to make a difference.

  25. Top 10 by Anonymous Coward · · Score: 4, Funny

    Here are the top 10 reasons:

    10) You've just been ordered to migrate from sendmail to Exchange server.

    9) Your boss, let's just call him Bill, insists upon being given root priviledges, in spite of the fact that he constantly breaks things even with mere user priviledges.

    8) Your boss won't let you filter out .vbs & .exe attachments at the mail server because he is an amature (read: terrible) coder. Moreover, his amature programs cause as much if not more trouble than the virus-laden attachments he keeps opening. He also has crazy ideas about putting "stamps" on email.

    7) You are told by your boss, who (mis)read a computer security advisory to put the company webserver (which handles online sales) on a non-standard port "so the hackers won't be able to mess with it."

    6) Your boss expects you to find a way to make your Solaris servers, with tons of ancient, crufty legacy code which is vital to the company, run ASP pages just so they can use (read: justify the rediculous expense of) some crappy B2B application they bought without consulting IT. Preferably sometime next week.

    5) Your boss thinks that some 'internet accelerator' software (read: spyware) should be made mandatory for all employees to improve productivity.

    4) Your "security policy" is more like a list of who to blame for what.

    3) Your boss is negotiating a SCO IP license, since "any publicity is good publicity."

    2) Your boss thinks you should be more thankful, because the management is so "IT-savvy" and always ready to help you out.

    1) You ignore all this bad advice, pretend you took it anyway (he'll never actually know...), and waste your time posting on Slashdot instead of working.

  26. Can't prove a negative? by The+Pim · · Score: 4, Informative
    There's no way to prove a negative. There are no good mathematical tools that make it easy to prove statements like P!=NP or big numbers can't be factored quickly.

    You have no idea what you're talking about. Mathematicians and computer scientists prove negatives and non-existence all the time. For example, it is proven that there exist no non-zero rationals a, b, and c, and integer n > 2, such that a^n + b^n = c^n.

    Computer security is an odd pursuit because it's just not possible to have a strong, theory of everything when cracks can appear anywhere.

    The reason it's not possible in practice to prove anything about computer security is that the languages and protocols we used were not designed with this ability in mind. You can't prove anything useful about unix, C, or HTTP. It's true that it would take a massive overhaul of our computer infrastructure, but it's possible to have systems that you can reason about.

    Even then, it's true that you can only prove things in a model, and it's always possible that there will be a real-world attack that isn't reflected in the model. But the situation could be much, much better than it is today. If you use a safe language and design your library carefully, you can probably provably protect yourself from some vulnerabilities.

    --

    The evaluation of an action as 'practical' . . . depends on what it is that one wishes to practice.
  27. How do you know what gets through the cracks? by GringoGoiano · · Score: 3, Interesting

    If you really think you're not going to seal all the cracks, or that you create new ones as you rebuild your electronic foundation, you need to track what goes on inside the house at all times.

    The best way to do this is to log all significant events in your infrastructure:

    • network connections
    • web server hits
    • DB queries
    • app server events
    • machine syslogs
    • ...

    Without knowledge of your history you can't see new trends or look back and see how often in the past newly discovered exploits by external attackers and internal were used. The company I work for (Addamark) discusses the log-everything approach to security. It's a tough problem because of the scale of info required. Sorry for the shameless plug but this is the problem we address, and do so rather well at several real-world companies.