Showing posts with label botnets. Show all posts
Showing posts with label botnets. Show all posts

Friday, March 7, 2008

Combating bots: Anti-Botnet software versus IDS, flows, and other methods

Ryan Naraine's Eweek article titled "Growth of Anti-Botnet Startups Points to AV Deficiencies" got me thinking about how I and my peers handle botnets. Naraine cites Andrew Jaquith from the Yankee Group who said "

Traditional AV

May detect some bots, or components of botnets, but central reporting is necessary to get a big picture view. Some AV also includes the ability to block some outbound traffic such as outbound IRC traffic. This can help stop systems from joining the botnet - you may have a compromised machine that just won't phone home.

Traditional AV is a great first step if you are getting useful data from it. If it only protects endpoints and doesn't contribute to your overall awareness, you're missing out on functionality, and you'll miss out on chances to see when something new hits you.

IDS/IPS

Installing an IDS on your outbound link can be a great way to detect botnet traffic. Knowing what you expect to send out, and watching for traffic that doesn't match - IRC traffic from a server, or http traffic to many hosts in quick succession, or any of a host of other things that you're used to seeing coming in as attacks can be a good indicator of a compromised host. As botnets move to encrypted HTTP communication, you may not be able to see what the traffic is - but the attacks and other actions are likely to still trip your sensors.

Flows

Flows are a great tool when combating botnets. A simple filter can help catch new outbound flows, and watching for flow patterns associated with DDoS attacks and other outbound traffic can help you pin bots down quickly.

Flows are also useful when looking for other compromised hosts. Often identifying a single host and matching what it does to other can quickly show you all the hosts in your network that have been compromised with the same package.

External Reporting

Reports from third parties and organizations such as ISACs can be invaluable. While it is poor practice to rely on third party notices as your sole source of information, ignoring reports is not only bad net citizen ship, it can be outright dangerous. Check to see if your organization has access to an ISAC or other peer group that might feed useful data to you from an external perspective.

Future Issues and Direction

Much as we have seen in the market as the major antivirus companies have added anti-spyware capabilities, we will likely see the major vendors acquire anti-botnet technologies to add to their stable. For now, those products are likely to be stand alone, but progress should lead to the capabilities being added to edge devices and security appliances. We may even see anti-botnet capabilities added to enterprise class desktop security suites - monitoring of outbound traffic via host IDS/IPS and firewall capabilities pushes extrusion detection to the endpoint, and will provide a more granular security environment.

Will we see the smaller independent vendors with good products acquired? Will they lose their edge if they are? Time will tell, but my feeling is that botnet detection technology growth will continue to mirror the development cycle of other security products in the market.

Monday, March 19, 2007

Common file overflows and social networking exploits

If you haven't installed the OS X 10.4.9 patch yet, you should - don't forget to back up first! Exploits are already being reported in the wild. While a number of the vulnerabilities fixed are exploitable in interesting ways, the one that really caught my eye is (from the SANS @RISK update):
"A specially-crafted GIF, PICT or RAW image file could exploit an integer overflow in the ImageIO subsystem or a heap overflow in the QuickDraw manager subsystem. Successfully exploiting these overflows could allow an attacker to execute arbitrary code with the privileges of the current user. Note that this flaw may affect images embedded in web pages." (link)
Any time you have a common image format bug that can result in a arbitrary code execution, you have a scary possible exploit. How long will it be until a hole like this is found in IE or Firefox, an exploit is crafted, and someone pays a Digg bot to get it dugg enough to infect thousands of machines?

Sunday, February 25, 2007

BotNet Operators Getting More Savvy?

I ran across a short piece from DarkReading discussing trends seen by the botnet trackers at Arbor Networks. It seems that botnet operators are starting to see the writing on the wall and are moving to greener pastures than straight laced IRC. Encrypted IRC, HTTP, P2P are all up for grabs. I also found the anti-honeypot tactics interesting. This more than anything shows why investigators shouldn't use the "let's poke it with a stick and see what it does" method on any old IP found while investigating a compromised system.

Still, I don't think it's all doom and gloom. Even with superBot 6000 around the corner, there's still plenty of folks running plain Jane IRC bots out there and even more Joe User's ready to click on that link and serve up a fresh new machine for the zombie ranks. Overall these new bots are just another move in the security chess match.

I'd say the article is a good warning for Network Security folks to keep changes in mind as they build future defenses and countermeasures. Building a security mechanism based only on current incarnations of risks is shortsighted and foolhardy. Technology changes, deal with it.