Slashdot Mirror


The Effect of Snake Oil Security

Trailrunner7 writes "Threatpost has a guest column by Robert Hansen (aka Rsnake) about the long-term effects of snake-oil security products. 'I've talked about this a few times over the years during various presentations but I wanted to document it here as well. It's a concept that I've been wrestling with for 7+ years and I don't think I've made any headway in convincing anyone, beyond a few head nods. Bad security isn't just bad because it allows you to be exploited. It's also a long term cost center. But more interestingly, even the most worthless security tools can be proven to "work" if you look at the numbers.'"

36 of 110 comments (clear)

  1. Good, Bad and Ugly by hhawk · · Score: 4, Interesting

    I think it's also a very hard concept that Good security can fail some times as well, so it's hard for some managers and others to understand the difference between good security failing and bad security having really never worked at all...

    Good security can fail when new venerabilities are found, when risk assessments are not up dated in a timely manner, to do human / operator errors, etc.

    --
    http://www.hawknest.com/
    1. Re:Good, Bad and Ugly by JeffSpudrinski · · Score: 5, Insightful

      It can also be hard for folks to understand that you need layered security and that sometimes what worked at one time should be replaced.

      We recently migrated from one solution (McAfee) to another (Sophos). Company management eventually bought in, but the question has been asked "Why were we running inferior stuff to begin with?" McAfee wasn't inferior when we went to it (eight years ago)...they just simply didn't keep up with the times.

      Threat vectors change over time and it is necessary to make yourself essentially a "moving target" by not relying on a single (or even the same) solution over time. If you do an audit and find something lacking...replace it.

      Just my $0.02

      -JJS

    2. Re:Good, Bad and Ugly by ArsenneLupin · · Score: 3, Informative

      It's not vector as in math, but rather vector as in biology. Think fleas carrying diseases.

    3. Re:Good, Bad and Ugly by CarpetShark · · Score: 2, Funny

      Think fleas carrying diseases.

      We're thinking, we're thinking! FFS give us a break, we're only little.

    4. Re:Good, Bad and Ugly by AlecC · · Score: 2, Informative

      The term vector has been reused in other branches of science, with different meanings relevant to this subject. In epidemiology, which has a close analogic relationship to computer security, an infection vector is the means (parasite, contaminated water, sneezing) by which a disease spreads. This is actually a more exact derivation from the Latin original, which meant "one who carries". A threat vector is not the same as a threat, just as a bullet is not the same as a gun. The threat is malaria, the vector is the mosquito.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
    5. Re:Good, Bad and Ugly by Bigjeff5 · · Score: 2

      You should look up the word "vector". Maybe read up on a little biology. Pay particular attention to "viruses".

      Usually when you argue a point you are obviously ignorant about, you look stupid.

      Your post is no exception.

      --
      Security is mostly a superstition... Avoiding danger is no safer in the long run than outright exposure. - Helen Keller
  2. Nice article, nice story by suso · · Score: 2, Interesting

    Insightful article. It was worth it just to read the bear in the woods analogy, which will give you a good laugh.

    1. Re:Nice article, nice story by tverbeek · · Score: 4, Funny

      I was disappointed that the bear-in-the-woods analogy involved neither shit nor the Pope, but it was insightful nonetheless.

      --
      http://alternatives.rzero.com/
    2. Re:Nice article, nice story by (Score.5,+Interestin · · Score: 3, Funny

      Insightful article. It was worth it just to read the bear in the woods analogy, which will give you a good laugh.

      Preved?

    3. Re:Nice article, nice story by Joebert · · Score: 2

      Think about the bear analogy again. If you feed the guy next to you to the bear, now the bear is satiated. That's great for a while, and you're safe. But when the bear is hungry again, guess who he's going after? You're much better off working together to kill or scare off the bear in that analogy.

      Unless you're smart, like Betty White in Lake Placid.

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    4. Re:Nice article, nice story by Anonymous Coward · · Score: 2, Interesting

      Rudyard Kipling said it better...

      IT IS always a temptation to an armed and agile nation,
      To call upon a neighbour and to say:
      "We invaded you last night - we are quite prepared to fight,
      Unless you pay us cash to go away."

      And that is called asking for Dane-geld,
      And the people who ask it explain
      That you’ve only to pay ’em the Dane-geld
      And then you’ll get rid of the Dane!

      It is always a temptation to a rich and lazy nation,
      To puff and look important and to say:
      "Though we know we should defeat you, we have not the time to meet you.
      We will therefore pay you cash to go away."

      And that is called paying the Dane-geld;
      But we’ve proved it again and again,
      That if once you have paid him the Dane-geld
      You never get rid of the Dane.

      It is wrong to put temptation in the path of any nation,
      For fear they should succumb and go astray,
      So when you are requested to pay up or be molested,
      You will find it better policy to say:

      "We never pay any one Dane-geld,
      No matter how trifling the cost,
      For the end of that game is oppression and shame,
      And the nation that plays it is lost!"

    5. Re:Nice article, nice story by tsalmark · · Score: 2

      With out WiFi you can not be hacked in the woods while drinking beer. How ever Rain, children with half melted marshmallows and chipmunks can all necessitate a trip to your local computer store.

  3. In short by guruevi · · Score: 5, Insightful

    Statistics can be made to show anything, managerial and C-level executives have to be more responsible and in the end it's cheaper to just let the customers eat the costs of bad security rather than fail trying to do something about it.

    The main problem imho is that there are no real punishments when something goes bad. If somebody gets hacked the old adage of "it's happening more often throughout the industry" is used to redirect the blame from the gatekeepers to the attackers. If somebody doesn't get hacked while the competition is, the executives get praised even though they might not have done anything meaningful. Back in the day when castles (security products) were used to protect a lord (the data or the company) and the gatekeeper (managers and sysadmins) didn't do their job, the gatekeeper would get flogged, stripped naked and/or executed. The soldiers didn't blame someone else when somebody invaded their castle and they didn't pat themselves on the back as 'doing a good job' when the neighboring castles were ransacked.

    Security procedures have nothing to do with the rest of the industry. Most likely they're unique to your company and structure, and one time, you're going to be up for a targeted attack and you should be ready at all times.

    --
    Custom electronics and digital signage for your business: www.evcircuits.com
    1. Re:In short by John+Hasler · · Score: 2, Insightful

      ...in the end it's cheaper to just let the customers eat the costs of bad security rather than fail trying to do something about it.

      Not if the customers react by taking their business elsewhere.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    2. Re:In short by jimicus · · Score: 2, Insightful

      Not if the customers react by taking their business elsewhere.

      They haven't yet.

    3. Re:In short by Bert64 · · Score: 2, Insightful

      Which in many cases they can't do, since they're locked in.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    4. Re:In short by BobMcD · · Score: 3, Insightful

      The main problem imho is that there are no real punishments when something goes bad.

      This is quite true, but there's simply no viable alternative. Who would wield the power of 'real punishment' in the hypothetical 'fix' scenario? The government?

  4. The nature of humanity? by lightspeedius · · Score: 3, Insightful

    I think we will solve the issues of computer security about the same time we figure out how to deal with conflicts within ourselves and humanity.

  5. Who needs security ... by tgd · · Score: 3, Insightful

    When your webserver dumps its cargo at the first sign of an Imperial Cruiser ...

  6. Re:It's the OS, stupid by jimicus · · Score: 5, Insightful

    I'm afraid it isn't, and a bit of reading between the lines in the article would allow you to figure this out.

    The types of attack which Windows is most infamous for - true self-replicating viruses and trojans that require you to be running as a local admin for them to work - are an endangered species. Newer attacks don't self-replicate like viruses and don't necessarily require you to be running as a local admin. Indeed, you can do quite a lot on any modern OS, be it Linux, some other Unix or Windows without being admin/root. You can certainly do enough to gain access to all sorts of juicy information and then pass it on through the Internet.

    The main reason Windows is targeted by the malware authors - particularly on the desktop - is that a lot of the malware authors aren't doing it for interest, they're doing it for cash. What's the point in writing an exploit that will give access to a Linux desktop when you could write the exploit for Windows and target about fifteen times the number of potential victims?

    Let's assume a drastic drop in Windows usage. Are the world's malware authors going to shrug their collective shoulders and say "Ah well, it was nice while it lasted"? Or are they going to say "Well, there's still lots of computers out there with lots of ill-informed people using them for things like banking, even if they're not running Windows. Wonder if there's any way to exploit them?"

  7. Re:Password Post-It on the screen by Dr_Barnowl · · Score: 4, Insightful

    Well, no. Most of them are configured to remove the possibility of that choice from the user - if they detect a virus, they quarantine the file and don't give you a choice. It's more that they can't detect everything. After that, it's not the virus scanners fault if users have poor digital hygiene.

    For what it's worth, I run my personal Windows boxes without anti-malware and anti-virus, respect a few general principles, and don't have problems. But explaining this to common users seems to be impossible. They seem to be unable to apply general principles, instead needing specific directions for every little circumstance.

    People will scoff at the idea that Unix has a more secure model, but really little things - like the executable bit, like not running as admin - raise the barrier for malware. .NET tried to implement a third way - by sandboxing applications - but it was realistically too much of a faff to configure, and not much good if you could still write all your malware in plain C.

  8. not just security by Tom · · Score: 4, Interesting

    It isn't just security. I supervise the IT audits in our company, and I can't list anymore how often fake procedures have been tried to pass of as actual processes. Right now, our software development managers try to tell everyone how "agile" they are - but the real work their people do has nothing to do with agile development whatsoever. I've seen so-called "change management" that wasn't worthy of even being in the same room with actual change management, and "access controls" that were essentially bullshit in paper form.

    There are usually two causes for this: Malicious people who are greedy for either power and/or money, or incompetent people who don't understand what they're doing (or managing) but are too afraid to ask for help and too stupid to find it on their own. Both kinds of people try to pass off what they're doing as the real thing and will respond to any attempts at questioning or changing it with hostility. In fact, that hostility is a pretty good indicator of both snake oil and incompetence.

    --
    Assorted stuff I do sometimes: Lemuria.org
    1. Re:not just security by Runaway1956 · · Score: 2

      "Educate them gently." That's why I carry a billy club. A Colt .45 is just to much for some people.

      --
      "Windows is like the faint smell of piss in a subway: it's there, and there's nothing you can do about it." - Charlie Br
    2. Re:not just security by Garwulf · · Score: 4, Interesting

      I can vouch for that...

      I used to work in the public sector. A few months before I left to return to school, we changed computer consultants to a new guy, and to this day I swear he was deliberately creating problems so he could bill us for solving them.

      It started off with a computer audit. Now, I'm not a professional computer consultant, but I've been around computers pretty much my entire life, and my father used to be a consultant. My idea of an audit is to generate a list of what programs are running, what anti-virus programs are in place, what firewall is in place, what processes are running, etc. So, when I found out that my computer was about to be audited, I was prepared to be away from it for half an hour to an hour.

      Instead, he checked the Windows version, and moved on.

      Now, to understand this story, one of the things you have to understand is that I was an unofficial IT guy in the office. And, I had taken a couple of steps for basic security (this was back around 2003), such as moving everybody away from Outlook Express and onto Netscape mail. It was a small Windows 2000 network in a small office, and so long as it was kept behind a hardware firewall and nobody did anything terribly stupid, it was fine aside from the occasional software glitch.

      The first recommendation that he put in, and management enforced, was to take everybody off Netscape and put them back onto Outlook Express. Massive infection of the entire network followed. Then, as I was the guy who started complaining that something was wrong here, he tried to blame me for hacking the system.

      Now, this wasn't the main reason I left to go back to school (one of the problems with working in social services is that it can be very soul destroying work, and I had reached the point where I just couldn't continue any further), but it definitely gave me a good dose of snake oil before I left...

      --
      Robert B. Marks
      Author, Demonsbane in Diablo Archive
  9. Re:Password Post-It on the screen by hedwards · · Score: 2, Insightful

    That works well, until some jerk finds an exploit in Windows' TCP/IP stack and you get infected by a worm. Or a new attack vector comes out such as the ones that relatively recently allowed for images and PDFs to be infected. Running windows without antivirus and antimalware is irresponsible no matter how careful you are, it's not meant to preclude or replace and individuals responsibility, but it works well as a back up.

  10. Re:It's the OS, stupid by Stumbles · · Score: 3, Interesting
    What's the point in writing an exploit that will give access to a Linux desktop when you could write the exploit for Windows and target about fifteen times the number of potential victims?

    That's just the same old numbers argument... when really it is way easier to compromise a Windows box than just about any other OS around. If the situation were reversed and the alternative OSes still retained their level of security I do not think you would see the same level of threats as you do with Windows. That is of course assuming the increased number of users using alternative OSes do not do stupid shit like run as root or change login users to have root level access.

    --
    My karma is not a Chameleon.
  11. This one liner you learn must, Luke. by Anonymous Coward · · Score: 2, Insightful

    Security is a process, not a product.

    Every time, I mean *every damn time*, someone tells you only to buy this or that product to get more security, he/she is fooling you. Security is a process that needs knowledgeable people with the right tools and the right amount of time available, not just colorful boxes sold by well dressed salesmen. Unfortunately most execs still can't grasp that simple concept.

  12. Springfield Bear Protection System by quetwo · · Score: 2, Insightful

    Ever since we installed the Springfield Bear Protection System, there haven't been any bears in our neighborhood! It works great!

  13. Re:It's the OS, stupid by Alex+Belits · · Score: 3, Insightful

    Users will need antiviruses for linux in the event it's popularity goes up.

    Because Linux software automatically runs executables downloaded from the Internet, right?

    The idea of "antivirus" is idiotic to begin with -- analyze something you already have on your computer in hope to recognize something that already infected millions of computers before you (or otherwise how McAfee would know it?). Security comes from lack of vulnerabilities in your permissions/access model -- something that is pretty easy to accomplish as long as you develop such a policy in the first place. For example, modern Linux desktop environments handle .desktop files in an insecure manner, and this can be easily fixed by treating them as executable script files (no execute bit means you can't execute it) even though they are not scripts from kernel point of view. The fact that web browser always runs under a user ID of a user who started it is another thing that should be fixed, as it's too large to be a trusted program. However those things can and will be fixed without introducing "let's loof for 'sudo rm -rf /' everywhere" approach that only exists because Windows security model is broken and unfixable.

    --
    Contrary to the popular belief, there indeed is no God.
  14. Re:It's the OS, stupid by jimicus · · Score: 2, Informative

    However those things can and will be fixed without introducing "let's loof for 'sudo rm -rf /' everywhere" approach that only exists because Windows security model is broken and unfixable.

    No it's not. In fact, it's arguably better than Unix, insofar as you have much finer granularity in terms of what you can allow or disallow and who you can allow it to.

    What is broken is that most applications utterly fail to respect it, hence the implementation in many organisations winds up screwed. You could argue this is because of history (Applications that were written in the days of '9x and have never been updated to account for a security model), because of laziness (too many software houses giving their devs admin rights) or because it's simply too complicated for its own good, but there's only one of those arguments which might reasonably be translated as meaning that the model is broken and unfixable.

  15. Re:It's the OS, stupid by HungryHobo · · Score: 2, Insightful

    linux has had a hell of a lot of security problems over the years.
    I like linux, I like open source but it isn't magic.
    pick an unpatched reasonably out of date linux system and you can find security holes in it.

    linux seems to get patched slightly faster but that's about it.
    it also seems to attract some of the more anal security nuts as devs for some crypto focused applications who err on the side of security vs usability since they can do it how they want rather than how some marketing manager wants.

    it's biggest advantage is that linux tends to attract the kinds of users who keep their patches up to date and know to avoid some of the more foolish things you can do.
    it's next biggest advantage securitywise is that attackers who are in it for the money are going to go after the largest pool of targets and simply put linux is still on the margins.

    but linux is not a magic bullet.
    if you replaced all windows machines in the world overnight with linux machines and put the same people in charge of them linux would fare little better vs the malware authors.

  16. Re:Password Post-It on the screen by HungryHobo · · Score: 2, Insightful

    antivirus software is useless for actual security, in general by the time the AV detects it you've already been infected and the virus has done it's dirty work.(unless you're lucky and it catches it as it tries to infect you)

    if it's a true worm chances are high you'll be infected before the AV company adds it to their database or before the update is downloaded.
    Antivirus software is an example of enumerating badness.
    You pay a company a few dollars a month to try to keep track of everything bad in the world.
    which is a terrible way to do security.

    even the best AV software has fairly crappy hit rates and will do nothing against a customized/targeted attack.

    it's only true value is as a performance metric.(which is a has value in itself)
    if the antivirus ever detects anything then it means all your real security has failed miserably.

    putting antivirus on a computer eliminates the need for real security in the same way that counting the money in the bank once a week eliminates the need for vault walls.
    it's a good thing to do but it's no substitute for real security.

  17. Re:It's the OS, stupid by wshs · · Score: 3, Insightful

    Most recent attacks have been via stupid users, not buggy OS. The reason Linux hasn't been targeted is threefold: 1) next to nobody uses it, thus a waste of effort to write malware for it; 2) its users aren't retarded; 3) each distro is completely different, unlike different Windows versions.

  18. Re:Password Post-It on the screen by mlts · · Score: 2, Insightful

    TBH, the only thing that really helps with malware infections is having good backups, and a well practiced method of restoring data, either just grabbing a couple files, or a complete bare metal restore from boot media or a PXE server. The ideal media for backups is something that can be set to read-only like tapes or WORM media like optical. This way, malware can't alter the contents once written.

    AV programs are nice, and sometimes they do catch a Trojan or two, but I've cleaned a lot of systems where the AV service was happily running side by side with the botnet client. Since a lot of new Windows malware encrypts sectors and parts of the OS to screw up safe mode booting, the only real way to get rid of a lot of infections is to save as much data off to an external drive, dd if=/dev/zero of=/dev/sda to completely zero out the drive (or even better HDDErase), repartition, and reinstall the OS and applications.

    This is why I urge people to get a backup utility that is able to do backups daily automatically, preferably from a backup server.

  19. Re:It's the OS, stupid by Alex+Belits · · Score: 2

    No it's not. In fact, it's arguably better than Unix, insofar as you have much finer granularity in terms of what you can allow or disallow and who you can allow it to.

    1. No, it's not. ACLs are available on Linux, however no one uses them because they are a stupid idea.

    2. More complex system of permissions and restrictions is not what makes a system secure. To make system secure you have to have consistent policy and consistent implementation -- fine-grained control merely creates more possible ways to bypass things.

    What is broken is that most applications utterly fail to respect it, hence the implementation in many organisations winds up screwed.

    Applications are not supposed to respect it -- system has to force it upon applications. The fact that plenty of Windows applications still can't be brought to a condition when they don't break horribly under any sane security model, is another problem, and that problem that is specific to Windows.

    --
    Contrary to the popular belief, there indeed is no God.
  20. Re:It's the OS, stupid by Alex+Belits · · Score: 2, Informative

    Interesting question. Is there anything really impending Linux to automatically run executables downloaded from the Internet? I bet not.

    It's executable permission bit. If a file is downloaded by anything other than package manager, it remains non-executable until the user explicitly sets it on the command line or in a scary-looking permission setting screen. Since all applications are installed in a package manager, the only time when user will want to touch executable bit by himself is when he is really sure he has to run a file.

    So, on one hand we have that "the year of Linux on desktops" haven't reached yet because "cumbersome" limitations that make it "dificult for average joe" to use it, so "Linux isn't attacked by so many threats because it's more profitable to attack the wider Windows base"; in the other hand, as per current "analysis" from "experts" in order for Linux to take the desktop it should implement the same Windows easiness that allows for both "average joe" and the worms to take advantage of the platform.

    Oh, I see. You are either a Microsoft astroturfer or an idiot, so you just copy-paste some of your "discussion examples" to make it look like you have something relevant to say.

    --
    Contrary to the popular belief, there indeed is no God.