Slashdot Mirror


The Six Dumbest Ideas in Computer Security

Frater 219 writes "The IT industry spends a huge amount of money on security -- and yet worms, spyware, and other relatively mindless attacks are still able to create massive havoc. Why? Marcus Ranum suggests that we've all been spending far too much time and effort on provably ineffective security measures. It may come as a surprise that anti-virus software, penetration testing, and user education are three of "The Six Dumbest Ideas in Computer Security"."

792 comments

  1. Here it comes... by SnprBoB86 · · Score: 0, Flamebait

    Cue the "Installing Windows" jokes...

    --
    http://brandonbloom.name
    1. Re:Here it comes... by MarkRose · · Score: 5, Funny

      Why, would you rather I leave the door open to get some light in the basement?

      --
      Be relentless!
    2. Re:Here it comes... by Skiron · · Score: 1

      But seeing as MS OS _are_ the problem with all this, let the jokes come.

    3. Re:Here it comes... by dhasenan · · Score: 1, Insightful

      Actually, the article is a bit more general than that. It can be applied to any application. It's just that all the flaws seem to be present in MS Windows.

      On the other hand, TFA seems to be saying that you shouldn't write flawed software. That's pretty much impossible when working on a large project.

    4. Re:Here it comes... by JoeCommodore · · Score: 4, Insightful

      Actually it was more like whatever you are writing don't expect that your code will exist in a secure environment. Whenever you can, do what you can to keep your modules secure. Don't give the OS or other moddules the benefit of the doubt.

      --
      "Enjoy what you're doing! If it becomes drudgery, you're doing it wrong!" - Jim Butterfield
    5. Re:Here it comes... by DrIdiot · · Score: 1, Redundant

      Installing windows.

    6. Re:Here it comes... by Anonymous Coward · · Score: 0

      In soviet korea, only old people install windows.

    7. Re:Here it comes... by Anonymous Coward · · Score: 0

      I steal your First Post and claim it in the name of Trip Master Monkey.
      Slap my ass and call me Susan!!!

    8. Re:Here it comes... by Linker3000 · · Score: 1

      The six dumbest ideas in computer security:

      --
      AT&ROFLMAO
    9. Re:Here it comes... by Mozk · · Score: 1

      Let there be up-modding.

      --
      No existe.
    10. Re:Here it comes... by gui_tarzan2000 · · Score: 2
      "On the other hand, TFA seems to be saying that you shouldn't write flawed software. That's pretty much impossible when working on a large project."

      I don't disagree while the program is in developement, but there comes a time when the code should be bug free. Humans make mistakes, but they also need to correct them. Sloppy code is not acceptable.

      --
      Have you hugged your penguin today?
    11. Re:Here it comes... by Tassach · · Score: 4, Insightful
      On the other hand, TFA seems to be saying that you shouldn't write flawed software. That's pretty much impossible when working on a large project.
      I disagree. It is possible to write secure software -- TFA uses postfix as an example of a program that was designed from the outset to be secure. It's entirely a matter of mindset and discipline. If you approach a programming project with the attitude that you and your programmers are fallable and will write flawed code, and design your system from the outset to contain the damage that will result WHEN (not IF) a component fails, you will write good reliable secure software. A good example this is Google. Google's system was designed to work on dirt-cheap commidity hardware with little to no redundancy at the server level. Having a box die is a routine event; they actually EXPECT a given number of boxes to die on any given day. The entire architecture is designed around the premise that any box can fail at any time, so it is designed so that the overall system will keep on working even after multiple failures. The problem is that most pointy-haired bosses are not willing to invest in the up-front engineering expenses it takes to come up with a secure design -- they want to get something that solves the immediate problem done in the least amount of time for the least amount of money, and then refine it over time. In other words, they want you to hurry up and pinch off a turd, and then spend the next 10 years polishing it. Programmers are not without blame either. Programmers are generally natural optimists -- they have a natural tendancy to assume that their code will work perfectly, even after years of experience have demonstrated that this is not true. It takes a constant, concious effort to remind yourself that your code WILL fail at some point. It takes discipline to consistantly design systems that will compensate for your human limitations. Unfortunately, most managers tend to encourage programmers' optimisim rather than forcing them to take a more pessimistic approach.
      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    12. Re:Here it comes... by Anonymous Coward · · Score: 0

      Where is good old TMM? I've read about 10 threads this week and haven't experienced his wisdom once. Has Taco finally fixed the lameness filter??

      <looks around> Nope, I guess not.

    13. Re:Here it comes... by Anonymous Coward · · Score: 0

      Okay, you ready? I know you are bright kids so here goes... It's The Architecture !

    14. Re:Here it comes... by rtb61 · · Score: 1

      Talking about windows faiures, I changed my slahsdot signature and my firewall crashed (good thing the only computer I've got running stale piss doesn't contain any business communications, the other two are a different story)

      --
      Chaos - everything, everywhere, everywhen
    15. Re:Here it comes... by Linker3000 · · Score: 1

      Obviously, trying to post a witty comment from my PDA was kinda dumb seeing as how 80% of the message got lost!

      --
      AT&ROFLMAO
    16. Re:Here it comes... by jrockway · · Score: 1

      > postfix as an example of a program that was designed from the outset to be secure

      Uhh... except that postfix has had a number of severe security problems over the years!

      Postfix Disasters

      And to solve the security problems, the postfix developers denyed them for quite a while! Not good security at all! Postfix is pretty much a failure.

      --
      My other car is first.
    17. Re:Here it comes... by gmack · · Score: 1

      You think that's funny but I once had a co worker who did the computer equivalent of exactly that.

      One of our products needed an ftp site to auto update but my co worker had heard that anon ftp was a security problem so he demanded(and got) an ftp account on the server despite my objections.

      When he was finally let go I was ordered to clean up his accounts and make sure he had no access to anything when I discovered that he had embedded the ftp username and password into the client and that that username and password had *write* access to the files in the ftp.

      He had traded a possible security problem for a guarunteed one.

    18. Re:Here it comes... by josephgrossberg · · Score: 1

      But I've never *installed* Windows. It just comes with all my computers, free! ;)

    19. Re:Here it comes... by ummit · · Score: 1
      Mod parent up! (Oh, it looks like someone already did.)

      These are all very, very, very good points:

      It is possible to write secure software...
      If you approach a programming project with the attitude that you and your programmers are fallable...
      ...design your system from the outset to contain the damage...
      ...most pointy-haired bosses... want to... solve the immediate problem... in the least amount of time...
      Programmers...have a natural tendancy to assume that their code will work perfectly...
      It takes discipline to consistantly design systems that will compensate...
      Unfortunately, most managers tend to encourage programmers' optimisim...

      If more programmers, and programming managers, really understood and valued these points, the software world would be a much, much different place.

    20. Re:Here it comes... by Tassach · · Score: 2, Interesting
      You fail reading comprehension.

      Postfix was designed so that failures are compartmentalized. No one ever said it was immune from failure -- just that the damage from an eventual failure would be contained.

      The article you cite shows a bug which allowed a LOCAL USER to delete other people's mail. While this is indeed a flaw, the damage is completely contained to the mail system -- it is not remotely exploitable, does not allow privilige escalation, does not compromise root, and is trivially solved by not granting users shell accounts on the mail server.

      Compare this bug to the numerous Sendmail bugs which allowed a REMOTE user to gain ROOT priviliges on the box. There is a HUGE difference in severity between a limited local denial of service attack and a remote root exploit.

      Congradulations on proving the point you were trying to refute.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    21. Re:Here it comes... by ultranova · · Score: 1

      Don't give the OS or other moddules the benefit of the doubt.

      If you can't trust the operating system, you are screwed no matter what you do. The darn thing can just rewrite the program code of your application to its liking...

      --

      Forget magic. Any technology distinguishable from divine power is insufficiently advanced.

    22. Re:Here it comes... by orderb13 · · Score: 1

      Something I've run into over and over is that programmer simply don't know HOW to write secure code. They don't understand the different levels of permissions on objects and what not and how to hide things. So basically they need to start teaching college CS people to be more security conscious. And there DEFINATLY needs to be a push in the field to having people learn HOW to write secure code.

    23. Re:Here it comes... by Master+of+Transhuman · · Score: 1


      Isn't that how Windows is designed?

      Watch - this WON'T get modded "(Score:5, Funny)".

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    24. Re:Here it comes... by IpalindromeI · · Score: 1

      "Congratulations" has a "t" not "d." You can remember it easily through the shortened form: "Congrats!"

      --

      --
      Promoting critical thinking since 1994.
    25. Re:Here it comes... by IpalindromeI · · Score: 1

      The word "definitely" is an adverb form of the word "definite" -- just add "ly" to the end. There's no "definat."

      --

      --
      Promoting critical thinking since 1994.
    26. Re:Here it comes... by Tassach · · Score: 1

      How do you spell the phrase "pedantic anal-retentive twit"?

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
  2. Um wtf by Anonymous Coward · · Score: 0, Troll

    Who the fuck is Marcus Ranum and why I should care what he suggests?

    1. Re:Um wtf by chucks86 · · Score: 1

      He is a guy with a personal website that would like more visitors.

      --
      Help a poor college student. Send a couple cents via paypal to chucks86@gmail.com
    2. Re:Um wtf by Anonymous Coward · · Score: 0

      He's a guy whose book has not sold very well!! Why don't you buy a copy?

    3. Re:Um wtf by Anonymous Coward · · Score: 1, Funny

      Ah, I see by the picture on that page that he likes to play 52 card pick up.

    4. Re:Um wtf by Arker · · Score: 4, Insightful

      Take the article for what it's worth. He makes some very good points, although it's hard to take him seriously when he doesn't even know what the word 'hacker' means... but still, some very good points. Security is something that needs to be designed in from the start, not patched on top later.

      --
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-
      Friends don't let friends enable ecmascript.
    5. Re:Um wtf by tarquin_fim_bim · · Score: 0

      10 GOSUB LOOK_FOR_HOLES
      20 IF HOLE_FOUND = FALSE THEN GOTO 50
      30 GOSUB FIX_HOLE
      40 GOTO 10
      50 GOSUB CONGRATULATE_SELF
      60 GOSUB GET_HACKED_EVENTUALLY_ANYWAY
      70 GOTO 10

      I make that 4 undefined subroutines, he's obviously an expert. There's a passage in the bible about planks and eyeballs he should read.

    6. Re:Um wtf by geekboy642 · · Score: 1

      It's called Gwpcode, which will later be replaced by Qpcode, eventually mutating into VPcode, then all support will be dropped, leading to a massive support community comprised of people who write email viruses and people who write database managers without a single actual line of code.

      --
      Just another "DOJ fascist authoritarian totalitarian bootlicker" -- Zeio
    7. Re:Um wtf by Anonymous Coward · · Score: 0

      Did you even try to run the program? It works perfectly here. Just copy paste and run, don't bother checking what it does.

    8. Re:Um wtf by carlfish · · Score: 1

      From his bio page:

      Marcus J. Ranum is a world-renowned expert on security system design and implementation. He is recognized as the inventor of the proxy firewall, and the implementor of the first commercial firewall product. Since the late 1980's, he has designed a number of groundbreaking security products including the DEC SEAL, the TIS firewall toolkit, the Gauntlet firewall, and NFR's Network Flight Recorder intrusion detection system.

      --
      The more I learn about the Internet, the more amazed I am that it works at all.
    9. Re:Um wtf by Anonymous Coward · · Score: 0

      Yeah I have a hard time taking the guy who invented the proxy firewall seriously too. ROFL.

      That was sarcasm, you insolent clod. He most likely uses "hacker" for the same reason everyone else uses "hacker..." because he's not a pedantic little twit who desperately and self-righteously clings onto a defintions distinction which was completely 86ed by mass media exposure of the art 10 years ago.

      That's right. Parsimony. Hacking and cracking, in today's lexicon = the SAME.
      I know it burns, but you'll have to derive your identity from other witticism and corrections.

  3. zerg by Lord+Omlette · · Score: 4, Funny

    Unless they ban the movie Hackers and eradicate all copies of it everywhere, they're not gonna make hacking uncool...

    --
    [o]_O
    1. Re:zerg by Anonymous Coward · · Score: 0

      That movie was one of the dumbest I've ever seen...

    2. Re:zerg by H_Fisher · · Score: 4, Funny
      Forget the computer-security angle; I would suggest this be done as a humanitarian action.

      Come to think of it, why the hell isn't the UN trying to do this already? Won't somebody PLEASE think of the children?

    3. Re:zerg by Kymermosst · · Score: 5, Interesting

      Unless they ban the movie Hackers and eradicate all copies of it everywhere, they're not gonna make hacking uncool...

      Don't forget Sneakers, which was way cooler (IMNSHO) than Hackers.

      --
      "Alcohol, Tobacco, Firearms, and Explosives" should be a convenience store, not a government agency.
    4. Re:zerg by Anonymous Coward · · Score: 1, Funny

      Uh, we are talking about the movie "Hackers" that starred Angelina Jolie's left breast, right?

    5. Re:zerg by Chyeld · · Score: 1

      Actually if they made Hackers something that you had to watch annually, not only would Hacking become uncool but the world would rush back to the Dark Ages as everyone rushed out to destroy all electronics after the first year was over.

    6. Re:zerg by Anonymous Coward · · Score: 0

      Does Sneakers have Angelina Jolie's boobs? I didn't think so!

    7. Re:zerg by Anonymous Coward · · Score: 0

      The terrorists have won.

    8. Re:zerg by Anonymous Coward · · Score: 0

      Man if you liked Hackers because of that you really have to see
      Gia

      You see a hell of a lot more then
      her tits for
      half a second like Hackers.....

    9. Re:zerg by databyss · · Score: 1

      Yes, and Jonny Lee Miller in a red leather dress.

      --
      Hmmm witty sig or funny sig? Maybe elitest techy sig!
    10. Re:zerg by chrysrobyn · · Score: 2, Informative
      Unless they ban the movie Hackers and eradicate all copies of it everywhere, they're not gonna make hacking uncool.

      There were precisely two cool things about Hackers.

      1. Angelina Jolie.

      2. Airbrushed keyboards.

      Sneakers, on the other hand, Hollywoodified an already absurd idea..

    11. Re:zerg by EvilTwinSkippy · · Score: 2, Insightful
      No, no. Before Sneakers there was "War Games."

      Cool by default because it was a movie about hacking before the world at large even knew about hacking (and phreaking, and blue boxes...)

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
    12. Re:zerg by bigdavex · · Score: 1

      Don't forget Sneakers, which was way cooler (IMNSHO) than Hackers.

      Navel fuzz is way cooler than Hackers.
      --
      -Dave
    13. Re:zerg by dr.badass · · Score: 1

      Don't forget Sneakers, which was way cooler (IMNSHO) than Hackers.

      Sneakers may be cooler, but Hackers is more 1337.

      Wait, what am I saying? They both sux0red.

      --
      Don't become a regular here -- you will become retarded.
    14. Re:zerg by Shishberg · · Score: 2, Informative

      They could just give out free copies of Antitrust instead.

    15. Re:zerg by Skreems · · Score: 1

      They'll have to kill Matthew Lillard and Angelina Jolie, too...

      --
      Slashdot needs a "-1, Wrong" moderation option.
      The Urban Hippie
    16. Re:zerg by Danse · · Score: 1

      That movie was one of the dumbest I've ever seen...

      That must be because you've never seen Swordfish, you lucky bastard...

      --
      It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    17. Re:zerg by Minwee · · Score: 1

      So... I can become a computer hacker and then see Angelina Jolie's boobs? Isn't that what Usenet is for?

    18. Re:zerg by secolactico · · Score: 1

      That must be because you've never seen Swordfish, you lucky bastard...

      Hey, that movie had a couple of saving graces, if you know what I mean ;-)

      Hackers on the other hand, featured a fully clothed Angelina Jolie and scenes that made Jurassic Park's "this is unix..." scene look quite realistic.

      --
      No sig
    19. Re:zerg by SpacePunk · · Score: 0, Redundant

      Of course they both sucked. Nobody will want to watch a movie about unkempt fat guys with stained t-shirts living in their parents basement.

    20. Re:zerg by mhearne · · Score: 1

      Dumb? Maybe, but one of the classics just the same. Two others in my collection are "Terminal Error" and "Tron".

      I sure do wish my 286 could have done all that!

      Michael

    21. Re:zerg by Bryan+K.+Feir · · Score: 2, Insightful

      No, no. Before Sneakers there was "War Games."

      Cool by default because it was a movie about hacking before the world at large even knew about hacking (and phreaking, and blue boxes...)

      Not to mention the fact that, unlike so many other movies about hacking, War Games involved actual research on the system being targeted on the part of the main character in the movie. Sure, most of the research was done as a montage because otherwise it's boring, but it was strongly implied that he spent weeks trying to figure out names based on what he could see.

    22. Re:zerg by _Sprocket_ · · Score: 1

      How could you not include Wargames?

    23. Re:zerg by Anonymous Coward · · Score: 1, Interesting

      3. Wicked Musical Score.

      4. A change from the mundane command line we all know, to flying physics equations and absurdly designed server rooms that look incredibly awesome to the point the information stored requires 1 000 back ups as redundancy to the bolts of electricity arc'ing between the towers...

      5. Stylishishness, who wouldn't want to hang out in Cyberrella (the hacker club) where everyone is somehow or other l33t and yet they all are social enough to go out of their houses, it's the geek dream, a haven to call their own that's actually desirable.

      6. Did I mention Angelina Jolie has sex (implied) with a geek? You basically add every geek on the planet (even the female ones, because EVERYONE would sleep with Angelina given the chance) to your fan club just with that alone.

      7. Angelina's breasts

    24. Re:zerg by Anonymous Coward · · Score: 0

      Don't forget that Wargames was way cooler than Sneakers, which was cooler than Hackers

    25. Re:zerg by Danse · · Score: 1

      heh.. ok, you do have a point, but aside from about 5 seconds of jubbly goodness, the movie was horrendous. Everytime anyone said or did anything computer-related, I wanted to bang my head into the wall because it would probably be less painful than listening to them. Worst hacker movie evar.**

      **With the exception of those 5 seconds :)


      --
      It's not enough to bash in heads, you've got to bash in minds. - Captain Hammer
    26. Re:zerg by AoT · · Score: 1

      I was just happy when their lineman's handsets were the right color. Yay bright orange!

      Man, i have not used one of those in years.

    27. Re:zerg by Anonymous Coward · · Score: 0
      Don't forget Sneakers, which was way cooler (IMNSHO) than Hackers.
      You're sadly mistaken if you think Hackers is so widely referenced because it was a "cool" movie.
    28. Re:zerg by WarpGiGA · · Score: 1

      You have this movie? It sounds great already!

    29. Re:zerg by Narchie+Troll · · Score: 1

      AAAAH THE HORRID BLIMP LIPS WILL CARRY ME AWAY

      I'd rather fuck a roll of shag carpet than that skank Angelina Jolie.

    30. Re:zerg by Anonymous Coward · · Score: 0

      So, what you are says is you're either gay or haven't hit puberty yet.

    31. Re:zerg by mhearne · · Score: 1

      If you're referring to the early 1980's movie, then it just slipped my mind.

      If you're talking about an actual game, I don't play them, I am a network administrator.

      Sorry, I just don't remember it.

      Michael

    32. Re:zerg by _Sprocket_ · · Score: 1

      Why - the movie, of course. :)

      There was still a good amount of Hollywood interpretation going on in the movie. But it touched closer to reality than most do. And it was a pretty decent movie, too.

      Kudos on mentioning Tron though. :)

    33. Re:zerg by databyss · · Score: 1

      Wargames is awesome!

      "How about a nice game of chess?"

      Tron is definately up there too along with hackers.

      I've never seen Terminal Error before... I'll have to check that one out.

      Sadly, I also liked The Net with Sandra Bullock. Although that might've had something to do with my desire for her love.

      --
      Hmmm witty sig or funny sig? Maybe elitest techy sig!
  4. Dumber Article... by __aaclcg7560 · · Score: 2, Funny

    I thought the overall article was dumber than the six dumb ideas.

    1. Re:Dumber Article... by n.e.watson · · Score: 0, Redundant

      seconded

    2. Re:Dumber Article... by Kaptain+Kruton · · Score: 1

      I don't think he meant that to be funny. I was thinking the same thing and was dead serious.

    3. Re:Dumber Article... by radish · · Score: 3, Insightful

      Agreed - this guy has his head in the clouds.

      One of the points basically comes down to "write perfect code". Well, duh, why didn't I think of that before? Jeez. Patching is bad because your code should have been perfect in the first place? That's the dumbest thing I ever heard.

      His argument that an OS should ask you before running something is also stupid. How many users do you know who would actually read & understand such a question? Never mind actually giving a sensible answer. Lets say I just downloaded some spyware infested screensaver and am installing it. How is asking me "do you want to install this screensaver" going to help anyone? Of course I fricking want to install it, I just went to the trouble of downloading it. What we need is a way to detect that the screensaver is a trojan and warn me that this is a bad thing. And that basically boils down to blacklists and heuristics scanning (or "enumerating badness"). Both of which most decent AntiVirus apps do a pretty good job of.

      --

      ---- Den ene knappen er powerknapp, den andre er Bender voice knapp "Bite My Shiny Metal Ass"

    4. Re:Dumber Article... by hattig · · Score: 3, Interesting

      Whilst I agree that his 'write perfect code' is a bit far reaching, he did point out that decent design beforehand can save a lot of time down the road. Yes, this should be common software engineering methodology, but I'm sure we all know of times when there's a deadline, the boss is angsty and you've got to get something working to keep your job, and a decent design document isn't what he wants to see.

      If we limit the issue down to a corporate network, then refusing to run that infested screensaver because it isn't on the list of {Word, Excel, Outlook, Powerpoint, ...} would probably save an awful lot of hassle in the long run - well, apart from trojans, so you'd probably have to only execute applications with certain hashes rather than names. If the corporate IT infrastructure was well designed (hah!) at all levels then there would be far fewer issues. On the other hand, take Microsoft software - you need to run it in your corporation, yet you have no control over it.

      I bet someone could come up with a Linux distribution that had a database of 'approved' applications (e.g., application name, application path, application MD5) - basically all applications that come on the install - and had a modified kernel that checked that database whenever starting a new process. Hell, it'd make an interesting programming project. In fact, this is something that I would see something like OpenBSD implementing first. You'd also have to do the same for library files of course, and scripts would be an interesting problem - you can run bash or perl for example, but if the script then does unlink on your filesystem because it is bad... you could limit it to only allowing the scripting language to access approved script files (yet another database, and each scripting language would need modification to use this database). As an alternative, possibly the filesystem itself could manage the entire scheme - you can't run something the filesystem refuses to load!

      Of course, in the end with these more positive methods is that it still only takes one bad thing to get past the plethora of security systems you've set up.

    5. Re:Dumber Article... by kcbrown · · Score: 2, Insightful
      What we need is a way to detect that the screensaver is a trojan and warn me that this is a bad thing.

      Well, no. What we need is for programs to have very specific sets of permissions that they operate under. Screensavers, for instance, generally should have permissions to do nothing but write to the screen and (depending on how the screensaver system works) read from the keyboard/mouse. They shouldn't be able to read or write any files, and they shouldn't be able to connect to the network.

      That's the only reasonable way you can prevent trojans in that specific set of circumstances, and that only works for programs that can easily be restricted that way. If the installer itself is compromised then it's all over, because of the capabilities installers generally need in order to do their job.

      In the more general case, there is no good way to prevent a trojan, because a trojan is, quite simply, code the user doesn't want to be executed being piggybacked onto code the user thinks he does.

      The best you can do is minimize the damage, by providing a clean separation between the user who installs the code and the user who executes it, and by limiting the access rights of the user who executes it to a small subset of the system.

      --
      Use 'slashdot stuff' in the subject line in any email you send me if you want to get past the spam filter.
    6. Re:Dumber Article... by einhverfr · · Score: 1

      I bet someone could come up with a Linux distribution that had a database of 'approved' applications (e.g., application name, application path, application MD5) - basically all applications that come on the install - and had a modified kernel that checked that database whenever starting a new process.

      And with the tens of thousands of tracked files, this would do wonders to application launch time.....

      You'd also have to do the same for library files of course, and scripts would be an interesting problem - you can run bash or perl for example, but if the script then does unlink on your filesystem because it is bad... you could limit it to only allowing the scripting language to access approved script files (yet another database, and each scripting language would need modification to use this database). As an alternative, possibly the filesystem itself could manage the entire scheme - you can't run something the filesystem refuses to load!

      Wow, that would be a horrible system to use.

      Personally, I think that SE-Linux provides a better and more extensible security framework that better balances security and usability (or rather allows you to do this).

      Security is not just about preventing the vast majority of problems. It is about setting things up so that the computers, while usable, fail gracefully (i.e. any damage is contained). If you set up a single point of control, especially one as draconian as what you describe, it would only be really useful in limited forms of appliances and probably not in general purpose applications. In essence your system is insecure because it invites users to try to defeat it. Also since MD5 is now attackable, I am not sure what prevents people from padding the application with lots of debugging info to make their new needed app appear on the whitelist..... Similarly viruses could do something similar...... (Even if it takes a lot of computing power to modify the virus, it only has to be done once.)

      --

      LedgerSMB: Open source Accounting/ERP
    7. Re:Dumber Article... by Coryoth · · Score: 1

      One of the points basically comes down to "write perfect code". Well, duh, why didn't I think of that before? Jeez. Patching is bad because your code should have been perfect in the first place? That's the dumbest thing I ever heard.

      There are things you can do to make your code a lot better at the outset, and have a lot more assurance than you can gain by just testing. Would you use statically typed language for security critical software? Most likely you would because static type checking helps catch a lot of small errors, and if you've got a large codebase it can be significant. There are other thangs you can specify about code beyond just staic types and type sgnatures for functions. If you bother to be a little more detailed there are static checking tools that can catch a whole range of other errors. Go for a little more detail in your specification again and you do correctness proofs for critical properties of the code. Yes it's more work, but then if your code is security critical you save a lot of work in testing and patching down the line. A bug/error found after release can be very expensive indeed if it represents a significant security issue, so catching it before hand can well be worth the extra work.

      Is such specification useful for everything? No, no more than static typed languages are a requirement for all projects. The point is that if security is important then the value of errors caught prior to release can easily offset any extra costs in engineering the code. And there's a sliding scale for how much specification you do, everything from static types, through contracts, all the way up to top down design via formal methods - you only need to do as much as you need.

      Jedidiah

    8. Re:Dumber Article... by Anonymous Coward · · Score: 0

      > database of 'approved' applications (e.g., application name, application path, application MD5)

      Windows has supported this since 2000.

    9. Re:Dumber Article... by Anonymous Coward · · Score: 0

      I like the no-execute default permission. The "dumb" users you're talking about would be easily satisfied to let Microsoft, Apple, etc. let them know what are valid programs. After all, his point was that it's easier to keep track of the things you actually want your system to do than to track what you don't.

      For the rest of us, it's not too much different from what we do anyway, right? You're automatically leery of random programs and consciously decide whether or not to run them (I hope.)

    10. Re:Dumber Article... by Krunch · · Score: 5, Informative
      One of the points basically comes down to "write perfect code".
      No, it comes down to "build a perfect design".
      Of course I fricking want to install it
      But maybe you don't want it to connect to the network or touch the filesystem.
      --
      No GNU has been Hurd during the making of this comment.
    11. Re:Dumber Article... by ottffssent · · Score: 2, Insightful

      He's not talking about having the OS ask you if you really wanted to double-click on that icon. "Did you really want to do that" boxes would probably have made the list if he'd made the list a few items longer - they train users to default accept dialog boxes that come up, because they're just in the way and don't actually mean anything. Windows itself does this in numerous places. A dialog box asking if I want to send debug information to Microsoft about an app that just crashed is stupid. Do it, or don't do it, but don't bother users with a dialog box that has no impact on their experience with the OS - it just teaches them to ignore dialogs in the future.

      He's talking about asking the user if you really want the trojan that the screensaver installed to start when you boot your computer next. If the computer properly protected the dozen or so apps you use and asked every time something new ran, people might actually start reading dialog boxes because most of them would contain useful information that will directly impact the user's experience.

      The correct approach is not to try to algorithmically determine what is bad and warn the user about it, as you suggest. The correct approach is to algorithmically detect strangeness, deviations from the norm, that may indicate something wierd is happening. And then ask the user about it - even the dumbest user is better at sorting out new information than the computer.

    12. Re:Dumber Article... by hattig · · Score: 1

      Well that's cool. Maybe more system administrators need to be 'educated' about using this facility on their networks then?

    13. Re:Dumber Article... by An+Onerous+Coward · · Score: 2, Interesting
      If you read it as "write perfect code," then yes, the guy is crazy. But I think the article passed through a dumbification filter before it got to your brain. what I think he's really saying is, "Think about the security implications of new features before you add new features."
      "What we need is a way to detect that the screensaver is a trojan and warn me that this is a bad thing."
      This one makes the Halting Problem look like a walk in the park.

      Whitelisting should work fine, in situations where the user isn't able to add to the whitelist at the click of a button. But even if the user can decide for himself whether to run a program, it would be nice if it were simple for the user to decide what privileges the program should have.

      I don't see anything wrong with the idea, because there is no reason not to add an antivirus scanner into the mix. But the AV scanner alone is only as good as its latest definitions. Even if they're good enough to catch 99% of the bad stuff, you're still left with the glaring fact that the scanner can only protect against threats it knows about. A whitelist will protect against threats both known and unknown.
      --

      You want the truthiness? You can't handle the truthiness!

    14. Re:Dumber Article... by hattig · · Score: 1

      Load in application and calculate MD5 - not much slower than loading in the application on its own.

      Check the details against a database in memory of approved applications - can't that that long now can it, in comparison with the comparitively vast loading time.

      Yes, such a system would be 'horrible to use' if it was your home computer. But I'm talking about a computer provided by a workplace. Bad luck if you can't receive kewl screensavers over IM from lollerkockles696969^^^^ who you've never had any previous with.

      Usability - this depends on your definition. A system is perfectly usable if it allows the employee to do their work without allowing them to have a bout of stupidity. Would I want this at home? of course not, it is my computer!

      However I did read that some Windows applications still require administrator priveleges to run. All your hard configuration work down the drain when your boss tells you that FooSprockets v3 is a necessary program. I suppose you could serve these applications from a secure box via a remote GUI system however.

      I was only using MD5 as an example. You could require that software can only be installed if it is signed by, e.g., your company's IT department. You can limit executable applications to only run out of a few approved locations, regardless of executable flag status. You can then catalogue these applications and ensure that these, and only these applications are ever loaded, and that they are the original versions, etc.

      The point is that the user cannot be given something like the pointless SSL certificate browser warnings that allow a user to click "I don't care, let me in anyway". Default Deny, not Default No.

      Add that to decent user and group management, acls and so on, and you've got another layer of security. Even if an attacker got access they couldn't install and run keyloggers or so on - they could use nano to edit a website page maybe, but then again, on the production website server maybe you should only have the applications necessary to run the website, everything else can be root only (for running vi or nano to edit httpd.conf, etc). This will become an even more popular setup when virtualisation becomes popular - lets get it done right now!

      Now I'm only skimming over the idea, and there are probably issues, but in the end you can let users burn themselves at home, and at least try to keep the corporate network safe from user dumbness.

    15. Re:Dumber Article... by Anonymous Coward · · Score: 0
      NetBSD has this:

      http://www.netbsd.org/guide/en/chap-whatsnew.html# chap-whatsnew-2-0-veriexec
      2.1.6. Verified Exec

      As the name suggests, Verified Exec verifies a cryptographic hash before allowing execution of binaries and scripts.

      This can be used to prevent a system from running binaries or scripts which have been illegally modified or installed. In addition, Verified Exec can also be used to limit the use of script interpreters to authorized scripts only and disallow interactive use.

      See the verifiedexec(4) and veriexecctl(8) manpages for more information.
    16. Re:Dumber Article... by Dwonis · · Score: 1

      Hmm. Do you know of any decent high-level statically-typed languages?

    17. Re:Dumber Article... by einhverfr · · Score: 4, Insightful

      Check the details against a database in memory of approved applications - can't that that long now can it, in comparison with the comparitively vast loading time.

      Just how many applications do you propose to whitelist? I would say that an average Linux desktop would need to plan for at least 10000 entry checks for each application that would start up.

      Now, as for bash scripts or Perl.....

      Are you suggesting that users of the computer should be unable to write their own scripts to automate boring stuff?

      IMO, a better way of doing things is to define a good security perimiter and attempt to balance security with usability on both sides. Then you can aggressively filter what comes through.

      Trying to download that great screensaver from your web browser. Nope... Ain't gonna work. Trying to open that attachment? Not on the approved types. Sorry.

      Note that this is pretty much doable today with current technology. Indeed, I don't see why one cannot arbitrarily decide that users cannot have the executable bit set in their home directories (it is a mount option you know). It certainly makes sense not to allow the suid bit set (another mount option). And this will get you 99% of the way there with only 1% of the management overhead and a lot less computing overhead.....

      --

      LedgerSMB: Open source Accounting/ERP
    18. Re:Dumber Article... by Anonymous Coward · · Score: 0

      One of the points basically comes down to "write perfect code". Well, duh, why didn't I think of that before? Jeez. Patching is bad because your code should have been perfect in the first place? That's the dumbest thing I ever heard.

      Your attitude is exactly why nobody writes secure software, and nobody expects it. It's pretty sad.

      With that attitude, why even try? Why bother? Just "patch" it after one of your users does your work for you (oh, and after you put all your other users at risk).

      It *is* possible to write simple, secure software. Ever use qmail or dnscache? Zero security bugs. I have machines running those programs that have been running flawlessly for *over 2 years* without being touched.

      What it comes down to is, a large number of programmers are simply incompetent, and they like to pretend that writing secure code is "impossible" rather than just "difficult".

      Well, guess what. Going to the moon is "difficult". Building integrated circuits is "difficult". Winning a marathon is "difficult". Yet we do all those things with minimal problems. In fact when you do have a problem with the space shuttle or a design defect in a CPU, it gets on the evening news because it's so rare.

      Microsoft, on the other hand, has a patch release *every month*.

      Is Microsoft incompetent? Are the users idiots? I have no idea. However your attitude makes me quite unhappy, because you just might be writing some code that my business depends on.

    19. Re:Dumber Article... by Jeremi · · Score: 1
      One of the points basically comes down to "write perfect code".


      No, I think it came down to "seriously consider security issues as part of the initial design stage", as opposed to the oft-used alternative of considering them only when forced to (e.g. after deploying the first version of the software and getting hacked). Seems like good advice to me.


      His argument that an OS should ask you before running something is also stupid.


      Perhaps, but an OS where each app had to present to the OS a list of capabilities it wanted permission to use, and the OS and/or user could decide to allow or deny each capability, isn't such a bad idea. For example you might see an OS dialog like "Application NiftyScreenBlanker wants permission to do the following things: (1) install a screen blanker module (2) install a keyboard logging facility (3) Read all files on the hard drive (4) send data to remote network hosts (A)llow (D)eny ?" would be a bit of a tip-off that something is awry...

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    20. Re:Dumber Article... by Dan+Ost · · Score: 1

      I don't think the author meant that patching was bad, I think he was saying that relying on penetration and patching to expose and correct vulnerabilities is bad.

      You can design for security and still make mistakes that need patching. I don't think the author would disagree with that.

      --

      *sigh* back to work...
    21. Re:Dumber Article... by Anonymous Coward · · Score: 0

      I thought the overall article was dumber than the six dumb ideas.

      I concur with you. And specifically, he was so hopelessly wrong in his assertion about "Hacking is cool" being "a dumb idea" that this completely overcomes all of the good points he made elsewhere.

      If he wants a real clue about hacking, he should Google for an Immunologist's opinion on the subject. (Basically, pathogens make us stronger as a species over time.)

    22. Re:Dumber Article... by istartedi · · Score: 1

      His argument that an OS should ask you before running something is also stupid

      OK, I'll bite. When you run the installer for the screen saver, Windows already asks if you want to run an executable. Of course people will click yes on this.

      What's more interesting is what kind of executables the installer writes to your drive. Let's say it asks "do you want me to write fishtank.scr to the hard drive?". Of course you want that. Now let's say it asks "do you want me to write adbot.exe to the hard drive". Bah! No thanks.

      OK, so what's to stop them from putting adbot.exe in fishtank.scr. Nothing. So at this point, we have to have some control over what fishtank.scr can do. By default, applications can do whatever a user can do. Too much power. What if, by default, applications couldn't r/w the hard drive or access the network, or open more than one window?

      So now "fishtank.scr would like to read from the hard drive [ ] allow all [x] limit access to a directory you specify"

      "fishtank.scr would like to access the network, do you wish to allow this [ ] yes [x] no"

      So the screensaver full of crap wouldn't work by default. The user might ask questions like "why won't this thing work without arbitrary hard drive access and network capability, I thought all it would do was show an animated fishtank?"

      Doesn't that seem just a trifle bit better than the way things are now? How hard would it be to hook into calls that access the file system and the network to do this, and control access based on process id? Not too hard, and it seems like a pretty good idea.

      --
      For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
    23. Re:Dumber Article... by hattig · · Score: 2, Interesting

      I don't think you get who I am defining as a user in this case.

      Not you. Not me.

      I'm talking about your average office person that uses Word, Excel, Powerpoint, maybe a couple of other applications. The people that can barely operate a computer beyond what their job entails. People that are the number one cause of the propogation of worms and viruses and spyware because they click Yes on everything that pops up, because it is a computer, and computers are giant brains that know everything. Okay, I exaggerate, but you must get my point?

      Mac OS X has Automator. Let them use something like that to automate tasks.

      You are a big proponent of sticking all the security at one location, however I believe that security should be everywhere.

      You can bypass the noexec mount option by running ldlinux.so directly with the application name.

    24. Re:Dumber Article... by Anonymous Coward · · Score: 0

      Your attitude is exactly why nobody writes secure software, and nobody expects it.

      Some people do. There are some industries where the code MUST be flawless, and somehow the job gets done.

      The reason most people don't is because it's really expensive. When given a choice between crap for $10 and perfection for $1000, nearly everyone will buy the crap. This also holds for free software; instead of money you pay time and effort and reap attention and helpers.

      It reminds me of "Worse is Better"... It's possible to do things right, but the wrong way will be more successful.

    25. Re:Dumber Article... by the+narf · · Score: 1
      But Mac OS X does this EXACT thing! If you run an application that has never been run before on that computer (or has been updated, even by one of Apple's security updates), the OS asks you if you really want to do it, and also says why it's asking you.

      I tend to agree with the original author that all the bloated blacklists and enumerated badness in the world won't help in the long run. Think about this in your personal life. If you're out and about and someone comes up to you and asks you a question on the street, do you mentally run through a list of "Known Criminals" before you decide whether to give this person the time of day? No. You make an instant evaluation based on a number of factors -- some likely stereotypical, some not -- and come to a speak/no speak/walk away quickly/RUN decision.

      At least that's what I end up doing -- usually without conscious thought.

    26. Re:Dumber Article... by 10101001+10101001 · · Score: 2, Interesting

      I'd like to counter your arguments.

      One of the points basically comes down to "write perfect code".

      I'd say his argument is closer to "don't write in C". Primarily exploits like buffer overflows are a resulting of using C. Now, as you point out, if one wrote perfect code, then using C would be fine. But clearly people don't write perfect code. So, the next best thing is to use a language that is designed to handle a lot of the problems that are experienced in incorrectly using C.

      Of course, there's nothing about using Java or another language that makes your system immune from attack. But Java/Lisp/another high level language, design-by-contract, and checks for overflows (or using a language where overflows basically can't occur) would go a long way to turning exploits into loggable DOS attacks. The best way to design well is to use tools geared toward that end. Sadly, C isn't one of them.

      His argument that an OS should ask you before running something is also stupid. How many users do you know who would actually read & understand such a question? Never mind actually giving a sensible answer.

      Few. But the users he's primarily talking about are those on company workstations/desktops, not home users. In such an environment it makes perfect sense to lock down the system and give the IT department the control on whether a user can run programs. To that end, the user never has to give a sensible answer. They just need to have their IT staff "do the right thing". The fact that no OS seems to support such well isn't a good thing (Linux sort of supports it, but you have to go through hoops to set it up).

      Now, what about the home user? The fact is, while most home users are incapable of knowing whether something is "good" or "bad", there's nothing to stop the OS from figuring out if a program was installed properly and only allowing such to run. Further, there's nothing stopping the OS from setting to so it's trivial to block a program from running ever; imagine, for example, being able to easily keep MSN Messenger from loading. The fact is, modern OSs are a long way from allowing the sort of fine-grain control over program behavior. Zonealarm seems a great example of a step in the right direction, allowing independent blocking of in/out network traffic.

      Users might know very little of how to do "the right thing", but that doesn't mean the OS can't do a lot on its own. Nor does it mean that the user can't try and succeed a lot of the time. Of course, don't be surprised when you'll have to reenable Java for granny after you disabled it one day because of an annoying web ad but the next can't get a web game to work. Of course, the real answer then is more granular control. And of course, as was stated, the opt-in, not opt-out mentality so that granny never had to disable the web ad in the first place, but instead she's the one who enabled support for the web game.

      --
      Eurohacker European paranoia, gun rights, and h
    27. Re:Dumber Article... by jmorris42 · · Score: 1

      > Yes, this should be common software engineering methodology, but I'm
      > sure we all know of times when there's a deadline, the boss is angsty
      > and you've got to get something working to keep your job, and a decent
      > design document isn't what he wants to see.

      And as long as customers are willing to pay for crappy code produced under those conditions we will continue to be up to our arses in it.

      We need to be demanding the same quality from Software Engineering as we do from the other branches of Engineering. And the only way to get there is through liability. When a bridge falls down there is a price to pay for it, when IE takes out half the desktops on planet earth there currently isn't a price. Change that and watch quality go up. And of course the rate of release drop down. But then I'd much prefer a browser that is boring but safe instead of exciting and buggy as a roach motel.

      --
      Democrat delenda est
    28. Re:Dumber Article... by arminw · · Score: 1

      ..... Of course I fricking want to install it,.....

      In business or school environment and even in a home, a computer knowledgeable person should, as administrator, PREVENT any of the ordinary users (secretaries, students, kids) from installing *anything* executeable. The computer OS should be set up such that code not resident in certain safe directories simply cannot be loaded or run. In *NIX type system this can be done readily.

      In Windows doing this requires a lot of work and knowhow and in some case is impossible because some programs needed by certain users will simply not run or malfunction in some manner unless the user has administrative rights. On a Mac or other *NIX founded systems, no normally needed computer function needs root or administrative permissions.

      If the programs that presently require the user to have admin status will also still need that under the new Vista OS from MS, then there will be no net increase of security and users may as well stick with XP wherein the patches have been patched for a good while already. I hope MS will throw backward compatibility out if that means that the majority of Visa users will still have to run with admin privileges.

      Social engineering to get users to do dumb stuff only works if the users CAN do dumb things.

      --
      All theory is gray
    29. Re:Dumber Article... by Coryoth · · Score: 1

      The tools and methods are getting better though, and these days you can do some level of formal specification, signifiantly reducing bugs, for little extra cost - most of the extra costs that may be occurred at design and coding time get saved in the testing and debugging phase. Formal specification can work for a great many projects. Sure, some things don't require it, but if e're talking about software where security is a concern then these days the extra cost is neglible when compared with cost of maintenance and patching for something that didn't go to the trouble.

      Jedidiah.

    30. Re:Dumber Article... by Mortlath · · Score: 1
      Well, no. What we need is for programs to have very specific sets of permissions that they operate under. Screensavers, for instance, generally should have permissions to do nothing but write to the screen and (depending on how the screensaver system works) read from the keyboard/mouse. They shouldn't be able to read or write any files, and they shouldn't be able to connect to the network.

      What if the user wants a screensaver that downloads new pictures to display from the internet?

      The problem is that definitions of what a program can/should do change often.

    31. Re:Dumber Article... by arminw · · Score: 1

      .....even the dumbest user is better at sorting out new information...

      It is not a question of dumbness, at least it should not be. Ordinary users in an enterprise or school should not be allowed to install and run any code that was not installed by the administration which presumeably knows more than most users. In those environments, who needs a cool new screensaver anyway? Even in a home, parents can keep the admin status to themselves and thereby limit kids from screwing up the computer every week or getting a summons from the *aa.

      --
      All theory is gray
    32. Re:Dumber Article... by dubl-u · · Score: 1

      One of the points basically comes down to "write perfect code". Well, duh, why didn't I think of that before? Jeez. Patching is bad because your code should have been perfect in the first place? That's the dumbest thing I ever heard.

      You completely missed his point.

      He's saying that regular patching to fix security holes is a symptom of a flaw in your design process. If you've designed for security from the beginning, your security patches should be few and far between. He even gives examples of programs that don't have this problem: Postfix and Qmail.

      The problem he's pointing at isn't the occasional patch; it's the attitude that regular security patching is the only way, or even a good way, to deal with security flaws.

    33. Re:Dumber Article... by Pxtl · · Score: 1

      You don't even have to get into the cyclopean horror of Java or C# to get those features. C++ has all sorts of facilities for safe code, and if you don't like those that are included the object model is detailed enough to create new ones. I think the fact that Java and C# cought on was less due to the failures of C++ and more due to the fact that Java had a more complete standard library, and C++ was plagued with coders who treated it as a C-with-objects, rather than a new language that happened to be backwards-compatible with C.

    34. Re:Dumber Article... by einhverfr · · Score: 2, Interesting


      I'm talking about your average office person that uses Word, Excel, Powerpoint, maybe a couple of other applications. The people that can barely operate a computer beyond what their job entails. People that are the number one cause of the propogation of worms and viruses and spyware because they click Yes on everything that pops up, because it is a computer, and computers are giant brains that know everything. Okay, I exaggerate, but you must get my point?


      Ok, then substitute macros in office documents for Perl/Bash scripts.

      The best goal of security, IMO, is to prevent what can be prevented without impinging on operations and contain the rest of the damage. It is not that you *cannot* prevent the occasional incident, but rather that preventing the occasional incident is far more costly in some cases (viruses on Windows for example) than managing the damage.

      Sure Linux is better. In that case we can substitute Python macros in Gnumeric....

      But you still have some of the issues. Unless your system focuses heavily on damage containment, the security will be brittle and when someone does succeed in breaking in the damage will be very serious. This is what the article misses BTW (and what is generally wrong with the way people use firewalls).

      --

      LedgerSMB: Open source Accounting/ERP
    35. Re:Dumber Article... by Anonymous Coward · · Score: 0

      Just how many applications do you propose to whitelist? I would say that an average Linux desktop would need to plan for at least 10000 entry checks for each application that would start up.

      The author doesn't go as far as he should in the discussion about default permit. Permission checks should not be done at the application level, but at the individual object level. Neither users nor "good" applications should be able to access system level objects by default, and even more strictly, applications invoked by a user should not have access to all user-owned objects, but only to those the user specifies when invoking the application. Capability systems are the only system that can handle these kind of fine-grained permissions elagently.

            In a properly implemented capability system (look up Keykos and Eros), the only way to access an object is to hold a key, or reference to that object. Keys can't be created, only granted by an application already holding the key and the right to grant the key. In Unix, this would be equivalent to having the named filesystem (including inodes) calls inaccessible, but letting processes inherit its parent's file descriptors.

    36. Re:Dumber Article... by Anonymous Coward · · Score: 0

      No, it comes down to "build a perfect design".

      More accurately, it comes down to "build a proven design." Using a strongly typed purely functional programming language implies correctness insofar as types and functions relate to objects and actions in the real world. For most applications, this is more than enough.

    37. Re:Dumber Article... by deaddrunk · · Score: 1

      If bridges were built like software projects you would get this:

      You estimate the bridge will take 3 years to build; management say that's not acceptable you've got a year;
      The bridge takes 5 years to build and the road is full of holes;
      The first time a car falls through one of those holes, ramps are built to allow the cars to leap over them.

      Don't blame the engineers as much as the shoddy processes and the idea that good software can be knocked up in a weekend.

      --
      Does a Christian soccer team even need a goalkeeper?
    38. Re:Dumber Article... by FooBarWidget · · Score: 1

      What if the user wants to install third party apps? You can't possibly whitelist all "good" apps out there.

    39. Re:Dumber Article... by StrawberryFrog · · Score: 1

      they train users to default accept dialog boxes that come up, because they're just in the way and don't actually mean anything

      It's context really. if I've just installed Norton firewall, I'd expect it to ask me about each and every network application that I run, and I'd expect to tell it "always allow network" for all of them.

      If I've just installed a new version of firefox, I'd expect to have to do the "always allow" once.

      If the dialog comes up out of the blue, it's unpexpected and worthy of attention. Maybe I just haven't run that app since putting in the firewall, maybe it's something more serious.

      --

      My Karma: ran over your Dogma
      StrawberryFrog

    40. Re:Dumber Article... by wild_berry · · Score: 1

      >>One of the points basically comes down to "write perfect code".

      >I'd say his argument is closer to "don't write in C".


      Isn't there another paraphrase, which the author uses elsewhere: take the time to do it well first time round.

      A lot of the 'opt-in' approach requires systematic meta-data and good documentation to allow meaningful interaction between OLE components and meaningful commentary for the user.

    41. Re:Dumber Article... by Taladar · · Score: 1

      Then it fails, the admin checks wether it needs additional rights and what rights and adds those right (and only those rights). Still much better security than "default permit all" or "click here to allow program x to do y"

    42. Re:Dumber Article... by Taladar · · Score: 1

      The problem with statically typed languages is usually that they don't encourage (understatement) refactoring when it would be necessary due to initial design errors. The advantages of static typing are few compared to typechecks when appropriate in dynamically typed languages (close to the code that actually uses the value, not everywhere where it is just passed on). Of course you might be talking about weakly vs. strongly typed languages. Here I agree that the latter are much better for large projects.

    43. Re:Dumber Article... by Taladar · · Score: 1

      I believe he also tried to say: Remove code that does more bad than good. Good examples are the Office macros or hidden file extensions or even clickable (executable) attachments, not to mention auto-executing code in emails.

    44. Re:Dumber Article... by Tassach · · Score: 1
      No, it comes down to "build a perfect design".
      No, it comes down to "build a fault-tolerant design that has graceful and predictable failure modes". You are never going to prevent all failures. Every engineering discipline except software engineering has learned this lesson. Warplanes have redundant systems and ejection seats, ships have multiple watertight compartments and lifeboats, nuclear power plants have containment vessels and scram switches, and so on. The common theme here is containment and mitigation of failures, not the prevention of them.
      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    45. Re:Dumber Article... by pete_norm · · Score: 1

      In most well designed environment i know, normal user have absolutely no rights (technically and administratively) to install any third party software. Everything that goes on the network has to be approved by the "Computer guys" AND installed by them. That makes it somewhat easier to create a whitelist

    46. Re:Dumber Article... by FooBarWidget · · Score: 1

      You're talking about the corporate desktop. What about the home desktop?

    47. Re:Dumber Article... by Coryoth · · Score: 1

      Static typing allows static checking, and allows you to reason about information flow, dynamic typing allows only runtime checking and doesn't allow you to reason about the code, thus it tends to rely on testing (runtime checking) which can only cover a sampling of specific cases as opposed to being able to reason about the general case. If you want to be sure, static types are better. Strong dynamic types have their value too of course, especially in research or prototyping code where its beneficial to be more flexible about your data structures. I wouldn't reccommend it for security critical code though - for that you are supposed to be implementing a more finalised design (sure, you can research and protoype that in a dynamic language, but the final product should probably use static types).

      Jedidiah.

    48. Re:Dumber Article... by _LMark · · Score: 0

      It is not necessary to whitelist every possible "trusted" application for it to be useful and effective, especially if you are writing your own code. Rules for the whitelist would suffice.

      One possible example would be that anything that you write locally is automatically added to a your personal list (which could still present problems if the system is able to save/modify code without alerting you).

      It seems that if you're competent enough to write your own scripts, you should be able to verify new apps as they open the first time and if not, be responsible when you get hosed.

      --
      'the Internet is right.'
    49. Re:Dumber Article... by Sylver+Dragon · · Score: 1

      On a corporate network? No, bugger off!
      Now that you know where you are starting, why do you want said application? Is it for work related purposes? Has it been requested/approved by your manager?
      If you can get through those questions without resorting to hazy answers, then IT should look at it and determine if it's safe to run on the network. If it is, Then they can install it and white list it. Otherwise, as said before: No, bugger off!

      --
      Necessity is the mother of invention.
      Laziness is the father.
    50. Re:Dumber Article... by einhverfr · · Score: 1


      The author doesn't go as far as he should in the discussion about default permit. Permission checks should not be done at the application level, but at the individual object level. Neither users nor "good" applications should be able to access system level objects by default, and even more strictly, applications invoked by a user should not have access to all user-owned objects, but only to those the user specifies when invoking the application.


      You have just described SE-Linux quite well, I think....

      --

      LedgerSMB: Open source Accounting/ERP
    51. Re:Dumber Article... by FooBarWidget · · Score: 1

      No, on a home desktop. How can you prevent grandma from installing viruses while allowing her to install Home Garden 2.0?

    52. Re:Dumber Article... by GileadGreene · · Score: 1

      Well, OCaml and Haskell for starters.

    53. Re:Dumber Article... by Sylver+Dragon · · Score: 1

      Honestly, on a Windows box, you're pretty well screwed. Under a limited account, some apps are smart enough to ask for an administrator account to do it as, but that may not be the case with what she wants to install.
      You're better off switching her over to a Mac, assuming that the program, or an equivilent, exists for Mac. From what little support experience I have had with one, you have an install password to put something on there, so it limits the ability of viruses, etc. to get in (I support a dozen windows servers and about 75 desktops. I've only recently had to do any support on a Mac, so take my word with a huge grain of salt). Though, a user who is able to install software is still a user able to install malware, so you would still want to check in from time to time.
      And, because this is slashdot, have you considered switching her over to the almighty Linux?

      --
      Necessity is the mother of invention.
      Laziness is the father.
    54. Re:Dumber Article... by FooBarWidget · · Score: 1

      I'm not talking about my grandma. I'm talking about the hypothetic Average User Grandma that everybody's talking about.

    55. Re:Dumber Article... by Sylver+Dragon · · Score: 1

      Sorry, wrote that while I was still trying to get my first cup of coffee (Don't you love getting accosted before you get to your desk?). Though, the ideas should work, in general. A Windows box is just inherently permissive, with a toggle switch to sort of locked down. I do seem to recall that some software is smart enough to ask for an administrator account to install, if the user is a limited account in XP, but I think this is something done by the creator of the installer, and not by XP itself.
      Honestly, the more I work with Windows, the less I see it as a viable option for average users. I'm not saying that Linux is some panacea for the home user problems, nor is a Mac. However, both Linux and Mac seem to be better oriented towards keeping a box safe, and for a home user who does little more than surf the web and run one or two applications, it may be the better way to go. Maybe, eventually, either of those will be the best way to go for gaming, but at the moment, Windows still seems to have that locked up out of inertia. Wine is great, but I would rather not jump through hoops just to get a new game running. I would love to see a Linux client for games become a normal occuance, not a notable exception.

      --
      Necessity is the mother of invention.
      Laziness is the father.
  5. A much bigger problem by a_greer2005 · · Score: 5, Insightful
    is the unpatched laptops that are fine while in the cacoon of the company LAN/WAN/VPN, but are all too often connected directly to the net by workers who take them home or road warriors who get on the net the second they hit the hotel room.

    These people get the crap and then bring it into the cacoon, thus negating the hundreds of thousands of dollars of security infrastructure

    1. Re:A much bigger problem by Lehk228 · · Score: 1

      perhapse some money could be made in integrating a single port NAT firewall into the network card of the laptop.

      --
      Snowden and Manning are heroes.
    2. Re:A much bigger problem by dhasenan · · Score: 2, Informative

      Or use a wireless network for the laptops, going through a separate server, and put extremely restrictive firewalls on that server.

      It's not as fancy, but it works. Just use decent encryption.

    3. Re:A much bigger problem by kg_o.O · · Score: 1

      Riiiiight. As that would make users less dumb. A laptop is a computer, and all 'safety' rules apply to it, as to any other machine. A computer's safety is equal to its user's awareness, that's all that is to it.

    4. Re:A much bigger problem by tiny69 · · Score: 1
      Then you need to spend more money to secure the laptops. They should have a minimum of a host-based firewall and a VPN that is used to connect while on the road.

      You also need a poilcy (THAT'S ENFORCED), that all laptops being plugged into the network need to have a vulnerability scanner and virus scanner run against them first. It sounds draconian and the users will hate it, but the policy HAS to be followed to keep the internal network secure.

      Oh, and don't give the luzer's Admin access. No matter what. The first thing they do is disable any security settings or security programs that they think might get in the way.

      Laptops are an easy backdoor to bypassing a network's security. Draconian measures are really the only solution. Do you think you can trust the users to do the right thing? I've seen the above measures successfully implemented. The users hate it at first. But they eventually get over it.

      --
      Go not unto/. for advice, for you will be told both yea and nay (but have nothing to do with the question)
    5. Re:A much bigger problem by aklix · · Score: 1

      Well here, we always say we need to educate users. What is this? Let's see, what I've heard is "use a firewall" "always install spyware/antivirus". Well what if you just add some low profile software to the machine computer to make sure those are varified.

      This idea can be extended, but if the user can't do it themselves, give them help.

    6. Re:A much bigger problem by Anonymous Coward · · Score: 0

      I'm not seeing where that's a problem, unless your company's LAN is really shoddily set up. Hosts on the LAN side of the network shouldn't be talking to each other unless they need to do so; any crapware they have installed shouldn't be able to spread beyond them in the whole first place.

    7. Re:A much bigger problem by HermanAB · · Score: 1

      Yup, port to port security goes a long way, but there are exploits that flood the router ARP tables, causing them to drop back to a simpler mode which then breaks the security.

      --
      Oh well, what the hell...
    8. Re:A much bigger problem by Johnny+Mnemonic · · Score: 5, Interesting

      We give our users Mac laptops, which largely corrects this issue.

      --

      --
      $tar -xvf .sig.tar
    9. Re:A much bigger problem by Anonymous Coward · · Score: 0

      Good point, just one thing: it's cocoon.

      That's all.

    10. Re:A much bigger problem by Jetifi · · Score: 2, Interesting

      Yep, that's because companies spend too much time and money on border security (company firewalls, email filters etc.), while creating SPOF's in trying to minimize maintenence and admin budgets while forgetting that defense in depth is far, far more effective.

      Given that users today like to use a variety of tools that use far more ports than just 80 and 25, it's more sensible to have protection at multiple levels: vlan, proxy, mail server, software firewalls, and AV/IDS from top to bottom, updated in as close to real-time as you can get.

      The architecture proposed in this article goes to the opposite extreme, eliminating the DMZ and striving to minimize the need for a corporate firewall. I think it goes a little too far, but he's definitely got some good ideas.

      (Also, in their defense, the road warriors are normally the salesmen keeping the company afloat :-)

    11. Re:A much bigger problem by Anonymous Coward · · Score: 0

      cacoon? caca.

    12. Re:A much bigger problem by Glyphn · · Score: 1
      Oh, and don't give the luzer's Admin access. No matter what. The first thing they do is disable any security settings or security programs that they think might get in the way.

      Being a luzer myself I always find this talk interesting. In my company, typically, every time IT goes through some sort of major upgrade every system gets locked down (admin privledges stripped, etc). Within a couple of months, the local support groups start unlocking the machines, first to those who seem to be least likely to screw the system up, and then finally to anyone who finds themselves inconvenienced and vocal. I'm not saying this is good policy, just that I've seen this game play out this way a number of times.

      From the luzers perspective, I think one of the problems is that, ultimately, IT doesn't directly make the company money. IT is a service org--no different from physical facilities or grounds crew. They make it possible for a company to function or, by incompetence or tenacity, they actively prevent such from happening. Or to put it differently, the luzers see themselves as performing the tasks that make the products (or provide external services) that ultimately make the company money. Maybe that explains some of the attitude difference.

      In any case, I'm sure it's possible to secure a system and still allow work to be done, and I'm sure you can tell me how incompetent IT is at my company, and hey, you may be right. What do I know? All I can tell you is that what I have seen are systems locked down so tightly that only basic, common apps like MS products run and where real work is impeded. And I have to wonder if this constitutes a real improvement for a company?

    13. Re:A much bigger problem by tomem · · Score: 1

      Naah. Makes too much sense. Not macho enough. What fun is that?

      I run a Mac laptop as my everyday desktop machine, and it goes with me wherever I go. No problem with malware at all.

      Of course, such a laptop ought to be relatively secure, since it usually is on DHCP and has no stable IP address. If one avoids playing with junk attachments, it should be safe, even if it's not a Mac, shouldn't it?

      --
      ThosEM
    14. Re:A much bigger problem by cpeterso · · Score: 1


      I think a bigger risk than corporate laptops on hotel networks is corporate laptops on wide-open wifi networks at places like Starbucks.

    15. Re:A much bigger problem by MightyYar · · Score: 3, Interesting
      I'm a luzer as well, and I frankly find IT's antics pretty entertaining. They have a mixed environment of Win95-WinXP running on everything from crap 90MHz machines up through the latest-and-greatest.

      My first frustration with them started when they put up the internet content filter. This I had to bypass by turning on my apache proxy at home and accessing the internet through my home machine (using ssh, of course). The local helpdesk guy just rolled his eyes at me when I showed him playboy.com. I wasn't just being a pain, though - they had the filter tuned so tightly that even some of our vendor websites were filtered.

      The next thing they did was run this horrid agent via the login script that lets them do whatever they want. On the surface, it seemed okay because they were just using it to make sure your machine was patched and running the latest anti-virus. However, it seemed to crash or seriously effect the performance of most machines that were still running 95 or 98. Their solution? Put 2000 on all of those machines. Ever run 2000 on a 200 MHz machine with 32-64MB of RAM with Norton running? Unusable. So, I figured out that you could easily trip up their startup script by strategically placing a single text file. The IT guys know this and leave me alone, and in fact refer people to me (with a wink and nod) when they have this problem. :)

      Password management is a disaster. If you use Outlook or webmail, occasionally you might get a warning that your password will expire in n days. One of the options is to change your password. Almost everyone does. Uh-oh, now you can't log in to the network... why? I don't pretend to know. All I know is that you must make the password change when you first log in to windows and never when prompted after login. I'd ridicule the people that haven't grasped this - but really, they are just following directions, aren't they?

      What is next? I don't know, but there is a reason that us Luzers find the IT management to be an obstacle rather than a help.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    16. Re:A much bigger problem by Zerbey · · Score: 1

      Then why aren't you securing their laptops? It's quite simple to set some policies that lock out the user from doing anything stupid, install a sane web browser (you know the ones I'm talking about), install a firewall and configure the thing to get automatic updates (which means anti-virus, anti-spyware and OS patches). Do it once, build an image, deploy the image to every new laptop you get. Job done.

    17. Re:A much bigger problem by mr_z_beeblebrox · · Score: 3, Informative

      thus negating the hundreds of thousands of dollars of security infrastructure

      They didn't negate it. The stateful firewall still stopped traffic at it's border etc... What they did was expose the lack of hours spent planning the security. here is what I do and you are free to do it, improve it or ignore it (that makes it free). In my company every network jack that does not have a direct attached device on it is plugged into a bank of switches that are seperated from my network by a pixfirewall. The firewall has rules that allow basis e-mail, web and specific application data to go accross. Most traffic is denied. If anyone plugs a laptop in they are able to do those things but are unable to do Windows file share, domain login etc... If they need to use those I have to be given control of the box and it does not leave the building.

    18. Re:A much bigger problem by raddan · · Score: 1

      When our laptop users come home, they're still outside out network. That is, the jacks in their offices don't lead to the internal network, but to a firewall. If they want to use internal services, they must use a VPN, and then only certain traffic is allowed through. It's not a perfect solution, but it mitigates a lot of problems. Laptop users coming back home used to be our #1 vector for infection.

    19. Re:A much bigger problem by Spoing · · Score: 1
      is the unpatched laptops that are fine while in the cacoon of the company LAN/WAN/VPN, but are all too often connected directly to the net by workers who take them home or road warriors who get on the net the second they hit the hotel room.

      Don't trust any system that you don't control. Treat that part of the network as you would the rest of the Internet or other external networks you do not control. Much less heartache that way.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    20. Re:A much bigger problem by Spoing · · Score: 1
      When our laptop users come home, they're still outside out network.

      Ah! Someone who gets it. Still, 80% of the comments to this thread are from people who think that they can control what they do not have physical control over.

      I really hope these people aren't admins...though I know a few that act exactly like them and are stunned when I call them on it.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    21. Re:A much bigger problem by caller9 · · Score: 1

      He didn't mention eggshell security. "Hard and crunchy on the outside, and soft on the inside." AKA knight in armor vs dragon.

      That is what parent was talking about, bringing botulism into the egg via needle or...whatever.

      The solutions are many and varied. One solution is configuring extended ACLs (or whatever your vendor calls it) on internal VLAN routers to at least compartmentalize traffic. Could stop sasser or others that rely on access to client PCs. Sure you still lose a VLAN but overall, that's not so bad as the entire LAN. Hopefully you aren't a victim of the patch problem and are secure before it's exploited (at least on the servers, c'mon.)

      Bad idea or not, it's better than crossing your fingers and hoping MS turns into a group of elite super coders, able to anticipate exploits before they happen and intuitively test the millions of hacks they used to make part X talk to part Y. Impossible due to permutations, but these guys are imbued with all of the genius of past experience and market dominance...right?

      His default deny on code execution sounds cool until you think of the myriad holes. Are the initally launched program and its forks trusted? How compartmentalized is a functional javascript/flash/vbscript app inside a browser before it's restricted to eye candy only? How do you verify that a program is what it says it is? SHA3 hashes stored on read only devices only updatable by super users or universal signing? Think of the admin overhead on that. Oh, I've visited this new business-critical website and they've changed their certificate like they do every year or two. Can you fix it on 80 computers yesterday? Multiply by 1000.

      Block port 25 outbound to the internet at least and host your own email..damnit. Of course, allow 25 for in/out of the MTA. Do it for me.

      My favorite quote, source unknown, is "When things go bad, don't go with them."

      Still doesn't stop a flawed SMB implementation from accessing an "everyone" share and erasing it when they have permission via ACLs. It will stop a sasser from hitting lsass on non-server machines outside of their VLAN. Hope those servers are patched(dumb idea but needed as of 9/2005).

    22. Re:A much bigger problem by mortonda · · Score: 1

      and what if they have an email worm that your virus scanner doesn't pick up on yet? Oops!

    23. Re:A much bigger problem by fabu10u$ · · Score: 1
      In my company every network jack that does not have a direct attached device on it is plugged into a bank of switches that are seperated from my network by a pixfirewall. The firewall has rules that allow basis e-mail, web and specific application data to go accross. Most traffic is denied. If anyone plugs a laptop in they are able to do those things but are unable to do Windows file share, domain login etc... If they need to use those I have to be given control of the box and it does not leave the building.
      And when they're not impressed with your rules they don't just unplug a PC and plug the laptop in there instead?
      --
      They say the mind is the first thing to ... uh, what's that saying again?
    24. Re:A much bigger problem by whm · · Score: 1

      Yes, but what if they turn it on by accident?

    25. Re:A much bigger problem by Creepy+Crawler · · Score: 2, Interesting

      Comments by people (like you) who post worthwile content is why I'm still here.

      It really is neat-o when I read about personal stories about hell-desk or being that "luzer" (when we know you arent... luzers dont even know what ssh is).

      Thanks. (no, this isnt satire, I really am pleased that slashdot can still generate what it originally did years ago.. real people commenting about their problems.)

      --
    26. Re:A much bigger problem by The+Clockwork+Troll · · Score: 1

      ... or run Virtual PC?

      --

      There are no karma whores, only moderation johns
    27. Re:A much bigger problem by Rainer · · Score: 1

      It will "just work".
      Which means people will have to "just work", too.
      Which is the reason why people don't like it.

    28. Re:A much bigger problem by Seahawk · · Score: 1

      No - that is not "correcting the issue"

      That is fooling yourselves!

      Just because you use a platform that does not have so many exploits does not mean that the issue is corrected. Its basicly a for of security by obscurity.

    29. Re:A much bigger problem by RollingThunder · · Score: 2, Insightful

      Actually, if his points were implemented properly on those laptops, then they wouldn't be capable of being carriers of infection.

      As well, any network that can get completely owned by a road warrior is inherently brittle. It needs more defense in depth.

    30. Re:A much bigger problem by Cody+Hatch · · Score: 1

      That's easy enough if you care; use a fully switched network, keep a record of "authorized" desktop MAC addresses, and use port level security so that every port will only talk to the "expected" MAC address. In other words, any given port will work with the expected desktop only, anything else is locked out. This is actually a good idea for all sorts of reasons, but would certainly solve your issue. (Of course, the user could spoof the MAC address, but this is probably far beyond the abilities of most users.) Keeping the system running smoothing would be a pain until you trained everyone to notify the network admins whenever people changed offices, but that shouldn't be too difficult.

      Hmm, ideally you could do some really nifty stuff by sorting packets dynamically onto different (firewalled) networks based on MAC address. Keep a list of trusted desktops (which go onto the "real" network), semi-trusted laptops (which go onto a special firewalled network). Anything else gets locked down so all they can access is a webserver with contact details for the net admin. :-) (Wouldn't surprise me if there was an off-the-shelf solution that did this, actually, but if so I haven't heard of it.)

        and useat the switch layer and only

    31. Re:A much bigger problem by mr_z_beeblebrox · · Score: 1

      And when they're not impressed with your rules they don't just unplug a PC and plug the laptop in there instead?

      That has yet to happen, but that is an issue addressed by policy. Policy and technology should go hand in hand. Also, as a lean company all PCs tend to be in use. But yes, you expose a potential flaw. The point though is that with 40 laptops walking in and out, if one person (or 2 or 3) is doing that I am still much better protected than if I did not. You seem to imply that if there is a way to get around security you should simply not have any.

    32. Re:A much bigger problem by SmittyTheBold · · Score: 1

      DHCP doesn't come even close to protecting you from worms and other things that propogate by initializing their own outgoing network connections. Usually they spam random IPs and their local subnet in an attempt to infect all available machines - and a DHCP address is just as valid as a static one.

      Many such public connections are behind a NAT/router, but that doesn't protect you from other machines that are on the same network.

      --
      ± 29 dB
    33. Re:A much bigger problem by hey! · · Score: 4, Interesting

      I'm a luzer as well, and I frankly find IT's antics pretty entertaining. They have a mixed environment of Win95-WinXP running on everything from crap 90MHz machines up through the latest-and-greatest.

      [snip]

      Their solution? Put 2000 on all of those machines. Ever run 2000 on a 200 MHz machine with 32-64MB of RAM with Norton running?


      Well, if you read between the lines here, it's clear that at least one reason that your IT department does stupid things is because there isn't a proper capital budget for replacing old machines. In fact I'd bet they don't have a proper operating budget either. It's typical enough: not enough resources to prevent problems, barely enough resources to mount a pantomime of a response to them when they arise. The only thing you'd need to get a perfect trifecta of dysfunctional management is a culture of scapegoating masquerading as "accountability".

      The typical game plan:

      (1) Willful ignorance
      (2) Wishful thinking
      (3) Make a show of responding
      (4) Look for somebody to blame.

      IT is overhead, and overhead is the devil when you run a company. That means in a well run company you seldom can expect everything you might wish for. But you can't just wish overhead away: you have to be smart enough to know when spending less on one piece of overhead means you spend more in ten other plances. Sounds like your senior management fails this test.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    34. Re:A much bigger problem by Anonymous Coward · · Score: 0

      > We give our users Mac laptops, which largely corrects this issue. The users?

    35. Re:A much bigger problem by tomem · · Score: 1

      Admittedly, I have no experience carrying a PC laptop around and connecting it here and there.

      --
      ThosEM
    36. Re:A much bigger problem by Sigma+7 · · Score: 1
      No - that is not "correcting the issue"


      The keyword that you omitted is "largly".

      This acknowledges that there is still a vulnerability, but is minimized because there is a lesser chance of an exploit being run in the first place.

      The reason Windows is much more vulnerable is more copies are configured by default to auto-execute or auto-install stuff that is not considered trustworthy. While this is somewhat fixed in SP2, it's rather minimalistic as most major web-browsers are still designed by default to auto-execute untrusted code (e.g. Macromedia Flash.)

      At least with the MAC, there is much less of a worry about the random junk that normally appears. It will hold right until the first major Mac worm comes out (and any application that doesn't fix their auto-execute exploits by then isn't worth running anyway.)
    37. Re:A much bigger problem by orasio · · Score: 1

      You mean this shitty cacoon is made of caca? yuk!

    38. Re:A much bigger problem by Anonymous Coward · · Score: 0

      This is the reason all IT dept. should be run as profit centers IMO. Charge all departments for the services provided to them and make all capital expenditures come from their individual budgets. That helps people get a clue of what things cost to implement/maintain their infrastructure alot better than pretty TCO/ROI charts in my experience.

    39. Re:A much bigger problem by Anonymous Coward · · Score: 0

      The IT guys know this and leave me alone, and in fact refer people to me (with a wink and nod) when they have this problem. :)

      you realise if there's any major fuck-up in the organisation - virus, sexual harrassment, whatever - that involves any of the machines that you have "helped" with, you're very likely to be SOL by the very same people who you're basking in the admiration of right now, right?

    40. Re:A much bigger problem by MightyYar · · Score: 1

      Don't much care - I'm very capable of standing up for myself. It's not like I'm sneaking around - I am quite vocal about what I'm doing, and have even discussed the problem with a VP in IT. If some idiot downloads porn at work because I showed him how... that becomes my fault? Okay, fire me! Good luck making those machines without me... just make sure you fire the next VP plugs his infected laptop into the network.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
    41. Re:A much bigger problem by fabu10u$ · · Score: 1
      Hmm, ideally you could do some really nifty stuff by sorting packets dynamically onto different (firewalled) networks based on MAC address. Keep a list of trusted desktops (which go onto the "real" network), semi-trusted laptops (which go onto a special firewalled network). Anything else gets locked down so all they can access is a webserver with contact details for the net admin. :-) (Wouldn't surprise me if there was an off-the-shelf solution that did this, actually, but if so I haven't heard of it.)
      Universities are beginning to do this on their residence hall networks. The residents initially come up in a sandbox with only a webserver that provides any required (site-licensed) anti-virus software and security patches. Once it is proven (by way of the AV server or some sort of patch detection program) that the machine is compliant, only then is it allowed onto the full campus network.
      --
      They say the mind is the first thing to ... uh, what's that saying again?
  6. Dumbest security policies? by Anonymous Coward · · Score: 5, Interesting

    What are some of the dumbest security *policies* you've encountered?

    I worked for a firm earlier where we had to change our passwords every week where the password had to 1) be exactly 14 characters and 2) be ~60% different to the previous four passwords.

    The result was of course that almost every user had their passwords on post-it notes.

    1. Re:Dumbest security policies? by Skiron · · Score: 1

      The result was of course that almost every user had their passwords on post-it notes.

      I hope they remembered where they stuck them?

    2. Re:Dumbest security policies? by someone300 · · Score: 1

      We need to change our password every 12 days, and it can't be similar to the last 3 passwords.

      Not as tough as the one you mentioned, but it still leads to most people either forgetting their passwords, or writing it down somewhere obvious.

    3. Re:Dumbest security policies? by Freexe · · Score: 5, Funny

      My current password is "ilovepigs" and all i have to do to find it is look through my slashdot post history on another PC.

      I don't understand why people bother with postit notes

      --
      "In a time of universal deceit - telling the truth is a revolutionary act." - George Orwell
    4. Re:Dumbest security policies? by Anonymous Coward · · Score: 2, Insightful

      Post it notes are not necessarily a security hole. It depends whom you are trying to protect yourself from. If the goal is to prevent external attacks ( via password cracking, etc ) then you're fine. If you don't trust your co-workers then they may be an issue. But then they have physical access to your equipment anyways.

    5. Re:Dumbest security policies? by nunchux · · Score: 4, Interesting

      Five years or so ago I did freelance work for a short-lived "online greeting card company" (shut up, I know.) Basically I'd go to a control panel to get an order, adjust the proof in the Flash template and send it back. I had absolutely no access to any other part of the site, the databases, not even the customer's contact info (much less credit card #'s.)

      I still had to change my password every two weeks, with conditions similar to what you describe-- IIRC ten or more characters, mix of numbers and letters, had to be substantially different than the one before. I eventually a system down for remembering what it was, but I'll be the first to admit I was using my Mac's "stickies" to keep track of the password for the first six months. Considering they were dealing primarliy with graphic designers, not programmers, I can only imagine what some of the other employees were doing. Since they also weren't the easiest employers to deal with, I can only imagine that the lack of give-a-shit factor kept many employees from trying to hard to keep that ever-changing password a closely guarded secret. Let me stress that the damage that could be done if my password was compromised was completely negligible-- maybe someone could have inserted a dirty message in a greeting card, but it still had another check to go through before it went online!

      Basically my point is, there's a point where security for security's sake is an annoyance. I'm certainly not an expert in these matters but IMO making low-level users go through hoops is just going to foster ill will, better to lock down their privileges in the first place and make sure no damage could be done if that account was compromised. Frequently changing admin passwords is of course another matter, but that's part of the responsibility that comes with the job.

    6. Re:Dumbest security policies? by HermanAB · · Score: 2, Insightful

      That is actually not too bad, unless you have webcam pointing at the sticky note. The point being that someone on the other side of the globe cannot see your sticky notes and cannot easily crack a 14 character password either, while locally, you probably have some form of physical security - you do lock the door right?

      --
      Oh well, what the hell...
    7. Re:Dumbest security policies? by Otter · · Score: 2, Insightful
      I worked for a firm earlier where we had to change our passwords every week where the password had to 1) be exactly 14 characters and 2) be ~60% different to the previous four passwords.

      For real effectiveness, though, you have to implement this the way we have it at work -- every webapp, from travel reservations to sexual harassment, training has a different account with different login names and mandatory strong, rotated passwords.

    8. Re:Dumbest security policies? by Aneurysm · · Score: 1

      You'd like this one...

    9. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      Sexual harassment is a webapp?

    10. Re:Dumbest security policies? by Haeleth · · Score: 5, Funny

      I worked for a firm earlier where we had to change our passwords every week where the password had to 1) be exactly 14 characters and 2) be ~60% different to the previous four passwords.

      Man, you had it easy. My current place uses iris scans for authentication. We have to swap out our eyeballs every 30 days, and our new eyes can't be the same colour as the last pair.

    11. Re:Dumbest security policies? by HermanAB · · Score: 1

      My brother's father in law sold safes. He once found a case where a bank manager wrote the safe code on the wall next to the safe with a marker. At least it did provide fire security...

      --
      Oh well, what the hell...
    12. Re:Dumbest security policies? by Aneurysm · · Score: 1

      It's like the people who put a sticky label on their cash cards with their pin number on it so it doesn't matter if they forget the number.

    13. Re:Dumbest security policies? by bryhhh · · Score: 2, Interesting

      The password policy at that firm sucks, but writing passwords on post-it notes isn't such a bad idea. Consider these two different policies:

      A. User allowed to use simple passwords that they can easily remember such as 'password', or 'abc123'. This user doesn't have to write their password down to be able to remember it.

      B. User with a complex password, but writes it on a post it note because they don't stand a chance in hell of remembering it.

      If user B is also requested to take the simple step of placing the post-it note in their purse/wallet, the password instantly becomes many more times secure than the password of user A.

    14. Re:Dumbest security policies? by jp10558 · · Score: 1

      I think that's the point of the article. It's not "educate your users" or "make their life hell through passwords", but "prevent them from doing anything not pre-evaulated to be good".

      --
      Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
    15. Re:Dumbest security policies? by Tony+Hoyle · · Score: 1

      We had to give all our passwords to the admin. We weren't allowed to change them without notifying management first.

      This is because of the way visual studio tries to 'personalise' itself so the only way to access someone elses' project (and expect to build it) if they were on holiday was to have their password (we all needed admin rights of course - rather hard to write software without it).

      The admin kept it on a text file on his desktop, which he frequently left unguarded. Needless to say (a) everyone knew everyone elses' password after a week, and (b) most of the visitors to the office could have easily found them all out too.

    16. Re:Dumbest security policies? by Skippy_kangaroo · · Score: 1

      We have to change our passwords every month and can't recycle the past 17.

      Naturally, everyone uses [simple password][number] and just increments the number on each iteration. Now those are some secure passwords.

      I got so annoyed with it recently that I just keep the same password all the time and once every month I spend some time rotating through 16 junk passwords until I get back to my password.

      Forcing users to change passwords frequently inherently forces insecure passwords on people. People can't remember that many essentially random passwords so people don't try - they subvert the system. I wonder how many IT managers who set these policies actually realise what they are doing - you'd have to think not many. Is it that they don't follow their own password policy?

    17. Re:Dumbest security policies? by MooUK · · Score: 1

      A friend of mine, when he received a new bank card and pin number, signed the back of the card and made a note of the pin number.

      He then realised that he'd written the pin number directly onto the signature strip of the card.

    18. Re:Dumbest security policies? by Anonymous Coward · · Score: 1, Funny

      Obviously, there are too many asses to pinch, boobies to grab and dirty jokes to tell for one person to do it all by hand (so to speak). So they've automated the process. I think you'll find that automation is superior to outsourcing in this case.

      webmin tickle tab: putting her ass back in her.ass.ment.

    19. Re:Dumbest security policies? by gnasher719 · · Score: 1

      "My brother's father in law sold safes. He once found a case where a bank manager wrote the safe code on the wall next to the safe with a marker. At least it did provide fire security..."

      A company that I worked for bought a safe with broken lock very cheaply exactly for that purpose. And they didn't have to write down the safe code...

    20. Re:Dumbest security policies? by Anonymous Coward · · Score: 1, Funny

      actually, it's now 'iloveham'

    21. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      You must work for the Union Aerospace Corporation on their Mars Base.

    22. Re:Dumbest security policies? by R3d+M3rcury · · Score: 1

      LUXURY! The company I work does DNA scans and every 30 days, I have to become someone else!

    23. Re:Dumbest security policies? by SleepyHappyDoc · · Score: 1

      What are some of the dumbest security *policies* you've encountered?

      My boss told me that the password for the firewall had to be written on it. So anyone could access it if they needed to.

      --
      Stasis is death. Embrace change.
    24. Re:Dumbest security policies? by monkeydo · · Score: 1

      If a user has access to a file, a user can be conned or tricked into giving someone else the file. At the very least, user education must focus on recognizing social engineering and protecting enterprise information assests, whether in a digital or other form.

      Too many people are already convinced that we can solve all information security problems through technical means. I'm sad to see a respected "expert" propogating that myth.

      --
      Si vis pacem, para bellum
      The only thing more annoying than a Libertarian is an (un|mis)informed Libertarian
    25. Re:Dumbest security policies? by Dolly_Llama · · Score: 2, Funny

      My current password is "ilovepigs" and all i have to do to find it is look through my slashdot post history on another PC.

      Better not do that on your girlfriend's PC.

      Make that your ex-girlfriend's PC.

      --

      Somewhere, something incredible is waiting to be known. -- Carl Sagan

    26. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      That's not quite so stupid. If anybody can get to the firwall, they can reset it anyway (or even patch around it).

      Which would you rather have: A onfunctioning firewall, or somebody changing one rule?

    27. Re:Dumbest security policies? by HrothgarReborn · · Score: 1

      You forgot rotated at different intervals.

    28. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      Luxury! At my first job, we first had to authenticate ourselves at the door with cards. And not the little electronic smart cards, but big ol' punch cards that jammed, half the time, in the reader. Then we had to submit to a DNA test. Finally we had to type in our passwords, which had to be 11-digit prime numbers in OCTAL. And we had to change cards, DNA, and passwords twice a day!

      But you try and tell the young people today that... and they won't believe ya'.

    29. Re:Dumbest security policies? by Otter · · Score: 1
      Naturally, everyone uses [simple password][number] and just increments the number on each iteration. Now those are some secure passwords.

      When I took new employee IT orientation, the "security expert" ***told*** us to do that!

    30. Re:Dumbest security policies? by Timbotronic · · Score: 4, Interesting
      I taught a programming course at an Australian government department where they had a "no unauthorised software" policy. Unfortunately, the language I was teaching wasn't on their list, so they wouldn't allow me to install it on the training room computers that weren't even connected to the office network!

      Needless to say the course was less than effective and illustrates what should be the seventh dumbest idea - "Security policies have no effect on productivity". The amount of grief caused to companies by rigid, pedantic security nazis is astounding.

      --

      One of these days I'm moving to Theory - everything works there

    31. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      "There have been numerous interesting studies that indicate that a significant percentage of users will trade their password for a candy bar"

                Now we know what they'd do for a Klondike Bar.

      "the Anna Kournikova worm showed us that nearly 1/2 of humanity will click on anything purporting to contain nude pictures of barely clothed females"

                Are you saying you won't?

    32. Re:Dumbest security policies? by SoupIsGoodFood_42 · · Score: 1
      Just the last pair?

      Ours keep a database of our old scans, and complained if your new eyeballs were similar to anything that you had used in the past.

      I currently have pink irises with a lime green and dark blue plaid pattern.

    33. Re:Dumbest security policies? by Sux2BU · · Score: 1

      One of the placed I worked at did something like that, but they made it so you couldn't change your password more than once every 24 hours to combat the rotation.

    34. Re:Dumbest security policies? by Anonymous Coward · · Score: 1, Insightful

      we all needed admin rights of course - rather hard to write software without it

      Man, that's just wrong. Developers shouldn't have admin rights at all. Leave admin work to the system administrator.

      When developers have admin rights, it just leads to more programs that require admin rights to run, thus lowering security for the people who need to run the programs.

    35. Re:Dumbest security policies? by Shano · · Score: 1

      Don't do that, because when you put the card into the machine, you won't be able to read the number.

      I think there might have been some other reason, too.

    36. Re:Dumbest security policies? by kauttapiste · · Score: 1

      I worked for a firm earlier where we had to change our passwords every week where the password had to 1) be exactly 14 characters and 2) be ~60% different to the previous four passwords.

      This is probably quite a standard thing nowadays in most firms. Luckily it's usually not required every week!

      But it actually strikes me odd that this is ever required! Do they think that passwords go bad somehow after a while? It's not food, now is it! IMO, it's one of the stupider things ever meant for security. The old rule-of-thumb of quality management is that you get what you measure. In this case, you get passwords that are ~60% different to previous ones - but not a single bit more secure. And they are bound to be formulated based on some sort of technique of shifting and/or circulation.

      At the local university they used to run a program which would test all the passwords against a dictionary and all the accounts that are broken would be automatically closed. IMO, this is a much better way to ensure good passwords.

      Better would be to help people create a secure password in the first place. I use a small program which generates a list of words based on an input text. Words are generated so that they are pronouncable and so are easy to remember. Then add a few digits here and there, change a couple of letters to uppercase in your head and you have a very VERY good password. And it won't go bad!

    37. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      A lot of software needs admin rights - especially software such as system monitoring apps, registry altering apps etc...

      Don't blame the developers, blame the operating system and its lack of flexibility with privileges.

    38. Re:Dumbest security policies? by hemanman · · Score: 1

      Developers need Admin rights, if you insist on otherwise they start to be a burden, much like concrete shoes.

      Instead, you operate with 3 different environments:

      -Development
      -Staging
      -Production

      Developers have full admin access to the Development environment only. When an application is finished, they release it to staging, which is where the Sysadms take over and follow the documentation supplied by the developers to install it. If it dosen't work, it goes back to development.

      When it works, you release it for testing, still within the staging environment. If testing shows any errors, it goes back to development. When finally tested without errors, you release it to production, including the original documentation supplied by the developers, which is modified by the SysAdms during testing.

      That way, you have a fully documented application that you can even easily outsource if you don't want to run production yourself.

      -H

    39. Re:Dumbest security policies? by 99BottlesOfBeerInMyF · · Score: 1

      I think I can top that. I worked at a software development house. Our products were developed, tested, and only ran on a dozen or so UNIX/Linux flavors and some embedded OS's. Orders were issued from high up in the management chain that we were no longer allowed to run any freeware and also software had to be purchased through the purchasing department. Also, all users were to switch exclusively to Windows 2000 and Outlook. The orders were meant to make our company easy and attractive to acquire. What they really did was send a wake-up call to everyone with a clue that it was time to find a new job.

    40. Re:Dumbest security policies? by Anonymous Coward · · Score: 0

      Used to, but the place went to hell.

    41. Re:Dumbest security policies? by bkocik · · Score: 1
      I'll be the first to admit I was using my Mac's "stickies" to keep track of the password for the first six months.

      Just an FYI - in the future, consider using Keychain for this. If you poke around in the Keychain Access utility a bit, you'll see it offers a "Secure Note" facility that's quite handy for this sort of thing.

    42. Re:Dumbest security policies? by techno-vampire · · Score: 1
      For several years I worked for a company that had passwords expiring once a month. We were behind a firewall and there was nothing sensitive on our computers. (Tech support doesn't have access to that type of thing.) I've always thought that the only reason we had to change our passwords is because one of the admins found out he could set it up that way.

      The sensitive info was on a limited number of servers, all only available inside the firewall. Naturally, they were password protected as well, and we couldn't use the same password for any two of them. Not only that, one of them had about five security certificates. All were out-of-date. Not only didn't they update them, telling our browsers (Only worked with IE, of course.) to allow them didn't last past closing/restarting the browser. Mis-management of Information Services never did figure out why...

      --
      Good, inexpensive web hosting
    43. Re:Dumbest security policies? by nunchux · · Score: 1

      Yeah, I use that now. This was 1999-2000ish on an OS9 machine.

  7. Real security has to be build into the foundation by kcbrown · · Score: 5, Insightful
    Viruses occur because the foundation of the system the users are using isn't secure. The same is true (perhaps to a somewhat lesser degree) of worms.

    To illustrate, ask yourself this question: why do most corporate computer users have permissions on their computer to download and execute arbitrary programs?

    Now, it should be noted that even Linux gives the average user this capability. But that needn't be so.

    Antivirus programs are a bandaid, not a solution. But most people treat them as a solution, and therein lies the problem.

    If you really want to take care of security issues, you have to do so at the foundation.

    --
    Use 'slashdot stuff' in the subject line in any email you send me if you want to get past the spam filter.
  8. Unistalling right now by snuf23 · · Score: 5, Funny

    Yeah, I'm taking all my anti-virus software off the computers right now. I don't know why I ever though it was useful anyway. It's more efficient to deal with the infections as they come in then it is to try to prevent it.
    I'm gonna stop using condoms too while I'm at it.

    --
    Sometimes my arms bend back.
    1. Re:Unistalling right now by JourneyExpertApe · · Score: 5, Funny

      I'm gonna stop using condoms too while I'm at it.

      What does making water balloons have to do with preventing a computer infection? I don't get it.

      --
      If you can read this sig, you're too close.
    2. Re:Unistalling right now by HermanAB · · Score: 1

      There are policy based virus blockers that stop vuruses without having to be updated all the time, but that kind of solution is not good for business: http://www.impsec.org/email-tools/procmail-securit y.html

      --
      Oh well, what the hell...
    3. Re:Unistalling right now by Anonymous Coward · · Score: 1, Funny

      Wanker + Condom = Safe Sex

    4. Re:Unistalling right now by Anonymous Coward · · Score: 0

      "I'm gonna stop using condoms too while I'm at it."

      being a /.er is a much better contraceptive anyway.

    5. Re:Unistalling right now by NanoGator · · Score: 1

      "I'm gonna stop using condoms too while I'm at it."

      Bet you outlive your computer. ;)

      --
      "Derp de derp."
    6. Re:Unistalling right now by dagr8tim · · Score: 1
      I'm gonna stop using condoms too while I'm at it.

      Good, cuz we all know that it's a waste of money. What good is a box of condoms if your "date" has to walk past your parents to get to the basement.

      --
      "Does your computer have IP on it?"
    7. Re:Unistalling right now by ekephart · · Score: 0, Troll

      I'm gonna stop using condoms too while I'm at it.

      Yeah, but then you're into the Penetrate and Patch idea.

      --
      sig
    8. Re:Unistalling right now by Temporal · · Score: 2

      Incidentally, I have never run anti-virus software, and yet I have never had a virus. And I run Windows. And, yes, I would know if I had a virus; I regularly help other people remove viruses from their systems. Of course, the people I help typically are running AV software; little good that did them.

      If you're careful about what you install, stay away from Kazaa and warez, and keep an eye on your windows\currentversion\run registry entries, and for god's sake do not open file attachments, you can stay safer than any AV software would make you. AV software generally can only detect viruses it knows about, and you better believe most viruses that exist in the wild are not in the AV companies' databases.

    9. Re:Unistalling right now by Mark_in_Brazil · · Score: 1
      I'm gonna stop using condoms too while I'm at it.
      The point is not that the current approach to antivirus software is worse than nothing; that's ridiculous. But "default permit" and "enumerating badness" are at the heart of most of our security these days, and there are much better strategies available. It would make more sense to monitor the programs we know we've installed than to monitor the possibility of tens of thousands of different pieces of malware that could infect our machine, especially since malware that is unknown to our malware detection programs can't be stopped that way.
      Condoms are not an example of "default permit" or "enumerating badness." On the contrary, they are "default deny" taken to the extreme. As long as they don't tear, nothing gets through them, in or out. They don't allow everything through except a list of things you've said they should stop. So if you have sex with a partner who has been infected with a previously unknown sexually transmitted disease (provided it's bacterial or viral), a condom will be just as effective against that disease as it is against the known ones. Antivirus programs based on "enumerating badness" don't work like that.
      --
      "It is nice to know that the computer understands the problem. But I would like to understand it too." --Eugene Wigner
    10. Re:Unistalling right now by Seahawk · · Score: 1

      No, dont loose the condom!

      You usually use your penis in defaulk permit mode, and to enhance your personal security you should apply a default deny mode instead!

      So please wear a condon at ALL times, except the moment you plan to be a father.

    11. Re:Unistalling right now by Ubeor · · Score: 1

      Maybe not at ALL times... I would highly recommend against wearing them while urinating. ;-)

    12. Re:Unistalling right now by lapagecp · · Score: 1

      Ok so let's use your condom analogy to illustrate the point. Just because you are smart enough to use a condom does not mean that condoms eliminate the problem of sexually transmitted infections. I work in a medical office and let me tell you condoms is not the answer. It's the best we have and so we use it and hand them out. But we have the power to make real changes in the computer world. We can redesign computer systems where we can't redesign human nature. There are no human emotions or confidentiality with computers. When a computer gets a virus it could tell every computer that it's had network traffic with that it was infected prior to being fixed on this date. If a computer tries to initiate network traffic with it, it could say I am running some code that I am not sure about are you sure you want to do this. We need to start thinking outside the box a little.

    13. Re:Unistalling right now by drew · · Score: 1

      The blurb is somewhat misleading (go figure...). The article never said that anti-virus software was one of the six dumbest ideas. He merely said that software that works by enumerating all of the possible malicious programs/traffic/behaviors/etc. was a dumb idea. In other words, most anti-virus software as currently implemented is a dumb idea. not using any at all is (probably) a dumber idea, though.

      that said, after i got sick of norton antivirus back around 1997 or so (can't remember if that was before or after they started charging for updates.) i never used any av software until someone pointed me in the direction of avg antivirus in early 2003, and i never had any probems during that time. i use it now as an added backup since it's not too intrusive, but i don't ever expect or rely on it to protect me.

      --
      If I don't put anything here, will anyone recognize me anymore?
    14. Re:Unistalling right now by snuf23 · · Score: 1

      While I do run AV software on my Windows game box, I have never had a virus infection at home because I follow safe practices as you outlined in your post. Generally speaking that will keep you in good shape, provided you have a firewall and run the Windows patches as they are released. Avoiding IE and using an alternative browser can help in avoiding those viruses that spread over the web via IE exploits.

      --
      Sometimes my arms bend back.
    15. Re:Unistalling right now by snuf23 · · Score: 1

      Agreed. It was just a joke. :D

      --
      Sometimes my arms bend back.
    16. Re:Unistalling right now by Anonymous Coward · · Score: 0

      For almost a decade now I've adopted this approach with some NT machines I still regularly use and I've never had a virus. The two things I do in addition to what you suggest are:

      1. Refuse to run *any* email software on these boxes. That means uninstalling microsoft outlook express and purposely misconfiguring the email settings of all other software (e.g. Opera) that thinks it should send or recieve email

      2. Periodically monitor the processes running on the machine using the excellent "Sysinternals" tools and investigate things that seem odd. Most of the time this doesn't reveal anything but it was precisely this method that led me to discover the "C-dilla" spyware that came with TurboTax.

      Security is just a fancy term for common sense.

    17. Re:Unistalling right now by saskboy · · Score: 1

      I too have run for years at a time without any AV software and never got an infected computer. Then suddenly javabyte showed up and spoiled my record. Fortunately it was a mild virus, and AVG took care of it easily. Seems it was likely an old version of java I was running while visiting a website, or something along those lines. I now use free AVG grisoft.com because my computer is fast enough to handle it, and hey, it's free. I still know my brain is the best AV scanner available, but in case I want to lend my computer to a friend while I'm out of the room, it doesn't hurt to have a layer of AV software like AVG. Just don't use bloatware like McAfee or Norton ;-)

      And as for the Condom lacking guy, he must be new here - no slashdot user has a girlfriend ;-)
      http://slashdot.org/article.pl?sid=02/02/14/143254

      --
      Saskboy's blog is good. 9 out of 10 dentists agree.
  9. dumbest ideas by Bananatree3 · · Score: 1, Informative

    #1) Posting your password on a forum

    #2) Going into a shady carding IRC channel, telling everyone there that you are an undercover FBI agent, and then saying "you are all dumb! Hack me! HAHAHHHA!!!"

    .....

    1. Re:dumbest ideas by bhiestand · · Score: 1

      #3) Not letting your ex find out you did it on her computer?

      Priceless.

      --
      SWM seeks new sig for a brief fling
  10. Dumb idea #1 by strcmp · · Score: 1, Insightful

    The internet.

    --
    "Yields falsehood when preceded by its own quotation" yields falsehood when preceded by its own quotation.
    1. Re:Dumb idea #1 by Barryke · · Score: 1

      capital I, capital I.

      its the Internet.

      --
      Hivemind harvest in progress..
    2. Re:Dumb idea #1 by strcmp · · Score: 1

      Funny that I should be marked a troll on this post; I wasn't aware that the mere existence of the internet was such a controversial topic.

      --
      "Yields falsehood when preceded by its own quotation" yields falsehood when preceded by its own quotation.
    3. Re:Dumb idea #1 by Toba82 · · Score: 1

      Capital I, apostrophe. Capital I, apostrophe. It's It's, not its. Come on, you asked for it.

      --
      I pretend to know more than I really do by mooching off google and wikipedia.
    4. Re:Dumb idea #1 by MrHanky · · Score: 1

      And you obviously weren't aware of the high availability of crack for Slashdot moderators.

    5. Re:Dumb idea #1 by Barryke · · Score: 1

      true

      --
      Hivemind harvest in progress..
  11. Highly applicable by gunpowda · · Score: 5, Informative
    The Internet has given a whole new form of elbow-room to the badly socialized borderline personality.

    Woah, he's not talking about Slashdot?

    1. Re:Highly applicable by Eric604 · · Score: 1

      Hmm interesting, an informative question. I suspect it's an rethorical question and I shouldn't reply. However, I think we should ban this form of information transfer since it's confusing as hell?

  12. He mixed up hacking and cracking by TelJanin · · Score: 5, Insightful

    In #4, "Hacking is Cool", he obviously means "cracker." Also, the last part of that section says that security professionals should not know how to crack. Bullshit. If you don't know how exploits are used, how can you block them? How can you write a secure program if you don't know what a buffer overflow is?

    1. Re:He mixed up hacking and cracking by danielk1982 · · Score: 0

      In #4, "Hacking is Cool", he obviously means "cracker."

      He probably meant both. Ideally you don't even want a 'hacker' gaining access to your network, even if he is just snooping around.

    2. Re:He mixed up hacking and cracking by JPriest · · Score: 1

      Hacker vs cracker rhetoric aside I do agree with your point. If you don't know how it is attacked how are you supposed to know what to secure against? Also, for protection against basic Windows malware user education is as effective as anything else.

      --
      Saying Java is nice because it works on all OS's is like saying that anal sex is nice because it works on all genders.
    3. Re:He mixed up hacking and cracking by TelJanin · · Score: 1

      If someone's in your network who's not supposed to be (and they know they're not supposed to be), they're a cracker. To say otherwise gives them more honour than they deserve.

    4. Re:He mixed up hacking and cracking by Anonymous Coward · · Score: 1, Insightful

      A network administrator shouldn't give two flying fucks about writing secure programs. Didn't you read the farking article? The whole point is that there is no such thing as a secure program.

      Even well-hardened programs can fall victim to bugs in the OS, bugs in the libraries they link to.. A well-hardened web application doesn't do you a lot of good if you leave your database program Internet accessible and there's a security bug in it.

      The point is that you should be designing whole systems that are inherently harder to break into. Know your dataflow. Segment networks. A secure system can be run off unpatched Windows / Linux systems if you position the 'vulnerable' systems in a place where they cannot be compromised. Does this mean that leaving systems unpatched is a good idea? No! It just means that when a vulnerability is discovered, you say to yourself "Half of my servers run that service and require it to function normally. However, they aren't on a network segment that makes them vulnerable."

      Anyway.. He's right.

    5. Re:He mixed up hacking and cracking by TLLOTS · · Score: 4, Informative

      I think you misunderstood his point with #4. My understanding of what he was saying was that time spent learning how to hack into a system with xyz could be better spent simply learning about good security practices (such as how to prevent a buffer overflow). Rather than spending the rest of your life learning about each new exploit, you simply focus on why those exploits are occuring, and fixing them at the source, rather than trying to simply keep patching.

    6. Re:He mixed up hacking and cracking by Metteyya · · Score: 1

      How can you write a secure program if you don't know what a buffer overflow is?

      I know what a buffer overflow is. I can read C standard lib documentation. I know what "designed with security in mind" means.

      Yet still, I work as "junior programmer" (21yr old student of physics) and don't consider my apps "secure".

      And I don't know how to crack. I'm not a script-kiddie and don't want to become one. If you don't know what a buffer overflow is, you are not a programmer.

    7. Re:He mixed up hacking and cracking by wangf00 · · Score: 1

      I have to ask-did you RTFA? His first point was 1) looking for holes and then patching them is like polishing a turd. 2) people who look for holes in the same way are only learning how to find a turd 3) He prefers "professionals" who know how to write good code in the first place, not just fix crappy code.

    8. Re:He mixed up hacking and cracking by owlstead · · Score: 1
      How can you write a secure program if you don't know what a buffer overflow is?

      He could have a manager/software engeneer that told him to use managed code (.NET/Java) or any scripting language. Simple. And best practices for safe coding are best found in books that are not "how to hack" books. Unless that means how to design/write safe code books (but I think it doesn't).
    9. Re:He mixed up hacking and cracking by Anonymous Coward · · Score: 0

      you should know about the best methods to make things as secure as posible. making sure you catch all your errors and do size checking etc etc etc. it does not mean that you need to know how to hack some one else's code or what a buffer overflow is..

    10. Re:He mixed up hacking and cracking by Old+Wolf · · Score: 1

      I don't know how to make a network of IRC bots controlled by zombies around the world. But I do know how to prevent my IRC channel being DOS'd by such a network.

      I don't know how to write an internet worm, but I do know how to not let one onto my PC.

      Need I continue?

    11. Re:He mixed up hacking and cracking by Bastian · · Score: 1

      How can you write a secure program if you don't know what a buffer overflow is?

      Programming 101: Your program shouldn't be allowed to do things you don't want it to do.

      It ties in with the idea that you should be allowing certified-OK behavior. If you didn't design your software to handle writing past the end of a buffer, then your software shouldn't be writing past the end of its own buffers. It's not like we didn't discover that fencepost errors, wild pointers, etc. are a Bad Thing before the buffer overflow attack was invented.

    12. Re:He mixed up hacking and cracking by Anonymous Coward · · Score: 0

      How can you write a secure program without knowing what buffer overflow is?

      Easy, use a language/api that does know what buffer overflow is that has bounds checking, type-safety would probably help too.

      Buffer overflow happens from programmer error, not hacker creativity.

    13. Re:He mixed up hacking and cracking by Anonymous Coward · · Score: 0

      This is not how one generally learns how to hack in the Hacker world or the Infosec world. Learning exploit by exploit is just stupid, that's like learning to drive over and over with each brand of car. Generally people begin learning the simple ways into a system and how to extract information from that system. This would be protocols, services, port scanning, whois, dns digging and other info digging tactics. Next up the individual beings to learn the low-level attacks, buffer overflow and format strings are popular topics. After that comes greater system vulnerabilities, such as kernel rootkiting and IDS evasion. After learning the fundamentals the individual then gets into the information flow of the security world, bug-traq and packetstorm are great places to learn about the latest methods and exploits floating around. The way of the Hacker (and the Infosec superset of the Hacker) is a way of continuous learning, always keeping up to speed with the latest methodologies.

      This road-map to learning how to break and subsequently enforce (now that you have become scared of the general insecurity of computing) is common within the DIY hacker community and the professional Infosec community. College courses on Infosec commonly runs students through this same curriculum as well. I think Mr. Ranum does not have a clue about the modern world of Infosec/hacking, as they have much in common. Also a side note, most hackers later become Infosec engineers as all their "hard skills" are very valuable in that field.

      For more information about how Hacking and Infosec go hand in hand, checkout "Infosec Career Hacking" as recently reviewed on Slashdot.

    14. Re:He mixed up hacking and cracking by Sancho · · Score: 1

      There are security risks that he didn't cover that aren't buffer overflows and whatnot. What about SUID shell scripts? Predictable temp files? The security he outlined wouldn't really protect against the attacks used in these situations, and knowing that they exist and how they work would help you to avoid creating these situations.

    15. Re:He mixed up hacking and cracking by caller9 · · Score: 2, Insightful

      ditto. You shouldn't learn how to hack, you should learn how to prevent it. Drawing a line between the two is pretty hard though. Learning how to hack is tightly related to learning how to prevent hacks. I think the author's point is that learning from practicioners is less effective than learning from "best practices" because you are forever behind the curve if practicioners are out of the loop. The fact is that many practicioners are simply highly skilled outsider, engineers very much in the loop with nearly limitless spare time dedicated to messing you up.

      Learn what good coding means and do it, then you can ignore hacking practices. This is very idealistic as most people don't build a system thinking that it is vulnerable intentionally. Unless the vulnerability is "obscure enough" to be valid. No wait, that's MS common practice.

      His point is to developers. Compartmentalize, secure, and validate EVERYTHING. Guilty until proven innocent. User, Processor, and network/storage overhead be damned. Check the stack every microsecond and verify in tandom. Generally, be perfect and only make perfect things. It's as easy as 1,2,3. Relegate computer use to experts only and found a colony of uber hackers that will process all informational transactions henceforth, forever.

    16. Re:He mixed up hacking and cracking by Anonymous Coward · · Score: 0

      Quit trying to redefine the term Hacker. No matter how often you say that everyone should switch over to the word "cracker" when they mean a "bad guy" it isn't going to happen.

    17. Re:He mixed up hacking and cracking by Tim+C · · Score: 2, Insightful

      In #4, "Hacking is Cool", he obviously means "cracker."

      There's little point fighting battles that you can't win, unless you mean to make an example in your loss. In this case, you can't possibly win and there's no example to make (except perhaps that language evolves - big deal); I'd suggest saving your effort for something you *can* make a difference to.

    18. Re:He mixed up hacking and cracking by Cederic · · Score: 1


      And if I install and run a packet sniffer on my corporate network, am I a hacker or a cracker?

      What if I'm using it to track packet contents while debugging third party software?

      What if I don't have permission from that software manufacturer to reverse engineer their protocol?

      What if my company is employing me to do precisely that?

      Face it, 'cracker' and 'hacker' can very easily overlap, the techniques used by both are very useful to the other, knowing those techniques is useful to a good software designer/developer, and the general public can't and wont differentiate between them anyway.

      So go with the flow and learn to cope with the idea that the term 'hacker' is more aligned to illicit use of computer resources than anything else, no matter how you personally want to use the term.

    19. Re:He mixed up hacking and cracking by wesw02 · · Score: 1

      Agreed, if you don't educate your self on how your network can be exploited it makes it extremely hard to prevent.

  13. users are teh greatest security problem by timmarhy · · Score: 0, Flamebait

    you have put on all the AV and security polices you want. but if joeslob is going to click on and run "naked_sluts.exe" he get emailed, there is nothing you can do. my solution? don't fucking work administering computers, it's a cunt of a job and it's hugely under paid for the time and stress it causes.

    --
    If you mod me down, I will become more powerful than you can imagine....
    1. Re:users are teh greatest security problem by dhasenan · · Score: 4, Funny

      # chmod +x naked_sluts.exe
      # ./naked_sluts.exe
      Removing /home/iclod/porn...
      Removing /home/iclod/work...
      Removing /home/iclod/Mail...
      Removing /home/iclod...
      Removing /home...
      Error: cannot remove /home: permission denied.
      * Entering phase 2
      Scanning ports for viral spreading:
      No suitable ports available.
      * Entering phase 3
      Accessing sendmail...
      Mailing...
      Mailing...
      Mailing...
      Error: mail blocked: too many recipients. Wait ten minutes and try again.

      In short, users aren't a major problem because they should only be able to hurt themselves. The problem is that they often can and do hurt others. This is the result of poor design.

    2. Re:users are teh greatest security problem by Phrogz · · Score: 1

      If you'd RTFA, it explicitly is AGAINST AV type stuff. Further, it deals with this explicitly, saying "Don't let users GET naked_sluts.exe by default." Don't give them attachments in the email. Have an OS that requires the machine admin to explicitly grant permission to run a specific program.

    3. Re:users are teh greatest security problem by benjamindees · · Score: 2, Insightful

      Users aren't the problem. Allowing users to run unvetted executables is a problem. Relying on users to decide what executables are acceptable is a problem with their admins and with Windows.

      SELinux is the solution.

      --
      "I assumed blithely that there were no elves out there in the darkness"
    4. Re:users are teh greatest security problem by Anonymous Coward · · Score: 0

      nigga please! you need a PhD to configure that shit! the average, time-pressed undereducated admin is much better off with a ready-to-run system like OpenBSD which will get you 90% of what SElinux gives you with much less headaches. and if you want the headhaches you can have them too, just man systrace(1).

    5. Re:users are teh greatest security problem by qzulla · · Score: 1

      Wouldn't that be iClod? ;)

      Yeah, I use a Mac.

      qz

    6. Re:users are teh greatest security problem by owlstead · · Score: 1

      Most applications that can be run by normal users have full connect capabilities to any network. One could argue if that is a good thing, especially within a corporate environment. I'd say: probably not. You've got a valid point here, even though you are just using it as an example.

    7. Re:users are teh greatest security problem by Anonymous Coward · · Score: 0

      Dood;
      Pleez emale me the "naked_sluts.exe" file.

      Thanx.

      3leet3 l0ser

    8. Re:users are teh greatest security problem by timmarhy · · Score: 1

      haha obviously you haven't worked administering a windows network. people always want access to be able to install shit, and to be able to download exe's etc. and just because they can't see any reason why they shouldn't be allowed to you end up having to argue the toss with them, and at the end of the day you get ORDERED to allow it.

      --
      If you mod me down, I will become more powerful than you can imagine....
  14. Re:Real security has to be build into the foundati by acaspis · · Score: 1
    why do most corporate computer users have permissions on their computer to download and execute arbitrary programs?

    Hence the technology formerly known as TCPA.

  15. Poor Article by hoka · · Score: 4, Interesting

    The article really fails to address any real issue with security. What the article really read like was something more along the lines of, "Six Things Dumb Management Sometimes Do In Relations to Computer Security". The real problem with technical computer security is the poor quality of software (software designed without security, or without enough security in mind), and the general lack of general system protection (NoExec memory, Stack Smashing/Active Bounds Checking, Targetted/Strict ACLs, etc). The damage worms/viruses/hackers can cause on a much stricter system is really far less than a normal system, if the penetration can even be achieved in the first place.

    1. Re:Poor Article by frank_adrian314159 · · Score: 1
      The real problem with technical computer security is the poor quality of software (software designed without security, or without enough security in mind), and the general lack of general system protection (NoExec memory, Stack Smashing/Active Bounds Checking, Targetted/Strict ACLs, etc).

      (a) If you had the first, you wouldn't need as much of the second; (b) If you had the second, issues of the first wouldn't lead to such dire consequences; and (c) It doesn't matter because no one seems to want to pay for either and so they end up paying in a much more diffuse way for both - look at it as job security in action.

      --
      That is all.
    2. Re:Poor Article by X.25 · · Score: 4, Insightful

      The article really fails to address any real issue with security. What the article really read like was something more along the lines of, "Six Things Dumb Management Sometimes Do In Relations to Computer Security".

      I guess that people who comment like this have never done any serious security work in their life.

      If you had, you'd acknowledge all the points (plus the extras) easily...

    3. Re:Poor Article by hoka · · Score: 1

      What I was trying to get at is that security really is a tiered setup, your application is only as secure as your system, your system is only as secure as the people working on/around it, etc. Application security helps a lot, but really there are some great things out there that can help plug a lot of holes that attackers can use, and greatly reduce the damage they can cause in the first place. I've taken a particular liking to Hardened Gentoo and similar setups which take a very proactive approach at preventing break-ins. I do agree that people don't seem to be too concerned about it, which was sort of the point I was trying to get at. I don't mind the job security either :)

    4. Re:Poor Article by starfishsystems · · Score: 1
      The article really fails to address any real issue with security.

      In my experience, the kind of flawed reasoning which Marcus Ranum describes is pervasive within the computer industry. As such, it specifically impacts security.

      And far from being particularly a management problem, this thinking seems to be just as common among technical staff as well. It's a rare pleasure to find a system administrator or software developer who carefully reasons about security in terms of its principles rather than claiming some sort of security expertise by citing a few familiar security phenomena.

      Not to pick on you personally, but your comments are a handy way to illustrate the problem. You've correctly identified software design, and a few implementations of the containment principle, as security issues, which they certainly are. You've then incorrectly inferred that solving these few specific problems solves the security problem generally.

      It's obvious that security covers a whole lot more ground than these few items, so clearly your reasoning is flawed, yet even highly experienced technical people tend to think the way you do. Why is that? I suspect it's because in most problem domains, a person is thought to do good work who can deliver a solution that satisfies a given set of requirements. Technical people are especially conditioned to do this. You get points for snapping off quick answers, as long as they work, and usually their validation is obvious.

      In security, this is utterly the wrong approach. The person who answers the most quickly is often the first to mark himself as an idiot. That's because a secure solution not only has to do the intended action, it must never do any unintended action. How much time did you spend thinking about that second constraint? Usually you don't have to, but if you want to reason about security, it's pretty much all you do.

      --
      Parity: What to do when the weekend comes.
    5. Re:Poor Article by jelle · · Score: 1

      Well... When the dude, in even more words than mine, said that educating users was a stupid idea, because that problem slowly solves itself as a 'new crop' of fresh, more educated users automagically show up... I formed my opinion and stopped reading the rant.

      Here is the analogy: Is it stupid to call the fire department to put out a fire that, eventually, will automagically stop burning when it runs out of fuel?

      --
      --- Hindsight is 20/20, but walking backwards is not the answer.
    6. Re:Poor Article by seabasstin · · Score: 1

      dood
      you obviously didn't read it cause he said the SAME things.

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    7. Re:Poor Article by Tom · · Score: 1

      Management is the #1 security problem.

      One could argue for users, but I take offense to that even though I consider 99% of the users stupid as a bovine. But without users, there would be no computing and thus no computer security.

      Management, however, typically adds nothing whatsoever to either computing nor computer security, understands nothing of it, yet is blind ot its own lack of understand and insists on making decisions whose only contribution to security is that they serve as a fairly good source of randomness.

      --
      Assorted stuff I do sometimes: Lemuria.org
  16. 7th dumbest idea... by Browzer · · Score: 0

    Using BASIC for anything other than spaghetti programming.

    1. Re:7th dumbest idea... by Dogtanian · · Score: 1

      Does anyone use BASIC nowadays?

      Visual BASIC doesn't really count, as it's not really like traditional BASIC...

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  17. Either stupid or obvious by Chris_Jefferson · · Score: 2, Interesting

    1) Default deny instead of default allow.

    Actually, default deny is just as stupid as default allow, as if you have default deny, people just get sick of being asked if they want to allow something, and end up clicking "yes" on every box they see.

    2) Enumerating Badness

    So you want to write a virus scanner that somehow can recognise viruses without being told which programs are viruses. Modern virus checkers already mostly do this. With spyware it's very hard for a computer to tell the difference between a program you wanted installing and one you didn't. How do you expect it to tell?

    3) Penetrate and Patch

    So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?

    4) Hacking is cool

    You think people should learn how to stop hacking and intrusion without learning how existing hacks work? Then you are stupid. Shush.

    5) Educating Users

    So you are saying that we have to do security without teaching users how to do it. That just isn't going to work unless you never let users install their own applications or plug-ins. Yes teaching users is hard, but it has to be a vital part.

    6) Action is better than Inaction

    So, after saying the state we are in is rubbish, you now say we shouldn't actually change anything. Eh? Or are you saying "don't try something new without testing it first"? Well thats more than a little obvious.

    This is just trolling, crap, and obviousness. Your average slashdot post really.

    --
    Combination - fun iPhone puzzling
    1. Re:Either stupid or obvious by VoidWraith · · Score: 1

      1) In relation to 5, you obviously aren't going to give any users permission to do that. Its going to be the admin deciding whats good to run.

      2) The point is that there's a whitelist of stuff for the "virus scanner" to ignore, and everything else shouldn't be there.

      3) Its a lot more in depth than that.

      4) Care to explain why? Basics like buffer overflows are important, but learning the security vulnerabilities in Apache or Internet Explorer or whatever is what the author is criticizing.

      5) Yes, thats what he's saying. He's saying don't allow users to install random programs they found on the internet.

      6) Yeah, it may seem obvious, but most people don't follow it.

    2. Re:Either stupid or obvious by Anonymous Coward · · Score: 0

      Yeah, Theo de Raadt already got dibs on #3!

    3. Re:Either stupid or obvious by Hektor_Troy · · Score: 3, Informative
      3) Penetrate and Patch

      So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?
      That's not what he's saying.

      Think of it this way:

      int isPrime( long primeSuspect)
      {
      if(primeSuspect == 2 || primeSuspect == 3 || primeSuspect == 5 )
      return 1;
      return 0;
      }

      How would you patch it? Test it for every prime and then add them to the check list? Or would you realise that the design is crap and change the design?

      He wants you to change the design, rather than just fix the aparent flaw that 7 returned false.
      --
      We do not live in the 21st century. We live in the 20 second century.
    4. Re:Either stupid or obvious by Wavicle · · Score: 1

      people just get sick of being asked if they want to allow something, and end up clicking "yes" on every box they see.

      I don't think that is "Default Deny," that is "No Default." Default Deny would not ask, it would just deny it. His intention is that you should have to stop and think about what is and is not okay. For example your server should allow SSH and HTTP traffic and you will have to explicitly allow those two. Everything else is denied with prejudice.

      With spyware it's very hard for a computer to tell the difference between a program you wanted installing and one you didn't. How do you expect it to tell?

      I think the article was aimed more at corporate security. If the software could contain spyware, it should not be installed it all. You should be fully aware of everything installed on your computer. I can't practically do this myself on my machines, but I wish I could install each of my windows applications in the equivalent of a chroot jail.

      So you are saying we should write code without bugs and holes?

      He's saying that the normal security fixing schedule is to identify a vulnerability and then write special code to work around it. This is problematic because it doesn't address the underlying issue. His suggestion is to go back and think about why the vulnerability was there in the first place and re-engineer a piece of the product.

      You think people should learn how to stop hacking and intrusion without learning how existing hacks work?

      I think his whole point is that there is the aura and mystique about hacking that makes it appealing to people and we need to rid ourselves of this romanticized notion. Breaking into a person's computers without that person's permission isn't a cool thing to do.

      That just isn't going to work unless you never let users install their own applications or plug-ins.

      I again suspect this is part of his corporate leaning. In a corporate environment, users don't need to install their own applications or plug-ins.

      So, after saying the state we are in is rubbish, you now say we shouldn't actually change anything. Eh?

      He's saying let someone else beta test a new product for you. It wouldn't be the first time that a supposedly great new security product opened you up worse than you were before.

      --
      Education is a better safeguard of liberty than a standing army.
      Edward Everett (1794 - 1865)
    5. Re:Either stupid or obvious by TLLOTS · · Score: 5, Insightful

      1) Default deny instead of default allow. Actually, default deny is just as stupid as default allow, as if you have default deny, people just get sick of being asked if they want to allow something, and end up clicking "yes" on every box they see.

      Why on earth would you allow your users to select what is acceptable? I believe his proposition was stating that you as the systems admin should set what people can use, and block everything else, otherwise if users could specify what was allowed, then you're back to square one like you say.

      2) Enumerating Badness So you want to write a virus scanner that somehow can recognise viruses without being told which programs are viruses. Modern virus checkers already mostly do this. With spyware it's very hard for a computer to tell the difference between a program you wanted installing and one you didn't. How do you expect it to tell?

      Simple, you have a fixed set of programs that are allowed to run, and you don't allow users to install additional programs. Anything not designated as allowed to run therefore gets stopped in its tracks before harm can be done.

      3) Penetrate and Patch So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?

      Actually I think his point is that code is being written insecurely when it really could be written securely. Look at how things are now, the buffer overflow is a security flaw that has been known about for quite some time, and there are very easy ways to protect against it, yet buffer overflow exploits are still quite common. The point is we shouldn't be trying to understand the flaw and try to patch it, we should try and understand how the flaw ever came to existing, and fix that!

      4) Hacking is cool You think people should learn how to stop hacking and intrusion without learning how existing hacks work? Then you are stupid. Shush.

      As I explained in an above post, his point is that time could be better spent learning about the root cause of the security exploits (things like buffer overflows) and how to prevent them, rather than spending the rest of your life trying to guard against the countless flaws that the various programs you'll run may have.

      5) Educating Users So you are saying that we have to do security without teaching users how to do it. That just isn't going to work unless you never let users install their own applications or plug-ins. Yes teaching users is hard, but it has to be a vital part.

      His point here was that users shouldn't even be able to cause harm in the first place, and if they can, then no amount of education is likely to prevent them from inadvertantly harming others. That said though I do believe users should be educated, but I agree with his point as well.

      6) Action is better than Inaction So, after saying the state we are in is rubbish, you now say we shouldn't actually change anything. Eh? Or are you saying "don't try something new without testing it first"? Well thats more than a little obvious.

      It should be obvious, but how many companies got burned because they switched to very insecure wireless networks early on?

      All up the points he raises are interesting, if idealistic at times. Next time you should try reading better

    6. Re:Either stupid or obvious by Anonymous Coward · · Score: 0

      IMHO, the "penetrate and patch" mentality is pervasive for several reasons.

      First and foremost is the business environment. We've all been there--the business makes a promise (via sales, marketing, or exec), and forces the deadline up drastically. Management doesn't have the backbone to say no. Quality goes out the window. Security goes out the window. All in order to ship the product NOW!

      Secondly, software engineering is starting to embrace the aforementioned problem via XP/spiral development. Not to say that quality and security necessarily go out the window, but the mentality begins to creep in to get things out and fix problems later.

      Finally (on my quick list), are the operating systems. Now, I don't intend this to be a flame war, but most operating systems have several security holes in them. I just explained this a couple of weeks ago, as I was taking care of the 200+ major security vulnerabilities in WinXP.

      Developers write their applications to push the envelope of an OS' restrictions. If an OS is riddled with vunlerabilities, you can bet developers will exploit it. However, if an OS is designed and built with security and hardness is mind, the developers will also be limited as to what they can do.

      Let's face it. A lot of the problems faced in security these days is due to sloppy applications being built upon sloppy OS' (and most OS' fall into that), which in turn is often due to rushed business deadlines.

    7. Re:Either stupid or obvious by ndb82 · · Score: 1

      Default deny can work if done right. The big component is that you don't allow the users to allow anything. I've seen client-side firewalls in place that only allow access to 3 or 4 websites. Nothing else. And no changes allowed by the users. The problem with this is that the staff can't do anything by themselves, and depending on the environment, that may or may not be an issue. Reasonably, though, you can allow anything they need to do their job and then say no to everything else. No boxes for the to click yes to.

    8. Re:Either stupid or obvious by benjamindees · · Score: 1

      In a corporate environment, users don't need to install their own applications or plug-ins.

      Users don't need to install anything in any environment.

      I have a network of ten users. I did a test: eight users got Linux that was locked down and patched by me, two got Windows to admin by themselves.

      Six months later, guess which computers had melted down and were crapflooding the network?

      --
      "I assumed blithely that there were no elves out there in the darkness"
    9. Re:Either stupid or obvious by QuaZar666 · · Score: 1

      While I can somewhat agree with Number 5, the user in the end tries to work around the problem or find a way to get admin access to the local machine.

      Most people want to find easier ways of doing there job, and if they can't do it then either A. they find a way to bypass the security, or find a new place to work.

      Companies speed way too much time saying "No, you can not install that application" rather than saying "Go ahead and install it if you want, and if you have a problem with it then you will be reinstalling the system". Let the users be responsible for the system. Saves a bunch of time and money for the IT staff, since they get to worry about things that are important like redesigning the network layout, or installing a new server.

      People learn quickly that if you install something and the system crashes then they might lose a deadline.

    10. Re:Either stupid or obvious by MrAnnoyanceToYou · · Score: 1

      I can't believe I had to come this far down for intelligent commentary / discussion..... Wait, retract that. Anyways.

      My question about this is whether you could get anything odne in this kind of environment as a developer. His essential argument is to be incessantly unpermissive - you can't do anything outside the box unless you are authorized to do so. Defining that box is very important. Unfortunately, a huge percentage of what tech workers do - once they are past the normal basic level of support - is highly reliant on things which are NOT normal tasks. Can you imagine an operating system which occasionally said, "No, you're not okay to do that. Sorry, go talk to a system administrator," and then just went back to happily chugging along?

      This is what he's really suggesting, and there are both advantages and disadvantages to that- sure, it's easy to keep a system running this way, but it also brings up a number of problems down the line both philosophically and systemically.

      I'm almost tempted to fill out the spam questionaire and rating form because a lot of what he's saying fits in so well.

    11. Re:Either stupid or obvious by Aeiri · · Score: 1

      Actually, default deny is just as stupid as default allow, as if you have default deny, people just get sick of being asked if they want to allow something, and end up clicking "yes" on every box they see.

      I'm pretty sure he's meaning general network big corporation security, hence him mentioning "managers" on multiple occasions. He's not talking about ways to secure Windows for the general population.

      So you want to write a virus scanner that somehow can recognise viruses without being told which programs are viruses. Modern virus checkers already mostly do this. With spyware it's very hard for a computer to tell the difference between a program you wanted installing and one you didn't. How do you expect it to tell?

      No, this is more like using Samhain, AIDE, Tripwire, or some other such HIDS program monitoring. Instead of any notable bad changes to your system being reported, it ignores what you specify as an acceptable change and logs the rest (such as certain log files increasing in size, applications being accessed but not modified, etc, then certain files that should never be accessed logged, and things like that).

      This idea is also illustrated in rkhunter, scanning for known "good" hashes to common applications instead of scanning for known "bad" hashes of programs that contain rootkits.

      So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?

      No, he means instead of searching for buffer overflows, XSS holes, SQL injection holes, etc, we should write security systems that make it impossible to do so in the first place. I have made security systems for XSS/SQLI prevention (and I don't mean filtering "union select" out of URLs, that's what's known above as "default allow") but I'm not smart/knowledgeable enough to do so for buffer overflows. I understand that this is extremely hard to do, but in languages like Python, Ruby, Perl, etc there is no such thing as a buffer overflow. Altering C/C++'s management of stacks and variables would possibly completely abolish the thought of buffer overflows, but instead we have had to deal with them for the last 15+ years. Surely there is SOMETHING we can do to get rid of them, even if it involves rewriting an OS completely from scratch again.

      You think people should learn how to stop hacking and intrusion without learning how existing hacks work? Then you are stupid. Shush.

      I think he's meaning "cracking" here. This is sort of fallout from my previous reply, but instead of actively searching for specific buffer overflow holes, we should fix the problem altogether.

      So you are saying that we have to do security without teaching users how to do it. That just isn't going to work unless you never let users install their own applications or plug-ins. Yes teaching users is hard, but it has to be a vital part.

      Again, I think this is in regards to managing big corporations again. If you force the security policies on the computers they are using, they won't have to know what it does. Allowing only what they need to do their jobs on their computers and all outgoing traffic to port 80 and 443 will allow them do their jobs just fine without any interuptions (given you set the rules correctly), and even have some slack to browse the internet when you are bored/have to wait on something. Allowing employees to download and install Half-Life 2 or BitTorrent isn't exactly productive, and it's not going to make them MORE productive by "treating them well". That will only lead to completely lazy employees doing jack shit and getting away with it.

      So, after saying the state we are in is rubbish, you now say we shouldn't actually change anything. Eh? Or are you saying "don't try something new without testing it first"? Well thats more than a little obvious.

      I agree with you on this one, you should research things before you adopt it complete

    12. Re:Either stupid or obvious by Anonymous Coward · · Score: 0

      It seems obvious from your characterisation of each point that you didn't read the article.

      "Read the article" doesn't mean "Skim the article in a haze of fury and spew verbal diarrhoea on slashdot."

    13. Re:Either stupid or obvious by Anonymous Coward · · Score: 0

      I think you perfectly got the point in a strange manner. How do improve the design, hmmm? Let us assume that you can give an arbitrary large number to isPrime. The largest found prime number so far is 2^13466017-1. If I give you, say, 2^(3*13466017)-1, is this a prime? Do you have a O(1) solution for this?

    14. Re:Either stupid or obvious by lemonjelo · · Score: 1
      My question about this is whether you could get anything odne in this kind of environment as a developer.

      I read the article to imply that someone should be responsible for knowing what things are needed and allow just those things. A developer would need to use a compiler, while billing staff probably doesn't. And while it's not specifically spelled out, I would assume development stations need not be sitting on an unrestricted network in the first place.

      --

      pimtamf
    15. Re:Either stupid or obvious by lapagecp · · Score: 1

      You don't get it at all.

        1) Default deny instead of default allow.

      Why are you letting a user click yes or no at all. What he is saying is that users shouldn't be allowed to make these decisions. Instead of having a virus/maleware scanner tell you what you can't execute you have a scanner that only allows programs on the list of ok. So when the user downloads the stupid screensaver full of maleware there scanner says you can't run this program cause its crap. Then if the shut down the scanner and let it run anyway they deserve what they get.

      2) Enumerating Badness

      Again sit down and read the article again and this time stop being one of the stupid people that contribute to the problem.

      3) Penetrate and Patch

      "So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?"

      Do you program? I doubt it. If you did you would know that most programmer know that they should focus on writing good code and document but instead they rush to get something that works and then never go back to fix things which wouldn't help anyway because you need to start with security in mind.

      4) Hacking is cool

      Again you miss his point but I will say that it is going to be hard to stop the notion that hacking is cool.

      5) Educating Users

      I didn't read this message in the article. I heard educate IT proffesionals. The point is "people" are dumb and can't be taught. A "person" can be taught on the other hand.

      6) Action is better than Inaction

      "Or are you saying "don't try something new without testing it first"? Well thats more than a little obvious."

      You may thing that testing is obvious but people rarely test to the degere that you need to before pushing out the latest greatest thing.

    16. Re:Either stupid or obvious by Anonymous Coward · · Score: 0

      A signed long on 32-bit platforms will only hold 2^31-1, so your assumption is wrong.

    17. Re:Either stupid or obvious by Ingolfke · · Score: 1

      you have a fixed set of programs that are allowed to run

      In practice this doesn't work. You can never keep track of all of the programs the various business users will legitamately need to run. New version of applications are always being made available. It's this type of thinking that keeps FireFox and other useful apps off of corporate desktops. You end up annoying your users because they can never run apps they actually need, or can't run them without going through an annoying approval process and you tie up your IT people approving software requests. Run a personal firewall on each PC, run anti-virus, make them mandatory (check them when users connect to the network... and isolate the user if they're not running), use firewalls, secure VPN, email anti-virus, and force OS updates. This works.

    18. Re:Either stupid or obvious by Arathrael · · Score: 2, Interesting

      Your example is bad and you should feel bad.

      Actually, I take that back. It's an accurate representation of the article. Which was bad.

      The example implies that the only application of 'penetrate and patch' is for idiots to check a design that's so obviously flawed you could simply correct it by thinking about it. And it assumes that if that flaw emerged, the developer would be sufficiently dumb to just fix the flaw as related to the specific test data and not anything else related, like, say, the underlying design.

      Which is indeed seemingly what the article says. It basically summarises to 'If you do this in a really stupid way, then this must be a dumb thing to do. Stop being dumb.' There's logic for you. The author of the article actually uses the example of testing for Apache bugs on a system without Apache as justification for the 'penetrate and patch' approach being dumb. You've got to be kidding me. What about on a system with Apache? Would that be dumb?

      I mean, I do agree that the 'penetrate and patch' approach is pretty futile if the design is put together and maintained by an idiot. But I'd say it's rendered redundant by the idiocy rather than being intrinsically redundant in itself.

      At the other extreme, as the grandparent poster was saying, it's also redundant if you have a perfect design without any bugs and holes. Great. Let's just do that then.

      Or, if we want to visit Mister Reality for a moment, we're going to in most cases have a design somewhere inbetween. Security will generally have been considered. But it most likely won't be a perfect design because we're just not capable of it (sidenote: how come users are so dumb they're just not worth educating, but software engineers are capable of perfection? I mean, to paraphrase the article, if educating software engineers was going to work, it would have worked by now...)

      Anyway, given the probable failure to reach perfection in design (and the uncertaintly of knowing it even if you did), it might be a good idea, maybe, to actually test the live implementation, and maybe fix any flaws? Or if you wanted to give it a jazzy name, you could call it... penetrate and patch?

      Or we could all just aim for perfect designs, assume we succeeded, and bask in the warm glow of our godlike egos. That's not a dumb idea at all.

    19. Re:Either stupid or obvious by starfishsystems · · Score: 1
      A similar but broader term is "secure by default."

      I like it better than "default deny" as a security principle because it suggests a process rather than a static state of affairs. The process begins with a system which is known to be configured secure by default. You then change the configuration to suit your operational requirements.

      The list of configuration changes thereby becomes something you can explicitly reason about, validate against security policy, translate to new platforms and new conditions, and track changes over time. It's an extremely powerful reasoning tool, because it relates directly to your requirements.

      --
      Parity: What to do when the weekend comes.
    20. Re:Either stupid or obvious by Quince+alPillan · · Score: 1

      Yes, a developer would need to use a compiler, but they could never run the programs made with the compiler because he would need authorization to run them.

      Having to talk with IT every time you want to run a different program that isn't on the approved list is idiotic. You're also never likely to get approval for anything because the IT guy who approves things never has the time to sit down and determine whether the requested program is a security risk or not. The request is then denied off hand.

      Usually the type of IT person that would implement this strategy is a control freak that won't let people run non-approved software on THEIR network. The only time I see this strategy as being useful is in a university on the lab computers (NOT the professors') or on public terminals because the students aren't supposed to be installing things on the computer anyway. Even then, you want to give them some rights to run programs (again, the developer situation mentioned above)

      Besides, if you're not allowed to use non-approved programs, how are you to test the latest open-source alternatives? ;)

    21. Re:Either stupid or obvious by ummit · · Score: 1
      So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?

      Everybody says it, what Marcus is saying is that we should actually do it. It is possible, you know. The first step is to drop your tragic preconception that all these problems are inevitable, that there's nothing we can do about them. People like Marcus Ranum can tell you what to do about them -- if you'll only listen.

      In fact, I can tell you, too. Here are two philosophies:

      1. Bugs are inevitable. You find 'em, you fix 'em, life goes on; anyone who tells you it's possible to write bug-free code is a dreamy ivory-tower idealist.
      2. Bugs need not be inevitable, and can be reduced to acceptably low levels (and the effects of the remaining ones mitigated) if we're scientific about it.
      I'm here to argue for #2.

      Like any scientific process, the key to actually reducing bugs is to do some measurement. (It doesn't have to be formal.) If, over time, your bug counts go down, if the new strategies you adopt in response to the bugs you had yesterday keep you from having as many bugs tomorrow, you're doing something right. But if you keep having bugs, despite claiming that you're trying to learn from them and trying to be more careful, you're still doing something wrong. In particular, simply trying to "be more careful" doesn't always work. There are some mistakes you can train yourself not to make, but there are some that are inevitable, meaning that sometimes you have to adopt a significantly different methodology where that particular too-easy-to-make mistake simply doesn't have a chance to happen.

      But, at the same time, yes, you have to admit that some bugs will still slip through. So you also have to think about, and spend time actually implementing, strategies to limit the damage caused by any remaining bugs in production code.

      For some reason, people who dismiss the notion of "writing code without bugs and holes" also dismiss the notion of trying to limit the damage caused by those bugs and holes. It's as if they imagine that bugs are inevitable in newly-written code, but that they can somehow all be eradicated from shipped, production code. (Or perhaps they're resigned to the fact that production code will always be full of bugs, too, and that users will just have to live with them. How sad. Good thing the engineers who design buildings and bridges and airplanes don't have the same attitude.)

    22. Re:Either stupid or obvious by coolGuyZak · · Score: 1
      All up the points he raises are interesting, if idealistic at times. Next time you should try reading better

      I'd say that the problem here isn't literacy; it's comprehension and thus, thought.

      Considering that this *is* slashdot, it shouldn't really be a surprise... And thus, I present you with a choice:

      • Nothing to see here, move along.
      • You must be new here.
      ;)
    23. Re:Either stupid or obvious by Procyon101 · · Score: 1

      There was no assumption made until you made the asumption of a 32 bit platform. Your assumption, if used in the solution automatically creates a bug when the code is compiled on a platform of different word length.

  18. On my webservers... by Space+cowboy · · Score: 5, Interesting


    I patch PHP to set a constant in the namespace of the script whenever a 'dangerous' function is called (eg: system(), shell_exec, the backtick operator etc., others :-). The webserver also prepends (php.ini: auto_prepend_file) a PHP file that registers a shutdown-hook. Those constants can then be examined in the shutdown hook code to see if any of the dangerous functions have been called, and if so, check to see if *this* script is allowed to call them.

    If the script is allowed to call the functions, all well and good, it's just logged. If not, the offending IP address is automatically firewalled. I purloined some scripts from the 'net that allow shell-level access to manipulate the firewall.

    So, now I had a different problem - the webserver wasn't running anywhere near the privilege needed to alter the firewall, and I didn't want to just run it under sudo in case anyone broke in. I wrote a (java (for bounds-checking), compiled with gcj) setuid program that takes a command string to run, an MD5-like digest of the command, and a set of areas to ignore within the command when checking the digest. The number of areas is encoded into the digest to prevent extra areas being added. If the digest doesn't match, the program doesn't run. This is a bit more secure than 'sudo' because it places controls over exactly what can be in the arguments, as well as what command can be run. It's not possible to append ' | my_hack' as a shell-injection.

    So, now if by some as-yet-unknown method, you can write your own scripts on my server (it has happened before, [sigh]), you're immediately firewalled after the first attempt - which typically is *not* 'rm -rf /' :-) Perl and Python are both unavailable to the webserver uid, so PHP is pretty much the obvious attack vector.

    Well, PHP and SQL injection of course, but the same script is used there - if the variables being sent to the page are odd in some way (typically I look for spaces after urldecoding them as a first step - SQL tends to have spaces in it :-), then the firewall is called on again. It's all logged, and the site-owners get to see when and why the IP is blocked. Sometimes it's even highlighted problems in their HTML :-)

    What would be nice would be a register within a PHP script that simply identified which functions were called. In the meantime, this works well for me...

    Just thought I'd share, because it's similar to what the author is saying regarding only trusting what you know to work, and everything else gets the kick (squeaky wheel-like :-)

    Simon

    --
    Physicists get Hadrons!
    1. Re:On my webservers... by DJCF · · Score: 1

      Very cool! (Very Ghost-In-The-Shell-ish / next-gen-hackerish) Can you point to a website or article that would show how to implement the kind of thing you describe?

      Anyway, good hack!

    2. Re:On my webservers... by Anonymous Coward · · Score: 0
      What would be nice would be a register within a PHP script that simply identified which functions were called. In the meantime, this works well for me...


      PHP 5.1 has 3 different function call executors that can be enabled at compile time. While none of them do this (they are mainly geared towards performance; there's a huge leap in function call performance in 5.1), it would be trivial enough to modify one of them (or create your own, the framework is modular enough) to log the call.

      For alternatives to your current system, check out intercept from PECL to avoid having to use a register_shutdown_function (consider that I can evade your shutdown function by causing a fatal or parse error after my exploit code; e.g., exploit_code_here(); eval('::');). Another advantage of intercept is that you can actively disallow calling the functions from being called from restricted scripts instead of logging it after the fact and then banning the IP. Main disadvantage of course being that the maintainer hasn't seen fit to change the status from alpha although the extension itself is stable as is its API.

      Another possible vulnerability of your script exists if you have the runkit extension enabled in which case it'd be possible to undefine the constant after it was created. Of course, runkit can be used to evade most security cordons you could construct (imagine just redefining the shutdown function to do something else) so this isn't surprising. Rather unlikely that you've got it enabled or that an attacker would know to do it, however.
    3. Re:On my webservers... by Anonymous Coward · · Score: 0

      I've done something similar, but only on the OS-level with snort and using a perl script called blockit to scan snort and ssh log-files, blocking IPs dynamically. It does catch some viruses injecting HTML-badies sometimes.

      The problem is that this approach is NOT secure. The attack is not blocked at the first attempt, but after the fact. An attacker may then at convenience continue from another IP-address, or reap benefits of the first successful attack if that managed to inject some malicious code and maybe open up some ports or whatnot. Anyways, after the first attack, a system is compromised and hosed.

      The problem is fixing this requires some more smarts and time-investment, which is why software is so horribly insecure today.

    4. Re:On my webservers... by Space+cowboy · · Score: 1
      That's good to know (about intercept, and about PHP 5.1 - we're scheduled to move over to it soon, just as soon as all the code's been properly tested...)

      You can't evade the shutdown function by causing fatal errors though - I've just tested it with:

      register_shutdown_function("testit"); // this is another comment and it's got different text
      echo "Doing nasty hacker stuff now"; //you know the drill - it's just a game we have to play
      eval("::");

      function testit()
                    {
                    echo "yes, it was called";
                    }


      The 'testit' code was called. When you introduce a parse error (after the 'eval' for example), nothing is output, presumably because it fails during tokenisation.

      The advantage of being able to disallow calling would be very useful though :-) I don't have the runkit installed, so there's no danger from that.

      Thanks for the input :-)

      Simon.
      --
      Physicists get Hadrons!
    5. Re:On my webservers... by Jezral · · Score: 1

      Just don't let anyone know exactly where you are running that. 'auto_prepend_file' can be altered at .htaccess level, so if that's the first they change the rest is moot.

  19. DRM by Kelerain · · Score: 4, Interesting
    That nice list, and they didn't include Digital Rights Management? The link is to a Cory Doctorow talk that explains and argues these points (it was for a talk he gave to microsoft)
    1. That DRM systems don't work
    2. That DRM systems are bad for society
    3. That DRM systems are bad for business
    4. That DRM systems are bad for artists
    5. That DRM is a bad business-move for MSFT
    A very good read if you are in the position of explaining this to someone in a position to mandate DRM.
    1. Re:DRM by Wesley+Felter · · Score: 3, Insightful

      Because DRM has nothing to do with computer security. Lumping them together just causes confusion.

    2. Re:DRM by Anonymous Coward · · Score: 0

      Wow, thanks for the link to Cory's webpage. That was a good read and I can absolutely agree. Hopefully the people making the laws realise this, too, before we have blocked ourselfes the way into "information age."

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

      I'm sorry, Cory Doctorow is not an authority on anything other than stunted writing and Disneyland.

      And pimping himself out.

    4. Re:DRM by BudaElvis · · Score: 1

      The DRM you're refering to is the one used for *distribution of content*. I don't think he's refering to that.
      Actually, Digital Rights Management would be excellent for a business - not for content distribution, but for a work environment.
      Correction, it IS excellent because rights management is an essential part of handling even the smallest corporate network. It's the *real* and *legitimate* DRM. The other stuff is CRM (Content Restriction Management).
      And by the way, Trusted Computing would also be excellent for a work environment. It would make security handling much easier. The problem is with CRM and Total Crap Palladium, wich is targeted to *everyone*, not just a corporate environment where it's actually useful.

    5. Re:DRM by Anonymous Coward · · Score: 1, Insightful
      Because DRM has nothing to do with computer security. Lumping them together just causes confusion.

      DRM has everything to do with computer security. Imagine you're setting up federated authentication with a partner company and you need to authorize access to particular records in a database. Perfect application of DRM. Do you think authorization of external entities isn't part of IT security?

    6. Re:DRM by Aardvark99 · · Score: 1

      Don't you hate pants?!

  20. DailyDave by tiny69 · · Score: 2, Interesting
    There's already been some entertainment over Marcus's article on the DailyDave. Dave Aitel doesn't agree with Marcus.

    http://lists.immunitysec.com/pipermail/dailydave/2 005-September/002347.html

    Dave's "Exactly 500 word essay on "Why hacking is cool, so that Marcus changes his web site"." http://lists.immunitysec.com/pipermail/dailydave/2 005-September/002366.html

    --
    Go not unto/. for advice, for you will be told both yea and nay (but have nothing to do with the question)
    1. Re:DailyDave by Shiptar · · Score: 1

      Well I'm glad to see he got his list back up and working. Maybe if he listened to Marcus he wouldn't have lost it in the first place ;P

    2. Re:DailyDave by drew · · Score: 1

      the 500 word essay, while insightful, totally missed the point. the essay is talking about hacking as a sociopolitical thing. the article is talking about hacking from a security practitioner's perspective.

      he is saying that security people shouldn't be offering jobs or other incentives to hackers for finding vulnerabilities, nor should they try to spend their time learning to be hackers in the hopes that it will help them to become a better security professional. either of these techniques basically condemns you to implementing your security policies via mistake number 2, enumerating the bad things.

      --
      If I don't put anything here, will anyone recognize me anymore?
  21. Re:Real security has to be build into the foundati by snuf23 · · Score: 1

    "To illustrate, ask yourself this question: why do most corporate computer users have permissions on their computer to download and execute arbitrary programs?"

    Most likely because either:

    1. The IT department is too stupid to lock down the computers.

    or

    2. They need to run some stupid Windows application that requires the user be an administrator.

    The second option is all to common even now, and one of the major problems with desktop security in Windows.

    --
    Sometimes my arms bend back.
  22. One good point this article makes by suitepotato · · Score: 5, Interesting

    is the permit by default tendency. This is like having a fence that springs out of the ground only when certain people are sensed approaching it. It needs to be up and topped with barbed wire and the only gate needs to be locked until someone is given a key to it. NAT routers are like that. They can only forward traffic when you bother telling it to and until then sit there stupid making you wonder why your new SSH installation won't talk to the outside world.

    OTOH, it is a collosal pain in the arse to deny all traffic and only allow what you want because so much code is network aware these days and designed to talk to some place across the net. Then again, it does tell you which apps are communicating in the first place.

    On my Windows boxes I use Sygate Personal Firewall to create a specific list of allowed executables and block everything else with a block all entry at the bottom of the fall-through list. No match, no talk. Inbound and out. Combined with NAT it makes for very little traffic reaching my internal network. When I leave my desk for the night and Windows is running, remove a few check marks and save and it only allows the file sharing app to talk and I keep that updated and locked down at all times.
    It also can be set to approve or deny execution of code that may have changed since last allow/deny challenge.

    That which is not forbidden is not only not compulsory, but probably suspicious.

    --
    If my grammar and spelling are off, I am [distracted/tired/careless] (take your pick)
    1. Re:One good point this article makes by izomiac · · Score: 1

      Deny by default has its share of downsides as well. It works perfectly for servers or mindless drones, but with people who don't do exactly the same thing everyday it can become just as (or more) difficult to manage as permit by default. Take my boarding school for example. They blocked everything except outbound ports 80, 110, and 443. That means people couldn't use FTP, NTP, Usenet, IMAP(S), POP3S, or any other somewhat useful internet services. They also weren't willing to open a port for just one user. So after getting frustrated at not being able to access those services (not to mention a few obscure websites running on non-default ports) I was motivated to circumvent it. After a little research/trial and error I found that HTTPort & public proxies worked for Windows, and that the firewall wasn't compatible with BeOS (which I still use today, so some good did came from this). While most users won't resort to those measures, it isn't exactly a good idea to block things just because you (an IT person) don't think that other people (in my case students) need access to it. A better solution, IMHO, would be to block any normally ports that Windows normally keeps open, and possibly any know trojan/spyware ports, and allow everything else.

  23. bad computer security by Bananatree3 · · Score: 0, Redundant

    placing a company data server out on your front lawn with a "FREE" sign on it.

  24. Care to be more specific? by Lifewish · · Score: 1

    It seemed pretty good to me apart from point 5. But I'm only a mathematician, so I await whatever wisdom you impart.

    --
    For the love of God, please learn to spell "ridiculous"!!!
    1. Re:Care to be more specific? by jc42 · · Score: 1

      It seemed pretty good to me apart from point 5.

      Well, I keep getting hung up trying to get past his absurd statement in point 1:

      The default is to permit anything on your machine to execute if you click on it, unless its execution is denied by something like an antivirus program or a spyware blocker.

      Um ... I ran a couple of finds on several machines I'm responsible for, to count the executable files and the total files. Far fewer than 1/1000 of the files have the execute bit set. So he is overwhelmingly wrong on all these machines. And this isn't even looking at antivirus or spyware-blocking software; it's just looking at basic file permissions. If you attempt to execute almost any file on these machine, you'll simply be told that "Permission denied".

      So how credible can the rest of an article be, when it contains a howler like this near the beginning?

      I'll take a look at point 5. (And yes, IAAM - I Am A Mathematician. At least that's what it says on several of my college degrees, so I guess I must be one. ;-)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    2. Re:Care to be more specific? by coleridge78 · · Score: 1

      I think the obvious meaning of his statement was "The default is to permit any[executable] on your machine to execute if you click on it..." This is obvious thanks to the rest of the sentence, where he makes an exception for execution being blocked in some circumstances which don't include "it's not an executable". Of COURSE you can't execute a non-executable file by clicking on it.

  25. Re:GET SOME PRIORITIES! by Anonymous Coward · · Score: 0

    Maybe there were many deaths 60 years ago. There was also a lot of deaths 4 years ago. But I can guarantee that there will be many deaths in the future if we don't probably secure the most vital networks. You do know that computers control eletricity, water, airplanes, banks, food processing plants, etc? Just watch a hacker change the recipe of the hippest kid food and poison 10,000, or watch two planes crash in mid-air, with no hijackers endangering their lives since the autopilot was hacked from the ground.

    The past is not my priority, the future is.

  26. Re:Real security has to be build into the foundati by mattyrobinson69 · · Score: 1

    on linux, just mount /home and /tmp with noexec - now nothing can be executed except that explicitly installed.

  27. This article is pretty stupid... by nazzdeq · · Score: 1, Insightful

    Basically he said don't patch anything and design things that are secure. Pretty ignorant of security if you ask me. It's hard for the end user to design things that are secure when every layer of software/hardware they use is buggy. From the kernel, OS, network protocols, database, software language, drivers, routers, firewalls, and applications all contain bugs and design flaws. [1] Until you create the perfect human being there will be bugs and design flaws. [2] If a person can use a computer to do anything, then it can be hacked as someone can always get your password. [3] Why is that? Because a great portion of break-ins are inside jobs done by the Sys Admins or DBAs or other pissed off employees with access. Ultimately, you can never have 100% security unless a computer cannot be used by anyone. You have to at least try and improve the system as you go. This is the only way to *limit* the break-in possibilities, you will never prevent them all 100% outright.

  28. Naive by alan_dershowitz · · Score: 1
    "Let's go production with it now and we can secure it later" - no, you won't. A better question to ask yourself is "If we don't have time to do it correctly now, will we have time to do it over once it's broken?" Sometimes, building a system that is in constant need of repair means you will spend years investing in turd polish because you were unwilling to spend days getting the job done right in the first place.

    This will never change as long as the market rewards timeliness over quality. Also, in many businesses, you have a contractual obligation to be running by a certain date. Hell or high water, you are going to ship on that date.

    Choosing to ship before something is finished isn't usually decided by software teams, but by the business owner. IMO, they are preaching to the choir on this one.

    1. Re:Naive by HermanAB · · Score: 1

      Please tell Linus to stop making new releases of Linux - he should complete it first...

      --
      Oh well, what the hell...
  29. No default permit = no firewall by m50d · · Score: 1

    If my firewall doesn't allow by default then it's going to be turned off entirely sooner or later when I can't get something working. The system should be secure without the firewall (just don't run unnecessary services), the firewall is there for an extra layer when exploits are found (by blocking specific exploits), to protect servers that don't need to be public (but this is not strictly necessary since internal auth methods should be good enough, leaving a non-public service open is far better than blocking one that's meant to be public.) and to give an uncompromised log of any intrusions which do occur (which is just as easy with default permit)

    --
    I am trolling
  30. Good Still Winning by Doc+Ruby · · Score: 0

    Ranum's attitude is hyperpessimistic:

    "[S]ometime around 1992 the amount of Badness in the Internet began to vastly outweigh the amount of Goodness
    [...]
    about 75,000+ viruses that might infect your machine. Compare that to the legitimate 30 or so apps that I've installed on my machine
    "

    Of course the "amount" of goodness Ranum puts on the Internet is vastly more than the badness, using each of those 30 "good" apps much more frequently than each of those 75K viruses. Even considering average Netizens, not quite as clean as we can presume Ranum to be, and even the few Net saboteurs pumping badness into our Internet, there's still much more goodness (or "whateverness") than badness.

    --

    --
    make install -not war

  31. What? Slashdot giving Ranum press? by pegr · · Score: 1

    This is the same putz that, in Risk Digest, denied what he wrote in his own book! Hey Ranum, go get some Ritalin then write something. There's a great mind there, it's just trapped.
     
    My post captcha is "uncouth"... Ain't that the truth! :)

  32. Where is... by gaanagaa · · Score: 0, Troll

    Actually there should be seven. I remember its something starting with: "installing MS Windows....."

  33. Dumbest Ideas in Corporate Email Security by Anonymous Coward · · Score: 5, Funny
    1) Restrictive password naming policies

    Password must be 10+ characters in length, contain upper and lower case letters, 3 numbers and 2 special characters.

    Result:

    Users keep their passwords on post-it notes stuck to their monitors.

    2) Constant password expiration

    Passwords expire every 3 months. New passwords can not resemble old passwords.

    Result:

    Users keep their passwords on post-it notes stuck to their monitors.

    1. Re:Dumbest Ideas in Corporate Email Security by Vorondil28 · · Score: 1

      On a serious note, if you keep physical security tight when it comes to getting access to the workstations that have the post-it notes stuck to them, it shouldn't matter, right?

      I'm no sysadmin or anything, but am I wrong?

      --
      This sig rocks the casbah.
    2. Re:Dumbest Ideas in Corporate Email Security by burns210 · · Score: 1

      Any coworker would, more or less, will have constant access to your account passwords. Most attacks come from within, where security is often weaker, then from the outside.

      Don't rely on one layer, including physical, for security

    3. Re:Dumbest Ideas in Corporate Email Security by the-build-chicken · · Score: 1

      yeah, but IT&T doesn't get their ass kicked if someone breaks in and steals all the passwords. Corporate IT is about moving the problem somewhere else, not necessarily fixing it...everyone knows that.

    4. Re:Dumbest Ideas in Corporate Email Security by tomem · · Score: 1

      Post-it notes!? Heck! I put 'em in my address database so I can look them up and copy/paste them....

      And hackers can find them more easily that way, also...

      --
      ThosEM
    5. Re:Dumbest Ideas in Corporate Email Security by RoadWarriorX · · Score: 1

      2) Constant password expiration

      Passwords expire every 3 months. New passwords can not resemble old passwords.


      Or pick today's date, like 20050911.

      Now, I have to change my password...

    6. Re:Dumbest Ideas in Corporate Email Security by Neop2Lemus · · Score: 2, Interesting

      At one company I worked at
      when the 3 month period came,
      you changed your password thrice
      and kept it just the same.

      --
      Needle Nardle Noo
    7. Re:Dumbest Ideas in Corporate Email Security by Anonymous Coward · · Score: 0


      You say "Users keep their passwords on post-it notes stuck to their monitors." like it is such a bad thing. Assuming users *do* write them down, but *don't* put them on their monitors (a safe assumption from what I've seen at a Very Large Company Outside Of The Computing Field).

      Write them down til they are memorized, just don't keep them out in the open. Lock them in the (yes I can pick them) file cabinet, put them in the wallet.

      Oh, and I *wish* it was only 4 times per year. HA! for admins it is 13 times a year cuz the ID10T's who came up with the policies said 30 days and 60 days instead of 33 days and 66 days.

      On the bright side, the script checker says "submit". Coooool.

      --Non-linear Man

    8. Re:Dumbest Ideas in Corporate Email Security by patio11 · · Score: 1
      Its all a question of "What threats are you worried about?" I'm going to go out on a limb here: for some people, post it notes on the monitor are perfectly secure. I'm one of them on my home machine, although I don't use them. I live in a crime-free neighborhood in an almost crime-free country (Japan) and my computer is locked in my apartment that a) only I have access to and b) is watched constantly by my lovably nosy Japanese neighbors and c) if someone gains physical access to the computer I'm "#%$"#$&#$ed anyhow because they can do far more damage by stealing all my possessions, including the computer, than by getting past my boot screen to be able to, uh, play my iTunes collection and access the Internet. My security threat is that someone compromises my computer or, more likely, one or more of the hundred or so services I have a logon with remotely. So long as the password is good enough to defeat that threat, it doesn't matter if its on my monitor -- I've been thinking of just making a list of very strong passwords and putting them up in my room, because this would let me be a lot more secure than I am at the moment (a small number of passwords repeated among dozens of sites, segregated by amount of damage disclosure could cause me).

      Same with my work machine. We were, until this year (when our company added an Information Security practice and decided our old model was not exactly a compelling advertisement for the practice), ridiculously lax on password standards. Default passwords were you username, which was your first or last name, and they were used by probably 80% of the company. This would have been fairly disastrous, if it weren't for the fact that we're in a Japanese office and you can't get three centimeters inside the door without being noticed by 175 people and accosted by either a security guard or a secretary. (Our network security, on the other hand, compares favorably to my old job with an American TLA)

    9. Re:Dumbest Ideas in Corporate Email Security by ymgve · · Score: 1

      Not true. Since the worms started flying around, I am willing to bet that the number of attacks from the outside are two or more magnitudes higher than the number of attacks from the inside.

      Targeted attacks, however, is an entirely different beast.

    10. Re:Dumbest Ideas in Corporate Email Security by Council · · Score: 1

      I'm not convinced it's worth it to make your passwords vary lowercase and caps, as far as security from a brute-force attack goes.

      It seems you can get the extra bits by adding two extra alpha chars to the end of your string and not have to memorize case. And losing the numbers is an even better trade-off, if you find them hard to remember as well (perhaps you do passwords phonetically). The numbers thing is up in the air for me but I'm pretty convinced that varying case instead of adding a bit to length is a bad technique for creating lots of random bits.

      --
      xkcd.com - a webcomic of mathematics, love, and language.
    11. Re:Dumbest Ideas in Corporate Email Security by Anonymous Coward · · Score: 0

      If you keep your physical security so tight that underpaid foreigners with vacuum cleaners can't get into the office, you are going to have a very dirty office.

    12. Re:Dumbest Ideas in Corporate Email Security by WWWWolf · · Score: 1

      Passwords expire every 3 months. New passwords can not resemble old passwords. Result: Users keep their passwords on post-it notes stuck to their monitors.

      Or change their password to "D4mnTh1sP4ssW0rdSh17", which is accepted, then change it immediately back to whatever they were using yesterday.

    13. Re:Dumbest Ideas in Corporate Email Security by DeanFox · · Score: 1


      Just one password? The company I'm currently at we have seperate logons and passwords for the following:

      Windows
      UNIX
      MAin Company Application
      VPN
      Cybershift
      Magellan
      TrackIT
      Mtrack
      Projects Application
      Exchange/Email
      Telephone
      Change Management


      I gave up on a postit notes a long time ago and now use a spreadsheet I have linked from my desktop.

    14. Re:Dumbest Ideas in Corporate Email Security by tengwar · · Score: 1

      I've been having a problem logging into a particular intranet site. It turned out that it was because I had an "&" in my password, following our strong password policy. This wouldn't be a problem except that (a) they put the password as an argument to a URL; and (b) they don't URL encode it, so that the server interprets the "&" as an argument separator. Just for fun, (c) they are not using SSL.

    15. Re:Dumbest Ideas in Corporate Email Security by Cro+Magnon · · Score: 1

      My system keeps track of the last 12 passwords. I can't change back to what I was using yesterday. I just use $DUMBPASSWORD12 (or whatever number I'm on).

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    16. Re:Dumbest Ideas in Corporate Email Security by BenEnglishAtHome · · Score: 1

      Where I work, we avoid this problem by having a slightly more sensible PW formatting and expiration policy. However, we in front line support are allowed to specifically tell our users to write down their passwords. Our official security policy encourages but does not mandate memorizing passwords. Every day, I encounter a user who can't/won't do this. My reply is always the same. I pull a credit card from my wallet and show it to the user. "See that long number? That's a password to my credit line. It's embossed on right on there. I don't mind that my password is written down. Neither should you. Just make sure you protect the paper on which it's written!!" Most people write them on a slip of paper that they put in the badge holder around their neck. We consider this just fine and dandy, especially since the average user around here will have at least a dozen different username/password combos to keep track of.

      Simple, huh?

    17. Re:Dumbest Ideas in Corporate Email Security by Slack3r78 · · Score: 1

      Relying on this permutation calculator since I've long forgotten how to do the math myself, so hopefully it's accurate.

      Assuming alphanumeric characters only, pass length of five, gives you:
                    45239040 Permutations.

      Password length of five, letter case added (n of 62):
                    776520240 Permutations.

      Extending the password length two characters to seven (but ignoring case):
                    42072307200 Permutations.

      Password length seven, with mixed case:
                    2478652606080 Permutations.

      So adding length is certainly more effective, but adding case also increases the complexity a good bit, if you want to maintain a given length.

    18. Re:Dumbest Ideas in Corporate Email Security by PlacidPundit · · Score: 1
      Any coworker can rip your hard drive out and take it home too. If you don't have physical security, you don't have anything.

      Then again, if your primary concern is anything but some random 13 year old dork with too much time on his hands, you probably have more secure physical AND network security than most offices need.

  34. Ok Marcus, but opposed to what? by gelfling · · Score: 1

    You make some valid points glasshopah but opposed to what? So you don't patch, or educate users or do pretty much anything?

    Perhaps the more insightful question Marcus is, how much 'security' is worth doing at all? What are the actual success criteria that worth aiming at? I tend to think Marcus, that security like everything else in life and commerce are worth doing at about a c+ (as in grade not compilers).

  35. Quote: "nude pictures of barely clothed females" by Anonymous Coward · · Score: 2, Funny

    *head explodes*

  36. Wow! by Knome_fan · · Score: 1

    Did you actually read the article, or did you just repeat one of its points by accident?

    1. Re:Wow! by Xentor · · Score: 1

      When it expired
      We just changed our pass three times
      Kept it just the same

      "5-7-5, the magic thing that is... Haiku!" --Hooptie-Goo

      --
      "The amount of intelligence on this planet is a constant. The population is growing." -Cole's Axiom
  37. String comparison? by dhasenan · · Score: 1

    Do you know what algorithm they applied to determine string similarity? If it were a naive algorithm, you could simply shift a 14-character string to the right each time.

    Otherwise, you could rot-6 it each time. You'd quickly become familiar with rotational codes.

    1. Re:String comparison? by Anonymous Coward · · Score: 0

      > Do you know what algorithm they applied to determine string similarity? If it were a naive algorithm, you could simply shift a 14-character string to the right each time.

      No, I don't, but it wasn't that naïve.

      What's hilarious, is that they obviously needed to store the passwords in clear text to be able to check for similarity, which is pretty bad.

      > Otherwise, you could rot-6 it each time. You'd quickly become familiar with rotational codes.

      You expect a user that's writing passwords on post-it notes to be that smart?

    2. Re:String comparison? by owlstead · · Score: 1

      Rot- would be smarter - like Rot-7 or Rot-13. You would not rotate into your old passwords that quickly.

      Anyway, use a (very cheap) PDA with a single password and a password tool (create/store) and you're set. Don't enable WiFi and/or bluetooth of course...

    3. Re:String comparison? by SetupWeasel · · Score: 2, Interesting

      You expect a user that's writing passwords on post-it notes to be that smart?

      Why the hell would writing you password on post-its be a stupid idea? Everywhere I've worked the IT people didn't give a shit about the guy in the next room or cube getting your password. It was the people outside the building that mattered.

      You are telling me that you could come up with a unique 14 character password every week and not have to write it down? Listen, I'm a pretty fucking smart guy, and I don't have that ability. With the number of passwords I have to manage these days, I'm lucky to remember where I wrote that one down.

    4. Re:String comparison? by Anonymous Coward · · Score: 0

      This does prevent some random hacker from getting in but not anyone who specifically targets you. All someone has to do is get into your office, such as a janitor, and they now have the password. With some social engineering maybe you can even convince someone to go find the sticky on someone's desk and tell you the password.

    5. Re:String comparison? by Shano · · Score: 1

      I think you'll find Rot-13 will rotate into a previous password rather quickly. Any number that isn't a multiple of 2 or 13 will require 26 iterations before a password is repeated.

      In fact, I do use a PDA with Keyring for most of my passwords.

    6. Re:String comparison? by owlstead · · Score: 1

      Yeah, sorry, they had to be relative primes of course. My bad.

      Actually that's what it said after the first -, but I forgot that slashdot has the anoying habit of removing anything between the greater than / lesser than signs, even in plain text mode.

      But then again, I should have previewed my comment.

    7. Re:String comparison? by Princeofcups · · Score: 1

      > Why the hell would writing you password on post-its be a stupid idea? Everywhere I've worked
      > the IT people didn't give a shit about the guy in the next room or cube getting your password. It was
      > the people outside the building that mattered.

      Because that post it note can be on the CEO's computer, and letting everyone read his/her email could be quite a legal problem.

      jfs

      --
      The only thing worse than a Democrat is a Republican.
    8. Re:String comparison? by Sigma+7 · · Score: 1
      Why the hell would writing you password on post-its be a stupid idea? Everywhere I've worked the IT people didn't give a shit about the guy in the next room or cube getting your password. It was the people outside the building that mattered.


      Two words: disgruntled employee.

      A post-it note on a monitor is no security. At the very least, it should be on the back of the keyboard, in the top desk drawer, or in the bottom desk drawer (in order of ascending preference.)

      Creative workers can place it underneath the monitor - even though it can still be found, you generally have to be conspicious.

    9. Re:String comparison? by RealAlaskan · · Score: 1
      You are telling me that you could come up with a unique 14 character password every week and not have to write it down?

      I think I could manage it, according to the rules in the GP post. That required 14 characters, with at least 60% (i.e., 9 of 14) not repeated from previous passwords.

      So, use a pattern:

      • Five#abcdefghi
      • Five#bcdefghia
      • Five#cdefghiab
      • Five#defghiabc
      • and so on
      You get nine different passwords, and all you need to remember is the template and the current starting point in the sequence you're rotating through. Odds are good that the system only remembers the last five or six passwords, so that template will probably be good forever.

      So, you memorize the template, and if this is a week where the sequence starts with c, you have a big ``C'' on a sticky note on the monitor. I'm looking at a sticky note which says ``C'' right now (and no, that's NOT the template I'm using).

  38. Re:Real security has to be build into the foundati by Alex+Brasetvik · · Score: 5, Interesting

    noexec can be easily circumvented. Read here for more information.

    Relevant example:


                  alex@joker:/tmp# mount | grep tmp /dev/hda7 on /tmp type ext2 (rw,noexec,nosuid,nodev)
                  alex@joker:/tmp# ./date
                  bash: ./date: Permission denied
                  alex@joker:/tmp# /lib/ld-linux.so.2 ./date
                  Sun Dec 3 17:49:23 CET 2000

  39. #4) Hacking is Cool by Quirk · · Score: 4, Interesting
    "Hidden in Parker's observation is the awareness that hacking is a social problem."

    Crime as a problem of context is studied in Gregory Bateson's seminal book Mind and Nature: A Necessary Unity. Bateson addresses two flaws in our court system. One is to treat a crime as something isolated and somehow measurable in penal terms. Taking a crime out of context, i.e., the makeup of the criminal, is blind to the forces that generate criminal actions.

    Bateson speaks of (crime) "...as not the name of an act or action; it is the name of a frame for action. ...( he suggests)... we look for integrations of behavior which a) do not define the actions which are their content; and b) do not obey ordinary reinforcement rules." In this context he suggests play, crime and exploration fit the description. As long as we are only able to punish according to some sort of arbitrary eye for an eye method of bookkeeping we will be unable to root out crime.

    Bateson's second criticism of our judicial system addresses it's adversarial nature. He writes... "adversarial systems are notoriously subject to irrelevant determinism. The relative 'strength' of the adversaries is likely to rule the decision regardless of the relative strength of their arguments. Bateson's second

    He further goes on to a brilliant analysis of the Pavlovian study of dogs in terms of the dog's view of the context; and, how the dog's context is violated when the dog's view of a "game" of distinction is morphed into a game of guessing without there being any markers to tell the dog the context of the game has been changed. This switch in context drives neurotic and violent behaviour in the dog. I suspect much anti social behaviour is driven by the criminal's inability to read society's context markers.

    --
    "Academicians are more likely to share each other's toothbrush than each other's nomenclature."
    Cohen
    1. Re: #4) Hacking is Cool by SoupIsGoodFood_42 · · Score: 1
      Intelligent ideas on Slashdot? Well I suppose it does occur on occasions.

      Funny thing is, if you brought this up in your average political discussion, you'd probably be told that it costs too much time and money to look at a person's background to get the full context of the situation/crime. But then they'd go back to complaining about how much money those bloody lawyers make, how much time and money the court wastes, and completely miss the connection; that doing it properly probably wouldn't cost that much more.

    2. Re: #4) Hacking is Cool by seabasstin · · Score: 2, Interesting

      very interesting, I am getting it.
      your analysis of the Pavlov's dog, raises a number of interesting questions, but definitely support the "Dumbest lists author" in his assertion that their is a significant erasing of boundaries when talking of computer network crime, that makes the criminal completely separate the effects of his crime on REAL people.
      This I feel is also a real issue in a Globalized Corporate economy where arbitrary invisible entities are considered equal to citizens in the judiciary of most countries.
      thanks for the reference

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    3. Re: #4) Hacking is Cool by Anonymous Coward · · Score: 0

      Sorry pal, but crime is not a disease. It is an evolutionary adaption, and it is rational. Imagine you find a bag full of dollars bill, worth many million dollars. And the name of the owner is on the bag. No one knows you have the money, and you keep it. It is theft, it is immoral, it si not what makes a good society, but it is a very rational decision. It is in your best interest.

      Or imagine you have to kill to get the last bottle of water that will permit you to survive. The murderer, the ruthless will survive.

      Crime and violence get results.

      Same thing for computer crimes. We need to remove the benefits, and increase the risks for the criminal.

      Eye for eye is not arbitrary : it is determent, dissuassion, and deescalation (you don't want to end up with a vendetta or WWI). And it works.

    4. Re: #4) Hacking is Cool by PlacidPundit · · Score: 1
      As long as we are only able to punish according to some sort of arbitrary eye for an eye method of bookkeeping we will be unable to root out crime.

      Anyone who thinks it even remotely possible to "root out crime" understands neither the justice system nor human nature.

  40. Re:Isn't most of this stuff obvious? by v1 · · Score: 1

    that has a familiar ring to it...

    --
    I work for the Department of Redundancy Department.
  41. Re:Real security has to be build into the foundati by Anonymous Coward · · Score: 0

    On linux the avg user can be denied permission based on the rights you setup for their respective home directories. System wide bins usually dont have write permissions or depending on its utility read, write or execute permission. Which is why sudo exists etc etc. So essentially no, Linux doesn't give the average user that capability. The same goes for most other Operating Systems; even Windows.

  42. Nope by Knome_fan · · Score: 2, Informative

    As the article rightly points out, and btw. if you had bothered to read it you would have been aware of this, there is no reason at all why joeuser should even be able to download and execute "naked_sluts.exe" on a companies network.

    And I quote:
    "Dealing with things like attachments and phishing is another case of "Default Permit" - our favorite dumb idea. After all, if you're letting all of your users get attachments in their E-mail you're "Default Permit"ing anything that gets sent to them. A better idea might be to simply quarantine all attachments as they come into the enterprise, delete all the executables outright, and store the few file types you decide are acceptable on a staging server where users can log in with an SSL-enabled browser (requiring a password will quash a lot of worm propagation mechanisms right away) and pull them down. There are freeware tools like MIMEDefang that can be easily harnessed to strip attachments from incoming E-mails, write them to a per-user directory, and replace the attachment in the E-mail message with a URL to the stripped attachment. Why educate your users how to cope with a problem if you can just drive a stake through the problem's heart?"

  43. MJR has been around for a while by bernywork · · Score: 1

    And I follow his thinking....

    You allow through what you want, harden those systems to the level of the firewall that you are protecting them with, and then harden the systems that they connect to, to the same level.

    At the end of the day though, you can only harden so far. You have to balance the security vs ease of use arguement along the way. The best way to do this is to take all the applications that make the business money, find a secure way to allow them through (Proxy or otherwise) and then deny the rest of the traffic. As people whinge, allow those applications through based on merit.

    One of my friends at the moment is trying to convince his head of IT (My old head of IT) to impleement IPSEC everywhere. That's a great idea and all, especially from a security persepctive, but it adds a layer of complexity that could well become harmful and the head of IT isn't going to buy into it.

    What we need to do is go about education, telling the users what should and shouldn't happen, the idea that if "this" comes up to hit cancel or to report it, and that is their options. Make this the default for the "deny any" policy that Marcus was trying to get across.

    At the end of the day, we can't harden everything, as much as we would like to we can't. Simply because of a lack of resourcing or otherwise this isn't a possibility. Unless someone comes to bat for a much larger (And smarter) security group, that is going to look after absolutely EVERYTHING, every single request that crosses a helpdesk and specifies what every user will need access to and ensuring that those applications are hardened will Marcus' idea ever take off.

    Oh I wish for the day when it does, but in the next 5 - 10 years, I don't see it happening..

    Please someone prove me wrong.

    --
    Curiosity was framed; ignorance killed the cat. -- Author unknown
  44. No "default permit" for application launch in OSX by Phat_Tony · · Score: 4, Insightful
    "On my computer here I run about 15 different applications on a regular basis. There are probably another 20 or 30 installed that I use every couple of months or so. I still don't understand why operating systems are so dumb that they let any old virus or piece of spyware execute without even asking me."

    Try OSX. As of some update about a year ago, OSX stopped having "default permit" for launching applications by double-clicking. If you double-click and that leads to launching an executable that hasn't been run before, it pops up a dialog to ask you about it.

    Thus, no more executables bearing viruses disguised as documents.

    --
    Can anyone tell me how to set my sig on Slashdot?
  45. #1 by NitsujTPU · · Score: 1

    #1 starts out fine, until you notice that his argument necessitates trusted computing, which has never really made it into vogue.

    He should have kept it about things that "Default Permit" actually addressed when people were considering it, rather than hopping down a path that requires technology that is barely in use yet, as it if were at some point a direction that we had already considered.

  46. Why should we educate users? by Psykechan · · Score: 1

    OK, we shouldn't educate users at all, huh? Yea I think that business users should never have admin rights to their business machines but for everything you can't nail down, you're either going to have to have smart users or have the IT folks hold the users' hands constantly.

    My belief is that users should be as educated as possible but it should never be a business requirement. Feel free to lock things down; you should restrict access but also let your users know why they are that way. Hell, maybe it will help them with their home systems. Maybe they'll even pass good habits onto others. I can't see that as being a bad thing.

  47. The Final Solution by rufusdufus · · Score: 3, Interesting

    There is a way to fix security problems on end-user machines completely.
    The solution is to keep the operating system and applications on read-only media. The end-user operating system of the future should be designed around this idea, and they should reboot from readonly media on a regular basis, this way viruses cannot spread and worms cannot get a foothold.
    Its doable. Its feasable. Its the future, once engineers really decide to solve the problem.

    1. Re:The Final Solution by Mishra100 · · Score: 1

      I totally agree. I've thought about this before as well. There should be an option to make the whole OS read-only. However, there is a need to create and write data in a business environment. Every employee should have a jump drive to save data on. Any computer you come into contact with, you would insert your jump drive into. You can create documents, charts, surf the web with some limited user friendly options (like you don't want to write cookies), and chat with people. However you shouldn't be allowed to write to your hard drive. Your jump drive and RAM should be the only interfaces you need to deal with in terms of writing. You can include encrypted keys in every pcaket that is sent to RAM and make sure that the public/private key is hidden and inaccessable. Let me re-state that the RAM and OS would be the owners of the public/private key. The jump drive doesn't need to be as secure because you could just disallow executiable programs on the jump drive. It would only be a read/write kind of thing. I'm glad someone else has thought of this. :)

    2. Re:The Final Solution by Anonymous Coward · · Score: 0

      What good does it do when Outlook still accepts Macros and a virus emails all your contacts on your behalf?

      As for making your OS read-only, that is done with filesystem privileges in all modern OSes.

    3. Re:The Final Solution by Lehk228 · · Score: 1

      still not secure, assuming the user is able to store configuration and data files in some read/write location, some component which reads data from that location could be exploited by saving corrupt data to that location.

      for example a virus embedded in a document which infects the instance of the operating system when metadata is read could spread far and wide within a business without ever altering a system file.

      --
      Snowden and Manning are heroes.
    4. Re:The Final Solution by Creepy+Crawler · · Score: 1

      OK. Simple.

      I create a script that uses the OS based encryption provided (crypt or gpg or ...) and encrypt all your USER data to some specified key. Perferrably use some sort of PKI so you mathematically cannot get the priv key.

      I can then leave a blackmail text file demanding XYZ dollars in some way (paypal, travellers checks, wire xfer, offshore bank, you name it...).

      What matters: OS files or the USER files?

      --
    5. Re:The Final Solution by Anonymous Coward · · Score: 0

      So, no macros? No bash scripts? No Visual Basic programs? What about Perl?

      What defines a "program" in your brave new world?

      We won't even discuss the difficulties in getting fixes to users in the "read only media" scenario. Do I have to wait for the CD in the postal mail?

    6. Re:The Final Solution by rufusdufus · · Score: 1

      There are no read-write config files. Configuration can only be changed with a hardware switch after a clean boot, offline.

    7. Re:The Final Solution by AYeomans · · Score: 1

      "In the future"? You mean "in the past". The old disk drives used to have a hardware write-protect. Heck, even floppy disks still do.

      --
      Andrew Yeomans
    8. Re:The Final Solution by Anonymous Coward · · Score: 0

      Wouldn't a Linux Bootable CD meet your requirements? Most have the ability to store additional data to a USB drive including settings and files, and the OS itself is on the read only CD. You could still have a problem with the media on the CD getting malicious code, but the OS itself is just rebootable.

    9. Re:The Final Solution by cavemanf16 · · Score: 1

      Not to mention that this has proven to be a difficult-to-attain goal, even on as small of an "OS" as the OS on Microsoft's XBox. BIOS is supposed to be that secure domain of low-level operating system (it turns on all the hardware after all, hence, it's operating a system) that cannot be "hacked." But it has been, time and again! For simple tasks like browsing the web, sure, a read-only type of system makes sense - to a degree. But as soon as an exploit is found to manipulate the read-only OS into erasing your data on your read/write drive(s) you can be sure cracker/hackers will be doing it!

  48. Re:Real security has to be build into the foundati by TetryonX · · Score: 1

    The main goal behind TCPA/TPM is to make DRM actually work. Preventing virii/worms is just a sideeffect.

    In the business world you don't make as much money protecting applications as you do making people pay repeatedly for the same content. Well... except for security and antiviral firms.

    --
    [!] No, I can't see my comments. They are not worthy of +3 moderation.
  49. Marcus Ranum... by Anonymous Coward · · Score: 0

    is a raving lunatic. Ask him about how he last the privilege to ever own a gun again. Or how he started a company but didn't a single penny when it was finally bought out.

  50. Re:Real security has to be build into the foundati by Anonymous Coward · · Score: 0

    wow thats bad.

  51. Obligatory bofh comment by theufo · · Score: 1
    5) Educating Users So you are saying that we have to do security without teaching users how to do it. That just isn't going to work unless you never let users install their own applications or plug-ins. Yes teaching users is hard, but it has to be a vital part.

    "Hard"? That's quite an understatement. A certain ridiculously heavy and ergonomic DEC keyboard of mine would look a lot better if it was just "hard".

    No, this has absolutely nothing to do with the stains on the upper right corner vaguely reminiscent of human brain tissue. That was coffee. Seriously.

  52. Too bad! by Anonymous Coward · · Score: 1, Funny

    "I'm gonna stop using condoms too while I'm at it"

    Its too bad your father had the same attitude.

  53. Here we go again..... by Anonymous Coward · · Score: 0

    Someone please tell Marcus to stop tooting his own horn, sheesh

  54. Jesus Christ, dumbest post ever by Knome_fan · · Score: 1

    Now it isn't really surprising that some people on /. do have a problem with understanding what they read, but this, this is just amazing.
    Needless to say that it promptly got modded up.

    "2) Enumerating Badness

    So you want to write a virus scanner that somehow can recognise viruses without being told which programs are viruses. Modern virus checkers already mostly do this. With spyware it's very hard for a computer to tell the difference between a program you wanted installing and one you didn't. How do you expect it to tell?"

    No, as he makes clear he does not want to write such a virus scanner. What he rightly asks is why people who only need 10 applications should even be able and allowed to run any other software.
    In other words, he's also advocating a deny default policy here. Deny everything from being executed, unless it is really needed.

    "3) Penetrate and Patch

    So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?"

    Nope, he's pointing out that penetrate and patch is a very ineffective approach to achieving security and that it's far better to already start out with security in mind. Not a dumb idea at all.

    "4) Hacking is cool

    You think people should learn how to stop hacking and intrusion without learning how existing hacks work? Then you are stupid. Shush."

    Nope, not really. He merely suggests that it's ineffective to say the least to engage in an arms race with the bad boys.

    "5) Educating Users

    So you are saying that we have to do security without teaching users how to do it. That just isn't going to work unless you never let users install their own applications or plug-ins. Yes teaching users is hard, but it has to be a vital part."

    Nope, he's simply pointing out that not letting users install their own applications or plug-ins is a much more sensible approach than to count on educating users. He points out that one might get the impression from past experiences that educating users hasn't been an overwhelming success.

    "6) Action is better than Inaction

    So, after saying the state we are in is rubbish, you now say we shouldn't actually change anything. Eh? Or are you saying "don't try something new without testing it first"? Well thats more than a little obvious."

    Nope, he is saying that contrary to what many IT people like to do, that is follow the hype of the moment, it is often a better idea to simply just wait how a new idea works out and then adopt it. I can't see anything wrong with that advice.

    "This is just trolling, crap, and obviousness. Your average slashdot post really."
    Congratulations, I couldn't have described your post better myself.

    1. Re:Jesus Christ, dumbest post ever by An+Onerous+Coward · · Score: 1

      You saved me a good thirty minutes there. Thank you, thank you, thank you.

      --

      You want the truthiness? You can't handle the truthiness!

  55. Hmmmm by Trogre · · Score: 1

    Compare that to the legitimate 30 or so apps that I've installed on my machine, and you can see it's rather dumb to try to track 75,000 pieces of Badness when even a simpleton could track 30 pieces of Goodness.

    Okay Mr Whitelist Everything, let's ensure that every time I want to run a program on my computer I'm prompted to confirm that's what I want to do. Let's start by actually counting the number of programs I will have to do this for:

    $ ls -1 /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin/ /usr/local/bin |wc -l

    ALERT: Attempting to run un-registered program /bin/ls.
    Are you sure (y/n)y
    ALERT: Attempting to run un-registered program usr/bin/wc.
    Are you sure (y/n)y

    5187

    Looks like I've got my work cut out for this week.

    --
    "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    1. Re:Hmmmm by Get+Behind+the+Mule · · Score: 1
      Okay Mr Whitelist Everything, let's ensure that every time I want to run a program on my computer I'm prompted to confirm that's what I want to do. Let's start by actually counting the number of programs I will have to do this for:

      $ ls -1 /bin /sbin /usr/bin /usr/sbin /usr/X11R6/bin/ /usr/local/bin |wc -l

      5187

      Looks like I've got my work cut out for this week.


      You mean to tell me that you run all 5000 of the programs in each of those bin directories, every week? And each of them with equal likelihood, I suppose?

      I call extreme bullshit. The author said we might need to whitelist about thirty programs. Maybe you run twice as many as that, or three times as many, which would get you up to about a hundred. But there's no way that your whitelist would have to be fifty times as large as that.

      And who says you have to confirm the stuff on your whitelist every time? On the contrary, confirmation should be required only when you try to run something that's not on the list; so you'll still get the chance to decide, on a case by case basis, whether it's OK. That won't be necessary very often anyway.

      The author is right. The programs on our machines that we need to run regularly are outnumbered many, many times over by the programs that we don't need to run very often, if at all.
    2. Re:Hmmmm by Hannah+E.+Davis · · Score: 1

      I would suggest just piping "yes" into everything you do, but that would probably require authentication too :)

      I do sometimes use "yes" for a similar purpose (ie. preventing myself from destroying anything important), though. My account on my university's Solaris server defaults to aliasing rm to rm -i, and I don't trust myself enough to change it. However, when I definitely want to remove a whole directory full of files, I just use something like "yes | rm -rf [directory name]" and save myself the trouble of agreeing to delete every single file.... and because I have to take the time to construct a simple pipeline, I'm less likely to just do something stupid by mistake.

    3. Re:Hmmmm by Trogre · · Score: 1

      Which would of course render the whole idea of whitelisting useless :)

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    4. Re:Hmmmm by Trogre · · Score: 1

      How many programs are run just to launch X/KDE/Gnome? And don't forget libraries(dll's if you're from the windows camp), they're just as executable as the programs. How many libraries does your browser call? Libjpg, libpng, libssl to name but a few. I was being kind by only listing the programs before, there's over 4000 of those on a typical linux box.

      How many daemons do you have running in the background?

      Cron jobs?

      Sure, you can permanently add each one to the whitelist as it is confirmed, but that's still a hell of a lot of setting up.

      Unless of course you want to automatically add all locally installed programs/libraries to the whitelist, defeating the purpose of the whitelist in the first place.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    5. Re:Hmmmm by scruffyMark · · Score: 1
      Of course, the basic things that ship as part of the OS should be pre-signed, otherwise it would take months to have a usable system.

      Incidentally, NetBSD does have this, in Trusted Exec. Not enabled by default, but it's there. I haven't looked into it, mostly because NetBSD has hardware problems on my specific setup, so I never got far into using it.

      --

      What is the robbing of a bank, compared to the founding of a bank? -- Bertolt Brecht

    6. Re:Hmmmm by Creepy+Crawler · · Score: 1

      yes

      --
  56. Scoop by Anonymous Coward · · Score: 3, Funny
    Agreed - this guy has his head in the clouds.

    Maybe he's a friend of ESR's or RMS's. Trying for his own elevation to 3 char alias fame...

    1. Re:Scoop by Reteo+Varala · · Score: 1

      You might be onto something... He DID sign the article as "mjr..."

    2. Re:Scoop by Anonymous Coward · · Score: 1, Informative

      In security circles, mjr has had 3 char alias fame for quite a while now.

      Marcus is the guy who built the first commercial firewall (Gauntlet) and the first commercial IDS (NFR). Yes, he's arrogant, brash, and opinionated. But he's made contributions of code and ideas to the field that few can match.

  57. mnb Re:Dumber Article... by Anonymous Coward · · Score: 0

    amen

  58. Great Article! by mdman · · Score: 1, Funny

    Wow! That was one of the better articles I have read here! Very good! Thanks!

  59. A bit more detail... by Space+cowboy · · Score: 1

    I'm not aware of any - although if anyone knows of one, I'd be interested too - just to make sure I've not made a stupid mistake...

    It's not too hard, though, if you download the PHP source and look in "ext/standard", you'll see the various files - for example 'exec.c'. If you look in there, you'll find a function per php command {exec(), shell_exec(), system(), passthru()}, to all of which you could simply add
    REGISTER_LONG_CONSTANT("SYSCALL_EXEC", 1, CONST_CS | CONST_PERSISTENT);
    ... either changing the '1' or the constant-name (SYSCALL_EXEC) to suit for the different functions. This is detailed in the Zend API under 'creating constants'

    Then you just need to write something that registers a shutdown hook (there's examples at php.net) and decides what to do. In my case I generate a vector of the intval(constant) values with comma's between (eg: "0,0,1,0,0,1"), and check to see if they're all '0'. If they are, I just exit normally. If not, I check the entry in the SQL table 'syscall_allowed' for that script corresponds to the exact string above (I used comma-separated values to make this easier). If there's no match for script and vector, I firewall the incoming (REMOTE_ADDR) ip address.

    Simon.
    --
    Physicists get Hadrons!
    1. Re:A bit more detail... by DJCF · · Score: 1
      Very cool! Cheers! (And the most I've done is block robots.txt-ignoring bots with htaccess...!)

      BTW, I like your sig!

    2. Re:A bit more detail... by Anonymous Coward · · Score: 0

      That's great because the REMOTE_ADDR variable contains the client IP address but if the attacker is using a proxy, as most serious attackers would be, then the client IP is not the attackers IP. The attacker has only to use a different proxy for each request, a minor inconvienience at best.

      Thought up any solutions to the spam problem recently? **rolls eyes**

    3. Re:A bit more detail... by AnyoneEB · · Score: 1

      Hardly an inconvienience, there's a program that will do it for you: multiproxy (FAQ).

      --
      Centralization breaks the internet.
    4. Re:A bit more detail... by Space+cowboy · · Score: 1

      Well, there are only a few hundred sites on that list! - I'm perfectly happy blocking that many sites! If there were several million proxy servers, it'd be a bit different...

      Simon

      --
      Physicists get Hadrons!
    5. Re:A bit more detail... by Anonymous Coward · · Score: 0

      There are potentially several million proxy servers, AKA any other compromised system. What are the odds that an attaker would have already rooted a couple of other boxes? Well, gee!

  60. OK. by 3l1za · · Score: 1

    I think there's some miscategorization.

    My understanding was that these would be security ideas that were basically empty suits. Ideas #2 - #6 confirm this understanding. But then who advocates "Default permit" on the basis that security-wise it's the right thing to do?

    ANS: No one I have ever seen.

    People may advocate default permit but usually for performance, business, laziness etc. reasons. Never as a good security idea. Ergo "Default Permit" isn't even a security idea therefore how can it make some list as the most prevalent ("most-frequently-seen")? Makes no sense.

    1. Re:OK. by anagama · · Score: 1

      Whether default permit execution belongs in the list or not, I think it would be nice to have a program that runs in the background which mediates whether a program can run or not. Like a cookie list, you know, "always accept, accept, deny, always deny", except it would be for applications (always run, run, don't run, always don't run). Whenever a program not in an "always" list tries to run, you get a dialogue box asking you whether you indeed want to run it. Allows for some convenience (even if "always run" would be a limited "default permit) and yet still provides the user with power over the system.

      --
      What changed under Obama? Nothing Good
    2. Re:OK. by Sancho · · Score: 2, Interesting

      Agreed.

      Further, points 1 and 2 are essentially the same things, just reworded.

      Point 4 is somewhat mistitled. I do think learning the basics of how exploits work is important to creating sturdier code. Otherwise, you'd just write stuff that's vulnerable to buffer overflow constantly.

      Point 5... Where do I begin? The problem is NOT self-correcting. I work for a university, and every year we get students asking us how some bank got their university e-mail address and "Should I respond to them?" For every one that does that, probably 10 actually respond. He also seems to think that there is a technical solution to "attachments and phishing" but never explains the technical solution to phishing. Presumably it is to only allow e-mails from a whitelist, given his default-deny ideas. Well frankly, that isn't going to work for most people.

      Point 6 I agree with to an extent. The problem comes when everyone adopts this strategy--no innovation actually gets implemented! Also, technologies that are developed to fill a need often cannot be "waited on" in the manner that he describes. Also, on the patch-level, this may not be workable either. If you have a critical vulnerability, you can't afford to wait until everyone else has tried the patch. You definitely want to test it before deploying it, but that's along a different line of thought.

      Overall, some interesting ideas, but as you say, many aren't really security ideas. They're SOP for lots of companies, though.

    3. Re:OK. by BrowserCapsGuy · · Score: 1

      That's a good idea. And it's basically what Application Hardening is in Kerio Server Firewall. As an aside, not to you personally, I've had two Windows servers facing the Internet for a decade. I've never had a virus, worm, been hacked, or any of the other awful things people claim are an inherent part of running Windows. As I see it, any idiot can make any OS unsafe. And conversely, any knowledgeable, conservative, pragmatic person can make any OS safe!

      --
      Alright! I know I'm in there! If I don't come out, I'll have to come in after me!
    4. Re:OK. by timbrown · · Score: 1

      Like eTrust AC per chance. Having implemented this as part of a previous role, I would thoroughly recommend it.

      --
      Tim Brown
    5. Re:OK. by Taladar · · Score: 1

      I believe it is easier to abandon Windows than it is to transform all idiots into knowledgeable, conservative, pragmatic persons...

  61. You missed one by Wrangler · · Score: 2, Insightful

    Number seven: taking advice from a security expert whose great claim to fame is an ongoing quest for even greater hyperbole.

    Jeez, Marcus, are you always going to be a self-promoting twat?

    Marcus, your list is crap. Here's a list:

    1) No one is watching. IDS, firewall logs, doesn't matter - no one is watching.
    2) Most security people don't get it. They run NFR and think that they're safe.
    3) Security is a low priority. Time to market matters. Security ranks below documentation and above performance tuning.

    Raising awareness of network security is a good thing. Doing it with bombast and self-promotion is just being a media whore.

    ='^)

  62. Absolutely.... Response to author of article by einhverfr · · Score: 1

    Well, he did have a few good points, that you cannot make an application secure by continually patching it. However:

    1) Default permit--- Seems like an argument for TCPA. The fact is though that we need a balance of usability and security. If you take one too far, you will hurt the other. Also, a reasonably administered Linux system is not going to try to contain damage better than a Windows system simply because a better balance exists between what you can do with user rights and what you need admin rights for. It is not a question of "permitting by default" but rather "what you permit by default."

    If restricting by default worked in the real world, Windows would be the most secure OS ever, and people would never need admin rights.....

    And take this quote (minor dumb ideas):
    "We don't need host security, we have a good firewall" - no, you don't. If your firewall lets traffic through to hosts behind it, then you need to worry about the host security of those systems.

    Gee... I must be dumb because I thought that one of the main points of host security was to protect against internal threats.

    Now for user education....

    The main reason why user education doesn't work is because people don't put in the resources to ask people to take it seriously. People are told "do this, don't do that" yet nobody actually tries to educate them. Thing like explaining *how* people use these tricks to gain access to the network. Sure many users will still be dumb (when I worked at Microsoft one of the managers in my department had managed to get his system infected by every major virus outbreak in the previous several years and he was one of the first at Microsoft to get infected by loveletter), but that is not the point. The point is that if you increase the percentage of smart users, you increase your chances of catching a threat before it is to late.

    Penetration Testing:

    You are not testing your app, silly. You are testing your network which likely has third party apps. This is a way of determining what sort of risks you have so you can try to mitigate them. No, it is not always feasible to read through the source code of every app you run as you seem to think :-)

    "We can't stop the occasional problem" - yes, you can. Would you travel on commercial airliners if you thought that the aviation industry took this approach with your life? I didn't think so.

    True. But you cannot be sure you stop the determined hacker. There is a serious difference here. Also it may be the case that occasionally business needs may require some sort of fairly insecure setup. In these cases, your security is likely to involve managing rather than completely eliminating problems.

    For example, I run the SQL-Ledger Wiki. We have had a number of defacement problems in the past because it is publically writable. Duh.... However, it is important that anyone can write to the Wiki so we do our best to ensure that 1) these events are minimized technologically and 2) there is *no way* that an attacker can force data loss aside from a whole in the application. In this case, we cannot prevent the occasional problem because it is inherent in the system requirements. However we can and do manage it quite well...

    As for enumerating badness, I will agree that signature-based detection is no longer adequate. However, this does not mean that enumerating badness is a bad idea. It just means you are using the data wrong. If we can enumerate and prioritise all the badness in Apache, IIS, Websphere, SunOne, etc. we can begin to make educated decisions relative security of these applications.

    --

    LedgerSMB: Open source Accounting/ERP
    1. Re:Absolutely.... Response to author of article by Anonymous Coward · · Score: 0

      >> "We don't need host security, we have a good firewall" - no, you don't. If your firewall lets traffic through to hosts behind it, then you need to worry about the host security of those systems.

      Gee... I must be dumb because I thought that one of the main points of host security was to protect against internal threats.

      Not quite sure what you are trying to say here... TFA was saying that you shouldn't *only* rely on your firewall to block out badness, nor should you *only* rely on host security and no firewall - you need both.

      Your hosts should be secured to the point where you can sleep soundly knowing that what gets through the firewall isn't likely to be able to do any harm.

  63. Code does not exist in a vacuum by IsItWashable · · Score: 1, Informative

    I think that what we're mising here is that applications SERVE the needs of a business. "Let's build it right in the first place" is pretty much a no-brainer, but if a business has a need for a particular application, whether that app is hack-proof or not is not something that senior business managers tend to give a flying fuck about, in my experience. The requirements phase of any project tends to include a "don't let this app take it up the ass" clause, but that's subservient to the overall aim of the project - whatever it may be.

  64. Re:Um wtf - forget it! by bogaboga · · Score: 1
    > Help a poor college student. Send a couple cents via paypal to chucks86@gmail.com

    I'd rather send those cents to the folks in New Orleans that are suffering as though they are in some third world country. A shame, a shame, a shame that what happened down there *actually* happened on US soil! To make matters worse, it could still happen - again!

  65. AAAAAARRRRRRGGGGGGGHHHHH by Knome_fan · · Score: 0

    "But then who advocates "Default permit" on the basis that security-wise it's the right thing to do?"

    No, he does not!!!! No, he does not!!!
    RTFA! RTFA! RTFA!

    And I quote:

    "The opposite of "Default Permit" is "Default Deny" and it is a really good idea. It takes dedication, thought, and understanding to implement a "Default Deny" policy, which is why it is so seldom done. It's not that much harder to do than "Default Permit" but you'll sleep much better at night."

    1. Re:AAAAAARRRRRRGGGGGGGHHHHH by Anonymous Coward · · Score: 0

      Anyone who thinks he can gain security by switching to default-deny needs to get his head checked. Either you're running a service which you don't really want to provide, or you're going to poke a hole in the firewall for that service anyway. The former is a bad idea and the latter means default-deny doesn't buy you anything at all.

  66. Windows XP by infonography · · Score: 1

    said as a joke, I realize it's got it's points. However it does rank bottom of the list for security in an overall sense. Consider the virus, worms and 11 sec to breach dangers of putting a windows box online. It needs mention as one of the upper 6.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
  67. I disagree on part of default permit by ColGraff · · Score: 4, Insightful

    From the article:

    "On my computer here I run about 15 different applications on a regular basis. There are probably another 20 or 30 installed that I use every couple of months or so. I still don't understand why operating systems are so dumb that they let any old virus or piece of spyware execute without even asking me."

    The author has a point here, but answer to his question is very simple - his computer doesn't ask for permission to execute most programs because most users would absolutely panic if their computer regularly asked for their input.

    I base this on my own experience as a college tech, which is necessarily limited. That said, two points to consider:

    I have never, ever seen a student running in a non-administrator account on their Windows PC, even though XP supports this feature. This would prevent much malicious software from running, and avoids the "default permit" behavior that the article author finds so odious. However, users do *not* want to see error messages when they try to run things, nor do they want to log into a different account to install their p2p flavor of the week. They want things to "just work". So, non-administrator accounts are fantastically unpopular.

    Another example: Zonealarm. My school encourages students - in fact, tells students they are *required* to - install ZoneAlarm. So what happens? Zonealarm asks them if they want to let, say, AIM or Weatherbug access their network connect - and the user freaks out. They think it's an error, that their computer is busted, etc.

    In short- desktop machines tend to be default-permit because desktop users are completely unwilling to deal with an alternative arrangement.

    --
    I'm the stranger...posting to /.
    1. Re:I disagree on part of default permit by flajann · · Score: 1
      On the ZoneAlarm bit, I find it quite annoying that much legitimate software simply *fail to operate* due to the presence of ZoneAlarm. Alarmed, I usually wind up disabling ZoneAlarm.

      For Windows Users, the easiest first step in security is to NOT use Internet Explorer and NOT use LookOut (OutLook). That will solve 90% or better of virus/spyware issues. You then don't need ZoneAlarm or other "anti" virus software -- as long as, of course, the PC is behind a good firewall.

      Other commonsense things to know is not to click on any executable attachment, and be wary of any attachment you wern't expecting to receive.

      Also, be wary of any email that is formatted in HTML. I like KMail's feature of not automatically displaying the HTML email until you click a link first. And as far as phising goes, it is extremely hard to disguise a text link -- what you see is what you get.

    2. Re:I disagree on part of default permit by Sycraft-fu · · Score: 1

      You can meet halfway, though. Windows Firewall does this. All outbound traffic is permitted by default. Nearly all inbound traffic is denyed by default (there are a couple exceptions). Net effect is most people never get asked. Also, programs themselves can modify firewall rules. If a program is aware of the Windows firewall, it can add a rule for itself, if it opens up ports.

      This, of course, does not provide security against malicious apps that get installed and try to go out. They can easily get around it. It does, however, mean that if there's an exploit in some service, it's likely blocked and thus you don't get hacked.

      Not a perfect solution by any means, but a hell of a lot better than default permit. Then those of us that want something better can get a theird party solution like Kerio or ZoneAlarm that's a lot more bitchy about what's permitted.

      We maintain the same basic arrangement with our firewall. If you are a DHCP host all outbound traffic is permitted, all inbound traffic is denied. 99% of people never notice or care as that covers everything they do. For the remaining 1%, we move them to a static IP and make a set of rules that works for them.

    3. Re:I disagree on part of default permit by McDoobie · · Score: 1

      So what?

      It really depends on who is supplying the computer service. If I'm cutting the user's paychecks, and they arent willing to excercise enough of thier brain to use MY computer systems safely and securely, then they can go to work for someone else. It goes to attitude. If a user cant muster enough motivation to learn even the most basic of the basic computer skills, then thier probably not going to be very effective in any job that requires problem solving as a part of thier daily routine. And these arent difficult skills to learn either; it's not like I'm asking them to write transactional database systems in Cobol. It's all about motivation.
      The same with these university programs that hand out laptops and notebooks to students. Thier getting thier system for free. Don't bitch about the security policies. If you dont like it, go buy your own.

      The only place most end-users have a legitimate excuse is when they pay for everything themselves; and (mis)use of computing resources will only put thier own ass in a sling. In that case, if they want to run two dozen "shareware" apps on a system with no protection, in administrator mode, then more power to 'em.

    4. Re:I disagree on part of default permit by dubl-u · · Score: 1

      I have never, ever seen a student running in a non-administrator account on their Windows PC, even though XP supports this feature.

      Have you actually tried this?

      I got a Windows XP laptop recently because I'm working on a project with a Windows client. For probably four weeks, I tried hard to use the administrator account only for installing stuff.

      It really sucked. A number of applications wouldn't work properly unless I had administrator rights. Doing all sorts of typical laptop stuff (e.g., switching the wireless to another SSID) required superpowers. I was logging in and out all the goddamn time. Eventually, I just gave up.

      This shocks me; having used various Unix variants for a long time, I'm completely comfortable with the user/root distinction, and would never just log in as root. But Windows doesn't seem to be set up to support that.

      Zonealarm asks them if they want to let, say, AIM or Weatherbug access their network connect - and the user freaks out.

      A lot of this could be solved with smarter interfaces. I'm using whatever firewall Symantec sells, and it pops up similar warnings and gives advice. Even better would be if it looked up access patterns against a centralized database, so that it just knows that, say, Google Desktop is composed of 3 applications with access patterns X, Y, and Z. Then it could say, "I see you're installing Google Desktop. It will get and transmit information over the Internet. We consider it safe. Should I let it run?" With the right cues, users won't freak out.

    5. Re:I disagree on part of default permit by emurphy42 · · Score: 1

      I've recently gotten a new corporate laptop, and Power User plus right-click-Run-As takes care of most things (ISTR Control Panel being wonky). Limited User is where the real industrial-grade suck is to be found.

    6. Re:I disagree on part of default permit by entrigant · · Score: 2, Insightful

      I have never, ever seen a student running in a non-administrator account on their Windows PC, even though XP supports this feature.

      Have you ever tried this? Precious few applications actually do this correctly. Most won't install start menu entries for All Users. Others are worse and install themselves in ways that make them not work at all in a limited user account. I think it'd be easier for the average user to install and learn Linux than try to get a limited user account in Windows XP working well.

    7. Re:I disagree on part of default permit by Professor_UNIX · · Score: 1
      Most won't install start menu entries for All Users. Others are worse and install themselves in ways that make them not work at all in a limited user account.

      Installations should be done under an administrator account but the application should be RUN under a non-privileged account. If it isn't capable of running as a regular user then that application is broken and you need to file a trouble ticket with the vendor to correct it. Nothing should require administrator privileges to run after installation if proper permissions are setup.

    8. Re:I disagree on part of default permit by Anonymous Coward · · Score: 0

      Ive been running as user for along time and it works great when you have done some tweaking.
      Outlook auto executed some worm sent to all users whre I worked, only 3 computers got infected, the worm died immediately on the other machines, becuase only 3 lusers just had to be able to install programs without extra clicks.

    9. Re:I disagree on part of default permit by drew · · Score: 1

      This would prevent much malicious software from running, and avoids the "default permit" behavior that the article author finds so odious.

      Not really. It would prevent malicious programs from performing actions that change system files or system settings, but that's about it. Plenty of spyware, adware, and viruses/worms will still run just fine without any administrator privileges.

      --
      If I don't put anything here, will anyone recognize me anymore?
    10. Re:I disagree on part of default permit by entrigant · · Score: 1

      Trust me I know, but if these vendors gave a shit they've had years to make their apps work with non priviledged accounts. One example is Monkey's Audio. I don't know windows at all nor do I care to as I don't use it, but I tried doing this for my dad, but Monkey's Audio complained about some file with an ocx extension not being registered. Winamp won't play music, and takes a loooooong time to start up. Nero requires some tool that it is kind enough to tell you exists, but it won't help you find it.

      There are many more examples of apps that just screw up in this configuration. Perhaps for some of us just not using the app because it's obviously broken junk is an ok option, but it's not hard to understand why nobody uses limited user accounts when it's so much trouble to get one working correctly. Software vendors don't care, and Microsoft apparantly only expects such use out of a corporate environment where you have a dedicated help desk. With windows obfuscated registry system and non openness about how to configure shit it not easy to figure out how to manually fix these programs. I searched for over an hour about what to do about a non registered OCX and found nothing. Why do they insist on making this shit so hard?

    11. Re:I disagree on part of default permit by Jakeypants · · Score: 1

      "I have never, ever seen a student running in a non-administrator account on their Windows PC, even though XP supports this feature."

      Windows isn't there yet. Well, not Windows, but software developed by other people in general doesn't work well in a multi-user environment. I have to run as an admin to play most of the games I have on my system. There's no reason for this, but that's reality. I'd love to run as a limited user, but all I've used that works well for several users on a system is Linux (and no offense to everyone on slashdot, I prefer Windows to Linux, and I don't intend to switch).

  68. Re:No "default permit" for application launch in O by unoengborg · · Score: 2, Insightful

    The weak spot in this is, that for it to work, the user have deny the executable from running. Most users don't. Especially not if the e-mail containing an the executable contains some plausible explanaiton why they should allow ti to run. E.g. telling them that it is an important secrurity update from Apple.

    --
    God is REAL! Unless explicitly declared INTEGER
  69. Duh by Anonymous Coward · · Score: 0

    Instead of working on treating the root of the problems of computer security, we get defensiveness over the status quo and lame excuses?

    Every point he makes is true. We have design-solutions (not just patches) to every existing security vulnerability, but instead of doing things over, the turd gets polished.

    Why do Linux and Mac almost have no viruses? It's because the turd is a bit better, but also there is some crap that could be fixed and probably is in SELinux.

    You could at least have mentioned money, but these excuses are BS.

  70. Dude. by 3l1za · · Score: 1, Informative
    I didn't say: "HE advocates ..." I said "WHO advocates."

    Slow down and read my fucking post.

    The point was this:
    • This was supposed to be a list of security ideas that suck
    • My fucking point in my original post was that the first dumb idea (i.e. "security idea that sucks") -- "Default Permit" -- isn't even a fucking security idea
    • To go extra slow for the Really Big Retards, therefore, what is idea # 1 even doing on the list?
    You can apologize now, asswipe.
    1. Re:Dude. by Knome_fan · · Score: 1

      "You can apologize now, asswipe."

      You're right and I would, if it wouldn't be for the asswipe, wanker!

      Btw., he's giving a lot of examples of people using a default permit policy as a security idea, so your point is still moot.

    2. Re:Dude. by 3l1za · · Score: 1
      Btw., he's giving a lot of examples of people using a default permit policy as a security idea, so your point is still moot.

      Well, let's look at his examples:
      • firewalls 15 - 20 years ago: even then there's no evidence that "Default Permit" was chosen for security reasons rather it's obvious it was chosen for convenience reasons (don't have to handle annoying lusers calling and saying they can't connect) and was rationalized by "We're Not a Target" [under "The Minor Dumbs"]
      • second example: programs executing on our comps; first he says that "default permit would be to allow any program we click on to execute" whereas default permit would actually be to allow *any* program to execute, not just ones we click on. Because of this broken definition, his citing of viruses (which do require user assistance to execute, at least the first time) and spyware (which don't and which may be installed by passive or active means, i.e. requiring user clickage or not) isn't really coherent.
      • Then the E-banking security project: here he never says that this company wanted to do "default permit" because they thought it was a good security idea...
      In summary I think if he rephrased this idea as "Default Permit is harmless", that would have been much more coherent.
    3. Re:Dude. by Mr.+Slippery · · Score: 1
      My fucking point in my original post was that the first dumb idea (i.e. "security idea that sucks") -- "Default Permit" -- isn't even a fucking security idea

      The reason he brings it up is because people still do it - they build "security systems" with default permit. You recognize that that's a oxymoron, great. But the reason the meme that "Default Permit isn't even a security idea" is in your head is in part due to the work of Marcus Ranum. He was one of the principal guys behind the development proxy-based firewalls, and the TIS Firewall Toolkit (which evolved into Gauntlet, one of the first commerical firewalls) was his work.

      I worked at TIS the same time he did, on a different project. In a company full of security experts, he stood out. (I wasn't and am not one, but it was an education)

      (His work on firewalls is probably 90% of the reason why my TIS stock options became valuable when the company went public, and later got bought by Network Associates.)

      --
      Tom Swiss | the infamous tms | my blog
      You cannot wash away blood with blood
  71. SELinux is not the solution by melted · · Score: 1

    Here's a simple problem for you. On a Fedora Core 4 system with SELinux enabled, configure Samba access on a directory that can be also accessed by Apache without disabling SELinux for either. Should be easy, right?

    Turns out, you can't do this! For someone coming from a system with proper implementation of ACLs (such as Windows or Mac OS X) this is just unbelievable. And folks who wrote SELinux say this is by design, because if you give access to the same data to two apps, you can't isolate these apps. WTF? Do I want to isolate these apps? No, I simply want to be able to copy pictures to the webserver in my closet. If I can't do something as trivial as this, then folks who actually run serious stuff on Linux are bound to have problems too. My guess is, the first thing folks do is they disable SELinux and move on. That's what I did, eventually.

    1. Re:SELinux is not the solution by Anonymous Coward · · Score: 0

      Disabling it was the second thing I did. The first was working out that it breaks with the nvidia 3D drivers...

  72. Re:Real security has to be build into the foundati by Anonymous Coward · · Score: 0

    Just make sure the corporate users can only write to their home directory and mount /home with noexec. Since they don't have the root password (this is a corporate environment, remember?) they won't be able to install and run anything.

  73. The Microsoft Way by CustomDesigned · · Score: 5, Insightful
    Actually, all his "stupid" points fit in with the "trusted" computing paradigm. Let's look at the points from that point of view:
    1. Default deny instead of default allow.
      When users are annoyed by questions they don't understand, support costs go up. Windows users really can't answer questions about whether to allow various TCP connections. Since only programs we approve can be installed on the "users" machine, there is no point in default deny.
    2. Enumerating Badness.
      Just like currency security doesn't try to identify all the different kinds of forgery, so the idea of "trusted" computing is that all programs are bad except the ones signed directly or indirectly by Microsoft.
    3. Penetrate and Patch.
      To be effective, "trusted" computing must be airtight against workarounds by end users. That is why hardware enforcement is an integral part of the picture. The XBox project has been very effective in eliminating holes in the "trusted" computing hardware, thanks to the many volunteer hackers attacking it.
    4. Hacking is cool.
      Currency security experts don't spend time on basement printing presses. They spend time on creating currency features that are expensive to reproduce on a small scale. End-user freedom is not an issue in the "trusted" computing paradigm. We simply want an airtight system that allows *only* Microsoft approved programs to execute, and a hardware enforced way to retroactively delete content when Microsoft makes a "mistake".

      We want to ensure that defeating the hardware interlock on our machines requires resources way beyond what an individual or small company can muster. It doesn't matter if organized crime or Chinese corporations have the resources. Their exploits give us justification to tighten the screws on our captive users.

    5. Educating Users.
      One of the main real selling points of our software is that we aim it at users who don't know or care about computing. They just want to use some applications. If our users had any desire or aptitude to learn about security, they would have defected to that "competitor" that shall not be named. Once we succeed in legally banning un-"trusted" hardware, any talk of user "education" will be banished to dark alleyways.

      You say, "never let users install their own applications or plug-ins". Darn tootin. The whole point of "trusted" computing is to prevent users from installing their own applications or plug-ins. That is 99% of the security problem with Windows. If a user doesn't know whether to allow a TCP connection, they certainly have no idea whether some no-name (i.e. non-Microsoft) program is safe to install.

    6. Action is better than Inaction.
      We have 100s of millions of machines running our software in the field. We have a nearly complete monopoly on desktop software. Knee-jerk actions are simply out of the question. The damage done by an insufficiently tested patch is far worse than the damage done by the nastiest malware - because our users will blame it on *us*. (The rebels blame the malware on us, but that is irrelevant.)
    1. Re:The Microsoft Way by Anonymous Coward · · Score: 0

      One need only refer to his other articles in this category to tell you're probably not far off.

      On point #1, it seems to be a debate of "he's dead on" vs. "he's dead wrong". I wager it's somewhere in between.

      Agreed: clicking a zillion zone alarm alerts when installing new software sucks. Yes: having to login to an admin account to install said software when you've got a deadline at 9am tomorrow and that widget/website/whatever needs to get installed *now* is an annoying ten minutes you didn't have to spare.

      Then again, Default-allow has had decades of usability testing. If default-deny is going to work economically (and I would assume this is what we want it to boil down to), it has to be mostly transparent. It's a usability challenge even more than a security challenge.

      Aside: If you want people to stop clicking "ok" blindly on every warning and alert that comes up so they can get to the good part, redesign the warning and make it thoughtful.

      Traditionally designed alerts and their ilk are completely ineffective in getting their message across to the common user, most specifically because when they click okay it usually does the thing they want it to do*


      *plus gives them cancer of the aids, but hey, at least they got to the porn.

  74. This guy actually knows his stuff by Henry+V+.009 · · Score: 1

    I was expecting a mindless article—but this one actually makes some good points. I'm impressed.

  75. The Micheal Moore aproach by pauldy · · Score: 0, Flamebait

    This has to be the worst article in terms of truthfulness, content, and the authors understanding of the subject in general I have seen since the last Michael Moore documentary. Most of the practices mentioned are good when they are carried out. The real issue of balancing security with delivery for the end user is a tough one and some simplistic article categorically denying the worth of all security practices is worthless itself. Security is an in depth process and with the dangerous combination of ignorance and arrogance comes a security breach. The same goes for physical security if you have inept people installing the locks and maintaining the doors, someone will eventually enter who you didn't expect. With worms the threat is even greater because it is all automated and attacking from angles your IT team may not have expected or anticipated because they are under trained over paid egomaniacs who got the job because they sounded like they knew what they were talking about and exuded a confidence far superior to their actual abilities or training, much like the author of this POS.

  76. Neither stupid nor obvious by Frater+219 · · Score: 4, Insightful

    Actually, default deny is just as stupid as default allow, as if you have default deny, people just get sick of being asked if they want to allow something, and end up clicking "yes" on every box they see.

    Default deny makes more sense when you think of it at the organizational level -- like a firewall. Both default deny and allow mean that you have to respond to new needs ... but default allow means you have to respond to new attacks (by blocking them) whereas default deny means you have to respond to new user needs (by allowing them). I've operated both sorts of firewalls -- and when you are in good communication with your user base, default deny is both more reliable and MUCH LESS WORK.

    So you want to write a virus scanner that somehow can recognise viruses without being told which programs are viruses.

    Ah ... you didn't read the article, did you? Every program that's running on your system that you didn't authorize to be there, is a problem. It doesn't matter if it's a "virus" or not, or if it's on Symantec's bad-guy list yet. Consider the following dialogue I had with a Windows technician:

    Me: Windows host foo.example.org is cracked. It's portscanning out and trying to break into things. I've blocked it off the network.
    Tech: I just ran an anti-virus scan on foo, and it didn't find anything. The user wants to get back to work; please put it back on the network.
    Me: I didn't say it had a virus; I said it was scanning out and trying to break into things. It's still trying to scan out. I'm not going to put it back on the network.
    Tech: Antivirus software says clean!
    Me: snort says scanning out!
    Tech: Antivirus software says clean!
    Me: tcpdump says scanning out! Go get Clueful Tech to look at it.
    Clueful Tech: Oh yeah, it's got all these processes called "fuck.exe" running. It's hosed. I'm reinstalling it.
    Me: Thank you, Clueful Tech.

    If you need antivirus software, your problem is not viruses -- it is that you don't have any control over what programs are getting to run on your computer. Get that control, and you don't need antivirus software.

    So you are saying we should write code without bugs and holes? What a great idea that is? why did no-one think of saying that before?

    Anyone who tells you that all software has bugs is being honest. Anyone who tells you that all software is equally buggy is trying to sell you Microsoft IIS. We can go a long way towards "code without bugs" just by observing the history of software and going with those options which have proven to need much less patching in the past.

    We can also -- and more importantly, I think! -- favor software that is architected in such a way as to minimize security exposure. That means privilege separation and least privilege. Running your Web server as root is a brain-dead idea. It means not using more complicated software than you need -- if boa or publicfile serves your needs, don't use Apache.

    You think people should learn how to stop hacking and intrusion without learning how existing hacks work?

    It's interesting, but it isn't essential to the job. What you need to know is that attacks work by exploiting mistakes in the design and implementation of programs. What you need to know about buffer overflows, for instance, isn't how to exploit one for fun and profit -- but rather, that any C program that uses gets() is broken ... and that programs written in higher-level languages that have checked strings can't suffer from them.

    There is a place that I've found that "hacking knowledge" is useful -- in demonstrating incontrovertibly that a problem exists. Joe Moron has a Windows-based embedded print server that's vulnerable

    1. Re:Neither stupid nor obvious by cyclomedia · · Score: 1

      >If you need antivirus software, your problem is not viruses -- it is that you don't have any control over what programs are getting to run on your computer. Get that control, and you don't need antivirus software.

      seconded. for a few years my main PC at home has been a 98SE box with IE and OE physically removed from the system. and being judicious enough not to open attatchments or download flash games and other assorted crap i've never had a malware problem. i do have AV software but i sandboxxed it (it's in a folder on a partition somewhere) and so can scan the occasional exe if i wish without the nastyness of norton-taking-over-your-system

      --
      If you don't risk failure you don't risk success.
  77. Locking down users by slashflood · · Score: 4, Interesting

    I was working as an IT Manager for a mid-sized company for a while. The main problem with "locking down users" is, that nowadays there is no respect for IT Administrators anymore. Especially in small/mid-sized companies, where every single employee goes directly to his/her boss or even worse to the CEO just to complain about their "inability to work", because of the locked down computer. "The bad admin locked down the computer and I can't work anymore!". Sure, the PHB, CEO, HR won't understand the difference between user/admin rights.

    I have a pretty strong personality and a thick skin, but after a while, I gave up. Even brand-new interns complained about the situation that they were not able to install their "favourite software" or about the blocked ports at the corporate firewall.

    After a while, the HR manager came to me and said, that in four years, half of the employees complained about me. Whenever I tried to change something (firewall, user rights, ...), there were another ten or twenty complains.

    All of the users are working as administrators on their computers at home - I know that, because most of them told me about the troubles they have with spyware and viruses, but they would never accept to have lower permissions at work. The common sense is, that the computer at work is actually theirs.

    The same with company laptops. Everyone connects it at insecure networks at home, friends, hotel rooms, other companies and so on and after a business trip, you have to either reinstall the machine or remove spyware/malware.

    It's just the lack of understanding, the habit to always work with admin rights at home and the lack of respect for the job of an IT administrator/manager.

    1. Re:Locking down users by Anonymous Coward · · Score: 0

      amen, exactly why im going back to school and never _ever_ want to work as an admin or tech support again

    2. Re:Locking down users by Ph33r+th3+g(O)at · · Score: 0, Flamebait
      So power-tripping network Nazis don't get any respect and get gone around when they mess with people senior to them. Did you know the Pope's Catholic, too?

      ~~~

      --
      I too have felt the cold finger of injustice.
    3. Re:Locking down users by slashflood · · Score: 3, Interesting

      power-tripping network Nazis

      See? You're the best example. I/We am/are talking about account restrictions for average users (no admin access) in business environments and you're calling me "power tripping network Nazi". That's exactyl what I mean. At work, it's not your computer and not your responsibility when something really bad happens.

      Just go on with your administrator account at home.

    4. Re:Locking down users by HermanAB · · Score: 1

      Standard images are the solution. Any complaints - zap the machine - only leave the data partition. Your data wasn't on the data partition? Hmmmm - the virus must have gotten it...

      --
      Oh well, what the hell...
    5. Re:Locking down users by Ph33r+th3+g(O)at · · Score: 1

      I'm the admin of my box, and it is my responsibility. "They" are free to lock me down the minute I cause them in any work. Hasn't happened in my ten years with the company. So keep your grubby mitts off my box.

      --
      I too have felt the cold finger of injustice.
    6. Re:Locking down users by GlobalEcho · · Score: 2, Informative

      I appreciate the difficulty of dealing with users installing lots of software, but I have experienced the "lockdown solution" in three different organizations (two of them very large), and feel it worked poorly for me in all of them.

      Here's why:
      (1) Response times. When I made a request for installation of, or permission to install, software needed for my work responsibilities, response times ranged from 45 minutes to a couple days. 45 minutes is little enough time to find something else to do in. A period of days is not. I have yet to encounter a tech desk that can reliably respond to even such a simple request in a timely manner, never losing it.

      (2) Interconnections. Those times when I installed a piece of software were often followed shortly thereafter by the need to install some other, related (or substitute) program. That meant another delay of 45 minutes to a couple hours (or more). Chain a few of those along, and you easily waste a day or two.

      (3) Questioning and denial. Large organizations have a list of "approved" software and biases toward denying the use of anything not on the list. For example, at one point I had a strong need to do some time series analysis. Appropriate tools for this include SAS, SPSS, Matlab....and GNU R. The first three, since they cost thousands of dollars, would have required cost review, tech review, et cetera. Installation for those types of packages took months. (I think that Matlab took about 3 1/2 months when we bought it). We needed results within a week or so, so R was the obvious choice. But of course, few sysadmins have (and none of ours had) heard of GNU R. Before we could get it installed we went through a long and frustrating round of "what is this?" and "why do you need it?" and "why can't you use X instead". Had the sysadmins just trusted that we had done our research, it would have been far less painful.

      It doesn't take more than one or two such experiences for the users to develop a deep distaste for dealing with a lockdown.

    7. Re:Locking down users by Detritus · · Score: 3, Insightful

      What many IT admins forget is that their job is to facilitate the operations of the company, not to run the world's most secure network. You're damn right that I'm going to complain to management when I need X to do my job, and there's some pencil-neck geek in IT who, without a thought, always says "NO" to any request.

      --
      Mea navis aericumbens anguillis abundat
    8. Re:Locking down users by McDoobie · · Score: 1

      A simple way to get around this little psychological hurdle is to put HUGE labels on all end-user equipment reading "This computer is the PROPERTY OF ."
      You could even add a little intranetwork http address to the usage policies of youre company. Preferably a policy that's been voted on by management.

      If you want to go really extreme, you could start casemodding the machines to a company theme.

      This will drastically cut down on the amount of whining.
      When they start trolling out the " 'My' workstation blah blah blah ..." bit, you can ask them if they would like you to clarify the "Property of" statement. And if they dont like the usage policy, tell them to go bitch at the managers, after all it's "thier" policy.

      I've found that end-users are much more understanding when they've been properly put in thier place. Management hasn't been getting any complaints either. The network is far more peaceful and well ordered now. Only a couple viruses in six months. Spam has gone down to %2. And office efficiency is at an all time high.(Probably due to the lack of Solitaire and online Poker, among other things.)

      Sure, I might seem like a bastard, but when a user is getting paid to use a system, the rules change. The users sure as hell aren't paying us.

    9. Re:Locking down users by Anonymous Coward · · Score: 0

      That's a good way to get fired. I know I'd work for it if an eye-tee martinet like you were in my office.

    10. Re:Locking down users by Ph33r+th3+g(O)at · · Score: 1

      And if those power-tripping weenies ever lock down my workstation, I'll have them at my desk every time anything needs admin privileges. And I'll ensure that happens a lot. And since I'm being treated like a dumb user, I'll have them go over changing the margins in Word for me while they're there, too. These computator thingies are so complicated. And if they try being obstructionist, into my boss' office I go.

      --
      I too have felt the cold finger of injustice.
    11. Re:Locking down users by Ph33r+th3+g(O)at · · Score: 1

      Hear, hear. Having been extensively bullied during childhood doesn't give these guys the right to go around lording it over office workers.

      --
      I too have felt the cold finger of injustice.
    12. Re:Locking down users by Creepy+Crawler · · Score: 0, Flamebait

      Are you THAT incompetitant of an admin to even LET the user write where you dont want him to write?

      --
    13. Re:Locking down users by egarland · · Score: 1

      At work, it's not your computer and not your responsibility when something really bad happens.

      And if I bring my own $300 Dell in and unplug the paper weight the corperate admin's won't let me use, that makes things better?

      Like someone else pointed out, a company's job is to do something, not have secure computers. If your employees are checkout clerks, lock them down. If they are professionals, treat them as such or you just waste everyones time.

      And every time you block a port, multiply the number of employees affected, 1%, and 2 hours to figure out how much company time you just wasted forcing people to work around your "security".

      --
      set softtabstop=4 shiftwidth=4 expandtab nocp worlddomination
    14. Re:Locking down users by Anonymous Coward · · Score: 2, Interesting

      I have a job much like your job, I have to keep track of 100's of users and their PC's and make sure they are not infected with viruses and malware, babysit the network, firewall stuff, website maintenance .. blah blah blah... you know the drill.

      I have to say ... sorry man but you ARE a network nazi. Sorry. Yea I understand the problem that PHB's and users do not understand the things you have to do, but, you sir, are being a lazy ass.

      Before I was promoted to my current position they hired a guy like you. He went around and locked down everyone's PC. He initiated ridiculous policies and installed tyrannical "security" measures all over the place. It was an utter joke. Productivity went to Zero. People just stopped working. They couldn't get anything done.

      People hated this guy with a passion that I can not begin to describe. The reason is that they were being treated like idiots by default by some guy who doesn't even begin to understand what it is that THEY need.

      What's the point of having security measures so tight that not even the users can use the system? Security measures should be mostly transparent to the end users. Security does not mean cripple the system.

      Anyway, eventually this guy become such a terror that he was let go and I took his job. I do what he didn't want to do: babysit the ugly monster. I keep things lax and make sure people have what they need to do their jobs. I talk with people every day and give them what they need to do their work. I get along famously with most of the staff. Nobody said it was supposed to be easy, or fun, but your job is to keep the system useable.

      I don't understand the God complex some IT people have.

    15. Re:Locking down users by FidelCatsro · · Score: 1

      Now it is unfair if an admin disallows things that facilitate the proper functioning of the company.
      It is my job to see that the network and servers functions to optimal efficiency whilst allowing the employes to get their work done with little to no problems.

      I do not look down on or patronise anyone .. but if some users demands privileges for the sake of having them , then they can be sure of getting a rather negative response from me.

      I will lock down every computer to a level that is fitting ,and any admin who over-restricts the network should have their contract looked at.

      Respect works both ways though , if you start trying to lord it over the admin . ..(as this is how you are coming over on these posts ) then don't be surprised if they are not that kind to you.

      (if i were your admin) Give me respect and you will get respect in return . start calling me a power tripping nazi and don't be surprised if i have you fired for insubordination .(Note: I am also the IT director , and one of the three most senior people at my company)

      --
      The only things certain in war are Propaganda and Death. You can never be sure which is which though
    16. Re:Locking down users by McDoobie · · Score: 1

      Pfffft.

      Like I said, I don't make the rules, the managers do. It's part of my job to enforce those rules. If a user doesn't like those rules, all they have to do is fill out the proper request forms and send them up the chain. If thier boss thinks it's a reasonable request, he forwards it to my boss who reviews it. If approved, I dutifully implement whatever was requested.
      Of course, being the Sysadmin the IT manager usually listens to my recommendations. After all, I do actually take pride in learning to do more with less money.

      My security measures pissed off a couple people who tried to get me fired. But after showing my boss the system logs of what they were up to online, thier story changed. Now one works in a different location, and the other ... well I never did find out what the hell happened to him.

      It's called C.Y.A. I'm there to earn my paycheck, not screw around. I dot every 'i' and cross every 't'. I keep every memo and scrap of paper that comes across my desk; and a log of every instruction that comes down from "on high". All the users have to do is follow the request procedure, then there's no problem whatsoever.

      Of course if the user's werent busy trying to get to thier online porn or gambling site; or trying to install every piece of malware they can get thier hands on, the request procedure would be obsolete.

      They arent stupid. They've turned into friggin geniuses while trying to get around my security measures. I've watched 'em do the damndest things. Things that would make a pro security consultant proud. But ask 'em to run off a spreadsheet, and they turn into friggin Forest Gump.

      Damn. I outta change my nick to Diogenese. Heh.

    17. Re:Locking down users by SoupIsGoodFood_42 · · Score: 1
      The other side to this is people like me. I used to work at a place with high security and about 400 people. I was a web developer, and their restrictions make my life hell; I couldn't use half the tools I needed, and you can forget basic things such as browser testing ... I had to fight just to get a copy of Netscape installed. The only reason they did is because they keep a specially modified copy of NN.

      Some of us users know what we're doing, and need felxability. Blanket wide policies, as many places have, can be a real problem sometimes.

    18. Re:Locking down users by bernywork · · Score: 1

      Sure, one of the help deskers can remote control your machine when you need admin rights once every 6 months. With a properly managed situation this will never happen. If you wish to behave like that and you can't change a margin in word, that's fine, we will send you on a training course, then one for excel, one for outlook etc etc until it's obvious that you are too dumb to work, and then we fire you. As you have had all the training courses and still behave like a child, we don't get into trouble if you try to sue us for discrimination either.

      From my experience, go to your boss' office, tell them whatever you please. When your manager comes to my office and asks me what's going on and I sit down and have a rational conversation about business risk and that you having admin rights and installing all this software that is unsupported by us (We have to draw the line somewhere you know, we are human) downloading all this stuff off the net really isn't in the business' best interest... 99% of the time, they agree with me and walk off to smooth things over with you. That's the way things run. If it goes further up the chain, I have been around for so long that people tend to trust my judgement nowadays.

      If you have a business reason as to WHY you need admin rights and it's not possible at all for you to do your job without it, then come up to me and tell me rationally why this needs to happen. If you can't, then bye bye.

      --
      Curiosity was framed; ignorance killed the cat. -- Author unknown
    19. Re:Locking down users by slashflood · · Score: 1

      Yes, but in my case it was different. X was screensavers, P2P software and so on. Asked, what the user wants to install so badly, I've received very seldom an answer.

    20. Re:Locking down users by Tom · · Score: 1

      After a while, the HR manager came to me and said, that in four years, half of the employees complained about me. Whenever I tried to change something (firewall, user rights, ...), there were another ten or twenty complains.

      That's why if you implement a security policy - any security policy - at work, you get the CEO into the boat, make sure he understands both the dangers and the sacrifices in comfort necessary, and gives it his OK.

      --
      Assorted stuff I do sometimes: Lemuria.org
    21. Re:Locking down users by Ph33r+th3+g(O)at · · Score: 1

      No one remote controls my machine. Especially not one of the minions of the helpless desk. And if eye-tee ever gets that degree of control at my company, I'll find one where the business people are in control, not the techs.

      --
      I too have felt the cold finger of injustice.
    22. Re:Locking down users by Anonymous Coward · · Score: 0

      Wow, you aren't talking about Family Health International in Durham, NC are you? Because your description exactly matches my experiences with that company, especially the part about even the lowliest employee/intern going directly to the President/CEO to complain about the IT department.

    23. Re:Locking down users by Anonymous Coward · · Score: 0
      "But after showing my boss the system logs . . . their story changed"

      So basically you're saying that you're a blackmailer with a God complex. Nice.

    24. Re:Locking down users by caluml · · Score: 1

      Exactly. I trade off between total paranoid security and usability here - I know the network here isn't the most secure, but it's more usable than our corporate network which is what this network was built to get around.

    25. Re:Locking down users by slashflood · · Score: 1

      Wow, you aren't talking about Family Health International in Durham, NC are you?

      Nope, a software company in Berlin, Germany.

    26. Re:Locking down users by Anonymous Coward · · Score: 0

      And if I bring my own $300 Dell in and unplug the paper weight the corperate admin's won't let me use, that makes things better?

      Where I work it would make you fired.

    27. Re:Locking down users by Anonymous Coward · · Score: 0
      Blackmailer? he's a blackmailer for pointing out something that was against policy (otherwise why would his boss be interested in the logs?).


      just when I thought the rationalizations in this thread couldn't get any more outlandish.....

    28. Re:Locking down users by Anonymous Coward · · Score: 0

      What lusers fail to understand is that the cute screensavers and useless desktop ornaments often makes their computer slow and sometimes makes the whole office come to a stop. And that cost will sadly not be taken from their salary.

    29. Re:Locking down users by bluGill · · Score: 1

      The Network Nazi was right. Computers should be secured much more than they are. It is not his fault that the typical Microsoft Windows program won't run unless given far more access than a user should need.

      Note that I blamed the typical Microsoft Windows program? The typical UNIX/linux/OSX program does not have this problem. Unix users are happy working in a very restriced environment because the programs they use are designed right. In short: blame your vender's for being idiots. The users shouldn't need or want lots of abilities, but if the system is designed so that they cannot get their work done without it, they will demand those abilities, not realizing they are demanding the wrong thing.

    30. Re:Locking down users by Anonymous Coward · · Score: 0

      Now wait a minute...

      A software company?

      Surely if it was an insurance company, or a telemarketing company, you'd have a case, but a software company?

      Surely there are a few people working at a software company that know how to secure thier own boxes without crazy oppressive security policies.

    31. Re:Locking down users by bernywork · · Score: 1

      Business is always in control. That's the way things run. If you want to take the control away from the people that know how to support the systems though. Good luck supporting that business.

      If you don't trust the people that work for you... There is serious issues in your management.

      BTW, if it is YOUR machine, and you personally paid for it out of YOUR wages, and YOU pay for the internet access and all of YOUR license fees etc etc. Then YOU need to consider YOUR employment practices.

      --
      Curiosity was framed; ignorance killed the cat. -- Author unknown
    32. Re:Locking down users by Ph33r+th3+g(O)at · · Score: 1

      What I love about you guys is that you're so easy to troll. Fact is, if you leave the people with a clue alone, we won't cause you problems. But if you start with that lockdown crap, we will agitate by whatever means--and it'll be subtle--to erode the power you've usurped. And remember, it isn't your machine either, unless you personally own the company.

      --
      I too have felt the cold finger of injustice.
  78. #1 should be Anti Virus and #2 should be mcafee by CrazyJim1 · · Score: 1

    #1 Anti Virus never works because there is always a new virus coming down the pipes. Any programmer worth his salt could write a deadly virus in under an hour, but since we're civilized we choose not to.

    #2 When you disable Windows XP firewall, its not fuily disabled. You need to go into complex files and manually disable it.

  79. Re:Real security has to be build into the foundati by Lukey+Boy · · Score: 1

    Try making ld-linux.so.2 non-executable. Let me know if that works out for you ;-)

  80. Not as dumb as you'd think... by The+MAZZTer · · Score: 1

    His idea of "writing perfect code", as you say, is basically the idea of taking the time to design your app instead of jumping in to code and ending up with a mess that is hard to debug.

    Also I would imagine it involves programmers learning about how to avoid programming pitfalls such as buffer overflows (make sure your buffer can hold the required data or make your char arrays on the heap so you can size them as needed, etc).

    He also mentions that patches WILL be needed, just not as often as say, Internet Explorer needs patches.

    Also, you mentioned a user possibly downloading and installing malware by mistake. He addresses that type of thing partly in like #5 or something.

    Anyways I think the whole Default Deny thing would help mostly for network stuff (Windows Firewall already blocks everything except what you tell it to not block, all routers block incoming ports except for a whitelist of forwarded ports, etc).

    For an OS, I agree, perhaps a whitelist of programs to run might be too much trouble for too little gain. Perhaps John Doe WILL download that program no matter how many ways you block it.

    Doesn't mean you can't fire him after you find out he used a company PC to run unauthorized software. :P

    And your shiny new default deny will isolate the problem, keeping a virus from propagating and spyware from transmitting.

  81. Re:No "default permit" for application launch in O by Have+Blue · · Score: 3, Insightful

    Actually, the permission-to-launch dialog does not protect against malicious applications disguised as documents. If you double-click an app it will launch without question. What the dialog box defends against is an automated exploit that involves sending an application and a document to a system and then a request that the document be opened, which would launch the app before this dialog was introduced.

  82. Which makes it a Catch-22 by RedLaggedTeut · · Score: 1

    So Cory Doctorow is against DRM, but what Marcus Ranum suggests is exactly what is used to secure the DRM core - a "list" of allowed apps.

    People will need to rely more on backups and the ability to log attacks and then rollback and redo the operation of a system. Of course that is only easy with mostly self-contained systems that do not execute business transactions. However, even banks "rollback" phising attacks by calling back money sent, so its not impossible to undo for them either, it just needs extra steps.

    --
    I'm still trying to figure out what people mean by 'social skills' here.
    1. Re:Which makes it a Catch-22 by cnettel · · Score: 1

      Well, the point of DRM used that way is that the user who hsa physical access to the machine and some genius will not be the one interested in breaking it. The cracker writing a worm won't be able to solder your VGA port, reboot from a Knoppix CD or anything like it. Making code signing prevalent should make the life easy for those great numbers never writing any code on their own. Those of us who do will have to live a bit less secure, or perform an iris scan for every "make"...

    2. Re:Which makes it a Catch-22 by jc42 · · Score: 1

      ... what Marcus Ranum suggests is exactly what is used to secure the DRM core - a "list" of allowed apps.

      Well, yeah, but there's an important point about DRM that seems to be missing here: With DRM, I am not permitted to modify the list of allowed apps on my own computer. The corporation that sold me the DRM'd CD, DVD or downloaded file determines what is permitted on my machine. They've tried legal actions to prevent us from determining permissions with things we've paid for, and that doesn't work. Now they're trying to embed in our machines low-level DRM code that asks a remote authority for my permission settings.

      This is, in fact, the exact opposite of what we're suggesting here. If an outsider can, without my knowledge or control, determine permissions on my machine, then I have no control over my own machine, and outsiders can allow or deny things as they wish. This is the intent of DRM, and it's the antithesis of security. It's an open invitation to crackers who have found ways to penetrate the DRM system; it allows them to install things on my machine in a way that I can't block or fix without permission from remote strangers.

      And note that this isn't a bug; it's the primary design goal of DRM.

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
  83. Good point, only difficult to get there... by jlandheer · · Score: 1

    These days hostile environments, like the internet, are a haven for hackers / crackers / advertisers / etc. The real pain is that without a network like the Internet... there aren't many other alternatives... And even if you have something else popular, wouldn't the problem move / copy from one network to the other???

    Writing bug-free code isn't possible, taking responsibility in writing secure code is. Sad to say, many companies still aren't taking this responsibility, and that's something that needs to be improved.

    Many system administrators aren't taking the security features of their operating system seriously... Also here there is room for improvement.

    Besides these points, there's nothing much to add. It's a story everyone knew...

    About virus scanning and spyware detection, these are last resorts... Only when everything else fails...

    1. Re:Good point, only difficult to get there... by Anonymous Coward · · Score: 0

      "Writing bug-free code isn't possible"

      My version of "HelloWorld" was bug-free, and on my first attempt, too!

  84. Re:Real security has to be build into the foundati by Tony+Hoyle · · Score: 1

    SELinux fixes this hole, and I believe this fix is in later kernels (not the one I have though).

  85. I agree - only works for corporate office monkeys by ejtttje · · Score: 1

    Personally, I agree with you. Basically this boils down to "don't trust the user". That's fine in big corporate environments where there's a separate department of office monkeys dedicated to each task which needs to be done, but it's going to be a pain in the ass (for both worker and administrator) in a smaller environment where people need to be flexible in their work routine.

    Most days I write software, some days I try out new libraries or sample code, some days I work on web pages, some days I write papers, some days I do graphics. I appreciate it if the computer has a watchful eye to cover my backside, but I would be very annoyed if it blocks my activities outright and I have to run to the nanny every time I need some permission to do something new.

    In that vein, each of the points has some applicability, but it's pretty obvious. Confirm unusual activity, address causes not just symptoms, write good code, test the waters. No duh. And if you're a sysadmin and don't want to do any work, lock all the computers in a closet and give everyone an abacus. It's easy to preach security by removing functionality.

    And just food for thought -- #6 (test the waters) conflicts with #3 (redesign) and #4 (don't crack).
    #3 because redesigning code has a tendancy to just reopen old wounds as much as fix potential problems -- you're trading the well-known for the cutting edge, which is exactly what #6 advises against.
    #4 because you can't expect people to know how to do things "right" without first learning from others' mistakes -- learning current security problems and how they are exploited *is* important. It has nothing with being "cool". It's useful information.

  86. The Four Dumbest Ideas in One Paragraph. by Allistair · · Score: 2, Interesting
    I can't decide whether it's obvious or stupid. So, I've come up with my own arbitrary list of dumb ideas directly from the article.
    On the surface of things, the idea of "Educating Users" seems less than dumb: education is always good. On the other hand, like "Penetrate and Patch" if it was going to work, it would have worked by now. There have been numerous interesting studies that indicate that a significant percentage of users will trade their password for a candy bar, and the Anna Kournikova worm showed us that nearly 1/2 of humanity will click on anything purporting to contain nude pictures of barely clothed females. If "Educating Users" is the strategy you plan to embark upon, you should expect to have to "patch" your users every week. That's dumb.
    I disagree with much of this statement from the writer's "educating users" section. I'm not only for educating users but I am also a big proponent of educating writers.
    1. Suggesting that "if it (educating users) was going to work, it would have worked by now" is dumb. This statement is a fallacy of bifurcation -- suggesting that there are only two possible outcomes. Either it works or it doesn't. Of course, this leaves out a very real third possibility: the writer is an addle-minded moron for creating this either/or "test" of effectiveness.
    2. Stating that "There have been numerous interesting studies" but failing to cite any of them. I am not familiar with the candy bar studies but I wonder... Do any of these studies look at how many of the same users will trade their password for a candy bar if they have had some security training? And what is the age demographic being studied if candy bars are so appealing? Unless, of course, the candy in question is Snickers -- 'cause Snickers really satifies.
    3. Stating that it will be necessary to "patch" users every week. It may not be necessary to "patch" your users every week if you make "Educating Users" part of a larger approach to your computer security program. Don't try to educate your users about everything. Instead, educate them about enough to make them good network citizens. Besides, if you are stripping off all attachments without educating your users, you will have successfully identified one of the "six dumbest things to do to the CEO's email."
    4. Writing "nude pictures of barely clothed females." Come on! Are they nude? Are they barely clothed? That is really going to skew that 1/2 of humanity statistic.
    1. Re:The Four Dumbest Ideas in One Paragraph. by An+Onerous+Coward · · Score: 1

      Google is your candy bar-offering friend.

      I thought the "nude pictures of barely clothed females" was just him being funny. I'm very forgiving when it comes to naked women.

      In the end, I don't think it's right to say that security education can be done away with. But I do believe that it's crazy to believe that good education can make up for bad initial design, and I think it's good to replace education with design wherever possible. After all, given the choice between drumming, "Don't run executables you get in your e-mail" into thick skulls, and simply yanking executables before they hit the inbox, the latter is both more reliable and easier on the end user.

      --

      You want the truthiness? You can't handle the truthiness!

    2. Re:The Four Dumbest Ideas in One Paragraph. by Anonymous Coward · · Score: 0
      Suggesting that "if it (educating users) was going to work, it would have worked by now" is dumb. This statement is a fallacy of bifurcation -- suggesting that there are only two possible outcomes. Either it works or it doesn't.

      Actually, I take it as a counterargument to the response you always get from companies, IT managers, etc... "Well, if the stupid users would just patch/not open funny looking attachments/stop installing that idiotic dancing monkey from Gat^H^H^HClaria"

      His point is that it's not a reasonable belief that you can educate people to stop doing such things. There will ALWAYS be the guy who puts his favorite passwords on a postit note, there will ALWAYS be someone who has to install IMNOTSPYWAREIREALLYMEANIT-v235.exe, and there will ALWAYS be someone who thinks he needs a longer schlong or is looking for viagra or wants to watch barely legal adolescents doing it with mice.

      Don't try to educate your users about everything. Instead, educate them about enough to make them good network citizens.

      Have you tried this at your company? How long has the program run, and how well is it working? Because I never heard an administrator say "Well, we told everyone not to run random programs on their computer, and after a year, every single one of them has listened with dilligence, understanding, and absolutely no whining." It's far more common to hear about the idiot in accounting who just HAS to run his favorite screensaver. You know, the one which breaks everytime that "evil IT admin makes me run that stupid ad-aware program" and is recording his keystrokes as he's calculating the quarterly earnings of a few departments.

  87. they missed a big one... by pohl · · Score: 2, Insightful

    ...the idea that it is only the ubiquity of a system (not its design & implementation) that is the greatest determining factor behind the likelihood of exploit.

    --

    The "cue the foo posts in 3, 2, 1..." posts will commence with no subsequent foo posts in 3, 2, 1...

  88. summary by kronchev · · Score: 1

    pretty much just says "only allow things you know and prohibit everything else" what it fails to think about is, in that case the number of retarded "Why cant i run app x" will be multiplied by 1000...

  89. Read this last week... by Spoing · · Score: 1

    Spot on. Thus, my signature;

    --
    A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
    1. Re:Read this last week... by owlstead · · Score: 1

      McAfee firewall personal edition (once?) blocked all access to 127.x.x.x and you could only enable this one IP at a time. So a firewall *can* protect you from yourself. Question is if you want it to (I didn't, my Java application suddenly could not be debugged anymore).

    2. Re:Read this last week... by Spoing · · Score: 1
      McAfee firewall personal edition (once?) blocked all access to 127.x.x.x and you could only enable this one IP at a time. So a firewall *can* protect you from yourself. Question is if you want it to (I didn't, my Java application suddenly could not be debugged anymore).

      The use of a firewall and other tools assumes that you know what it is good for and how to use it.

      If you don't, it can't protect you from yourself; that's what I meant.

      Additionally, the firewall does not block anything. It enables you to use your network connection without knowing what might use it; it allows you and others to be blisfully unaware of how the connection may be used while blocking some requests. The adaptive firewalls that allow you to select what can/can not use the network are there mainly so that you can be told when something happens because you haven't prepaired for it. If you knew the systems you managed well enough, you wouldn't need to keep managing the firewall as the work would already be done.

      That said, firewalls can be handy (as can other tools). Firewalls are not security in themselves. They are there to impose rules when you are not able to impose them yourself and like other automated tools will fail in strange ways in the right circumstances.

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  90. Joke? by foreverdisillusioned · · Score: 4, Insightful

    Sugar coat it however you want, but using any version of Windows is by far the single largest security risk, period. Partially this is because Windows is the predominant desktop OS, but it is also because *nix is generally secure by design, whereas Windows is user friendly by design.

    If you install Windows, you are making a conscious decision to open yourself up to a plethora of attacks that simply aren't possible on any other platform. Maybe the benefits outweigh the risks, but don't pretend that the risk isn't there or that it's some outdated joke.

    1. Re:Joke? by Kadin2048 · · Score: 5, Insightful

      I really hate to sound like an Apple fanboy by asking this, but I do mean it as a serious question and not a troll.

      Where does the Macintosh OS fit in to your scheme of things? By all measurements it seems to have been built with user friendliness in mind, however it's also generally regarded as being pretty secure by design also.

      Is it secure *only* because it's less popular than Windows? I.e., if it had Windows' marketshare, would it be regarded as insecure? Call me biased, but somehow I don't think it would.

      User friendliness versus security is not necessarily a one-to-one tradeoff. It's possible to have something of both, although perhaps at the expense of some third quality (speed, or efficiency perhaps?).

      Anyway, I'm not disagreeing with you outright as much as I'm just wondering where some other operating systems fit in on your continuum, if Windows is "user friendly" but insecure and *nix is "secure by design" but not user friendly.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    2. Re:Joke? by pembo13 · · Score: 3, Informative

      I think he meant Mac as part of *nix

      --
      "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
    3. Re:Joke? by BrainInAJar · · Score: 2, Insightful

      Is your mac default user root or a root-like entity?

      If so, then it's *not* secure by design, it's secure because of market share. The single biggest security problem with desktop windows is having system administrator be the default user

    4. Re:Joke? by extrasolar · · Score: 4, Insightful

      Do you have an argument there?

      "Partially this is because Windows is the predominant desktop OS, but it is also because *nix is generally secure by design, whereas Windows is user friendly by design."

      Why do I get the feeling that the basis for your belief here is simply because you have to type in a password before you can boot into your Linux system?

      I think there's way too much complacency among Linux and Mac advocates. As far as I'm concerned, they are both Katrinas waiting to happen. Neither of these systems are very popular, but because of the rampant advocacy, fans of both systems come up with this fallacious assumption that just because Macs and Linux systems are almost never get hit by viruses or other forms of attacks, that they must be more secure by design. No! No! No! And if I was a manager for a small to large business, I'd prepare for such attacks *before* they happen and ignore all of this fanboy buzz.

    5. Re:Joke? by Anonymous Coward · · Score: 0

      UNIX isn't any more secure by design than windows, so long as one doesn't count obscurity as a security feature.

      And the obscurity is the difference. In the case of Unix it demands a certain amount of specialized knowledge and dedication, and thus training. And reducing that curve, that expendeture of developing knowledge, is exactly what the aim of easy to use is. It doesn't prevent anyone from becoming any sort of expert or installing good security practices. It just doesn't demand it. And there's your difference. And the free-market has chosen. They want their time back, and until the war against malware is more expensive than building a world of expert users, it's the way things are going to be. Because that's what we collectively want.

      It's large capital investment vs increasing reoccuring cost. And since it's America, large capital investment is losing.

    6. Re:Joke? by Anonymous Coward · · Score: 0

      *nix is generally secure by design

      I guess given enough time and repeated lies, people will believe anything. Nothing in the history of Unix makes it 'secure by design' - it matured that way. Unix's history is riddled with poor security, but its long life and significant funding by government agencies has helped patch many of the bugs. However, calling it secure by design is either an obvious lack of intelligence, or an insult to security professionals.

    7. Re:Joke? by Kadin2048 · · Score: 3, Interesting

      No, at least not by my definition.

      On a standard Mac OS X box (not sure about Server), the root user isn't even enabled by default. You need to go pretty deep into the preferences in order to enable it.

      The first user you create during the install process is an "Administrator," which means you can 'sudo -s' on the commandline and become root temporarily, but only by re-authenticating. I'm not sure if that meets your criteria for 'root-like entity,' but it seems a pretty good compromise to me.

      Anything you run through the GUI (and anything you run through the CLI unless you specifically sudo and become root) executes as a non-root user. So email attachments, etc., cannot execute as root unless the user takes the very unlikely steps of enabling the root user, and then logging in as it.

      There were a few privilege escalation bugs in past versions of the OS which allowed an Administrator to become root without properly authenticating again after login, but they were in early versions and I haven't heard of any recently.

      --
      "Ladies and gentlemen, my killbot features Lotus Notes and a machine gun. It is the finest available."
    8. Re:Joke? by ltbarcly · · Score: 4, Insightful

      No. And it isn't possible to set an account up like this.

      Macs have 'administrator' accounts which are actually just members of a 'wheel' like group for sudoing. There is a 'root' account on OSX, which you can't even log into by default. You can set a password for it by doing a 'sudo -s' and then 'passwd'. This account can't be logged into in the GUI, merely on the command line. The vast majority of users will not use this functionality.

      Whenever a program needs rootlike privileges to install software (which is rare, as macs use app-folders) or to do system maintenance, they OS requires you to actually type in your password. This is the 'wheel' like functionality.

      This security model is more secure than having only 'root' and 'user' accounts, which is why many Linux distributions, like Ubuntu, now default to this exact behavior.

      So in OSX anyway, there is NO user account with root or root-like privileges.

    9. Re:Joke? by Nutria · · Score: 1

      "Partially this is because Windows is the predominant desktop OS, but it is also because *nix is generally secure by design, whereas Windows is user friendly by design."

      Why do I get the feeling that the basis for your belief here is simply because you have to type in a password before you can boot into your Linux system?


      Secure By Design? Absolutely not! Most apps are written in C, after all.

      I'd say, though, that attack vectors are different, and definitely aren't as pathetically easy as Windows vectors.

      After all, you don't need a whole bunch of resource-hogging apps for Evo, KMail, Tbird, Communicator, Sylpheed, etc, to not auto-run attachments. I guess that would be Default Deny.

      Knowing that no system is perfect, I still sleep better at night knowing that my desktop is Linux, and unneeded daemons are turned off.

      --
      "I don't know, therefore Aliens" Wafflebox1
    10. Re:Joke? by dsci · · Score: 1

      Neither of these systems are very popular, but because of the rampant advocacy, fans of both systems come up with this fallacious assumption that just because Macs and Linux systems are almost never get hit by viruses or other forms of attacks, that they must be more secure by design. No! No! No!

      Then you don't understand the differences in the *nix design compared to the Windows design.

      --
      Computational Chemistry products and services.
    11. Re:Joke? by mr_z_beeblebrox · · Score: 1

      using any version of Windows is by far the single largest security risk

      I disagree, complacency is the biggest risk of all. Complacency is the reason Windows is designed like it is (redmond could care less to fix it). Complacency is the reason most Windows users don't patch their boxes (it runs fine). Finally, complacency is the reason that Linux users like yourself, who make that assumption will one day have their asses handed to them by a nasty worm.
      FYI, I don't disagree that Windows is a bad idea, I just disagree with thinking that using Linux is "the" answer to security issues.

    12. Re:Joke? by Brundylop · · Score: 1

      If you install Windows, you are making a conscious decision to open yourself up to a plethora of attacks that simply aren't possible on any other platform. Although Windows is not as safe as UNIX systems, it is the user that makes themselves so vulnerable. No amount of anti-virus protection can keep an ill-informed people safe. How do most people get malware of their computers? Email attachments from unknown people, pirate programs, and shoddy site (usually PORN). I bet that everyone here could use a Windows XP machine w/o anti-virus and not get viruses. Of course many Windows machines will be infected; the people using them are usually the ill-informed.

    13. Re:Joke? by Tibor+the+Hun · · Score: 1

      someone can correct me if i'm wrong, but if you enable the root account in system preferences, you can do the GUI login as root.

      --
      If you don't know what AltaVista is (was), get off my lawn.
    14. Re:Joke? by MikeFM · · Score: 3, Insightful

      I think most of the points in the article can be used to point out why Windows is insecure starting with the big #1 of default permit. Default permit makes things easy for users because it doesn't require they know anything about what they are doing or to configure anything. The approach has the major downside though of making it equally easy to infect, hack, and otherwise mangle the system. Microsoft is really in a bind with this one ebcause even though they've figured out that this apprach is a really bad idea there isn't much they can do about it without damaging the percieved user-friendlyness of Windows and Microsoft software. THEY trained users to think this way and now they either have to just live with the way these users think or they have to take the risk of retraining users. Before Mac OS and Windows most users expected to need to know things to run the computer and they simply just did it. Now that is largely no longer true even of the same users.

      Enumerating badness.. virus scanners and default permit firewalls.. these damn things are the bane of Windows. Instead of blocking unknowns or at least asking for permission Windows and Windows apps tend to rely on blacklists to tell them what is unsafe. With thousands of apps being released daily and probably thousands of hacks too that is a pretty tall order. IMO greylisting unknowns while blacklisting known threats is a good solution. That way the user can't easily screw up and allow through known threats and they're prompted before allowing possible threats through.

      Penetrating and Patching is mostly only a problem in Windows because Microsoft and other companies release beta (or less) quality software as final releases and use paying customers to do the testing. Any program can have flaws and it is wise to test them and patch them. Sometimes those flaws are small errors in an otherwise good design and a patch will fix them. Other times those flaws are huge design errors that require whole features or even applications to be rewritten and then patching is useless. Either way it isn't a problem except when you've sold the broken useless crap to some unsuspecting consumer before doing the testing.

      Hacking is cool. The guy is an idiot on this point. Knowing your enemy is a good lesson in security. So is knowing your own weaknesses. You learn those things by first copying your enemy and then by stepping ahead to guess what your enemy may do next. You're not a real engineer if you don't understand ways in which your creations can go wrong either by bad luck or by ill intent.

      Educating users is a must. That doesn't mean you need to educate users on every single threat. It means that you don't dumb users down in the MacOS/Windows way and that you teach them basics of what is expected and unexpected behavior of their computer.

      Inaction is cheaper than action but action can be a better defense so long as you're willing to keep changing as you find out more. Microsoft often takes the route of inaction which is cheaper. They wait to see what happens, again using customers as test subjects, and then buy or copy the strongest response. This has lead them to bad designs in general though. If they'd taken action they could have designed better software to begin with. They can afford to make early actions in defense of their customers so there is no excuse for them not to. On the other hand the customers may not have that kind of money so for them inactivity can be a better idea.. or would be if Microsoft was doing it's job.

      Overall, Microsoft has again and again proved itself asleep at the wheel when it comes to security (and most other things). Fortunately they are starting to take action finally as they finally reached the point when customers were looking at better options. Smoke and mirrors works for a while (sometimes a long while) but eventually people get tired of always being victims. This is the situation Microsoft has put itself into and one that most other software venders are close to. With the industry maturing and customers becoming more savvy they'll finally have to start paying attention to these things. Five years ago customers thought I was weird for mentioning the security of the systems the were using. Now they ask about it. BIG DIFFERENCE.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    15. Re:Joke? by Randseed · · Score: 1
      Which actually begs the question: Why don't email clients, if they feel that they must execute some attachment, execute it as some unique, jailed UID? That way it can't even destroy the user's mail directories.

    16. Re:Joke? by geminidomino · · Score: 1

      Why do I get the feeling that the basis for your belief here is simply because you have to type in a password before you can boot into your Linux system?

      It's a bit more than that.

      For example, here's a simple one for you.
      Windows spyware tends to be horribly insidious in its method of installing .DLL files into %SYSTEM%, often randomly changing its name on execution.

      Write a trojan that, when executed by an unprivelaged user on a competantly run system[0], will modify /etc/rc.d/rc.local.

      I think you'll find it is significantly more difficult.

      [0] Systems that have had `#chmod -R 777 /` run on them need not apply.

    17. Re:Joke? by frankie · · Score: 1

      Nope. The Accounts preference pane can only manage normal user accounts (administrator or limited). It has no access to the unix service accounts, including root.

    18. Re:Joke? by ltbarcly · · Score: 1

      Suppose for a second that it is possible.

      It is so difficult to do this that it will only happen if someone wants it intentionally.

      One can hardly say an OS's security is at fault if a user with the root password decides to comprimise the system on purpose!

    19. Re:Joke? by JesseMcDonald · · Score: 2, Interesting

      That would be more practical if users could create their own limited UIDs. As it is, the system adminitrator would have to manage a number of limited, e-mail-only UIDs (one for each user), or enable some kind of sudo or "run as" procedure (without authentication) with a common UID. Either way, there are still system services that could not be protected in this manner, and the mechanism would be system-specific and thus difficult to design into an e-mail client. A chroot-jail design would at least protect the user's files, but requires root priviledges to work.

      One way of "jailing" attachments would be to run them inside a User-Mode Linux process, with no access real network devices or the host filesystem. AFAIK, that would prevent the attachment from altering the system in any way, and could be automated without access to the root account. Of course, this is not all that different from limiting (executable) attachments to Java programs and running them within a limited JVM...

      --
      "The state is that great fiction by which everyone tries to live at the expense of everyone else." - Bastiat
    20. Re:Joke? by Matey-O · · Score: 1

      It's so unixy it'll let you 'sudo bash; rm -rf /*'!

      S'what I get for trying to reinstall fink without making sure my fingers were doing what my brain told 'em to.

      OS X sure falls over in a funny way when you rip all it's files out from under it.

      --
      "Draco dormiens nunquam titillandus."
    21. Re:Joke? by aristotle-dude · · Score: 1
      One small correction. Admin accounts are members of the admin group, not wheel. The wheel group is where the root account resides (root account disabled however)

      It would be dangerous to put an admin account into the wheel group as that would give it root level privileges to some resources.

      The admin group is however in the Sudoers list which gives temporary root level access when you enter in a your password again.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    22. Re:Joke? by aristotle-dude · · Score: 1

      No, you have to open up Netinfo Manager but there is absolutely no reason to enable it. Anyone who did enable it should be shot.

      --
      Jesus was a compassionate social conservative who called individuals to sin no more.
    23. Re:Joke? by Mancat · · Score: 1

      Write a trojan that can install itself into the system directory on my Windows system, despite the fact that I am running as a limited-access user, and have no write access rights to anywhere in the filesystem but my user's profile directory. Right, you can't.

      Without also making use of some privelege escalation flaw in an Administrator-level process, you can't do this on Windows, either. The problem is that 99% of Windows users will never bother using a limited-class user in Windows, and instead just use Administrator-class accounts, because it's easier.

      NT security is, as a whole, pretty good. The biggest hole in Windows at this moment is how user accounts are configured, and Microsoft's reluctance to force better security practices on users. This should be changing in Vista.

      --
      hello dear sirs my name is jamesh i are india (bihar) can u guide me install red had linux 9?
    24. Re:Joke? by irc.goatse.cx+troll · · Score: 2, Insightful

      Why would it need to modify /etc/rc.d/rc.local? Why cant it just modify ~/.bashrc, ~/.login, ~/.profile, ~/.bashlogin, ~/.xinitrc, ~/.startkde, or any of the many other badly docced autoinit scripts for the user?

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    25. Re:Joke? by Draconix · · Score: 1

      Yeah, you can. It doesn't show up on the login screen, but you can log in as 'Other' and enter any username and password, including root.

      --
      By reading this you acknowledge that you have read it.
    26. Re:Joke? by Anonymous Coward · · Score: 0

      If you install Windows, you are making a conscious decision to open yourself up to a plethora of attacks that simply aren't possible on any other platform.

      I was once attacked by a plethora of pinatas, Jefe.

    27. Re:Joke? by mr100percent · · Score: 1

      ...only if you enable the root account in the NetInfo Manager application. otherwise, it doesn't exist.

      Great idea, some script kiddie could be trying to crack the root account, only it doesn't exist so it gets nowhere.

    28. Re:Joke? by seabasstin · · Score: 1

      sorry man but you didn't read the posts above your reply or more likely you didn't understand.

      What is being discussed in the posts before yours is that Unix systems are inherently more secure because they are not user centric.
      Furthermore Os X is even less user centric as it seperates the 'usr' from the 'system' by a couple of more steps almost exactly emulating the solutions to the "dumbest security ideas".

      *nixes, including Linux and OSX are inHerently NOT, Katrina's waiting to happen, if you would like to compare them to countries they are like Holland, or Japan which have very calculatedly included in the design of their cities disaster prevention ideas that have been tested with experience, and trough careful engineering as opposed to the typical, "Well if we make the wall 10 foot high and 4 feet thick there is no way water will break it". (its like in action movies where a bullet pierces trough water and hits a person 5 feet under... too bad using a typical bullet in this situation would fragment it to bits. Yes I watched myth busters, ah ah ah)

      One last thing, your reaction to this is more Typical of fanboydom then any of the other posts so far.
      Ciao.

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    29. Re:Joke? by 6th+time+lucky · · Score: 1

      With no mod points i'll second the insightful mod, but...

      It still came out a little linux zelot-y.

      So in summary:?
      Choose Windows for user friendliness
      Choose *nix for security (and free speech)
      Choose OSX for a *nix that has user friendliness, free speech-y-ness and most of the security?

    30. Re:Joke? by Anonymous Coward · · Score: 0

      Which actually begs the question: Why don't email clients, if they feel that they must execute some attachment, execute it as some unique, jailed UID? That way it can't even destroy the user's mail directories.

      Because the e-mail clients that are written by people who care about security don't execute attachments in the first place?

    31. Re:Joke? by LazySlacker · · Score: 1

      OK I agree with your tone but it's not a windows problem. Here I agree with the minor dumb -
      "Everyone would be secure if they all just ran security-flavor-of-the-month"

      Enumerating Badness
      I think his point, which I disagree with, is that you can't know all the problems - yes viruses are predominately a windows problem. But there are other attack vectors, sql injection and buffer overflow attacks spring to mind.

      Penetrating and Patching
      Cause sendmail, apache etc have never had vulnerabilities problems. Neither do all those web apps that get pen'ed and patched.

      Awareness
      Both the above lead to my agreement with you on awareness.

      But the point isn't so much users (yes they need basic stuff) but those clever admins and developers. How many admins allow remote telnet root access to their systems? Obviously none on /. How many developers validate input fully?

    32. Re:Joke? by MikeFM · · Score: 1, Flamebait

      It isn't only a Windows problem but it is a Windows problem and it is a commercial software problem largely created by Microsoft. In many ways Microsoft created the software industry and the culture of creating software commercially and interfacing with users. Their bad habits have invested the entire industry.

      Certainly there are many kinds of attacks and let there be no doubt that there will always be new attacks being invented. Expecting to avoid all of them, even before they've been invented, either by smart design or blacklisting is naive. Windows though encourages this behavior by having poor built-in security. IMO Unix/Linux-style security leaves much to be desired but it is just worlds stronger than that of Windows. Unix was around before Windows, and Microsoft had experience with it (Xenix) but they decided to throw out what they knew and just face the world with no security model in place. Foolish even in the days before everyone had Internet access.

      Sendmail, and the whole fragmented fscked up concept of EMail as we know it, is a mess that also wasn't designed with security in mind and is a classic example of how patches can never fix a bad design. Email needs to be reinvented from the ground up to be fixed.

      Apache has had problems but they are at a more reasonable level and most are in a module and not in Apache itself. Overall, it was designed well. My experience is that most opensource projects start off as poorly designed as their commercial counterparts. The difference being that all that poor design is exposed so that over time the programs get redesigned and evolve into solid code bases. Commercial software hides it's weaknesses and is consumed with the bottom line of making money - features and glitz over stability, flexibility, and security.

      My experience is that most admins and programmers are clueless, lazy, and not nearly paranoid enough. Of course a lot of that is because of pressure put on them from management that doesn't want to invest the time in better solutions. I really hate hearing that doing it right takes to long and that it's good enough without decent security and a solid design. They'd rather worry about the problem, at much greater expense, only after it becomes a danger to them financially.

      --
      At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    33. Re:Joke? by jrockway · · Score: 1

      The rm command above won't execute with root privileges. First, you execute bash as root, and get the following output:

      yourhost:/#

      Then you log out of the root shell, and the part after the ; executes as your user. So the rm -rf /* executed as your user, not root. If your permissions were set up so that your user could remove any file on the system, then you deserve what you got. That is definitely not out-of-the-box behavior.

      If you wanted to execute rm -rf /* (the * is unnecessary) as root, then you should have typed sudo rm -rf / or sudo bash -c 'rm -rf /', etc. But what you wrote above does not do what you think it does.

      --
      My other car is first.
    34. Re:Joke? by Fred_A · · Score: 2, Insightful

      Shouldn't MS force better practices on developpers rather than users ?

      If software actually ran on unpriviledged accounts, you could then start educating users. Until that hapens it's hopeless.

      --

      May contain traces of nut.
      Made from the freshest electrons.
    35. Re:Joke? by jrockway · · Score: 1

      > Choose OSX for a *nix that has user friendliness, free speech-y-ness and most of the security?

      BSD is not a free speech license. And the rest of OS X is proprietary garbage just like Windows. Type this link in Safari (/. won't let me make it clickable):

      data://<h1>crash</h1>

      That said, OS X is still my preferred OS for things like web browsing and sync-ing my iPod, but claiming that's free speech-y and 100% bug free is just plain naive.

      --
      My other car is first.
    36. Re:Joke? by Taladar · · Score: 1

      We shouldn't forget that Windows probably has thousands of undiscovered privilege escalation flaws because everyone runs as Admin anyway and nobody (or a relatively small number of people) looks for those because of that.

    37. Re:Joke? by DarKry · · Score: 1

      I also have a big problem with the "hacking is cool" point he makes. I read a little deeper into it though and understand the problem. He is refering to "hacking" as know how to use the exploit of the month, not as understanding the priciple the exploit is based on. I agree completely that it makes no sense for a sys admin to spend his time learning to compile and run the latest IIS exploit, but I do think that it is very important that a sys admin in charge of security understands how a buffer overflow/format string/sql injection works. To expect him to run a secure system without that knowledge would be silly.

    38. Re:Joke? by geminidomino · · Score: 1

      Because those still can only effect user-owned files.

      Put `rm -rf /` in your ~/.bashrc and login. After several-to-many (depending on your filesystem setup/capacity/etc) minutes and many many errors, you'll find your ${HOME} wiped out. Other users will notice the system crawls during that time, then go about their business.

      That was my point.

    39. Re:Joke? by tengwar · · Score: 3, Interesting
      Yes. And I wish people would realise this!

      You don't get a root login by default, but any user in the admin group has rw privileges in the Applications directory. If, for the sake of argument, you replace some common application such as the Safari web browser with a trojan subsitute, can either run with the privs of any user who starts it. If you replace an app which normally requests authentication to run as root, you can get full privileges by getting the user to enter their password exactly as they are expecting to do. Although the default user is not the Unix root, this hole means that there is little difference between the security of Windows and Mac.

      There is an easy fix: create an account which has admin privileges, then remove these privileges from your normal account. This works almost as easily as the default installation. For a few operations (such as dragging an app into the Applications folder) you will be asked for the user name and password of an administrator, and for these you supply the details of the new admin account that you created. There really is no other down-side that I've come across in running MacOSX like this (unlike using a non-admin user in Windows).

    40. Re:Joke? by black_rock · · Score: 1

      Modifying /etc/* modifies settings for the whole system affecting *every* user. If the trojan puts some line in some of your ~/.rc files then the only one screwed is you and only at login. The /etc is writable root-only for a reason.

    41. Re:Joke? by wild_berry · · Score: 1

      He clearly didn't read the fine article. At the bottom, the first 'minor dumb idea' is "We're Not a Target".

      His line sounds like a piece of current Slashthink. Poor guy. The article's good, if you haven't read it ;-)

    42. Re:Joke? by drsmithy · · Score: 1
      Because those still can only effect user-owned files.

      Ah, so only the most important files on the system, then ?

      Other users will notice the system crawls during that time, then go about their business.

      I know it's cool on /. to say this sort of thing, but out in the real world places that aren't running user:machine ratios of 1:1 are pretty rare. Or, in other words, there aren't many boxes out there where "only affecting one users files" is much of a relief, because each machine only has one user.

    43. Re:Joke? by zootm · · Score: 1

      I think most of the points in the article can be used to point out why Windows is insecure starting with the big #1 of default permit. Default permit makes things easy for users because it doesn't require they know anything about what they are doing or to configure anything.

      Yes. That's it exactly, basically.

      Enumerating badness.. virus scanners and default permit firewalls.. these damn things are the bane of Windows. Instead of blocking unknowns or at least asking for permission Windows and Windows apps tend to rely on blacklists to tell them what is unsafe. With thousands of apps being released daily and probably thousands of hacks too that is a pretty tall order. IMO greylisting unknowns while blacklisting known threats is a good solution. That way the user can't easily screw up and allow through known threats and they're prompted before allowing possible threats through.

      This is, essentially, the default action (in so far as is possible on the original system) in XPSP2, although some actions are just not classified as admin actions a lot of the time. Certainly for (incoming) net-enabled stuff, apps are now greylisted while unknown.

      Penetrating and Patching is mostly only a problem in Windows because Microsoft and other companies release beta (or less) quality software as final releases and use paying customers to do the testing.

      This is a problem with the software industry in general. OSS solutions tend to be a little more "honest" with it, but in general it's just the way things are. Which is why it's so important that things should be designed from the ground up to do their jobs, to avoid having to patch over the bad bits.

      Hacking is cool. The guy is an idiot on this point. Knowing your enemy is a good lesson in security. So is knowing your own weaknesses. You learn those things by first copying your enemy and then by stepping ahead to guess what your enemy may do next. You're not a real engineer if you don't understand ways in which your creations can go wrong either by bad luck or by ill intent.

      I'm about 50/50 on this. Identifying security "anti-patterns" might be worth checking out, but actually teaching oneself to hack as a "know your enemy" sort of thing seems like a waste of time — if you've got any knowledge of the design flaw that causes the vulnerability, you just need to avoid the flaw, the actual mechanism of hacking is not important at all.

      It means that you don't dumb users down in the MacOS/Windows way...

      "Dumbing down" is a bad way of putting this. If you can hide the operation of the computer in a secure way, you're not dumbing the system down, you're simplifying it. Users should not need to know the operation of the computer at all. Knowing "expected and unexpected behaviour" is fair enough, but that set of knowledge should be incredibly small. Expected behaviour should be the system doing exactly what you tell it to, and nothing else. Unexpected behaviour should be exactly that — the computer doing something you didn't tell it to. There should be no point where the user is forced to view information about something they didn't specifically tell the computer to do.

      It's an interesting subject, how to set up systems to be "secure by default" in a friendly way, but I believe that it is, fundamentally, possible.

    44. Re:Joke? by chrisnewbie · · Score: 1

      That would be great if this model was applied to Windows. There are far too many different accounts in windows anyways.
      Print operators? yes sure we have someone JUST for That.
      Power user? Yes he's the boss so power user for him, less security for the network.

      User should not have any right to install software, unfortunately in windows,,,some applications need admin rights in order to work that is the Major flaw. It seem to me that if the software is installed it should have automatic admin privileg to work, whitout a complete lockdown of the computer when in restricted mode.

    45. Re:Joke? by Cro+Magnon · · Score: 1

      What other users? My computer is a one-person desktop. Everything important is under $HOME.

      --
      Slow down, cowboy! It has been 4 hours since you last posted. You must wait another few hours.
    46. Re:Joke? by geminidomino · · Score: 1

      Your computer is hardly indicative of the OS design, which was the topic of discussion.

    47. Re:Joke? by geminidomino · · Score: 1

      Ah, so only the most important files on the system, then ? I assume you're basing this on the flawed claim below. MY files are the most important to me. This is why my .profile et al stay chmodded -r unless I need to edit them. A cow-orker (six of which I share a PC with, since we do 24-7 coverage) loses his files, I could care less. A family member (four of which share my PC): same deal. out in the real world places that aren't running user:machine ratios of 1:1 are pretty rare. Or, in other words, there aren't many boxes out there where "only affecting one users files" is much of a relief, because each machine only has one user. I must work and live in fantasy-land then... No, that can't be it. If it was the case, my paycheck would be bigger and would be hand-delivered by naked, large-chested women. So, the only conclusion left would be that you're wrong.

    48. Re:Joke? by geminidomino · · Score: 1

      OK, I KNOW I chose plain old text.

      Ah, so only the most important files on the system, then ?

        I assume you're basing this on the flawed claim below. MY files are the most important to me. This is why my .profile et al stay chmodded -r unless I need to edit them. A cow-orker (six of which I share a PC with, since we do 24-7 coverage) loses his files, I could care less. A family member (four of which share my PC): same deal.

        Having to reconfigure and re-tweak the OS is a colossal pain in the ass (though occasionally serves as an incentive to do a full upgrade instead of just peicemeal security patching)

      out in the real world places that aren't running user:machine ratios of 1:1 are pretty rare. Or, in other words, there aren't many boxes out there where "only affecting one users files" is much of a relief, because each machine only has one user.

      I must work and live in fantasy-land then... No, that can't be it. If it was the case, my paycheck would be bigger and would be hand-delivered by naked, large-chested women. So, the only conclusion left would be that you're wrong.

    49. Re:Joke? by Anonymous Coward · · Score: 0

      This is partly true at least. I personally believe Windows suffers much more from security problems because it is the predominant server OS out there (including both server and desktops together). Why would anyone write a virus or worm to take advantage of a AIX box? They won't get any attention if only a few boxes are hit and the ensuing chaos is minimal. No, they target the OS that has the most affectable systems.

      Another side of this is that the default Windows desktop install (from 95 up to XP) installs with the default user having root privileges and makes it easy for any rogue process to do whatever it wants to the system. I've used *nix and OSX and love the "You are about to execute a privileged command, please type in the root password" type alerts that tell me, "Whoa, should this process really be asking for these privileges??" The downside of this is that many users would not view this as a security alert and more of an annoyance. "Why do I have to type in my password AGAIN??" Most computers users have no idea how OSes or applications actually work. They just want to be able to install programs and do what they want without having to deal with all the reprecussions of security management. In my mind it is very diffuclt to come up with a nice balance between security and ease-of-use for normal people. I, personally, would always err on the side of security, though.

    50. Re:Joke? by bynary · · Score: 1

      Actually, once you do enable root (it's done through NetInfo Manager in the Utilities directory), you can then login using root and whatever password you gave it. No, you can't manage it from the System Preferences, but you can login.

      --
      http://www.bynarystudio.com
    51. Re:Joke? by KDR_11k · · Score: 1

      Usually thatll do enough damage even with user privileges. The Os can be reinstalled but many people don't do backups.

      --
      Justice is the sheep getting arrested while an impartial judge declares the vote void.
    52. Re:Joke? by Master+of+Transhuman · · Score: 1

      Acknowledging your caveat "if they feel that they must execute some attachment", do note that the first dumb idea in TFA was the "Default Permit" concept.

      Email clients should RUN NOTHING except on demand - in fact, I'm not even sure that's a good idea - they really shouldn't run ANYTHING ANYTIME. Which means, among other things, no HTML email preview. If it isn't text only, don't do anything with it.

      I've never understood why email needs HTML at all. DO we REALLY need to see pictures, animated crap, whatever, in email? Who uses it besides spammers and people who send you dumb jokes? When was the last time you crafted an HTML email that had serious content in it?

      I think another of the "dumbest security ideas" is the notion that any pointless bullshit somebody wants to do is a good idea, so we should implement it immediately. HTML email qualifies. Most of Windows qualifies. "Featuritis" definitely qualifies.

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    53. Re:Joke? by irc.goatse.cx+troll · · Score: 1

      What other users? The only files that arnt owned by me on my machine are the files I'd get back on a reinstall. The files owned by me are what actually matter, such as the things I've created, downloaded, or personally modified.
      Who cares if I lose a stock install of aim or vim, what matters is my aim logs(owned by me) and code (owned by me)

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    54. Re:Joke? by irc.goatse.cx+troll · · Score: 1

      See other reply about single user systems meaning the only files worth anything are owned by you. More importantly though, this specific example was spyware on windows not being able to work on linux. On windows without admin you're not going to be able to throw it anywhere that will effect others either, but running it under a user is enough to effect you and to spread it.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    55. Re:Joke? by Matey-O · · Score: 1

      What I get for trying to be brief. I'd 'sudo bash'ed then I rm -rf *'d Believe me. It worked ALL TOO WELL.

      --
      "Draco dormiens nunquam titillandus."
    56. Re:Joke? by Anonymous Coward · · Score: 0
      The admin group is however in the Sudoers list which gives temporary root level access when you enter in a your password again
      What's a Your Password? Would I find it in a My Documents folder? iDon't understand all this newspeak. meThinks I'll have to read up on it.
    57. Re:Joke? by flipdaddy · · Score: 1

      I use HTML mail fairly regularly in business. Lists and links are nice to have.

      You don't need most of HTML, though, and Microsoft's mailers generate awful stuff. I used to use text/richtext, but it seems to have mostly died.

    58. Re:Joke? by PlacidPundit · · Score: 1
      Macs have 'administrator' accounts which are actually just members of a 'wheel' like group for sudoing. There is a 'root' account on OSX, which you can't even log into by default. You can set a password for it by doing a 'sudo -s' and then 'passwd'. This account can't be logged into in the GUI, merely on the command line.

      And this scheme has been in place since 1989!

    59. Re:Joke? by Randseed · · Score: 1

      Agreed totally. There's no point in being able to attach non-local (i.e., not attached to the email) images, or any kind of executable. Links? Okay. Attachments? Okay. Images? Okay. Movies? Okay. Notice that the common theme is that the content isn't executable. (Though with Mickeysoft, the reality is that nonexecutable content often becomes executable, such as in the various image overflow bugs.)

    60. Re:Joke? by Mancat · · Score: 1

      I certainly don't disagree. Most programs I use behave correctly, and are aware of multiple users. There are still many that are not, mostly games and such.

      Software that "doesn't run" on an unpriveleged user account is usually fixable by modifying permissions on the program's installation directory, but this is certainly not desirable.

      --
      hello dear sirs my name is jamesh i are india (bihar) can u guide me install red had linux 9?
    61. Re:Joke? by drsmithy · · Score: 1
      I assume you're basing this on the flawed claim below.

      My claim is not flawed, it is a reflection of reality.

      MY files are the most important to me. This is why my .profile et al stay chmodded -r unless I need to edit them.

      Are you saying that the only files you have write access to *in your entire organisation* are the ones in your home directory ?

      A cow-orker (six of which I share a PC with, since we do 24-7 coverage) loses his files, I could care less. A family member (four of which share my PC): same deal.

      OTOH, they will probably care a great deal, because their files are most important to them.

      Or, as I said, the most important files on the machine are inherently the most vulnerable.

      Having to reconfigure and re-tweak the OS is a colossal pain in the ass (though occasionally serves as an incentive to do a full upgrade instead of just peicemeal security patching)

      Not as colossal a pain in the arse having to recreate from scratch a decade's worth of data is (assuming it's even possible).

      I must work and live in fantasy-land then.

      No, merely an uncommon environment.

      So, the only conclusion left would be that you're wrong.

      I would be wrong if I had said single-machine, multiuser-environments were nonexistant. However, I did not, I merely said they were extremely uncommon - which they are. A typical environment is a number of single-user (or, less commonly, multi-user) desktops accessing one or more servers that hold data. By necessity, these users typically must be able to write to significant proportions of this data.

      Or, in other words, in a typical environment malicious code running as a regular user is quite capable of widespread damage /to data that actually matters/.

    62. Re:Joke? by extrasolar · · Score: 1

      I think my post was correct insofar as the fallacy I pointed out *is* invalid and it seems to be a common belief not just on slashdot. Like there was an article a while back that said how Mac users thought that OS X was somehow immune to viruses. Now, where do you think they got that idea?

      I don't use XP, I run ME (yes, I know) and the problem you're talking does occur. But maybe you can tell me, if you run XP as an unpriviledged user (non-Administrator) as you insist in your example on a Unix system, could the same problem occur? Your qualifier "on a competantly run system" says a lot about your argument, because it seems to me that the biggest security flaw of any system is between the seat and keyboard.

      Anyway, thanks for your response.

    63. Re:Joke? by Fred_A · · Score: 1

      I agree that those programs could for the most part be fixed with a bit of permission tweaking, however my own example, as a user who used to be very familiar with the MS stuff up to Windows 3 and who the completely gave up on it, I know I wouldn't know where to begin.

      Nowadays, I know enough windows to be malware free, although since my gaming partition isn't even directly connected to the outside, it's not very exposed, but that's about it. In Windows, I'm a novice user. I know how to start Battlefield2, and frankly that's all I'm interested in.

      In that respect, I'm fairly representative of current users (although you might want to substitute Word, or whatever for Battlefield2).

      In theory, the NT line of systems has everything to make a fine system. In practice, well, we all know the difference between theory and practice...
      Even finding out stuff about Unix is easy enough while finding out stuff about Windows always has to be made more complicated than necessary. It can be done, but it's always harder.

      So IMO, that effort should be made by the professionals who picked the platform, not the users who typically had it thrown into their lap.

      Eventually, it will probably work. But damn, when everybody else got it right after a couple tries, WTF is wrong with the people at Microsoft ?

      --

      May contain traces of nut.
      Made from the freshest electrons.
    64. Re:Joke? by Jakeypants · · Score: 1

      My Windows box is online all the time, and I've not ONCE had an attack on it. I'm sure there have been attempts, and I'm sure that there's some security hole somewhere that's still waiting to be discovered in the OS, but I firmly believe that the user is the biggest problem.

      Let's say you get your average user off Windows and onto Linux. Do you really think that they won't run as root all the time? And do you think they'd stop installing every horrible thing they encountered on the internet? If you know what you're doing on Windows (since XP SP 2), you tend to be fine. Most exploits are a result of uneducated users installing shit they shouldn't, not because of flaws in the OS- but don't take that to mean that I think Windows is bulletproof.

      Every OS has some level where security can be compromised, but the greatest factor in causing problems is the user.

    65. Re:Joke? by foreverdisillusioned · · Score: 1

      You're ALMOST right. My belief is based on the fact that I have to type in my password before launching ANY AND EVERY process that has the ability to modify my system files. And yes, that does make it secure by design.

      On top of that, firewalls are enabled by default, it isn't REQUIRED that you log in as root for most apps (unlike Windows admin account, which is a joke), horrible ideas like ActiveX are generally shot down long before they're implemented, etc. Yeah, these things are no match for complacency and user stupidity, but all things being equal the Linux box will almost always be harder to crack.

    66. Re:Joke? by foreverdisillusioned · · Score: 1

      I did not mean to imply that user friendliness and security were contradictory or maintained an inverse relationship. I simply meant that useability for the absolute beginner is the number one priority for Windows (and security is a mere afterthought), whereas for *nix security is generally not compromised for usability (or if it is, not nearly to the extent that it is with Windows.) Maybe OS X has the best of both worlds; I don't know, I haven't had the opportunity to use it yet.

    67. Re:Joke? by foreverdisillusioned · · Score: 1

      I agree that user behavior always matters, but you don't seem have a very good grasp of *nix security.

      On Linux, there's no need for a typical user to ever run as root. UNLIKE Windows, 99.9% of Linux stuff actually works without admin/root privs. Users might occasionally need to use sudo in order to install programs, but as long as the distribution pops up a little notice telling them that this is probably the ONLY time they should use sudo and they should never run a program claiming otherwise unless they understand why, they will be safe.

      The requirement of a password in order to use sudo plus apt-get package management makes malware propogation about 1000x harder, even for the lusers." There's no reason why package management has to be limited to free OSS--I've seen dummy packages for commercial projects. Thus, using repositories and checksums it is possible for the distro to PERSONALLY CHECK AND VALIDATE ANY PIECE OF SOFTWARE YOU INTEND TO INSTALL. Known malware will, of course, be excluded from the package list. As long as users are trained to always use an apt package manager (like Synaptec) to install applications, they will be protected.

      So, in summary: there's no need to run as root. Password prompts for sudo prevents applications from installing themselves, and a very small amount of user training ("The package manager is used to install things. It is the only program that EVER needs your password. Do not give your password to any other program.") prevents users from installing the malware themselves. I agree that you can be reasonably safe in XP SP:2, but it requires third-party software (antivirus, and arguably a better firewall) and it requires much more user training... and you STILL aren't quite as secure as you are on Linux.

    68. Re:Joke? by pasamio · · Score: 1

      if i ran as root, why the hell do i have to keep entering my password to install these things?

      --
      I always wondered where this setting was...
  91. Point by point review of the page by zonestalker · · Score: 1, Interesting

    Allrighty-o let's get into the business...

    <quote>The Six Dumbest Ideas in Computer Security</quote>
    Why six? Why not five or traditional ten? Only "six" ideas in ComSec area drags us down, huh. Yeah mate keep on dreaming.

    <quote>There's lots of innovation going on in security - we're inundated with a steady stream of new stuff and it all sounds like it works just great. </quote>
    Actually Marcus we are NOT "inundated with a steady stream of new stuff" and they do NOT "sound like they work just great". Actually,I pray you meant software and hardware protection methods when you mentioned the word "stuff", nothing is new on the western front. We are still using routers, switches, antivirii software and firewall boxes, and software , to protect our machines. Yes you can say "spyware protectors" are new but then they are not new practically they are specialized firewall-antivirus programs that checks only a limited area of the hard disk and network activity. And both are "old" technologies.

    <quote>Every couple of months I'm invited to a new computer security conference, or I'm asked to write a foreword for a new computer security book. </quote>
    Which ones? There are two books mentioned in your website and only one of them is about computer security, barely... trying to get people using linux is not a ComSec business. Your duty is to secure the network as it is. Whether your employer uses linux or windows is regardless on that matter. Trying to convert a 80 windows machine'd topology to linux is a sure shot to get fired as far as I can see...

    <quote>And, thanks to the fact that it's a topic of public concern and a "safe issue" for politicians, we can expect a flood of computer security-related legislation from lawmakers.</quote>
    Yeah. We can expect it about p2p'ing and filesharing which is a grey area ethically. And local laws won't affect attackers from overseas. You found a cracker who has successfully cracked into your system from Lebanon. What will you do? Find and get him in USA to get into trial which will cost a LOT to your employee? Politicians are talking about the 'net since the Clinton-Gore election so what is new?

    <quote> So: computer security is definitely still a "hot topic." But why are we spending all this time and money and still having problems?</quote>
    Yes it is a hot topic but, although it is a rhetorical question let me answer that we are spending all this time and money into ComSec because nothing is fool, or for that matter crack,proof.

    <quote>Let me introduce you to the six dumbest ideas in computer security. What are they? They're the anti-good ideas.</quote>
    Including educating users... and non-patching... and tagging problems... Anti-good... yeah... *drooling*

    <quote>They're the braindamage that makes your $100,000 ASIC-based turbo-stateful packet-mulching firewall transparent to hackers. </quote>
    Erm, if one spends that amount of money into a firewall and somehow make it transparent to everyone... sorry "Hackers" I would bet my money that that person had a braindamage before installing that! When considering there are free alternatives on the market...

    <quote>Where do anti-good ideas come from? They come from misguided attempts to do the impossible - which is another way of saying "trying to ignore reality."</quote>
    Then what are you doing here exactly? What are you trying to tell us? Don't educate users, don't patch the system? Don't know how an attack is made so we can't create a solution to that?? Don't know about you guv, but you are "trying to ignore the reality."!

    <quote> Frequently those misguided attempts are sincere efforts by well-meaning people or companies who just don't fully understand the situation, </quote>
    like you

    <propaganda mode>but other times it's just a bunch of savvy entrepreneurs with a well-marketed piece of junk they're selling to make a fast buck. In either case,

    --
    Electronic Liberties must be defended at all costs!
    1. Re:Point by point review of the page by smash · · Score: 1
      If your boss wants to install the new whizzbang you install it or get fired. In such situations you don't have a choice. And trusting to someone who is posting on a forum... now isn't that a dumb idea...
      No, if thats the situation, you quit and work somewhere where you're allowed to do *your* job.

      You don't flat out say no - but you make it clear that "whizbang" is to be installed in a secure test environment first, before going into production.

      smash.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    2. Re:Point by point review of the page by seabasstin · · Score: 1

      Despite the length of your reply, most of what you ascertain as contradictions to the OpEd are themselves Hogwash.

      In fact your brand of attitude is basicly what support the great majority of the power hungry CIO/CTO/IT directors out there.

      Every sentence you write is a personal attack on the author and for this reason ELIMINATES your arguments from the discussion as it only points to the pedantic FUD infested behavior of the likes of Microsoft who use the same kind of discussion 'technique' to distract people from the point of the "6 Dumbest Ideas..." to start with.

      In the end none of your post was even remotely insightful, I really don't understand why you where moderated up.
      ugh.

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    3. Re:Point by point review of the page by zonestalker · · Score: 1

      I don't care about any moderation but every sentence I write is backed by objective facts. Go, and look forth my friend. 6 dumbest ideas idea is really dumb to start with. And author's solutions are mostly utopic. Please read the site with a criticized approach: "Author's definition of the problem", "Author's criticism" and lastly "Author's solution to the problem". And that is not my method fyi. It's Karl Popper's.

      When you look form that perspective you can't get a single solid solution to any of the problems which the author mentioned. Thank you for your criticism by the way :)

      --
      Electronic Liberties must be defended at all costs!
    4. Re:Point by point review of the page by seabasstin · · Score: 1

      The thing is, all he proposes are subjective solutions to the problems, something which he clearly states repeatedly.
      Furthermore its on HIS website on which he publishes HIS opinions.

      These are all real solutions which have been proven time and time again. (which is why its not a top 5 or top 10 such as you would find on zdnet or cnet, which are amazingly factually flawed it rags.)
      The reason I say proven repeatedly is that these are methodologies which are in effect in all design & engineering practice.

      The last comment he makes in the 'Minor' category, comparing the fallibility of computer security software and the engineering of airplanes is a perfect example of these ideas.
      Planes are designed to fly without failure as it is not an option for the planes cargo.
      Failure would defeat the purpose of flying, which is why planes are not designed around what can possibly fail, nor are they tested by putting 777s in the air and forcing them to fail.

      But that is just one example.
      I have time now to waste so I will answer some of your points in my next post, (not all of them I don't have that kind of time)

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    5. Re:Point by point review of the page by seabasstin · · Score: 1
      "Objective Facts" ?!?!?

      #1 "Stuff"
      Nitpicking the word "Stuff" as being vague and then supporting your point by saying that the generic components of networking have not changed, and all new products are just extensions of old network principles; has nothing to do with his argument. (in the exact proportion of your accusation).

      His point is that "Computer Security" is the 'Theme du Jours'.
      In that capacity it is creating a 'gold rush' which attract the typical components of the American "get rich quick at the expense of reason and of others" Capitalist system. (ok my words not his)
      In this you find, the 'well wishing righteous bigots, aka the preachers, aka motivational speakers aka Gurus'; your 'knee jerk silent majority aka the Mark, aka users aka the Market'; your 'OCD survivalists libertarian everything is insecure and therefore EVIL security fanatics aka the guy who already had a gas mask after 9/11 aka the 5 users of SU-Linux'; and lastely the most visible and successful member of the pack, 'the security consultant or company, your Symantecs, McAfee's etc, aka the snake oil traveling salesmen, aka the con artists aka the biziness men who have everything to loose and nothing to win if the security market where to disappear...
      Ask the last group what they feel about OSX, do you really think they like something which overnight destroyed usage of Norton Utilities Suite, Norton Antivirus Suite for the mac among others?
      Even if the MacOS market was lets say 50, 000 copies of the Norton Suite, (it was much more) at $49 a suite that is $2450000, not a small drop in any bucket.

      So really if you believe what you are saying, then you completely misunderstood his usage of "inundated with a steady stream of new stuff" in your attack, he is not saying that there really is a specific NEW gizmo, but that 'Stuff' is being newly created in relation to computer security for the sake of computer security.
      in other words the more the headline 'Computer Security' appears in the media, the more of a business opportunity it becomes, the more of a business opportunity it becomes the more it appears in the media.

      #2 "Conferences"
      which conferences... well, well, the snake oil salesmen attacks the credibility of his accuser...
      really old tactic, too bad its been abused the world over, it is the theme of many a kung fu movie.
      I just checked with a friend who is a security analyst/IT person at Vendigo who is very knowledgeable on network security matters (one of the five users of SU-Linux) and he claims to have seen/observed not one but a few panels/lectures on computer security with Marcus Ranum.
      So unless you can support your "objective fact" to the contrary, then you are the one who failed in proving your points against YOUR lack of credentials.

      #3 "Books"
      Please tell me of the books you have written.
      your point is worthless unless you can show 1/2 a book worth of Computer security related info.
      sorry but again this is Typical FUD.
      sense when do the # of books a person has written on a subject the only way they would have an opinion on a subject?

      #4 "rhetorical"
      "computer security is definitely still a "hot topic." But why are we spending all this time and money and still having problems?
      Yes it is a hot topic but, although it is a rhetorical question let me answer that we are spending all this time and money into ComSec because nothing is fool, or for that matter crack,proof."

      ok so I don't understand why his question is "rhetorical" definitions:

      rhetorical adj
      1. relating to the skill of using language effectively and persuasively
      2. relating to or using language that is elaborate or fine-sounding but insincere

      Encarta® World English Dictionary © 1999

      according to definition 1, his sentence is not rhetorical as it is not

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    6. Re:Point by point review of the page by zonestalker · · Score: 1

      allright owned officially. :) Thank you for your post. It seems I was in err.

      --
      Electronic Liberties must be defended at all costs!
  92. Diff between hacking and cracking... by Anonymous Coward · · Score: 0

    FTA: '"Hacking is Cool" is a really dumb idea.'

    Maybe I just read too much O'reilly but what ever happened to the difference in definition between hacking and cracking. I mean for a self-professed 'expert on security system and design', he uses the word 'hacker' like an intern at CNN.

  93. Just my 2 cents as an end-user by sweetnjguy29 · · Score: 1

    One of the Top Ten Dumbest Things in Network Security is completely forgetting about how employees need to use their computers!

    Security needs to be balanced with Business and keeping employees happy.

    At one non-tech job, we needed to use software completely written in ActiveX. It took a week and lots of cash outlay in wasted time before the IT people finally realized that the firewall/proxy setup was to blame for all of the computer related problems. Instead of adjusting the firewall, they took it down completely. What a bunch of complete fuck-ups.

    Employees also want reasonable access to the internet. Neither managment nor employees wants the ability to see porn. But I might want to go onto the NRA or NOW website, without it being blocked!

    Now, where did I put that encrypted USB key....

    1. Re:Just my 2 cents as an end-user by Packet+Pusher · · Score: 1

      You must be new here. We all want the ability to see porn at work, we would prefer if they didn't have the ability to see us seeing porn.

  94. Welll by Anonymous Coward · · Score: 0

    Summary: "If we built everything secure by design, we woudln't have these problems"

    Yay.. how insightful.

  95. Only for Documents that Launch Applications by dfm3 · · Score: 2, Informative

    Try OSX. As of some update about a year ago, OSX stopped having "default permit" for launching applications by double-clicking. If you double-click and that leads to launching an executable that hasn't been run before, it pops up a dialog to ask you about it.

    Actually, this will not stop you from launching an application (that is, an executable) by clicking on the application icon, it only prevents documents from opening applications that you have never run before. Say you double click what you think is a .jpg file expecting it to open in Preview, but another application is launched instead. You'll get a message that reads, "You are opening the application 'mysterious suspicious program' for the first time. Are you sure you want to open this application? ....to see the application in the Finder without opening it, click Show Application."

    You can open the application by clicking it directly, and it will run without first presenting you with any warning. If I remember correctly, this was introduced by Apple to prevent users from inadvertently launching new (possibly malicious) applications that had somehow tricked the OS into associating certain file extensions with them. However, it's useless if you open a "document" that is actually an executable in disguise, as these will run without prompting you.

  96. Oh, I did it! /. joke! by porneL · · Score: 1

    1. Install clean system and all apps you will use
    2. Scan drives to mark all software as safe
    3. ...
    4. Profit!

  97. Pure Hype by donnacha · · Score: 1

    Read the article entitled "The Monoculture Hype" by the same guy, on the same website, to see him advocate several of the approaches he later castigates as being dumb.

    I found the Dumb Ideas article interesting but it's tone is pure hype, designed to draw attention and, frankly, the dumbest thing is that it's so easy to reveal the author as a hypocrite by simply reading a contradicatory article listed right there on his home page.

  98. Seconded. by Grendel+Drago · · Score: 1

    Sure, no one was quite the maladjusted, beardy dork that symbolizes the real hacker, but at least they weren't on fuckin' rollerblades. Sheesh.

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
  99. Re:No "default permit" for application launch in O by Phat_Tony · · Score: 1
    That's interesting. It's interesting that it works that way for you, since it's not the way any of my Macintoshes running OSX work.

    The first time every application is launched, I get the dialog. When I install a new application, the first time I run it, I always get the dialog. It doesn't seem to have anything to do with opening a document vs. the application itself.

    Whenever I do a fresh clone of my hard drive, and boot off of it to check it, every application gives me the dialog upon attempted launch. Apparently, the file that keeps track of what's been run before is clone-proof.

    Do you have any sources for OSX exhibiting this behavior? Aside from my own experience, Wired talks about this update and says "The alert is invoked whenever a disk image is mounted or an application is launched for the first time."

    Also, this is unrelated, but I thought I'd mention that Safari now notifies the user for every download that contains an executable, in case you weren't expecting one. I don't use Mail; I'm interested to know if it also warns users about executables in attachments?

    --
    Can anyone tell me how to set my sig on Slashdot?
  100. One more thing by einhverfr · · Score: 4, Insightful

    You do realize that you can do essentially everything you are suggesting with SE-Linux without the overhead of maintaining a whitelist. This basically means turning the computer into an appliance.

    Now in this case, with SE-Linux, you can even specify what files a given application can load. This can be used to limit scripting languages to known good scripts, or to prevent confidentail information from being sent via email.

    The SE-Linux information is stored in the inode, so it is specified by the administrator at file creation time or inherits properties according to policies. This avoids the issues you see with trying to maintain a whitelist of hashes and apps.


    The point is that the user cannot be given something like the pointless SSL certificate browser warnings that allow a user to click "I don't care, let me in anyway". Default Deny, not Default No.


    And if someone in AR forgets to pay Thawte for your SSL cert and it expires for a critical server (say internal app for credit card processing), users will be locked out. Cute. I am a firm believer in manual override capabilities. That will never happen, you say. All I have to say is domain name registration exiration for Hotmail....

    Here is the problem. People think of security in a vacuum. Real security is a piece of a larger availability/security/usability problem. You have to tackle all three at once and ensure that one does not preclude the others within reasonable parameters.

    --

    LedgerSMB: Open source Accounting/ERP
    1. Re:One more thing by hattig · · Score: 1

      I was unaware of SE-Linux, and I am happy that it can do all this cool stuff just like I described and more.

      Maybe expirable assets* should be better tracked within companies to prevent expiration issues. In fact I'd think they should be a core feature of any asset tracking package, along with alarms, warnings and emails regarding the assets that are about to pass to the other side.

      I do agree that a manual override is important, something that can be applied if and only if it is required.

      If a user can't run Trillian on their work computer, they can try to bypass it, but they won't be able to. This is different from enforced password security, where the bypass is a small yellow square of sticky paper.

      * domains, certificates, and so on

  101. I think this guy has some good points. by Tatarize · · Score: 1

    Nobody can write perfect code. No matter how good our code is there's always something a little off, or that we didn't account for. What he's saying is we should prevent any use that we didn't intend.

    If you're writing a PHP script, toss in a regex to catch anything not matching exactly what we know the PHP script will use. We want cid to be a number and op to be some text. Look for it and match it. And exclude anything that isn't exactly how it should be used. Rather than allow people to toss in any number of crazy stuff like UNION commands to feed into the SQL. Trying to figure out every wrong way to use a piece of software is the real impossible "head in the cloud" idea. Knowing every correct way should be trivial. Just code it in, and stop everything that doesn't fit that pattern.

    Here and there it's right, and a single line or two can stop pretty much anything bad. It's just a bit of work to isolate all the good things it does. But this is far easier than finding the bad stuff after the fact.

    --

    It is no longer uncommon to be uncommon.
  102. Well said by X.25 · · Score: 4, Interesting

    Really good points.

    I worked in "security research" field for 10 years. I loved it.

    Then companies got involved, certifications/courses/books appeared, pentesting became a business...

    I moved to another field, for the very reasons MJR explained in his editorial.

    Everyone wanted to be "secure", but noone wanted to invest time or brains in order to achieve that goal.

    In 4 years of pentesting (and I'm talking about BIG players and companies with bright people, big budgets), I have only ONCE seen a company that actually took SERIOUS measures in order to improve its' security. I'm not talking about adding another layer of firewalls or installing new toys, but actually redesigning their security infrastructure/thinking.

    All the others wanted signed paper which says "You are secure now".

    I ended up pointing all of them to MJR's Ultimate Firewall

    1. Re:Well said by mwaggs_jd · · Score: 1

      I love the Ultimate Firewall, and, who knew, I have one in my backpack

      --
      No one here gets out alive
    2. Re:Well said by Spoing · · Score: 1
      I ended up pointing all of them to MJR's Ultimate Firewall

      {BSEG} Very very cool. Thanks for the link!

      (My sig hasn't changed in about a year or more -- for exactly the same reasons MJR is frustrated about the whole abuse of firewalls-as-security.)

      --
      A firewall can not protect you from yourself. Turn off what you do not need. Do not use the firewall to do your work.
  103. You proved his point by Anonymous Coward · · Score: 0
    Of course the "amount" of goodness Ranum puts on the Internet is vastly more than the badness, using each of those 30 "good" apps much more frequently than each of those 75K viruses.

    Let's take this train of thought to its conclusion. Which is the smarter move: 1) that you should attempt to deny your machine to each one of those 75K viruses on an individual basis as they appear; or 2) that you should allow only those 30 "good" apps to run and never worry about the 75K viruses?

    Right now, everyone's doing the first. He's saying, PRECISELY because of the point you've brought up, that we should be doing the second.

  104. Easy password by Lost+Penguin · · Score: 1

    Enter any 11 digit prime number to continue....

    --
    I am the unwilling control for my Origin.
    1. Re:Easy password by Anonymous Coward · · Score: 0

      10000000019. Now what?

  105. Whose ideas are the dumb ones? by Ichoran · · Score: 5, Insightful

    The author may be right that the things he listed are dumb ideas for mission-critical ultra-secure systems. However, he seems to be advocating the five dumbest ideas for usable systems.

    The price of Default Deny is loss of flexibility. If it is easy to avoid denial (e.g. automatic addition to a whitelist), it's just Default Permit by another name. If it's really hard, it will keep you from doing everything except that which you already know you want to do--in other words, nothing new, nothing clever, just the same stuff over and over. This would turn computers into the equivalent of a stereo system. They do thsoe narrowly-defined tasks that they were engineered to do, and nothing else.

    People are going to occasionally want to do something new. When they do, there are certain things that they almost certainly *don't* want to do. Thus, you enumerate badness to help protect them when they want to use their computer as a flexible general-purpose device.

    It's better to have systems that are secure by design. Duh. The point is, though, that even systems that are secure by design are likely to have flaws. If you look for flaws, and fix them, then you have a chance of staying ahead of other people who are looking for flaws to exploit them.

    The coolness of hacking has nothing to do with security. Hacking is cool because it demonstrates our ability to manipulate our environment, to do things that are supposed to be impossible through ingenuity. In a factory of mindless corporate drones, hacking is not cool. But if you live in the real world where programs have flaws, there is even a security use for people who enjoy finding ways to use the flaws to accomplish things that the creators didn't intend.

    Educating users is ridiculous--his point is that users should't be educated because they should be educated before you hire them. Okay, and how did *they* get educated? What happens if you have to hire real people who are talented but they haven't all gone to this magical security training school? His point *should* have been that there are only some things that can be taught, and that you shouldn't assume you can teach completely counterintuitive behavior. But you might be able to teach someone enough to avoid clicking on strange attachments without deleting photos in .PNG format sent to them by family (where .PNG was not a whitelisted attachment, nor was email from a random gmail account).

    I don't want a secure, useless system. I want a secure, *useful* system. And that means compromises need to be made between security and usability. Reading this article gives very little clue as to how to construct a good balance.

    1. Re:Whose ideas are the dumb ones? by emurphy42 · · Score: 1
      his point is that users should't be educated because they should be educated before you hire them.
      No, his point is that you shouldn't rely solely on education because it never works very well, and instead you should look into minimizing how much damage an uneducated user should do.
    2. Re:Whose ideas are the dumb ones? by Ichoran · · Score: 1

      When I was CEO of a small computer security start-up we didn't have a Windows system administrator. All of the employees who wanted to run Windows had to know how to install it and manage it themselves, or they didn't get hired in the first place. My prediction is that in 10 years users that need education will be out of the high-tech workforce entirely, or will be self-training at home in order to stay competitive in the job market.

      That looks like "users should be educated already" to me. And he specifically proposed deleting non-whitelisted email attachments (or providing a link to them, which does almost nothing to stop people from running attached exploit code locally--it's one extra click ona link).

    3. Re:Whose ideas are the dumb ones? by khallow · · Score: 1
      The price of Default Deny is loss of flexibility. If it is easy to avoid denial (e.g. automatic addition to a whitelist), it's just Default Permit by another name. If it's really hard, it will keep you from doing everything except that which you already know you want to do--in other words, nothing new, nothing clever, just the same stuff over and over. This would turn computers into the equivalent of a stereo system. They do thsoe narrowly-defined tasks that they were engineered to do, and nothing else.

      And for most applications, loss of flexibility is a perfectly acceptable price.

      People are going to occasionally want to do something new. When they do, there are certain things that they almost certainly *don't* want to do. Thus, you enumerate badness to help protect them when they want to use their computer as a flexible general-purpose device.

      Like installing malware? As I mention above, most people don't need flexibility. Further, there's still a lot of flexibility in the system, you're just adding capabilities rather than deleting capabilities and then fixing whatever caused you to delete that capability. The former is a lot quicker.

    4. Re:Whose ideas are the dumb ones? by Ichoran · · Score: 1

      Like installing malware?

      No, like installing Firefox.

      If you're writing open source software, and you don't have the backing of AOL or IBM, how would you get your software validated? If it wasn't validated, why would anyone use it?

      Sounds like a perfect lock-in model for huge corporate vendors.

      If it's too easy to get your stuff validated, then malware, spyware, and the like will all get validated too. We're then back to Default Permit.

    5. Re:Whose ideas are the dumb ones? by khallow · · Score: 1
      If you're writing open source software, and you don't have the backing of AOL or IBM, how would you get your software validated? If it wasn't validated, why would anyone use it?

      The tech support people and the user who wants the software can study what comments there are about the software on the web. Unless it's just come out, there will be discussion of any security threats from the software (or from tampered versions of the software). For example, it would take much for a rational person to determine that Firefox is a genuine software project that is relatively safe for most applications.

      I know there's retarded and irrational tech support out there, but that doesn't invalidate the idea of Default Deny. It just indicates, that like most concepts, you can implement this in a stupid and counterproductive way.

    6. Re:Whose ideas are the dumb ones? by Ichoran · · Score: 1

      But that won't work. The software will automatically be denied whether or not you read about it--otherwise it requires user education, which is bad.

      If it's default accept for tech support and default deny for users, that's better. Kind of like root access on Unix machines. But that's hardly a novel concept.

    7. Re:Whose ideas are the dumb ones? by khallow · · Score: 1
      But that won't work. The software will automatically be denied whether or not you read about it--otherwise it requires user education, which is bad.

      Ok, now that I think about it, you make even less sense than ever. Default Deny means that things get denied by default, ie, when there are no other instructions present. Ok, so now we explicitly allow Mozilla. Mozilla is no longer automatically denied. What's the problem?

      Also, I have mixed feelings about user education. IMHO, more is better. But it's retarded to constantly send out missives not to open messages from continually varying threats. Ie, educate your users to be compulsive Default Deniers when it comes to email and mysterious programs, but not to look out for the danger of the week.

      Flexibility is a poor excuse for leaving everything wide open. If you actually successfully do system administration for a living, you probably are using a policy of "Default Deny" at some level. It's just too much work otherwise.

    8. Re:Whose ideas are the dumb ones? by Ichoran · · Score: 1

      "Ok, so now we explicitly allow Mozilla."

      How, exactly? Why are you allowed to allow Mozilla? Can you likewise allow SpyVirusBotWare? If you can, easily, you're liable to do it by mistake, which makes it a bad security practice. If you can't do it easily, it limits flexibility.

      The point is that Default Allow is *not* a stupid idea for systems that need to be both flexible and secure. You Default Allow in those areas where you need flexibility--for example, allowing admins to install programs, because you trust that they know what they're doing. You Default Deny in those areas where you don't need flexibility--scripts downloaded from the internet probably shouldn't be reformatting your hard drive and flashing your BIOS.

  106. Re:Real security has to be build into the foundati by BobNET · · Score: 1, Redundant
    Sun Dec 3 17:49:23 CET 2000

    Wow! Did you notice your system's clock is off by almost 5 years?

  107. Zone Alarm by Julian+Morrison · · Score: 1

    Have you ever used Zone Alarm firewall? Nifty little tool. Basically does exactly what this guy suggests: ask "may this access the internet [Y/N]" for each program that tries. Simple, yet really effective in catching malware.

    1. Re:Zone Alarm by Elminst · · Score: 3, Interesting

      A gret program yes... but (L)users don't want to be bothered to THINK about anything.

      They won't read the box that comes up. they'll mindlessly click "Allow" even if the message said "This program would like to kill your wife and rape your dog. Would you like to allow it?"**

      Whatever it takes so they can get on teh intarweb!!1

      **Just like not reading EULA's. A while back company (don't remember who) made a EULA that actually said you get money if you call them. Several THOUSAND people installed the program before one guy actually called.

      --
      No unauthorized use. Trespassers will be shot. Survivors will be shot again.
    2. Re:Zone Alarm by snilloc · · Score: 1

      I'll ditto this. Everything off by default, build a white-list as you go. It even stops "changed" programs (like every time you update Firefox) and re-asks.

  108. What happened to a--wipe? by Anonymous Coward · · Score: 0

    I like your post with curses and righteous indignation better. you're well-thought out points without swears are boring.

  109. You bet! by shis-ka-bob · · Score: 2
    I did remove all of my anti-virus software and move to code with many fewer vulnerabilities. Is it perfectly secure? No, but it is closer than any other OS I can use. All I can say is 'Thanks Theo'. Running OpenBSD does have costs for me, since its harder to access some multimedia and java applets and I am running slightly older packages than I would if I was running FreeBSD, or many Linux distros.

    I also stopped using condoms, since I limit my activities to my wife. I'm also free from those sorts of infections because I was fortunate in my choice of a partner. This also has a cost, I'm sure that sex with other partners could be enjoyable. I also know that the 'zipperless f*ck' is more common in fiction that in my world, so I'm willing to stick with my spouse.

    I know you are being tongue in cheek, but there is an error in thinking if you cure the symptom rather than the root cause. If you can't trust your partners to be safe, why don't you consider finding safe partners? In this regard, Microsoft is like the town *****. If you can't trust your partners, or if you are unwilling to live with some restrictions, by all means install antivirus software and use a condom.

    --
    Think global, act loco
    1. Re:You bet! by earthbound+kid · · Score: 1

      Not meaning to troll or anything, it's just an honest question and you can ignore it if you like, but are you a Mormon? The way you phrased your reply reminds me of my old Mormon roommate. I'm curious if my "Mormon-radar" is working or not.

    2. Re:You bet! by SpacePunk · · Score: 1

      "I also stopped using condoms, since I limit my activities to my wife. I'm also free from those sorts of infections because I was fortunate in my choice of a partner. This also has a cost, I'm sure that sex with other partners could be enjoyable. I also know that the 'zipperless f*ck' is more common in fiction that in my world, so I'm willing to stick with my spouse. "

      It's kinda like 7-11. You have a limited choice, but it's open all night.

    3. Re:You bet! by berbo · · Score: 1
      "are you a Mormon?"

      I can't speak for the GP, put even lefty agnostics like myself think that monogamy is a Good Idea.

      maybe you ought to get out more.

    4. Re:You bet! by snuf23 · · Score: 1

      "I know you are being tongue in cheek, but there is an error in thinking if you cure the symptom rather than the root cause. If you can't trust your partners to be safe, why don't you consider finding safe partners? In this regard, Microsoft is like the town *****."

      Yeah, I am aware of this. Unfortunately, not being the owner of the company I work at - I can't just dictate that we move the entire staff to OSX or Linux or BSD. And even if I could, from a business standpoint there are a lot of business applications in the small/medium business space that have no off the shelf equivalents in the open source world.
      And believe me I have tried. All of our internal network monitoring and security runs on BSD servers. All of our web servers WERE running on Linux and BSD until the President's nephew got the job to do the company websites. Of course the nephew is a .Net guy, and wham - there went Linux.
      So I'm more like the parent of randy teenagers who has to make sure that they are protected when they inevitably hook up with the town whore.

      --
      Sometimes my arms bend back.
    5. Re:You bet! by earthbound+kid · · Score: 1

      Yes, but most people say fuck rather than f*ck. I mean, it's slashdot fer f*ck's sake.

  110. Windows by Liam+Slider · · Score: 1
    "The IT industry spends a huge amount of money on security -- and yet worms, spyware, and other relatively mindless attacks are still able to create massive havoc. Why?
    I'm not joking when I say....Windows. Windows is simply so much more exploitable than other operating systems. That's proven time and time again. This is because security cannot be an afterthought, patched into a design that wasn't originally designed to be secure. Yet this is what Microsoft has done since the beginning. Ignore security, then when they have a problem try to make an "insecure by design" OS secure. Add in the monopoly they held for years, and continue to hold when it comes to PCs (refering to the x86, no Mac flames please) in stores...which means that for most people, all they know is Windows. Monocultures are always less secure, as a single virus can effect everyone (or nearly). So the monopoly itself adds a layer of insecurity.
  111. Logic error by eosp · · Score: 0

    How do you get "nude pictures of barely clothed females"?

  112. sigh by shop+S+Mart · · Score: 1

    I'm not going to read all the coments to see if someone has already said this. Yes MS OSs have issues with viruses and other security holes but if the MAC OS or *nix was the huge commonly used OS it would have the same problems so please get of the MS bashing bandwagon. Disagree all you want but you either know deep down inside it's true or you're too ignorant/cocky/stuborn to admit that your favorite OS isn't perfect. Everyone knows it would be a waste of time to write a worm/virus for such a small number of computers.

    --
    "all i wanted was a pepsi..."
    1. Re:sigh by pinko-rat-bastard · · Score: 3, Insightful
      Yes MS OSs have issues with viruses and other security holes but if the MAC OS or *nix was the huge commonly used OS it would have the same problems so please get of the MS bashing bandwagon.

      You know, I've heard this hogwash from the MS camp many times, so let's just examine it for a minute, shall we?

      Usually when someone drags out this tired old argument, they are referring to the number of *desktop* machines. I'll grant that the vast majority of desktops run Windows. Anyone would be a fool to argue otherwise. However, what value do these machines represent to the cracker other than spam & DDOS zombies? Why would anyone want to crack Joe Sixpack's PC to steal one credit card number when there are commercial sites out there with thousands of accounts? I'll tell you why: Because it's too hard for the average script kiddie to do. Consider this:

      According to Netcraft, Apache runs aproximately 70% of all web sites. This number has been fairly consistant for several years, so we will assume the number is reasonably accurate. Next, if we look here we see that without exception, ALL of the Apache sites holding the top uptimes are running on some flavor of Unix -- mostly *BSD with a few running Solaris or Linux. IIS obviously only runs on Windows and the table (at least at the time of this writing) has only a single Windows site in the top 50. Personally, I believe that the majority of sites that run Apache also run *nix, but to make the MS crowd happy lets assume the whole web is 50/50 -- half *nix and half Windows. According to Netcraft's September 2005 survey, the web currently has something like 71,723,098 web sites. Using our assumed 50/50 ratio, that means that there are over 35,000,000 *nix machines hooked up to the Internet and serving up web pages. Now, you expect me to believe that 35,000,000 machines isn't a large enough target to attract the virus & worm writers? Especially since a great many of those machines are big, fat jucy businesses targets? I don't think so.

      The simple truth, whether or not *you* are too ignorant/cocky/stuborn to admit, is that Windows is targeted not because it's so ubiquitous, but because it's so easy to crack.
      --
      YooHoo/2U2
    2. Re:sigh by Alioth · · Score: 1
      YooHoo/2U2

      Man, that little string just brought back memories...2:252/204
  113. Re:Real security has to be build into the foundati by A+beautiful+mind · · Score: 1

    Yea, this is mentioned in the Securing Debian manual aswell, but this particular method does not work anymore...

    --
    It takes a man to suffer ignorance and smile
    Be yourself no matter what they say
  114. Idiocy. by veg_all · · Score: 1
    Another place where "Default Permit" crops up is in how we typically approach code execution on our systems. The default is to permit anything on your machine to execute if you click on it, unless its execution is denied by something like an antivirus program or a spyware blocker. If you think about that for a few seconds, you'll realize what a dumb idea that is. On my computer here I run about 15 different applications on a regular basis. There are probably another 20 or 30 installed that I use every couple of months or so. I still don't understand why operating systems are so dumb that they let any old virus or piece of spyware execute without even asking me. That's "Default Permit."


    Hmm. On my computers, I have hundreds of programs that I run every day; sometimes a small one pipes to a more complex one sometimes several call each other in a chain. If any program asked me if I really want it to run as a default first step, I'd immediately delete it. Fortunately this was in his point number one, saving me from having to read any of the rest. This author is a ass.
    --
    grammar-lesson free since 1999. (rescinded - 2005)
  115. register_globals off by jmagar.com · · Score: 1

    PHP's "Dumbest Idea" in computer security: register_globals off

  116. Makes sense in context by scruffyMark · · Score: 1
    In the context of "enumerating badness" versus "enumerating goodness" it makes sense - what matters is that you have to write filters to match every kind of badness, even though you might see each kind only very rarely, but you still want to block each of the 75,000 viruses, and each of the essentially infinite number of malicious URL patterns, etc. Far easier to write a small number of filters that will be matched often, than a large number that will be matched very seldom (and hence be largely untested...)

    So, from the point of view of enumerating types of goodness and badness, it's entirely true - he's not talking about bandwidth or volume of usage, but about the count of distinct categories.

    --

    What is the robbing of a bank, compared to the founding of a bank? -- Bertolt Brecht

    1. Re:Makes sense in context by Doc+Ruby · · Score: 1

      Nah, his statement, even in context, makes it sound like there's more "badness" than "goodness" on the Internet. Because that's exactly what he said. It's a defective, hyperbolic way to make his other points. Which are perfectly valid. It's just wild handwaving, towards the beginning of his article, to grab some attention. But it has the effect of distracting from, and diluting, his argument. Because it's a specious, insupportable point. I agree with his conclusions, but not that one tactic he used to justify them.

      --

      --
      make install -not war

  117. Re:What? Slashdot giving Ranum press? by ldspartan · · Score: 1

    Linky? I adore mocking the stupid! :)

  118. Yawn by oPless · · Score: 1

    Read this a while ago... Obviously someone reads http://del.icio.us/popular/

    Seriously, this guy has some quite valid points, I've seen corporates install some quite wizz-bang products that are really a P.O.S. and spend amazing amounts of time adminning these things even when a concoction of spamassassin and an AV scanner would have done.

    People (especially managers) know one thing above all - do things that will justify your position, make sure you're in control and please god don't let them fire me.

    Honestly it makes me sick, those people should be made to work for a living rather than making life hell for those that actually do the work.

    ho hum

  119. Re:Real security has to be build into the foundati by Anonymous Coward · · Score: 0

    You will also need to make the tmp directories (/tmp, /var/tmp) noexec. Theres probably some way to do this (without needing extra partitions) using something like SELinux or another LSM.

  120. Re:No "default permit" for application launch in O by scruffyMark · · Score: 1

    This is true to a point. It only applies if the app is launched through the APIs that the Finder uses. Commandline apps still do not have this property - write a new shell script, compile a new command, and run it - no warning. Assuming Mac users read the dialogues, however, it should help considerably against the simplest form of viruses, such as "click me" mass mailers. And I have the impression that Mac users do tend to read the dialogues much more than Windows users, because Macs don't spew so many useless and annoying dialogues all over the place - the default assumption is that dialogues probably contain some at least possibly useful information.

    --

    What is the robbing of a bank, compared to the founding of a bank? -- Bertolt Brecht

  121. Put your shields up with "Default Deny" by Anonymous Coward · · Score: 0

    Definitely an interesting article. Unfortunately most computer users seem to prefer to run with their shields down by allowing cookies and scripts, which basically are the "Default Permit" application configurations. Same thing for HTML e-mail. It's almost like smoking tobacco. People know it's going to kill them but it feels good so they just keep smoking away.

    An article, Solutions for Identity Theft, Credit/Debit Card Theft, and Personal Information Theft Part I: Overview, takes what amounts to a "Default Deny" position for promoting computer security. It's pretty much a shields up approach. "If you want to protect yourself against identity theft you must not allow your Internet browser or your e-mail to accept cookies or to allow scripts to run. You must not allow HTML e-mail. Do not use Microsoft Outlook. Even better, switch from the MS Windows operating system to the GNU-Linux operating system."

  122. Re:Um wtf - forget it! by Anonymous Coward · · Score: 0, Informative

    "As if" they're in a Thirld World country? You ARE a thirld world country! You've got a ruling class that can do no wrong in the minds of the sheep, corruption to the core, feet-of-clay syndrome, you morally and intellectually bankrupt Americans are so oblivious in your SUVs and McDonalds to the reality; you are on the way out. You're over. Finished.

  123. Re:What? Slashdot giving Ranum press? by pegr · · Score: 1

    Just follow the Amazon link to his book from his home page... Read the reviews, then search Google Groups and Risk Digest.

  124. Educating users... by Skreems · · Score: 4, Insightful

    While I agree with some of his other points, I think it's really dangerous to just give up on the idea of educating users. In the long run, no matter how secure you make the rest of your system, the user is always going to be a potential weak point -- they can disable or work around your carefully implemented "perfect security" because they NEED this ability to be able to use the system. On home systems, for example, even if you go with a white list, default deny policy, the user still has to be able to add new programs. Watch them download x fancy new shareware game, give it execute and net access permissions, and totally screw your entire careful security setup.

    To make a point using the author's own analogy... while flying on an airplane, it's basically common knowledge that you don't want to walk up to the door and pull the big silver lever. Bad things happen if you do. However, if the plane has crashed and you need to get out, that's exactly the action you want to take. We don't have fire sensors that only enable the handles if the plane cabin exceeds a certain temperature... we rely on user education to make people only use this option at the right time.

    Even the author's own solution, of scraping off all email attachments and saving them via url doesn't help. If someone sends out a virus, and it gets saved to a remote server, the user can still copy it to their system and run it. But if the user is educated about the kinds of thing that can happen when they do this, and about the dangers of running software from unknown or even partially untrusted sources...

    --
    Slashdot needs a "-1, Wrong" moderation option.
    The Urban Hippie
    1. Re:Educating users... by Alioth · · Score: 2, Informative

      On a point of pedantry, if you did try and move the big silver lever in flight, you wouldn't be able to open the door anyway. Airliners generally use plug type doors. To find out the force required to open one in flight, take the surface area of the door, multiply by the pressure differential (say, 8 psi) and work out how many tons of force the puny human trying to open it would require.

    2. Re:Educating users... by xtieburn · · Score: 1

      To add to your analogy, most of the passengers continue to sit down but a few of the more stupid ones wander around one of them has a crack at opening the door and *flumph* sucked out. Wacks in to an engine and that along with the depreasurisation of the plane causes the whole thing to crash.

      I believe his point is not that educating people is a bad idea. Its more that the system should be designed to be as fool proof as possible rather than rely on the education of users. Afterall if people were stupid enough to open doors on planes then they would have systems to prevent it, and experience has shown that stupid people on computers are quite willing to do the system equivalent of opening the door.

    3. Re:Educating users... by khallow · · Score: 1

      My thoughts exactly. Airplane builders have indeed anticipated the human user problem.

    4. Re:Educating users... by downhole · · Score: 1

      Exactly, and it's even better then the "fire sensor" system the parent mentioned. Instead of a complex, fragile, active system to unlock the door that's likely to break when you need it the most, the door is locked by an active system, i.e. pressurization. If you need to open the door, then it's almost certain that you've lost pressurization too.

      --
      I don't reply to ACs
    5. Re:Educating users... by Skreems · · Score: 1

      Right, but that's because they haven't been educated. It's a cycle... like someone posted a couple weeks ago, the windows OS has hidden the full path and file extension from users by default for years, so now nobody understands the concept of a file system, so now they have to make ever more abstracted "search" features culminating with WinFS... when they could have just not hidden the information from the users.

      Coupled with the fact that the more automated a system becomes, the harder it is to get it to do what you want if what you want wasn't explicitly anticipated by the designers... I'd rather people make systems as secure as is reasonable, and then rely a bit more on user education than they do now, rather than trying to turn doing something advanced with your system into an active struggle against the security setup.

      --
      Slashdot needs a "-1, Wrong" moderation option.
      The Urban Hippie
  125. Cut the guy a break by tkrotchko · · Score: 1

    I used FWTK in a very large corporation in the late nineties as mail gateways, and they were very nice for the time.

    Plus, the source was included, so I was able to write my own "anti-spam" code to hook into FWTK long before it became an issue for most people.

    Personally, it made me aware of the value of free software, and so I can cut the guy a lot of slack.

    --
    You were mistaken. Which is odd, since memory shouldn't be a problem for you
  126. Why We Should Thank Virus Writers by Anonymous Coward · · Score: 1, Interesting

    http://www.zone-h.org/en/news/read/id=3287

    "Why computer virus writers are useful and why we should thank them."

    An Immunologist's view on computer hacking.

  127. Re:Um wtf - forget it! by name773 · · Score: 1

    i'll bet it felt good to get that off your chest

  128. Re:Um wtf - forget it! by Anonymous Coward · · Score: 0

    OPEN. YOUR. EYES.

  129. He did not just write... by datawar · · Score: 1

    "the Anna Kournikova worm showed us that nearly 1/2 of humanity will click on anything purporting to contain nude pictures of barely clothed females"

    ???

  130. Re:Real security has to be build into the foundati by acaspis · · Score: 1
    Just make sure the corporate users can only write to their home directory and mount /home with noexec

    "mount /home noexec" ? Come on, we are talking about the "other" operating system here.

    Since they don't have the root password (this is a corporate environment, remember?)

    Yeah, right... Users will boot single-user from a floppy or reinstall Windows the minute they feel corporate security policies are preventing them from doing their job. TCPA prevents that (and other things too, but this is another story).

  131. Re:GET SOME PRIORITIES! by Anonymous Coward · · Score: 0

    Saddam Hussein was the president of Iraq, not Sumeria.

    Get some facts!

  132. Re:No "default permit" for application launch in O by Have+Blue · · Score: 1

    I'm going by Apple's description of the security update introducing the check, which implies that double-clicking the application does not trigger it (first line under second heading). Also, I have not experienced what you describe- installing and then launching an app does not ask me to confirm it on 10.4.2.

    Double-clicking an executable file in Mail does ask you to confirm; I just tried it. Also, you can turn off the Safari behavior by unchecking "Open safe files" in prefs (which is a good idea anyway since it's a stupid feature).

  133. You Missed My Point by Doc+Ruby · · Score: 1

    Actually, his whole screed can be distilled down to four words:

    deny: all
    accept: trusted

    Ranum is railing against defaults of trust, when we now have enough untrustworthy parties that it's more economical to specify trusted parties instead. I agree with him, on his basic point. But I do disagree with his exaggeration, comparing 75K viruses, most of which never affect a given user, to 30 trusted apps, almost all of which are used for much more communications by everyone.

    Ranum has a long history of important contributions. I don't let him slide when he publishes a rant that leaves me expecting him to measure the traffic he's describing in units like "Libraries of Congress".

    --

    --
    make install -not war

  134. The real six dumbest ideas in security by Anonymous Coward · · Score: 0

    1. Use Windows

    2. Use Windows

    3. Use Windows

    4. Use Windows

    5. Use Windows

    6. Use Windows

  135. What!? by red990033 · · Score: 2, Insightful

    I'm confused by the title. Is this meant to be *dumb* ideas, or a dumb *list* of ideas? "Hacking is cool" and "Educating Users"?

    WTF!

    And where the hell is "Security by obscurity" on that list?

    --
    Do what I say, cuz I said it.
    -Meatwad
  136. Re:Real security has to be build into the foundati by Azarael · · Score: 1

    Is there any reason why you can't remove the read privs in /lib and put any other necessary libs in another readable directory??

  137. "My prediction is that in 10.. by Uplore · · Score: 1

    years users that need education will be out of the high-tech workforce entirely, or will be self-training at home in order to stay competitive in the job market."

    My prediction is that in 10 years, the IT workforce will be much more technically savvy because they grew up in the computer age, however users will always require futhur education as new products are being created all the time, it is unreasonable to predict otherwise.

    --
    I couldn't think of a sig.
  138. The #1 dumbest idea in computer security? by BoneFlower · · Score: 2, Informative

    The idea that security is about technology.

    It isn't. Sure, certain engineering and design principles can help security a great deal, but when it comes down to it, security is about the human brain. If you don't run the system intelligently, it doesn't matter how well designed it is, or how well the design is implemented. You will get p0wned.

    I'd trust an all Windows 98 network without a firewall, run by someone who knows what they are doing, over an OpenBSD network locked down against everything run by my mom.

    1. Re:The #1 dumbest idea in computer security? by MikeBabcock · · Score: 1

      That said (assuming your mom is a neophyte as you seem to be inferring), your mom would probably not have locked down the OpenBSD boxen properly and the experienced network admin would use firewalls (or something akin to them).

      But yes, skills are much more important than software in many cases.

      --
      - Michael T. Babcock (Yes, I blog)
  139. Re:Um wtf - forget it! by Curunir_wolf · · Score: 1

    Victor? Is that you? I didn't know you read slashdot, Mr. Chavez!

    --
    "Somebody has to do something. It's just incredibly pathetic it has to be us."
    --- Jerry Garcia
  140. Re:Um wtf - forget it! by name773 · · Score: 1

    personally, i don't eat at mcdonald's; i like to cook my own food (it's kind of fun, sort of like chem in some ways). i walk to school and back, and when i need to buy a car (probably after grad school), i'm going to go for something high mileage-- if only because i dislike high recurring payments. i'm still developing my moral standards, but i am working on it. as for the politicians it seems that the people who desire positions of power are the exact same ones who shouldn't have them. such is the case in many many countries and the UN. as a start i'd like to see a third party establishing the wages and benefits of congress... maybe have people vote on how well of a job their representatives are doing... but you know that bill would never pass. it would create quite a stir if it was publicised though..

    and man, we need to start producing useful items for people instead of pushing around green pieces of paper. i hope to start a business after i finish school and establish myself, but for now i'll be writing web applications and building things for myself.

  141. Where's the incentive? by Anonymous Coward · · Score: 0

    Good for him. But where's the incentive? Until the market punishes software vendors who don't design from the ground up for security, no one is going to design software that way.

    1. Re:Where's the incentive? by _Sprocket_ · · Score: 1

      You might be noticing that Microsoft's glossies are now pushing "security". They also talk it a lot. And they pass out hansom rewards for anyone who makes bad press by releasing a successful worm in to the wild.

      It didn't used to be that way.

  142. uneducationable users by Jessta · · Score: 2, Informative

    Uneducationable users will always be the main security problem with computer systems.
    I find it hard to believe that users still run random attachments to emails.
    After 10 years people are still doing it.

    You can't just remove all attachments from emails, so what should one do about it?

    Software is not here to make up for the stupidity of people, it's here to help them utilises their intelligents. If you're not intelligent enough not to run random attachments to your emails, then you probaly won't find a computer very useful.
    - Jesse McNelis

    --
    ...and that is all I have to say about that.
    http://jessta.id.au
  143. Default Permit and malware by jofi · · Score: 0
    I still don't understand why operating systems are so dumb that they let any old virus or piece of spyware execute without even asking me.

    How's an operating system to discern the difference between good code and malicious code? Malware doesn't just mutate from the OS's own binaries out of nowhere; some jackass has to fire up their warezd copy of C++ (assuming they didn't use the toolkit which is free) and write an ordinary program with malicious instructions (after all, isn't a program defined as a set of instructions the computer executes?).

    Is Java runtime a virus? OMFG it can update itself. It can check for updates without me ever knowing when that action occured or see it. Firefox can too. Perhaps it should read: I still don't understand why users are so dumb that they let any old virus or piece of spyware execute.

    Point in case, the OS only does what you f**king tell it to do!

    --
    Blame the user, not the software.
  144. "skip the testing, it looks fine" by Anonymous+Luddite · · Score: 5, Insightful

    >> Humans make mistakes, but they also need to correct them. Sloppy code is not acceptable.

    Have you ever written code for idiots?

    When I'm creating software I have to hide my work in progress from management. By that I mean, show them chunks only. I can never let them see something that looks like an operational product till its' been up and running and tested six ways from Sunday, because if they see a working prototype, they'll try to force me to roll it out as productive immediately. Telling them it's "not done" doesn't work either - I've come it to work and found a demo project distributed as productive. I mean wtf? - Some PHBs just don't get it at all. You tell them its' running against a test database, needs 3 more weeks work and bang, its' out the door. - It's not on fire right now so it must be done, right?

    In those circumstances, I don't really give a sh*t if it fails and costs them money, except the blame (and 3 am phone calls) fall to the team that wrote it.

    You're %100 right, there is no exuse for buggy code, but there is tonnes of it out there, being used productively that was never really finished. Sometimes it's got less to do with the lazy developers than managers who don't listen.

    1. Re: "skip the testing, it looks fine" by wkitchen · · Score: 1

      That happens with hardware too.

    2. Re: "skip the testing, it looks fine" by seabasstin · · Score: 2, Interesting

      I am so with you!
      I worked on an IM project where the demo showed the send process of the IM transaction.

      The business manager saw this and in his ecstasy of being able to launch early said put it on the production server ASAP, the production manager panicked and told him we needed a week to tie loose ends; and then told us we needed to get done the project done a month ahead of schedule because she couldn't get herself to remind the business manager that IM is 2-way communication process.
      So when we didn't make it, and it was declared OUR failure (the production team) and we didn't really care since being creatives in our heart of hearts we knew that it was only because of business for being STUPID.

      --
      Content + Container; Content = Container; Content â Container... which is the question?
    3. Re: "skip the testing, it looks fine" by Anonymous Coward · · Score: 0

      I totally agree. I'm doing exactly this at the moment, working on a project that won't be finished when it's going live. I hate it, but it's not my responsibility, not my planning, and way back I've accepted this as a fact of life. Although I hate it, I won't let it get to me.

    4. Re: "skip the testing, it looks fine" by JediTrainer · · Score: 2, Funny

      if they see a working prototype, they'll try to force me to roll it out as productive immediately

      You think that's bad? I've had project managers try to do that to me when they saw a Powerpoint mockup of a new app!

      --

      You can accomplish anything you set your mind to. The impossible just takes a little longer.
    5. Re: "skip the testing, it looks fine" by kaoshin · · Score: 1
      I can never let them see something that looks like an operational product till its' been up and running and tested six ways from Sunday, because if they see a working prototype, they'll try to force me to roll it out as productive immediately.

      I can intimately relate to the situation you describe, but being a liar can go both ways. We have a guy here who does this. He waits until he has a project almost completed before announcing it. Our PHB not only falls for it, but they think this guy is some sort of superman because has appears to finish projects so quickly, while everyone else gives accurate reporting. He tells us that the reason why he lies, is because of the reasons you describe, but you know what? I have little respect for liars, because however justified they may appear, you can't trust them. Unfortunately, the better way to handle this situation is to stand up for what is right and face management head on, even at the risk of your own job. People who do the latter, I do have respect for. While I don't disagree with your said reasons, I wholeheartedly disagree with your approach.

    6. Re: "skip the testing, it looks fine" by Anonymous+Luddite · · Score: 1

      >> I have little respect for liars,

      One: I take issue with being called a liar. I'm not. When I say "hide" mainly what I mean is that I make a point of finishing the interface on anything last. If they can't see it, they know it isn't done.

      Two: The "face management head on" scenario doesn't work here. There are plenty of things I tell them "no" about and plenty of things I refuse to do, but It doesn't work if the project is more or less done, You just come in to work and find them using the project productively. Forget that all the testing isn't done, or it's writing to a test database, it's been pushed.

      three: Are your manger's asleep?
      >> He waits until he has a project almost completed before announcing it. Our PHB not only falls for it, but they think this guy is some sort of superman because has appears to finish projects so quickly,

      I don't buy that. It makes no sense at all. What is the guy doing, writing code at home in his own time? If something takes 4 weeks to write, it takes 4 weeks. How could he hide it being worked on? Maybe he is just head and shoulders above you all productivity-wise. Either that or you work someplace where no one pays attention to what gets done on the clock, because when I get handed a job, it is on the clock from the get-go and saying "No it's not done" multiple times actually makes me look bad to PHB, not good.

      What it does do is prevent them from releasing sh*tty code under my name or my team's name. IMHO, I'd rather have my boss think I'm slow than get a slew or 3 AM phone calls.

      >> I wholeheartedly disagree with your approach.
      feel free. YMMV

    7. Re: "skip the testing, it looks fine" by loom_weaver · · Score: 1

      I disagree that it's mainly the fault of lazy managers.

      I've worked with many programmers who don't take pride in their work. Their approach is to get something 'working' and that's good enough for them.

      It's laziness in general that causes people to forego robustness in coding.

    8. Re: "skip the testing, it looks fine" by Anonymous+Luddite · · Score: 1

      >> lazy managers.

      We don't have too many lazy managers. The ones that cause problems are the ones that push and don't listen to what you report back.

      >> Their approach is to get something 'working'

      Although there are certainly some people that never take pride in their craft, I believe otherwise skilled developers will often just get p*ssed off and hammer out crap to meet unreasonable requests. The only one to know will be the poor SOB that has to fix it later.

      sort of lose-lose IMHO.

    9. Re: "skip the testing, it looks fine" by kaoshin · · Score: 1
      I take issue with being called a liar.

      And I was careful not to call you one.

      Two: The "face management head on" scenario doesn't work here.

      Sure, that can't resolve something that already happened, but confronting management about the results of the poor decision in a professional way, or requesting to be included in change management, etc. would not be unreasonable to me if I visualized myself in a similar situation as you have described. Perhaps there is more to what you said, but this was my perception.

      I don't buy that. It makes no sense at all. What is the guy doing, writing code at home in his own time?

      Often, yes. He spends countless hours and even vacation hours working on projects, which not all of us have the luxury of doing. He also pretends to be doing research on something, while meanwhile he is frantically working on and off hours to complete large projects. Our manager is very gullible. I have been in similar situations before with other people, but this is just an extreme case. I think our situations are quite different, and it is obvious you are nothing like this guy. I don't mean to compare you to him.

    10. Re: "skip the testing, it looks fine" by dkf · · Score: 1

      It's laziness in general that causes people to forego robustness in coding.

      Not just laziness, but also schedules that are too short and (closely related, but not quite the same) workloads that are too high. Also add in the fact that new hires can take quite a long time (we reckon six months for our mainline systems) to come up to full speed, which makes taking on someone new very difficult. If there's too much to do in too little time and not enough (knowledgable) people to do it, something has got to give and it is usually code quality, whether intentionally or not.

      Of course this sucks. That's life.

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
  145. Wow! by Anonymous Coward · · Score: 0

    That's almost a Haiku.

  146. Funny, Marcus doesn't mention... by Anonymous Coward · · Score: 0

    ... the risk of people sleeping with the sysadmin. Which he was famous for when he was a budding hacker at Johns Hopkins.

    Anyway...the point is that people are always going to be the point of failure. No amount of automated wizardry can even slow down people who are going to do stupid things.

    JHU '83

  147. Re:Real security has to be build into the foundati by Anonymous Coward · · Score: 0

    You don't need to be administrator to do this, just to write to the registry to install most large software packages. Try this experiment:

    Create a restricted user account.

    Download an exe file, for example, putty.exe (just google it) as that user.

    Run what you just downloaded.

    Now figure out how to stop yourself from being able to do that...

  148. Dummies and idiots :) by black_penguin · · Score: 1

    Effect of reading too many "IDIOT's guide" and "for DUMMIES" books... :)

  149. It's a decent concept, but poorly implemented... by Garwulf · · Score: 1

    I honestly wouldn't say that it would count as a dumb idea, because the basic concept isn't too bad when it comes down to it. The big problem is that the implementation is just piss-poor right now.

    As somebody already pointed out, the concept of DRM can be used quite nicely for securing a computer against a possible attacker. The problem is that in a panic over what to do with this new "Internet" thing, a few publishers, most of the labels, and most of the film studios have gone to ridiculous lengths to try to protect intellectual rights with content.

    The concept of protecting intellectual rights isn't a bad one. Speaking as an author, if somebody told me that some unseen force is going to dictate to me what I'm allowed to do with anything I write, my first reaction would be to give them the finger and tell them where to stick it. If I want to sell the publication rights to a New York publisher, that's my decision. If I want to make it public domain and publish it on my website, that's my decision too. It's reasonable, and quite frankly moral, for my wishes regarding my work to be respected.

    Unfortunately, there really isn't a good way to implement copyright protections in digital media yet. The United States came up with the DMCA, but that will probably change soon enough - it's one of those laws that will probably be a work in progress, written when the technology wasn't truly understood. All DRM essentially does when applied to content is dictate to the consumer what they can do with what they have just bought. It's like buying a lamp and then having the lampmaker tell you when you can turn it on.

    Balancing it all is the big problem. The idea behind DRM with content is to protect the rights and wishes of the creator, but the only implentations of it right now do so by stripping away the rights of the consumer. I honestly think it would be a lot easier to just stick with the Berne Convention and trust the people who buy your work to be honest about what they do with it (and take reasonable, and I stress "reasonable", actions when you can prove they are not). I have a funny feeling the technology and its issues will sort themselves out given enough time.

    --
    Robert B. Marks
    Author, Demonsbane in Diablo Archive
  150. Six dumbest ideas by TheSifters · · Score: 1

    1. Windows 3.1
    2. Windows 95
    3. Windows 98
    4. Windows 2000
    5. Windows ME
    6. Windows XP

  151. Why M. Ranum is an idiot by russotto · · Score: 2, Insightful

    #2: Enumerating goodness.

    Guess what. You've just pretty much gone back to the dark ages. Everyone has a set of programs installed on their computer by the priesthood, and that's all they can run. Might do something about viruses. Definitely reduces the utility of the machines.

    #3: Hacking worthless
    Holding your adversary's skills in contempt is generally not a good idea. Refusing to learn them is just plain stupid. And, of course, hacking (even the black-hat sort the PC prefer to call "cracking) isn't what he says it is. Learn a particular exploit? Any script kiddie can do that. Figuring out how to identify holes and develop exploits, that's another thing entirely, and as useful for a security professional as lock-bypassing is for Medeco.

    #6: Sit on your duff and let the other guy take the lumps.

    Sure, you CAN do that. But there's reward as well as risk in adopting the new stuff. And consider that if everyone took that strategy, progress would be entirely stifled. His IT exec who waited two years to put in wireless may have saved money -- but he also had two years without wireless, which may have cost him more.

    1. Re:Why M. Ranum is an idiot by Alioth · · Score: 3, Insightful

      On enumerating goodness, in a corporate environment, that's exactly what you want: you don't want everyone to use their computer as a general do everything tool - you want them to use their computer to do the job they are supposed to do. They don't need Comet Cursor or Kazaa to do that.

      Of course, then there's the developers who (should) know what they are up to, and will need to be able to install things without having to go through the IT department for every scripting tool they need to get their job done. So you put those guys on a separate network segment, firewalled off from the rest of the office workers - so if a developer manages to clobber the network, they don't clobber the entire company.

    2. Re:Why M. Ranum is an idiot by Jadeus · · Score: 1
      so if a developer manages to clobber the network, they don't clobber the entire company.

      s/developer/user/
      s/entire company/developer's productivity/

      --
      --- Bigger bits, softer blocks, tighter ASCII.
  152. Re:Real security has to be build into the foundati by glens · · Score: 2, Informative
    Not that it hasn't been mentioned already, but here's an example from slackware 10:


    $ mount | grep /tmp/hdb9
    /dev/hdg9 on /tmp/hdb9 type ext2 (ro,noexec)
    $ pwd
    /tmp/hdb9/bin
    $ ./hostname
    bash: ./hostname: Permission denied
    $ /lib/ld-linux.so.2 ./hostname
    ./hostname: error while loading shared libraries: ./hostname: failed to map segment from shared object: Operation not permitted
    $ ls -l /lib/ld-linux.so.2
    lrwxrwxrwx 1 root root 11 May 16 2004 /lib/ld-linux.so.2 -> ld-2.3.1.so
    $ ls -l /lib/ld-2.3.1.so
    -rwxr-xr-x 1 root root 672140 Mar 5 2003 /lib/ld-2.3.1.so
    $ uname -r
    2.4.26

  153. bad implementation drives bad ideas by twitter · · Score: 1
    desktop machines tend to be default-permit because desktop users are completely unwilling to deal with an alternative arrangement.

    What you have seen is users rejecting poor [Windoze] implementation of privilege separation. My wife has no problems with a non root account on Mepis. It lets her run what she needs without being able to affect the system. The permissions are a little lose for my taste and the inclusion of non-free software like Macromedia Flash is a bad idea, but the restrictions are good enough. You don't have to annoy the user to keep bad things from happening.

    The idea of only allowing 15 applications is not as good an idea as the usual pid uid system. First, each of those applications are actually a whole collection of programs so the problem is larger than stated. More important than that, the system for deciding what runs could itself be compromised and used against the user. This is exactly what happens in the admittedly dumb world of anti-virus. "Default Permit" is not really something that exist on unix systems. "Default Deny" as described by the author is something that will stagnate everything it touches and drive everyone crazy.

    --

    Friends don't help friends install M$ junk.

  154. MOD PARENT UP by CaptainPinko · · Score: 2, Insightful

    That is really a point worth considering. There are many Dilbert cartoons that use it as a punchline but I never paused to think that that ALL security have a negative productivity aspect (not necessarily net negative, but there is always something negative) to them. Perhaps a standard part of any security procedure should be to list negative aspects because I think people are too idealistic as with "Hey! Lets change passwords everyday!"

    --
    Your CPU is not doing anything else, at least do something.
  155. The author draws incorrect conclusions by Pr0xY · · Score: 1

    First of all, since when is default deny "seldom done" and "difficult?" That's just rediculous. Just about every firewall product out today has a deny by default policy. And it is by no means a difficult concept. "Allow what you need and no more, if you find that you need something that is blocked, decide if it is _really_ needed and if so allow it" wow that's too tought to wrap my head around!

    Also, the author seems to be under the impression that perfect software is possible...well sorry, bad news, it's not.

    His ideas on "Penetrate & Patch" being wrong are just silly. Yes, of course it's true that some systems are more secure by design than others, no argument there. But that has nothing to do with the penetrate and patch cycle. The point of P&P is that you assume your system isn't perfect (and gee, what a far fetched idea that is!) and try to see how it could be broken. No programmer can think of everything and there _will_ be holes. I have also found that many security issues that didn't come in white box testing (that is analizing the source code) did come up in fuzzing and other black box approaches. Sometimes these problems are a lot more difficult to spot in the code than one would hope. Also the fact that software has an issue doesn't make it insecure by design (it could be, but it is not neccessarily true). Many times it is due to incorrect implementation of a good design, or simply a minor coding error.

    Also, his idea that "if FOO worked, we'd have run out of BAR type of security problem by now." Yea, that's also not the case. Perfect example, buffer overflows have been around for quite a while now and we still seem them all the time. Companies make a diligent effort to prevent them, and attackers just figure out more creative ways to make em happen. Problems don't go away over night (if ever) once they are discovered and addressed.

    His thoughts on enumerating badness are also a little out of whack. Sure it's not a good idea to assume that everything you know if is everything that exists...but it's a damn good place to start! This is one of those things that isn't a great idea, but is an effective first line of defense. It's gauranteed not to catch everything, but it's a sure fire way to get those low hanging fruit while you can.

    proxy

  156. First Post.... SERIOUSLY! by Dark+Coder · · Score: 1

    I know this is not the first post within this topic, but I've mentioned Marcus's finer points in an earlier topic...

    http://slashdot.org/comments.pl?sid=161733&cid=135 22744
    link here

    After two excellent story submission rejections, I can't take it anymore.

  157. Weird mixture of stupid and trivial by BobaFett · · Score: 2, Insightful

    The first point is entirely on the money. At least 10 years too late, but totally accurate.

    The second is just too overreaching: would you like a computer which can run 30 programs from a master list and nothing else? There are many cases where "enumerating goodness" is exactly the right thing to do, and - guess what - that's exactly how such cases are done, for example, sudo.

    The rest of the article is basically boils down to this: if you don't want your system to be hacked, don't make it hackable. Sure thing. Don't debug your programs, just write them correctly. Don't install airbags into cars, just avoid crashes. Stupid us, doing all the precautions and safety things for years. Just don't make mistakes, see how easy it is?

    1. Re:Weird mixture of stupid and trivial by whoisjoe · · Score: 1

      I have trouble believing the author really meant that there's no excuse for not getting right in the first place. Rather, you should design systems with security in mind, reducing (not eliminating) the need for finding holes and plugging them. In fact, TFA cites examples and acknowldges they have few (not no) holes.

      To steal your analogies, the point the author was trying to make was: Don't wait until your code is written to think about bugs--making the effort to write your code correctly will reduce the debugging effort necessary; Don't rely on the airbags in your car--making the effort to avoid crashes will reduce the likelihood of airbag deployment.

  158. NoScript VS Default Permit by Giorgio+Maone · · Score: 1

    NoScript users have been asking for black-list JavaScript/Java blocking since the beginning, but I'm still convinced white-list approach is the only way to go, when it comes to security. How can you tell for sure the link you're about to follow with a careless click (or, worse, the popup that is about to open without your consent) leads to a "safe place"?

    --
    There's a browser safer than Firefox, it is Firefox, with NoScript
  159. Late but... by burns210 · · Score: 2, Insightful
    So this is way late to the thread, but I will mention it anyway.

    This guy has a couple good 'no duh' points and several really stupid ones. Let me elaborate:

    #1) Default Permit

    This I agree with, in the case of firewalls in a corporate environment, where the input/output can be predetermined and controlled. Everything should be blocked except for the handful of things that need to get through.

    #2) Enumerating Badness

    This idea BLOWS for desktop applications, which is what he advocates. Why is it bad? Because while he only has "30"-or so applications he uses, as most people do, those 30 are different for most users. You can't enumerate all legit software, it can't be done. You can enumerate most of it. But then you get to a list comparable to 70,000 virus signatures you are trying to leave behind. Besides, if I write my own application, my anti-virus software would need an accurate, detailed signature of what the application looks and acts like to be able to identify and allow it... Something I cannot reasonably do. Which is why we have companies creates the signatures, for the (comparably) finite number of viruses and trojans. Default Deny on a desktop, especially personal ones, is a broken, unmaintainable, BAD idea.

    Even in a corporate environment, which has more home-grown apps, you would need custom signatures for each internal app to function. Something not practical for an IT department to create. The idea just doesn't hold on a PC.

    #3) Penetrate and Patch

    His argument: if you had designed it securely, you wouldn't need to pentest it.

    Ok, but how do you know your implementation was complete to the design, or that your design didn't have a hole in it? Well, you have to test it... pentest it, that is.

    Yes, it is a great idea to securely design your apps, with secure-by-design principles. Afterwards, you STILL need to test it in a live environment to ensure you didn't forget or miss any steps. That is only a logical step. Pentesting even the most secure of networks is critical, to be able to PROVE they are secure. You can't just say 'because I said it was!' and expect that to fly.

    #5) Educating Users

    He contradicts himself. He says that you shouldn't have to educate users because they should already be educated... Which is a chicken/egg problem he never admits to. You should do both: hire competent, smart people, AND train them in the policies and guidelines of their environment.

    1. Re:Late but... by StrawberryFrog · · Score: 1

      #2) Enumerating Badness You can't enumerate all legit software, it can't be done.

      No. But you can do what my firewall does when deciding if a program can use the network, and ask the first time that an unknown program it, ie ask the user "Unknown program xyzee.exe is attempting to run. Do you want to Allow this time/Block this time/Allow always/Block always".

      The only time that this is a pain is if you are a software developer (like me) and have a new .exe to run every 10 minutes.

      --

      My Karma: ran over your Dogma
      StrawberryFrog

    2. Re:Late but... by Anonymous Coward · · Score: 0

      #3) Penetrate and Patch

      His argument: if you had designed it securely, you wouldn't need to pentest it.


      The way that I read that was that a PenTest that gets through and is then fixed proves at best that you've patched against the vulnerability of the week, and will be back to square one when there's a new set of them out. If you had designed it securely, even if you patch, you're still SOL.

    3. Re:Late but... by Anonymous Coward · · Score: 0

      Sorry, should read "If you had not designed it securely, even if you patch, you're still SOL."

    4. Re:Late but... by burns210 · · Score: 1
      Which for you or me, is an awesome feature we can use. For the average user, this is a scary thing and will become a moot point when they just say 'allow always' because they know that will work.

      They see bonzai buddy or the weather app as useful, not as malicious software. Or they don't know about it at all and so ignore the warnings that some software is wanting to run ("hmm, must be a computer thing. *click*").

      Now, if we could come with presets, like Firefox, IE, and say, AIM.(as a very rudimentary example) can be flagged as 'generally ok' while a spyware scanner can flag bad software as 'malicious, then we would be able to give something more useful.

      But then, we are combining the file/memory scanning of anti-virus program, the network monitoring of a active firewall program and the signature list of a spyware/adware blocking program... Which is really how it should be. spyware/adware/crapware should just be another signature in the same scanning engine your av software uses. Otherwise you are just duplicating work.

    5. Re:Late but... by burns210 · · Score: 1

      Which is totally true. If you design securely(OpenBSD is a great example) you will be fine for many forms of attacks, even if you haven't patched. OpenBSD (their TCP/IP stack was a good example of this) isn't affected by certain types of attacks because of their secure by design mantra, even though they never patched specifically for the attack, their design kept them away from ever being vulnerable.

      In the end, though, you can't just rely on a single vector. Secure by design, patching, pentesting... They all need to be done, not just one. Even secure designs can have holes, and patches can be too late, and pentesting, like you said in the GP, can only protect you from the hole of the week. All three in conjunction, however, can give you a rock solid application.

  160. Re:Real security has to be build into the foundati by Penguin+Programmer · · Score: 1

    Very true, and well said. However, the problem in most companies lies much deeper than this. It's a lack of thought in IT policy in general.

    I work at a construction company. We have a growing office where many of the employees have computers. However, the people running the company treat IT as sort of a sidebar - something that doesn't actually affect the business, and thus there is a lack of corporate policy regarding computers and their use. All employee files are kept on their individual workstations, most of which are not backed up at all, let alone well. The email, too, is kept on individual workstations and the sending and receiving of email to/from company addresses is not monitored or controlled. We don't even control our own email server, our email resides on the server of a contracted IT guy and no one from our company actually has access to it (not even me, the in-office IT guy). Our networking is a mess, so someone wanting to take down our network could easily plug a laptop into a port somewhere (we don't even know where all the cables go) and put viruses or other malware onto any computer in the building, as well as steal all sorts of sensitive information.

    So, with all these problems, what is the question that my boss (the president of the company) asks me most often? Am I sure that everyone's Norton Antivirus is getting updates every four hours, or is it just going once a day? Again - treating the bandaid solution as a cure.

    Basically, there has been no thought put into the IT policy at this company. The technology grew faster than the company could handle, and they have no control over their computers or their network. If corporate IT policies, even in medium-sized businesses like the one I describe here, had more thought put into them, computers everywhere would be much more secure.

  161. Password changing. by SoupIsGoodFood_42 · · Score: 1
    I could never get my head around how that was supposed to work. I think we ran Novell along with Lotus Notes on WinXP. I could never quite remember the crypic seqence in how to change a password successfully in one go. I usually had to log out, then back in again, and try entering the both old and new password into different password prompts (usually 3) that complained that it had the wrong password.

    The system was supposed to be "one password for all" so you didn't have to do exactly what I just described, but it never went that smoothly when you used it. Why is is that they can't deliver something so simple as a user friendly way to change a password?

  162. measurements? by idlake · · Score: 1

    Where does the Macintosh OS fit in to your scheme of things? By all measurements it seems to have been built with user friendliness in mind, however it's also generally regarded as being pretty secure by design also.

    People keep saying that, and you even say there are "measurements". If you use a term like "measurements", surely somebody measured OS X usability relative to other systems. Can you point to such published measurements?

    1. Re:measurements? by Fred_A · · Score: 2, Funny

      Well, for what it's worth, I just did a measurement of my Mac OS desktop which is 24.7 cm wide while my KDE desktop is 40.5 cm.
      This was done with the time tested scientific method of sticking a ruler on the screen.

      I'll let you interpret the result however you see fit.

      --

      May contain traces of nut.
      Made from the freshest electrons.
  163. The saddest bit... by Anonymous Coward · · Score: 0

    They were already suffering like they lived in some third world country. The poor areas of New Orleans were not pleasant. The environment was poisonous, the buildings infested with vermin, the inhabitants functionally illiterate.

    In some twisted way, the hurricane is like a colonic. This was an area of the country we'd forgotten about, an area we'd let rot and stagnate. A lot of buildings that desperately needed replacing for health and safety reasons will now be replaced. Infrastructure will be updated. In some ways... this is a blessing.

  164. Re:Real security has to be build into the foundati by Anonymous Coward · · Score: 0
  165. A Fundamental Linux Security Flaw by tjstork · · Score: 2, Insightful

    The way that you get software onto Linux, the very nature of open source, is a trojan horse disaster waiting to happen.

    With Linux, installation is endless. How I so wish that I could just get one fricking package from online for KDevelop or any other tool I use and run one installation process.

    Instead I have dependency hell.

    KDevelop wants a package called Graphviz, something called Arts (the SUSE version isn't good enough), a new kind of source control system. I have to go to fifty different web sites that I find by Googling just to try and figure out what to get?

    This is fraught with danger.

    If I'm a hacker, I wouldn't even bother trying to find a buffer overrun somewhere, I would just put up a legitimate looking web site claiming I have a binary for something like CVS or RPM or any of the myriad packages that Linux uses, stuff my own code in it, and wait. Some Linux nooby would download it, run the rpm as root, and I'm in.

    Source code devotees stay silent. I could probably put a tarball out there with rm -rf / in the middle of a makefile somewhere and no one would notice. Hell, I could just delete one file. .. what is all this make install gnu auto configu stuff?

    Stupid stuff in RPMs would be useful.

    a) the package should specify whether it requires root permissions

    b) packages should have a list of certified sites for their dependencies. OR, there should be an https repository for ALL packages.

    Until you eliminate people googling for dependent packages to be run as root, Linux is just as unsafe as Windows, if not more unsafe.

    --
    This is my sig.
    1. Re:A Fundamental Linux Security Flaw by Anonymous Coward · · Score: 0

      Err.. right, nice troll.

    2. Re:A Fundamental Linux Security Flaw by sbryant · · Score: 3, Interesting

      b) packages should have a list of certified sites for their dependencies. OR, there should be an https repository for ALL packages.

      You appear to be using SuSE, yet you say you have to go hunting around for packages. This doesn't make sense.

      If you use YaST to install packages, you can do so from one of the official mirrors. These contain all of the dependencies, so you don't need to go hunting. I've got the latest KDevelop, and everything it needed was installed automatically, so I'm wondering what on earth you did to have problems. The machine here has KDevelop 3.2.2 on KDE 3.4.2b, all installed via YaST with SuSE's own packages, and no googling for anything.

      Furthermore, SuSE do appear to sign their packages. I'm not sure when this is checked though, so it may or may not be OK to rely on that. Using https for transfers won't really change anything; it wouyld stop eavesdroppers, but I don't think anyone is interested on eavesdropping on transfers of publicly available packages.

      Your point is otherwise valid, and installing random packages from random/untrusted locations is an accident waiting to happen. Major distributions, however, do take steps to ensure that their packages are safe. Any distribution which provides a package which is dependent on an external package (ie: not provided by that distribution) is providing you with a bug, and it should be reported as such.

      -- Steve

    3. Re:A Fundamental Linux Security Flaw by tjstork · · Score: 1

      Are you running 64 bit? I was surprised that KDevelop wasn't included. In any other SUSE distribution, it was.

      My problem is that Suse 9.3 Eval edition, for 64 bit, did not have KDevelop as part of the distribution, so it does not show up in Yast.

      I went and downloaded the KDevelop rpms and found that I needed many other things that I'm honestly still sorting out.

      1. the package named Arts with my distribution is not the right version for KDevelop.

      2. subversion was not part of the Suse 9.3 AMD distribution, so I have to get that.
      3. there's stuff for libjpeg and other things that didn't fly either.

      I'm assuming, now, as I think about it, that KDevelop for 64 bit wasn't included in 9.3 Eval because they want me to upgrade to 9.3 Professional, but I really can't glean a way as to see what is on 9.3 Eval.

      I also tried Red Hat FC4, which is supposed to actually have everything for 64 bit, but, it kernel panics the moment I try to boot the install CD.

      --
      This is my sig.
    4. Re:A Fundamental Linux Security Flaw by Anonymous Coward · · Score: 0

      Hmmm... I'm surprised Suse doesn't have 64-bit compilations of those popular apps. In any case, if that is your problem - that you need a great many applications/deps that have no compilations for that distro (thus you need to compile them yourself - and so a lot of hunting). If that is the case I strongly recommend Gentoo Linux - http://gentoo.org/

      Still I'm surprised they don't have 64-bit versions of popular packages like kdevelop. Perhaps you could try Ubuntu instead of Gentoo.

  166. Re:It's a decent concept, but poorly implemented.. by Kelerain · · Score: 1

    I honestly wouldn't say that it would count as a dumb idea, because the basic concept isn't too bad when it comes down to it.

    I dissagree, as disccussed in the presentation:

    The basic concept with DRM is standard encryption. To securely communicate between A and B without E overhearing it. In DRM, B and E are the same person. In that way it is fundamentally flawed. The crypto is right infront of the user, decrypting things, which means it will always be weak. And then there is the analog gap. Not to mention it's very much something the consumer doesn't want.

    For those reasons, I do count it as a dumb idea. The talk I linked too was very illuminating along these lines.

  167. My thoughts by mnmn · · Score: 1

    I've always thought the whole idea of antivirus was bad. Prevention is better than cure for one; and file recovery like ghost is always more effective.

    But the mistake of user education was funny.

    --
    "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
  168. Out of date, out of mind by mulhall · · Score: 1

    Half the article is irrelevant through age, which is amusing bacause it's one of his own criticisms on dealing with security.

  169. WinAmp crashes by Scyt2 · · Score: 2, Insightful
    I have never, ever seen a student running in a non-administrator account on their Windows PC
    As even very common applications as WinAmp don't work without adminitrator privileges I find that very comprehensible. WinAmp crashes in a weird way without administrator privileges. I my opinion Windows XP is not ready for desktop use. E.g. you need to be Administrator to open the calendar.
  170. Paranoid!!!!! by Karaman · · Score: 1

    The author is just paranoid! Although I agree on his remarks about exploits!

    --
    sex is better than war!
  171. Action vs. inaction by Old+Man+Kensey · · Score: 1
    I have to deal on a daily basis with a co-worker whose first thought whenever we have a high-priority issue is to do the first thing that comes to mind as remotely reasonable. For example, we recently had a workstation dedicated to a business app that had some minor problems. Since it was old, we decided to go ahead and refresh it early. I built the new hardware and got it ready for the app to be installed.

    When I posted my latest status update that I was waiting for the app manager to coordinate the install, he followed up and said "don't wait on him, just go ahead and copy the app directory, set all these environment variables..." I pretty much just ignored this. Later that day during a phone conversation I mentioned copying and updating the previous profile wholesale if they were really in that big a hurry (there was no reason to be, but if they wanted to be I at least wanted it to go well). He went ballistic and came vanishingly close to ordering me to just do it his way -- he can't do that because even though he has seniority, he isn't someone I report to, and our mutual boss was on the call, but he clearly wanted to.

    It later turned out that there was authentication data that we needed and didn't know, but which was cached in the profile. His solution was "analyze the configuration data to find where the username and password are." Or, I said, I could just copy the profile over and then I don't need to spend hours looking for this data (that we aren't supposed to actually have -- it's a database login provided by the app management team, input directly by them into the app instance and saved in the profile, I presume in an encrypted form).

    This same guy once pushed out a broken Windows group policy to our userbase to test it (that's when we found out it was broken). He's a pretty talented guy, and we apparently went to some length to keep him after his student eligibility expired, but at least once a week he recommends something totally braindead like that and I have to either ignore him or explain to him (and often others) why it's really not a good idea to do it his way.

    --
    -- Old Man Kensey
  172. Re:Real security has to be build into the foundati by halleluja · · Score: 1
    alex@joker:/tmp# /lib/ld-linux.so.2 ./date Sun Dec 3 17:49:23 CET 2000
    % rm -f /lib/ld*

    Fixed!

  173. To generalize... by Lonewolf666 · · Score: 1

    Trusted Computing would be excellent for organizations that want to secure their network if the organization gets to determine what is allowed.
    How the part in italics will work out in Windows is not quite clear yet:
    When Vista hits the market, will the IT department of your company have the tools to allow/disallow certain applications? Or will they have to suck up what Microsoft delivers?
    If it is the former, Trusted Computing might be good for companies (but still not recommended for the private user).
    If it is the latter, avoid it like the plague.

    --
    C - the footgun of programming languages
  174. Patching not working.. by mortrek · · Score: 2

    While I admit, designing a system from the ground up to be secure is important, it's really quite hard to expect most software companies to do that. However, I don't feel that the patching game is all that worthless. If a product was totally static, then yes, it would eventually have most of its flaws patched, or so one would expect. However, products are changed, overhauled, and often completely rewritten. This always seems to introduce a lot of new security flaws. If Microsoft simply stopped adding so many 'useful' new features to their software, and concentrated on locking down their software, it would probably be much more secure. However, they are driven to 'innovate', and we end up with features like system restore, which can actually make it so you can't delete some worms... Also, a 'complicated' program does not have to be a 'bloated' program. I remember the good old days when Opera would add functionality and *reduce* the binary size & memory usage.

  175. Virtual == Physical by xenobyte · · Score: 1

    Why doesn't people think of vitual security as they do about physical security in life in general?

    The approach here is to make it harder than average (but not impossible because that is - well, impossible to achieve) to break in (like the old joke about outrunning the bear). That way the burglar is likely to move on to a less difficult target. This is combined with things like neighbourhood watch (makes getting arrested more likely), alarms and a general moral education that makes burglars less cool. This doesn't eliminate burglaries completely but will reduce the likelyhood significantly.

    An important point is that absolute security doesn't exist. Sure, you can remove all access points and even send your house into orbit, but it still doesn't eliminate the risk completely. But you have succeeded in making your house completely useless.

    Security at the price of complete uselessness is the most stupid idea ever. Therefore the only really potent point in this article is the one about making things secure by design and structured coding.

    Buffer overflows, cross site scripting etc. are the the result of stupid people posing as programmers doing what they do worst. It is so simple to write a little wrapper that checks boundaries before allocating memory or similar, or to strip away everything unexpected in input (especially from command lines or URL queries), and then to call that wrapper everywhere you need such resources. You wouldn't believe how many times I've seen the same piece of code repeated again and again in languages where functions are readily available, and in some places some checks are made while in others it looks like the original prototype code with no checks whatsoever. You end up with huge source files filled with unpredictable code. It's impossible to maintain and basically needs a complete rewrite.

    On the other hand, a well-structured program is easily secured because it's basically like a Lego-construct. Check all the building block types and build new simple sub-structures that again are checked on the basic level - and so on. If the blocks are named wisely the main program reads like a macro definition or similar and is easily understood by new maintainers. This method is actually taught in basic computer science at the universities but so very few takes it with them into the private sector. An example of a program written somewhat like that is Bernsteins qmail MTA - it contains hundreds of small functions and each is no more than a few lines long. Also it is broken up into several small modules each with a well-defined security stance and most runs with no special privileges. So far there has been no breaches despite it being almost a decade old. Compare that to good'ol sendmail, a monolithic application with lots of huge constructs hundreds of lines each - very hard to secure.

    --
    "For every complex problem, there is a solution that is simple, neat, and wrong." -- H.L. Mencken (1880-1956) --
  176. Other ways... by featheredfrog · · Score: 4, Funny

    There is at least one other way to improve security...

    http://www.comics.com/comics/dilbert/archive/image s/dilbert2813960050912.gif

  177. Re:GET SOME PRIORITIES! by Magada · · Score: 0, Offtopic

    Get a clue. Sumeria *is* Irak. Or at least a significant portion of it is. Take it from an old Civ hand.

    --
    Something bad is coming when people are suddenly anxious to tell the truth.
  178. Fair point by Lifewish · · Score: 1

    I suspect he's hung up on Windows, where this is in fact the case. But even on a proper operating system (ah, the joys of OS snobbery) I believe (I'm away from Linux atm) that things you download in a tar file or similar keep the permissions that the creator set them to. I could be wrong - I'll check when I get home - but, if something like this is in fact the case, I could well imagine something misrepresenting itself as a document being accidentally executed. It'd take a fairly stupid user to pull that off, but when have we ever had a shortage of those?

    And yes, IAAM - I Am A Mathematician. At least that's what it says on several of my college degrees, so I guess I must be one. ;-)

    Bah, and I'm stuck as a student for another year or two. You don't have a spare college degree you don't need, do you? :P

    --
    For the love of God, please learn to spell "ridiculous"!!!
    1. Re:Fair point by jc42 · · Score: 2, Funny

      Actually, I think the basic problem is more complex than users execing files unpacked from a tar or zip file. The major reason for so many "accidental" execution of outside software on Windows systems is that many Windows programs execute things without the user being aware that this is happening. The most obvious culprits are mail GUIs, where you "open" an attachment by merely clicking on its icon. There's nothing in the word "open" that implies executing a program, but if the attachment is labelled as executable, that's what happens. So the user may know better than to execute a strange program, but they think they're just opening (i.e., viewing) a document.

      This problem did pop up in unix software in the early 80's. Several mail readers (usually also editors) got a new "feature" of being able to automatically execute scripts embedded in messages. The user communities' reactions to this were immediate: They understood right off the danger, and insisted very loudly that this misfeature would be fixed right now. Companies found their sales on hold until this serious security breach was fixed. The problem was fixed in weeks, and whenever someone reintroduces such clever features, the same sort of blowup occurs until the vendor understands and repairs the damage.

      The Windows user community is a different culture. They have accepted such misfeatures, because they don't understand the problem. Microsoft sees no reason to fix such problems, because few users are objecting (and it's not Microsoft's problem ;-). Usually such features are controlled by an on/off option setting, but the default is "on", because that's more powerful and convenient for users.

      It really does come down to ignorant vs. knowledgeable users, of course. Unix users tend to know a lot more about their computers than Windows users do. No surprise there; we've always had that divide in the computer field. But I wouldn't call Windows users "stupid". Many of them are quite smart - in some other subject areas. The word is "ignorant", and we're all ignorant in most subject areas. There simply isn't time to become knowledgeable in all subjects.

      You don't have a spare college degree you don't need, do you?

      Y'know, I've often wondered about that. I've never used my high-school degree or my B.A. (math) from college. Nobody ever asks you about any degree except the highest one. The rest are sitting there unused. So why not sell them to someone who needs one? I'd think that the "market" people, from whom we hear a lot these days, would strongly approve of this.

      OTOH, I suppose one could argue that this is "Intellectual Property", and as such, there's a strong move afoot to outlaw resale of all IP items. The recording industry doesn't want you to be able to resell your old recordings. The movie industry is getting the same idea. Microsoft's EULA alread outlaws resale of the software that you bought with your computer, so if you donate your computer to charity, the license for the software doesn't go along with it, and your charity org has to pay for the software again. Similarly, you can't resell old degrees that you're no longer using.

      So why shouldn't all of these be resellable on the Open Market? ;-)

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    2. Re:Fair point by Lifewish · · Score: 1

      Interesting question. I'd tend to respond to the resale restrictions on software and movies with a string of profanities, but degrees are... kinda fuzzy. I mean, if you've spent ages getting the things, why shouldn't you be able to recoup that investment? Hey, maybe you could even claim VAT back!

      I guess the problem is that a degree isn't really a "thing" in itself - it's a label representing your abilities. You might be able to buy a black belt, but that doesn't mean you won't get kicked about by the first bunch of thugs you meet; similarly, you can sell your degree but, until the day when you can actually sell the knowledge straight out of your head (Matrix style), "selling" that degree to someone else is just incitement to misrepresent themselves. Fundamentally, a degree is far more than the paper it comes on.

      In fact, in a very real sense, such a sale is morally very similar to forgery. In the case of banknotes, the value represented by a note is considered to be transferred as the note is, and any attempt to acquire a note without acquiring the value behind it is immoral. With banknotes, the only way to do that is to forge it. With degrees, the value represented by the degree is nontransferable, so claiming you have a degree on the basis that you "bought" it from someone else would presumably also be immoral. In both cases, you're laying claim to value you don't posess on the basis of hard copy (banknote, certificate, whatever) that you *do* posess.

      Any thoughts?

      --
      For the love of God, please learn to spell "ridiculous"!!!
    3. Re:Fair point by jc42 · · Score: 1

      While I obviously understand your arguments (and actually agree with them), continuing the "devil's advocate" style of argument would mean pointing out that the metaphors here really don't quite work.

      You might be able to buy a black belt, but that doesn't mean you won't get kicked about by the first bunch of thugs you meet

      Yes, but compare this with reselling a recording or movie. If I do this, nobody would take it to mean that I was one of the musicians or actors, unless I told them. Similarly, if I sell a black-belt or college degree certificate, that shouldn't imply that the knowledge of either was mine personally. I could have bought the certificate. I could claim that I did, since I had to pay money for it. And most college grads know one or more rich twit who paid others to take his tests, getting the degree without getting the knowledge. And some colleges are known as "degree mills" that award a degree to anyone who pays the appropriate fees. Having the degree doesn't mean that you won't be demolished in an argument with someone who actually knows the subject matter.

      [I]n a very real sense, such a sale is morally very similar to forgery.

      Again, if I resell a recording or movie, nobody would assume that I've forged it. Yes, in some areas people make a living doing this. But here in my suburban town, if sell my old CDs and DVDs in a yard sale, nobody would question whether they are forgeries. To take the "free market" approach, you'd think the situation would be the same with a degree certificate. Yes, I could have run off a bunch of copies. But even then, I could argue that it's "my" degree, so why shouldn't I be allowed to copy it?

      It's difficult to distinguish these cases in a strictly logical fashion. Thus, the record, movie and software industries are saying that they own the information (music, movie, program), and they only sell you a license to it. If I can't resell my college degree, it sure sounds like the "education corportation" that sold it to me is claiming that they own the knowledge that it represents. They've only sold me a license to use that knowledge, but not to resell the physical representation of the knowledge that they gave me.

      The traditional name for such reasoning is "sophistry", of course. It can be fun to toss out such parallels into discussions ...

      --
      Those who do study history are doomed to stand helplessly by while everyone else repeats it.
    4. Re:Fair point by Lifewish · · Score: 1

      Yes, but compare this with reselling a recording or movie. If I do this, nobody would take it to mean that I was one of the musicians or actors, unless I told them.

      That's because the value associated with a recording or movie is related to the ability to listen to or watch it, and hence is transferrable. The value of a degree, however, is related to the knowledge gained over the course of the degree, and hence isn't transferrable. Any attempt to sell on the degree certificate and assorted paraphernalia would presumably (unless it went to a collector) be under the guise of allowing the recipient to claim a degree - value he wouldn't in fact posess.

      But even then, I could argue that it's "my" degree, so why shouldn't I be allowed to copy it?

      Again, confusion is arising between the value gained from the degree course, which isn't transferrable, and the paraphernalia of the degree (certificates etc.) which is perfectly transferrable as long as the recipient doesn't then claim to have received a degree from MIT or wherever when they've only received a degree certificate.

      If I can't resell my college degree, it sure sounds like the "education corportation" that sold it to me is claiming that they own the knowledge that it represents.

      The difference between the RIAA and MIT (for example) is that MIT isn't blocking you from transmitting the value (the knowledge), just the paraphernalia of it. It's more akin to Intel refusing to let you stick "Intel Inside" stickers on an Athlon-based computer than traditional copyright protection. No claim is made to the knowledge; the effort is being made to ensure the paraphernalia remain associated with the knowledge. Anything else destroys the perceived value of the paraphernalia, which after all only arises from the value of the education, thus screwing over all the other graduates of the educational institution. It's more a matter of devaluing trademarks than infringing copyright.

      And I for one am a heck of a lot less bothered about current trademark law than I am about current copyright law.

      Good discussion btw :)

      --
      For the love of God, please learn to spell "ridiculous"!!!
  179. Re:I agree - only works for corporate office monke by Anonymous Coward · · Score: 0

    And just food for thought -- #6 (test the waters) conflicts with #3 (redesign) and #4 (don't crack).
    #3 because redesigning code has a tendancy to just reopen old wounds as much as fix potential problems -- you're trading the well-known for the cutting edge, which is exactly what #6 advises against.
    #4 because you can't expect people to know how to do things "right" without first learning from others' mistakes -- learning current security problems and how they are exploited *is* important. It has nothing with being "cool". It's useful information.


    Sorry, but you're wrong. #6 specifies that you shouldn't rush out to do change something without thinking about it first. And that's what design is all about, *thinking* about what the software should do and how. A secure design won't open up old wounds, it will throw them out before even starting to code. A blank sheet of paper doesn't have any old wounds.

    As for number 4, there is a big difference in knowing how to avoid e.g. a buffer overflow, and how to exploit one. Know how to avoid it by checking your input (and no, using a hyped "secure" language isn't enough, you still need to check input), instead of learning how to find out where in the input to place your code, and how to calculate the return address.

  180. Lost credibility on the chart/graph by BlueMonk · · Score: 2, Insightful

    This article lost most of its credibility when I saw that his graph for enumerating badness came from the "department of vague pseudo-scientific statistics". Humorous though it may be, I don't think people should be making up charts to illustrate their "data" when there aren't real numbers to back it up. It's worse than providing 6 significant digits in a measurement for which you only measured two, in my opinion. It makes me doubt that any research or real data went into any of the rest of this article, and suspect that it's just one guy's opinion.

  181. Power tripping - I think not. by OwlWhacker · · Score: 1

    There have been plenty of little kids who were told off by their parents for playing with matches in their room, and they probably thought their parents were mean, power-tripping, control-freaks, just out to spoil some good clean fun.

    And if there are those who believe their computer at work is their responsibility: who pays for the time required to fix the computer when it goes wrong? The company, not the end user.

  182. Nude pictures.... by Anonymous Coward · · Score: 0

    "of barely clothed females." As opposed to nude pictures of fully clothed females?

  183. Stating the obvious :) by Anonymous Coward · · Score: 0

    Oh come one... Someone's got to say it....

    1 Windows 3.1
    2 Windows 95
    3 Windows 98
    4 Windows NT
    5 Windows 2000
    6 Windows XP

    Tada !

  184. Sure, follow these rules... by hesiod · · Score: 1

    If you don't mind your computer system not being able to DO anything! This guy obviously does not work in the setting he is writing for.

    Deleting all EXEs from EMail will cause people to lose legitimate information, and when the CEO doesn't get that self-executing ppt slideshow in his EMail, it's your fault for deleting it and giving no warning. Of course, the alternative to this would be educating the users... which is also a bad idea, according to this dumb motherfucker.

    Sure, some of the points are good, but if you were to implement them all, your system (for most businesses) is a very expensive pile of plastic, silicon, and metal that can't do anything useful.

    As for the patching one, sorry to burst your little fantasy bubble, but bugs in software happen. His claim that entirely secure software is easy to write is complete BS. Assuming, of course, your software does something that requires accessing some other source of information, there will be bugs. Shit happens.

    "We're not a target" - yes you are

    Guess what, jackass, sometimes, someone ISN'T a target. No one wants to break into the Bummsville True Value hardware store servers. Oh, and worms being able to spread to your system does NOT mean you were a target. You are a civilian casualty.

    My favorite non-sequitur of the article
    "We don't need a firewall, we have good host security" - no, you don't. If your network fabric is untrustworthy every single application that goes across the network is potentially a target. 3 words: Domain Naming System.

    WHAT THE FUCK DOES DNS HAVE TO DO WITH FIREWALLS??? Is he suggesting that a firewall would do shit against a DNS Hijack/Attack? Does he know what a root server is?

    > "We can't stop the occasional problem" - yes, you can. Would you travel on commercial airliners if you thought that the aviation industry took this approach with your life? I didn't think so.

    This guy is actually suggesting there are no problems with the airline industry??? AND HE CLAIMS HE WAS A CEO AT ONE POINT??? Obviously this CEO never left his office... or has never seen a stand up comedian... or late-night talk show host, or a sitcom... you get the point.

    And finally, sometimes the "whizz-bang idea of the week" really is a good idea. It's rare, but it happens. If I look at something and think it will actually help, I'm going to freaking buy it, regardless if it's pretty darn new!

  185. two single biggest security problems by ummit · · Score: 1
    The single biggest security problem with desktop windows is having system administrator be the default user

    That's a biggie, but I think it's one of the two biggest problems. The other is that, by default, it is maximally easy to run (at all, as any user) even the most breathtakingly untrustworthy code, i.e. that which arrives as an e-mail attachment from a unknowable source. There have been various attempts to patch this, but the main line of defense still seems to be that the poor user is ultimately responsible for deciding which attachments are safe to open and which are not -- and this has been more than amply shown to just plain not work.

    If the one-click-to-open-an-attachment model did not mean, for an executable attachment, to execute the attachment, email viruses would be a minor problem, not a sweeping epidemic. (Realistically: how often does anyone receive a legitimate executable program in the mail and expect to be able to run it right out of their mailbox?)

  186. Guy needs a clue by ebvwfbw · · Score: 2
    Great premise but manages to mess it up. For example:

    Deny by default. Depends on the situation. For a firewall that is a great idea. For executables it is a dumb idea. I think he has no clue just how many executable programs he uses. It isn't the 8 or 9 he cites. Linux for example has thousands of programs that most people never see - cat, cut, paste, grep, join, link, etc. Get rid of those problems and see if you can even boot. Even for programs that he does run - like an internet browser, not running remote executable code limits his ability to do much. Lots of javascript, java, and so on.

    Enumerating baddness? WTH is he talking about? Nobody I knows enumerates baddness except idiots and companies trying to tell you how good they are.

    Penetrate and patch: Still a good idea and this fits into his first suggestion - get rid of executables that you don't need. So he is contradicting himself. How do you know if something is running unless you do a penetration test? Pen tests can also show you if your configuration is set up right or if you managed to screw up the configuration file and therefore the program is doing something you didn't intend.

    Hacking is cool: He suggests that people not understand how hacks work. This is a dumb suggestion. By looking at how mistakes were made by others you can therefore avoid those mistakes. Most holes were not there intentionally, it was because the programmer didn't think of how the code could be compromised. By learning these techniques, they can be avoided. Indeed again to his previous point.

    Educating users: I can't believe he is suggesting that users not be educated. Most people are the equivelent of "Just off of the turnup truck." They don't know to not take the Nigerian scam or many of the other social engineering tricks. Most people are trusting by default. It is like allowing people to walk through a very bad part of town and not telling them about it.

    His minor dumbs are what he should have put in the top. I see those far more often. I have to wonder if this is something he had to do for a writing class at school. Looks like it.

  187. Other security stupidity by sgml4kids · · Score: 1

    1. Trying to fix flaws in technology with more technology.

    I'm really glad to hear someone else echo the stupidity of "enumerating badness/default permit" as the author puts it.

  188. Dumb and Dumber by ummit · · Score: 1
    Agreed - this guy has his head in the clouds.

    But you're hip-deep in the mud.

    One of the points basically comes down to "write perfect code".

    Nowhere does he say that; what he's saying is that we should try -- try! -- to do better. In fact, one of the things people who take security seriously realize is that their code will not be perfect -- and then figure out ways to limit the damage.

    Well, duh, why didn't I think of that before?

    The "duh" is on you, I think. You, like most of the software industry, regard bugs and rampantly imperfect code as inevitable, and you pooh-pooh anyone who dares to suggest that we could do better. You refuse to take seriously models other than "default permit" and "reflexively patch", models which guarantee an escalating arms race and a neverending stream of vulnerabilities and an epidemic of real, actual, time-wasting and money-costing and data-losing security problems.

    I can't say that you're wrong, because so much of the industry agrees with you, which is why computer security is the horrible mess it is. But it doesn't have to be that way.

  189. barely clothed nudes by Orinthe · · Score: 2, Informative
    Doesn't anyone else have issues with the following quote from the article?
    nearly 1/2 of humanity will click on anything purporting to contain nude pictures of barely clothed females
    (emphasis added)
    --
    SELECT quote.text AS sig FROM quote NATURAL JOIN attribute WHERE attribute.description = 'witty';
    0 rows returned
    1. Re:barely clothed nudes by drew · · Score: 1

      while i did notice that, i only thought about it for half a second or so, as it still made more sense than most of what i read here on slashdot....

      --
      If I don't put anything here, will anyone recognize me anymore?
  190. Re:Real security has to be build into the foundati by Mr.+McGibby · · Score: 1

    To illustrate, ask yourself this question: why do most corporate computer users have permissions on their computer to download and execute arbitrary programs?

    Maybe because contrary to what most IT Nazis believe, the rest of us at your company are actually trying to get work done. And that often involves more than reading our email. And no, you may not take 2 weeks of my time to certify every application I download.

    --
    Mad Software: Rantings on Developing So
  191. Not quite that easy... by danaris · · Score: 1

    So...tell me just how you'd send something to someone in an attachment, and all they had to do was click (or double-click) it to open it?

    Thing is, on OS X, they have to at the very least take the steps of unzipping the attached app bundle to an appropriate location, or mounting the attached disk image, then finding it in the Finder and double-clicking it to run it. You can't simply attach an app, because it's a folder.

    Dan Aris

    --
    Fun. Free. Online. RPG. BattleMaster.
    1. Re:Not quite that easy... by ummit · · Score: 1
      So...tell me just how you'd send something to someone in an attachment, and all they had to do was click to open it?

      Not sure what you're saying.

      If the attachment is a data attachment (text, document, spreadsheet, image, audio, video, whatever), the recipient clicks on it and it opens, using the appropriate viewing app (an app which, of course, was already installed on the machine and is presumably trusted.) But if the attachment is an executable, when the recipient clicks on it either nothing happens, or a dialog offers to save it to disk, but the point is that it is dignificantly difficult (if not impossible) to just go and run that attachment.

    2. Re:Not quite that easy... by danaris · · Score: 1

      Not sure what you're saying.

      If the attachment is a data attachment (text, document, spreadsheet, image, audio, video, whatever), the recipient clicks on it and it opens, using the appropriate viewing app (an app which, of course, was already installed on the machine and is presumably trusted.) But if the attachment is an executable, when the recipient clicks on it either nothing happens, or a dialog offers to save it to disk, but the point is that it is dignificantly difficult (if not impossible) to just go and run that attachment.

      Yeah, that's pretty much what I'm saying ;-)

      Dan Aris

      --
      Fun. Free. Online. RPG. BattleMaster.
  192. Enumerating Goodness can work by foniksonik · · Score: 2

    Man is that wording pretensious... but anyways...

    I use a little program called "Little Snitch" it is your basic network filter except it is active and dynamic. By this I mean that I don't have to go through huge documentation bibles looking up port number / protocol combinations to create a list of 'goodness'... I just let Little Snitch run, block every port on my machine and when one of my apps needs access to the outside Little Snitch asks me if I want to permit it!!!!!!

    LS also asks me what sort of rules I want to apply to the application, ie: give appXYZ access to selected port/ all ports : selected server/ all servers : for just this once/ until the app quits/ forever.

    It does the same thinng for incoming access requests.

    This means that blocking all my ports by default doesn't impact the utility of my machine at all.

    I recommend that anyone should check it out.. it provides all the power of having a dedicated network sysadmin for my local machine without the issues of another person trying to guess what i want to do all the time.

    So to summarize, "Enumerating Goodness" is possible and indeed is a viable solution when you have a tool that lets you do it on the fly as you need it, instead of trying to precognitively guess what applications will be needed down the road.

    The only case I can think of that could cause trouble is if you were to download a trojan that first altered your network filter to allow it access before doing it's dirty work. This is where a good AV tool that checks incoming connections through trusted ports like 80 and 25 would be required.

    --
    A fool throws a stone into a well and a thousand sages can not remove it.
  193. om*G*, how could we not see this?! by DexterF · · Score: 1

    All we have to do to make software unhackable is write unhackable software!
    Oh my GOD! The *simplicity*! The JOY!

  194. The password story by gosand · · Score: 1
    Users keep their passwords on post-it notes stuck to their monitors.

    I don't have them stuck to my monitor, but I do have passwords on post-its. At least for a shotr time. When I create (or receive) a new password that doesn't follow my story-rule* in my head, then I write it down. I remember it better that way. But I write it down amongst other words/doodles/passwordy words/etc so it doesn't stand out as a password. Once I remember it, it goes into my txt file of other passwords, stored in a password protected zip file, and the paper is destroyed. That zip password is never written down, and one I'll always remember. (see story-rule*) Of course, the file is named something like meeting_minutes.zip or notes.zip or something boring looking.

    * My story-rule is something I came up with to create passwords. You build a story around something, and your password comes out of that. It morphs from there, to where even knowing the original story won't get you the password. Hypothetical example: I read Slashdot. Slashdot has this thing called karma. I always liked the phrase "my karma ran over your dogma". Make password karmaoverdogma. Too plain. Rule: remove all vowels, except a. password is karmavrdgma. Now capitalize the first and last letters. Password is KarmavrdgmA. Once I get the story down, it is easy to recreate the password. Really all I have to remember is "karma over dogma", and the rules.

    Now, next time I have to change my password, I can either change a rule (capitalize the 2nd letter from the front and back - kArmavrdgMa) or I can institute a new rule - stick a double digit at the end. KarmavrdgmA11. Next time, I could change it to 22, then 33, etc.

    Part of the power in this is the reminders. In the password file I mentioned that I have, I don't actually put the passwords. I put keys to the story. So this one might be "My karma ran over your dogma, a, cap, 11". I like these kinds of methods because they would be hard to crack, and I can remind myself without giving away too much info. I could write down my reminders and it would be virtually meaningless to anyone but me.

    I still remember a password that an intern set up back in '94. It was "CIrpotb,". The first letter to the words in the Pearl Jam song Jeremey "Clearly I remember picking on the boy," (with the comma at the end.

    --

    My beliefs do not require that you agree with them.

  195. Reward and punish users, for educational purposes by TakaIta · · Score: 1

    Why not do it like car insurance companies do: give users more rights when they did not have virusses and spyware for a month, and take rights from the user when they got a virus or spyware.

  196. Re:No "default permit" for application launch in O by Anonymous Coward · · Score: 0

    If you double-click and that leads to launching an executable that hasn't been run before, it pops up a dialog to ask you about it.

    Does "shell" count as an executable? If you allow it to run once, it doesn't ask again? What about perl, or other interpreters? Or is it based on the entire command line: "java programA" gets checked even if java has been executed before? Or does it also depend on the directory from which the command was executed? Does it catch ./myProgram goodRecipe.script vs ./myProgram badRecipe.script?

    And my favorite from Windows: Should a user permit "c:\Program Files\Microsoft\Windows\system32\svchost.exe" to run or not?

  197. Re:No "default permit" for application launch in O by Anonymous Coward · · Score: 0

    ./myProgram < goodRecipe.script vs ./myProgram < badRecipe.script

  198. " Friends, either you are closing your eyes . . . by Anonymous Coward · · Score: 0

    . . . to a situation that you do not wish to acknowledge, or you are not aware of the caliber of [poverty] indicated by the presence of [an Indian reservation as] your community."

    The poorest places in the United States have been on the reservations since they were started. Running water, electricity, or telecommunications of any kind (no smoke signal jokes, please) would be a large step up in infrastructure.

    This is not to suggest that slums in New Orleans, or other large cities didn't/don't have problems of their own, but there are poorer and less priveliged people in this country.

    Politicians pretend to care about other minorities because there are large populations, or concentrations of those populations in valuable states. If the people that pretend to care about racial and minority injustice really cared they would worry about the American Indians first, then worry about the more populous minorities (bit of an oxymoron there).

    "Trouble. We got lots and lots of trouble."

    P.S. I am neither a Native American, nor an American Indian. (Mother born in Idaho, Father born in Mexico, I was born in Japan.)

    P.P.S. This post is not meant to suggest that any policies change, but to expose the hypocrisy inherent in many people that pretend to care about minorities.

    P.P.S. This is a too much rant-like. Please think about it, but don't take it too seriously. I am posting as AC, after all.

  199. Default deny for programs? by TheLink · · Score: 1

    Only allow a white list of programs to run?

    Sounds a bit like DRM.

    Be careful what you wish for.

    Also be careful what others want you to wish for.

    BTW who cares about really dumb ideas anyway, there are plenty around, too many to list.

    Keeping to the spirit on things, maybe there should be a default deny on all ideas, and we should only get to see the good ones :p.

    That'll be double plus good wouldn't it? ;)

    --
  200. I Favorie One Is . . . by LifesABeach · · Score: 1

    "Security Through Obscurity"

  201. You are a hacker by Anonymous Coward · · Score: 0

    If somebody at my company set up a proxy at home, and encrypted and redirected their traffic through their home machine in order to circumvent security policy, they would be fired in a heartbeat. And if they actually showed me the Playboy site on a work computer, I'd escort them to the door myself. You are part of the problem by not following procedure, and you are introducing new security holes that the administrators now have to deal with. You may think you are smart because you have the knowledge to do this, but start paying attention to the law. If you are knowingly circumventing security mechanisms against policy, you are nothing but a hacker. Your administrator should also be fired for allowing you to get away with such blatent violations of company policy and, very likely, the law.

    1. Re:You are a hacker by MightyYar · · Score: 1
      [clears throat]

      How can I nicely say that you just don't get it? If you, an IT person, escorted me, an engineer, out of the building for doing your job for you - you, not I, would be fired. What you SHOULD do, when I nicely show you that I found a hole in your security, is go plug the hole. What you SHOULD do when I point out that your stupid agent is making all of the computers that were perfectly productive before into obsolete sloths is go and find a better solution.

      I'm the problem? No, sir, I am one of the engineers that actually makes some revenue for the company. You were hired to: (a) provide me with email and internet, (b) provide me with a place to back up my data, and (c) keep the bad guys and bad things out. Some in IT need to remember that. The fact that you think of us as "Luzers" and not as "customers" is a major problem and is probably why so many of you are being outsourced. Who needs such an attitude? You actually said *I* was the problem after I just pointed out 3 problems that were not solved? Wow.

      All that said, I rather like my helpdesk guys - it is not their fault that they do not have the resouces to properly address the situations I've pointed out. I commend them for having a pragmatic attitude.

      --
      W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  202. Re:It's a decent concept, but poorly implemented.. by vertinox · · Score: 1

    The problem with DRM is that it does by machine rather than by person. It would be more fair and less prone to piracy if you identified which person can run a media file instead of which device the person can run it on.

    Then the person could take the media to any device and could play it as long as he identified himself to the device.

    I'm not sure how this would work, but it would be more fair than the current system. Perhaps a random encyrption key based off the users thumb print etc etc...

    --
    "I am the king of the Romans, and am superior to rules of grammar!"
    -Sigismund, Holy Roman Emperor (1368-1437)
  203. Missing Item by Anonymous Coward · · Score: 0

    Using an all in one proxy server (ala Blue Coat) as a security device.

    It can be a peice of the puzzle, but for your network's sake please buy seperate best of breed for spyware/av/contentfilering etc. Don't try to do it all in one device.

  204. From TFA by gilgongo · · Score: 1

    "In fact, if I were to simply track the 30 pieces of Goodness on my machine, and allow nothing else to run..."

    I thought Trusted Computing was a bad idea? No?

    --
    "And the meaning of words; when they cease to function; when will it start worrying you?"
  205. Re:It's a decent concept, but poorly implemented.. by PlacidPundit · · Score: 1
    If I want to make it public domain and publish it on my website, that's my decision too. It's reasonable, and quite frankly moral, for my wishes regarding my work to be respected.

    Only for 28 years.

  206. Re:Thirded by superspaz · · Score: 1

    Seriously people. I thought you were real nerds!

  207. Re:It's a decent concept, but poorly implemented.. by Garwulf · · Score: 1

    Pal, no offense, but you've really got to read some books on social history. Yes, that's the first US copyright law. But it's an 18th century copyright law, based on 18th century morals and society, not a 21st copyright law based on 21st century morals and society. Even though it isn't strictly speaking fully a social history book, I'd recommend the first few chapters of Battle Cry for Freedom by James McPherson to a get a sense of the social forces shaping society between the 1840s and the Civil War, and how Jeffersonian Democracy became obsolete.

    If you want to talk original morals, all the blacks in the US are covered under property rights and considered subhuman, and all of the women are brainless dolls who shouldn't be forced to work their minds, because they can't take that, and it's unreasonable to force it on them. There's a reason the United States doesn't have Jeffersonian Democracy anymore - for its day it was revolutionary, but from the perspective of the here and now it would be worse than Apartheid.

    Seriously, get some historical perspective on what's happened in society over the last 220 years, and start looking to the future rather than the past.

    --
    Robert B. Marks
    Author, Demonsbane in Diablo Archive
  208. I found #7! by Anonymous Coward · · Score: 0

    zerg (Score:5, Funny) by Lord Omlette (124579) <omlette@@@gmail...com> on Sunday September 11, @05:45PM (#13533623) (http://www.omlettesoft.com/)
    Unless they ban the movie Hackers and eradicate all copies of it everywhere, they're not gonna make hacking uncool...

    -----

    Bad Security Idea #7:

    Mistaking the "Subject" field for the "Password" field on all your Slashdot posts.  (Check his posting history...)

  209. See, it's so easy by pugugly · · Score: 1

    1) Just eliminate "default permits" - don't use anything that you haven't used before. There's no reason any of your people will need anything else, because everything useful has already been written.

    Anything new that is useful can be cleared by the sysadmin, who will have plenty of time to check every individual program needed by every individual user, having eliminated all security flaws on the network.

    2) Enumerate goodness - follows exactly from eliminating default permit (to be fair, all his stuff pretty much does). Since you know exactly what's on your network, you don't need to leave any wiggle-room for changes.

    3) Write it right the first time! Because all those Unix and Windows junkies that wrote the original holes did so because they weren't paying attention and wanted to promote their job security by discovering the buffer overflow. By the way, all possible security holes have now been discovered - there are no new ones out there being caused by modern coding techniques waiting to be discovered. Because they've been perfected now.

    4) Hacking is not cool. People who take things apart to see how they work are inherently bad, not a feature that can be used for good or ill, nor do those that use it for ill ever mature past it to redeem themselves. Glad that's settled.

    5) Educating users is dumb. Just hire ones that already know what they're doing. Because someone else will educate them. Or they'll educate themselves. Something like that.

    6) Inaction is better than action. Never be an early adopter. Noone . EVER!!!!!!!

    Sorry - 5 & 6 fail the "What if every did exactly what he advised" test.

    4 completely ignores that hacking is a learning experience that follows from the curiosity of a working mind and leads to, well, educated users that you don't need to train. No hackers means there are no users educating themselves, and you don't have to worry about being an early adopter because no ones designing anything new anyway.

    3 is a platitude. True, yet silly. Yes, code needs to be written better, particularly at the OS level. Known mistakes are avoidable, and things that should be acceptable as applications programs should be avoided at deeper level, but that's a matter of sane training and review.

    1 & 2 are complementary, obvious, and according to him easy. I've never had the benefit of working on a network or computer, windows or linux, in which it was feasible to both clamp down on every program and port, and yet leave individual users with the ability to deal with the unforeseen. I've seen places that have done exactly that and decided users don't need to do anything outside the defined scope of their jobs, at least on the network. These are the same places that don't understand that the reason their people don't go above and beyond is because they've gone to so much effort to make it impossible to do so.

    Or perhaps my lack of vision is why I'm not making the big bucks. It's conceivable.

    Pug

    --
    An Invisible Entity of Vast Power whose existence must be taken on faith alone: Liberal Media
  210. OT: Language by IpalindromeI · · Score: 1

    I wasn't trying to be an ass about it. I was just trying to give an easy way to remember the spelling. It's the mnemonic that I use myself when spelling "definitely."

    Frankly, I don't understand why people get so offended when others try to help them communicate better. Are you so obstinate that you don't want any help to better yourself? Are you that attached to looking like a fool every time you write something down? Part of the reason published works go through an editing process is to correct spelling and grammar. Why do you think that is? Why do you think we have language rules in the first place? It aids communication.

    So why get ruffled when someone tries to help you? If it was just the implied tone, I'll try to do better at conveying a nonconfrontal one in the future. If you're against the idea that maybe we could raise the bar here on Slashdot, let me know so I can mark you as a foe. Thanks for your help.

    --

    --
    Promoting critical thinking since 1994.
    1. Re:OT: Language by Tassach · · Score: 1

      Spelling/Grammar trolls are off-topic and do nothing to improve the discussion. If you have something relevant and on-topic to contribute to the discussion, we would all like to hear it. If you don't, STFU. If you want to show everyone how smart you are, a more effective way of doing so is to post an insightful, thought-provoking response. Pedantically correcting minor spelling and grammar mistakes in an online forum does not demonstrate your intelligence; at best it is seen as pathetic attention whoring, at worst you're putting yourself on the same level as the juvenile trolls who post hot grits jokes and penis bird pictures.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    2. Re:OT: Language by IpalindromeI · · Score: 1

      Spelling/Grammar trolls are off-topic and do nothing to improve the discussion.

      They are off-topic, but they do improve the discussion and future discussions if posters use them to improve their communication skills. Posts like yours do much more to derail the conversation than a small, helpful spelling tip. My post was two sentences. You're trying to start a completely worthless flamefest.

      If you want to show everyone how smart you are, a more effective way of doing so is to post an insightful, thought-provoking response.

      I don't feel the need to show everyone how smart I am or abuse others to feel superior. You're projecting your own attitude onto me.

      at worst you're putting yourself on the same level as the juvenile trolls who post hot grits jokes and penis bird pictures.

      As opposed to trolls like yours, where you use the pretense of defending the conversation to subvert it instead. Well done.

      --

      --
      Promoting critical thinking since 1994.
    3. Re:OT: Language by Tassach · · Score: 1
      ... trolls like yours, where you use the pretense of defending the conversation to subvert it instead. Well done.
      As long as we're in pedantic language nazi mode, I'll point out that my response was a flame , not a troll . Pot, meet kettle.
      My post was two sentences. You're trying to start a completely worthless flamefest.
      Replying to your troll is STARTING a flamefest? I think you need a refresher in cause and effect. For someone who claims to "promote critical thinking" you certainly seem to have a weak grasp of logic and a fondness for ad hominim attacks.
      I don't feel the need to show everyone how smart I am or abuse others to feel superior
      Right, you just abuse others to "improve future conversations" and "promote critical thinking". <sarcasm>I bow down before your superior intellect and noble motives</sarcasm>

      If "improving future conversations" is that important to you, why not do something useful and submit a spell-checking patch to slashcode? Oh, I know -- because that would require more work than being a pompous self-righteous ass.

      Oh, I see you made me a "foe". How mature. That really showed me! I guess that will teach me to abase myself before the next jackass who points out a trivial spelling error in one of my posts.

      I'm done feeding you, Troll. You can crawl back under your bridge now.

      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
  211. Re:It's a decent concept, but poorly implemented.. by PlacidPundit · · Score: 1

    It's amazing how a little evidence that Copyright isn't "property" can bring out the venom...

  212. My Linux Problems are My Fault by tjstork · · Score: 1

    I reinstalled SUSE 9.3 last night, and I realized that doh! I had to turn everything on. With that done, I downloaded the matching KDE RPMs from KDE's mirror and unpacked and was done.

    --
    This is my sig.
  213. Utterly Retarded by jfdawes · · Score: 1

    I know one senior IT executive - one of the "pause and thinkers" whose plan for doing a wireless roll-out for their corporate network was "wait 2 years and hire a guy who did a successful wireless deployment for a company larger than us." Not only will the technology be more sorted-out by then, it'll be much, much cheaper. What an utterly brilliant strategy!


    If everyone used this strategy, there would be NO guys who ever did any sort of deployments of anything, because the largest company would always be waiting for someone to have done it.