Archive

Posts Tagged ‘exploit’

Small Business Attack – Metasploit Defenses

October 1st, 2009 Josh No comments

The easiest way to protect against tools like Metasploit is to make sure that there are no exploitable services running. Of course, this isn't always as easy as it sounds. Services are constantly being explored and new exploits are often found. If you're lucky, the vendor will release a patch. If you're even luckier, the patch won't break anything essential.

However, odds are that you're not that lucky.

Some systems stop being updated after a period of time (Windows NT and 2000) and some cannot be updated without causing a problem for a linked system (manufacturing systems are often prevented from being updated). It's also quite likely that a so-called "zero day" exploit will be used against you. Zero day exploits are ones that are used the day that they are announced. Of course, they tend to be announced after the exploit had been found and used... so the "zero" could well be a "negative thirty" (or 60 or 120).

So, if you can't make sure that your running services aren't inherently exploitable, you're pretty much left to two choices. You can either turn the services off (a service that isn't running can't be exploited) or you can try to wrap the service in a system that makes it less exploitable.

I recommend that you do both. If you don't need a service, disable it. If you do need it, consider wrapping technologies like AppArmor, Suhosin, OSSEC, Core Force and Mod Security or using a more generic proxy solution.

Tags: ,

Related posts

Categories: Business Security Tags: ,

Small Business Attack – Metasploit

September 30th, 2009 Josh No comments

Though there is a saying in the Security profession, it's not about the tools some tools are pretty cool. In general business, common tools are things like Microsoft Word and Excel (or their open source equivalents in OpenOffice). On the defense side, we use antimalware suites like Sophos. Generally speaking, attack tools aren't as polished and are very narrowly focused. However, that's starting to change.

To attack tool I want to discuss today is Metasploit. This tool has one primary purpose -- to break through your defenses. It's built using a framework methodology. You can think of it as having "plugins" like Firefox. In Firefox, plugins can extend the functionality of the browser by Blocking Ads or Blocking Scripts. In Metasploit, the plugins are a bit more dangerous and add functionality like exploiting a service and escalating users.

Basically, the tool works as follows:

1. Pick your target
2. Break in

That's pretty much it. If there is a flaw in the system, an attacker can probably get in. And since this tool is so easy to use, an attacker doesn't have to be particularly skilled to take over a system. They just point, click, and get your data.

Tags: ,

Related posts

Categories: Business Security Tags: ,

Small Business Attack – Vulnerabilities and Exploits

February 18th, 2009 Josh No comments

So, by now, I am assuming that everyone around knows the importance of patching their systems when patches comes out.  However, the reasons behind the practice aren't often clear.  It gets a bit complex, because a patch can be intended to solve a problem or add a feature.  It gets more complex because there are different sorts of problems, only some of which are security related.  For the purpose of this post, a "patch" is a small release that is intended to correct a security problem in a piece of software.

So, when these come out, there is generally a known problem in the software.  Since it can allow an attacker to do something bad (to the system, the application or the data, generally), it's known as a "vulnerability".  You'll hear those of us in the industry natter on far longer than is polite about the different ways to classify these vulnerabilities and which ones are "real" and which ones aren't.

Really, we're part of the problem.  See, within the security industry, there is a small and vocal minority that think that patching is stupid, and that systems should be designed securely to begin with.  Secure systems should only need a patch to add new functionality, and never need one to correct a security problem.  They say that people shouldn't patch at all, and instead should hold software vendors accountable so that their software is designed securely in the first place.  If we don't, we'll never get secure software.

These people are absolutely correct, and utterly wrong at the same time.

Developing secure software is very hard.  It requires that all developers understand security and have enough experience to make the proper design decisions, that project managers will support them when correcting problems causes a release date to slip.  It means lots and lots of testing.  It means better tools and much longer release cycles.

In the end, it means very slow and very expensive software.  The market doesn't want that.  Thus, we have patches.

There is a large and mostly silent majority in the security industry that simply patch every time they become available.  They wait for the patches to be released, put them into their test systems and start running tests against them.  The often deploy the patches to production on the weekend following the update.  Thus, patches are often applied five to twelve days after they are released and cause a minimum of interruption to operations.

These people are absolutely correct, and utterly wrong at the same time.

Patches fix problems, and as we all know, problems come in different flavours and severities.  If you treat every problem the same way, you are giving some problems too much attention and, worse, some far too little.  This gets us to exploits.

The attackers have tools too.  There are tools that scan your systems looking for problems.  There are tools that automatically try to take over your system when problems are found.  There are tools that cover their traces.  These tools are updated too... with patches.

Specifically, when a patch comes out that addresses a security problem, attackers start looking at what the problem fixes, and add functionality to their tools that detect the problem and exploit it with ease.  The more urgent the patch (more severe the problem), the more quickly they work to update their tools.

This puts you, the business owner in an interesting position:

  • You can't not patch, as that would leave your business vulnerable.
  • You can't wait too long to patch, as the attackers would slip in, take over, and cover their tracks.
  • You can't patch too quickly, as that could cause problems in operations.

What are you going to do about it?

Tags: ,

Related posts