Marcus Ranum on 6 Dumbest ideas in Computer Security
Ok I know it’s an old article that originally written for certifiedsecuritypro.com but the content of that article is relevant. To be honest I have a good laugh while reading the article tho. How true it is.
First of all yeah, the idea of “Default Permit” is really dumb. The favourite condition is when deciding the firewall policy or rules. I always asked by the question “For firewall rules or policy, should we allow first then deny or the other way around?”
I think MJR (Marcus J. Ranum) explanation should answer this question (and I intend to use it in my training class soon). His explanation on this issue,
“Back in the very early days of computer security, network managers would set up an internet connection and decide to secure it by turning off incoming telnet, incoming rlogin, and incoming FTP. Everything else was allowed through, hence the name “Default Permit.” This put the security practitioner in an endless arms-race with the hackers. Suppose a new vulnerability is found in a service that is not blocked – now the administrators need to decide whether to deny it or not, hopefully, before they got hacked”
Just like when your building has 65535 doors, how do you secure it? By telling the visitor that they can access any doors besides few or by telling them that they can NOT access the building unless using few designated doors?
Then 2ndly about Enumerating the Badness. It is about the time wasted on identifying, make a lists on the attack patterns/traffics or attack vectors instead of identifying or tracking the applications, normal traffics or pattern that running in the network or keeping tracks on what shud be running in our systems. In other words, just allow the good traffics or application and deny unwanted or bad applications or traffics. “Default Deny” should be implemented instead of “Default Permit”
To quote MJR again;
“Why is “Enumerating Badness” a dumb idea? It’s a dumb idea because sometime around 1992 the amount of Badness in the Internet began to vastly outweigh the amount of Goodness. For every harmless, legitimate, application, there are dozens or hundreds of pieces of malware, worm tests, exploits, or viral code. Examine a typical antivirus package and you’ll see it knows 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, 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”
And the 3rd one is about the needs of having secure application design or framework instead of implement first and manage the bugs/flaws later
Well I think you should read it yourself.
