Skip Links

Network World

Brad Reese

Network behavior analysis and DoS attacks

By Brad Reese on Thu, 09/11/08 - 9:45pm.
Newsletter Signup

Welcome to the final blog in a three-part series on network behavior analysis through the eyes of Plixer International.

You may also wish to review the first installment:

Intrusion detection systems vs. network behavior analysis: Which do you need?

As well as the second installment:

NetFlow analytics vs. network behavior analysis

Michael PattersonFor this third and final blog, Plixer CEO Michael Patterson answers nine questions regarding attack strategies that crackers are using to harm networks and whether network behavior analysis can be useful in combating these attacks.

1. What exactly is a DoS Attack?

A denial-of-service attack (DoS attack) is an attempt to make a computer resource unavailable to its intended users.

Although the means to, motives for and targets of a DoS attack may vary, it generally comprises the concerted, malevolent efforts of a person or persons to prevent an Internet site or service from functioning efficiently or at all, temporarily or indefinitely. Collections of compromised systems used in some types of DDoS attacks are known as botnets.

Stachledraht DDos Attack

----------------------------------------

2. How would you describe a Botnet?

A Botnet is a collection of software robots, or bots, which run autonomously and automatically. They run on groups of "zombie" computers controlled remotely by crackers. This can also refer to the network of computers using distributed computing software.

----------------------------------------

3. Can you explain a Peer-to-peer DDoS?

Yes, attackers have found a way to exploit a number of bugs in peer-to-peer servers to initiate DDoS attacks. The most aggressive of these peer-to-peer-DDoS attacks exploits DC++. Peer-to-peer attacks are different from regular botnet-based attacks. With peer-to-peer there is no botnet and the attacker doesn't have to communicate with the clients it subverts. Instead, the attacker acts as a 'puppet master,' instructing clients of large peer-to-peer file sharing hubs to disconnect from their peer-to-peer network and to connect to the victim’s website instead. As a result, several thousand computers may aggressively try to connect to a target website. While a typical web server can handle a few hundred connections/sec before performance begins to degrade, most web servers fail almost instantly under five or six thousand connections/sec.

----------------------------------------

4. Can NetFlow be used to identify worm propagations?

Well, not usually. Traditional DDoS worm propagations can easily be identified using signatures. Using these, an application compares bits to the data field of each packet. In most NetFlow collection environments today, the data field is not available.

Cisco IOS NetFlow Infrastructure

Cisco IOS NetFlow Infrastructure

Flexible NetFlow isn’t widely available, but it does allow a trigger to initiate an immediate cache which will actually capture the first several hundred bytes of each packet. The capture could then be fed to a packet analyzer or Intrusion Detection System (IDS). However, there is a problem with this immediate cache idea: there often isn’t enough information available in NetFlow v5 or v9 to detect many worm propagations, so vendors will have to be creative on how and when to trigger an immediate cache with Flexible NetFlow. This is still up in the air.

Cisco IOS Flexible NetFlow Flow Monitors and Collection of the Export Data

Cisco IOS Flexible NetFlow Flow Monitors and Collection of the Export Data

----------------------------------------

5. What about sFlow?

This sampling technology is usually setup to capture 1 in every 100 or 1000 packets per interface of a switch. Finer samples can be configured (e.g. every other packet with Foundry), however, the packet volume created can quickly overwhelm most collectors. Due to its sampling nature, some feel that sFlow is inherently not as useful as NetFlow for many IP based Network Behavior Analysis algorithms. One might suggest connecting sFlow switches to a NetFlow probe to extend the investment.

----------------------------------------

6. What can be done with today’s NetFlow technology to find out which end systems are slowly spreading the infection?

In short, Version 5, the most popular version of NetFlow provides TCP flags which are useful to identify a DDoS attack once it is underway but, catching the actual propagation of the bot can be very difficult with NetFlow without some type of Flow Analytics.

----------------------------------------

7. What are TCP Flags?

This is kind of a big question and I suggest that you read Yiming Gong’s article.

To summarize, a three-way handshake that starts a normal TCP connection involves:

First a client will send a SYN packet to the destination host
Then destination host sends back a SYN/ACK packet
The client acknowledges the destination host's acknowledgment
A connection is established

The figure below illustrates this handshake:

Illustrates This Handshake

For example, let's say a SYN packet arrives at the destination port of a host. If the port is open, the SYN request sent from the worm will be responded to. This is regardless of whether or not the service running on that port is vulnerable. Then the standard TCP three-way handshake will be completed and subsequent packets carrying other TCP flags such as PUSH and ACK will be followed.

One way a DDoS attack is identified using NetFlow v5 is by:

Searching through the collected flow records and filtering out all flow records that have only the SYN bit set
Extracting the source IP addresses of every flow record
Counting the occurrence of every unique IP
Then sorting the records by the number of counts for each one

Following the above process, a suitable list of potentials is generated. A threshold can be set depending on the network size and traffic volume. Hosts whose counters are above the threshold can be considered potentially malicious. Again, this is not the only way to identify a DDoS attack.

----------------------------------------

8. What is Plixer doing to help companies recognize bad behaviors?

We released a Flow Analytics tool which watches flow patterns. Patterns are accumulated and anomalies trigger an indicator called the Concern Index (CI). As more algorithms trigger on the same host, the Concern Index value increases.

Flow Analytics Screenshot

Flow Analytics Screenshot

Hosts with a higher concern index or count can trigger alarms and ultimately require attention from the network administrator.

----------------------------------------

9. Is it true that nothing can stop the Storm Worm?

From what I have read, nothing today can detect the proliferation of the Storm Worm. Storm's delivery mechanism changes regularly. It started out as PDF spam, then its programmers started using e-cards and YouTube invites -- anything to entice users to click on a phony link. Storm also started posting blog-comment spam, again trying to trick viewers into clicking infected links. While these sorts of things are pretty standard worm tactics, it does highlight how Storm is constantly shifting at all levels.

Storm maintains two types of infected hosts "command and control" and "workers". They all communicate using a P2P (Peer to Peer) network like BitTorrent increasing the difficulty to track and shut down. The C2 (command and control) hosts just sit and wait and they keep track of 20-30 worker hosts each. These infected hosts generate almost no traffic and use a "fast-flux" DNS system to keep security people guessing. Storm also rewrites itself to keep Antivirus software from identifying it. Nobody has figured out how to consistently identify this virus. Storm runs as a root kit on your host so you can’t easily see it and uses almost no CPU or memory. Scary!

What’s worse, if you sense something is wrong and perform a security scan on a suspect host, it could notify the botnet and DDOS your network! There are potentially 20 million hosts infected, waiting for instructions to attack and nobody knows how to stop it. The only way to vaguely identify the traffic is to look deep inside the P2P packet. If that is encrypted, suspicions rise.


How do you believe network behavior analysis can be used more effectively in combating network attacks?

Contact Brad Reese
http://www.BradReese.Com

Search 31,427 Cisco Job Openings

Post Cisco Network Engineer Jobs

View 1,595 items of Refurbished Cisco

Examine CCIE Resumes

Consider 697 Cisco Certified
Network Engineer Resumes

  
Brad's Favorite Top 5 Picks
# 1. Cisco Tools
# 2. Cisco vs. Competitor Lab Tests
# 3. Cisco Engineering Support Directory
# 4. Cisco Repair and Hardware Troubleshooting
# 5. Cisco Product Quick Reference Guides, CPQRGs
Brad Reese on Cisco Story Archives Brad Reese on Cisco Story Archives

Cisco Jobs

Cisco Resumes

2008 Cisco Salary Rates

Nine Year Worldwide CCIE Count

  

more info

0

Hi Michael,

Where can I learn more about this stuff beyond wikipedia? Can you recommend a book?

Thanks

Good stuff - a few comments.

0

It's actually possible to infer a great deal of behavior from the layer-4 NetFlow telemetry, including network worm propagation, and even things like email-borne virus/malware propagation, in many cases (network-based worms are generally passe, these days, as layer-7 mechanisms have become the propagation vector of choice).

In terms of identifying botted hosts, NetFlow analysis can in many cases be used to do this via looking at abnormal behavior, and even spotting C&C traffic.

I've a presentation on network telmetry, including NetFlow-based anomaly-detection, available here:

http://homepage.mac.com/roland.dobbins/FileSharing5.html

There's a pretty good treatment in this Cisco Press book, as well (available in hardcopy, Amazon Kindle, and Adobe Reader formats):

http://www.ciscopress.com/bookstore/product.asp?isbn=1587053365

more information

0

Hello,

A good book on NBA might be out there but, I'm not aware of it. Most of my education has come from dozens of great articles on the internet and of course wikipedia. Some of my replies were taken in part from articles like these:

http://securityreason.com/about_securityalert/
http://www.port80software.com/products/serverdefender/iiswebapplicationsfirewalls
http://www.wired.com/politics/security/commentary/securitymatters/2007/10/securitymatters_1004
http://www.guardian.co.uk/business/2007/oct/21/1

If you want a demonstration of how our software can detect or even stop some of these threats, contact us at:
http://www.plixer.com/support/eval_support_request.php

Thank You,

Mike at plixer.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use BBCode tags in the text.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <p> <strong> <i> <br /> <br> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Welcome, visitor. Register Log in
Advertisement:
About Brad Reese on Cisco

Brad Reese cofounded BradReese.Com Cisco Refurbished which offers one year warranties on Cisco Refurbished and Cisco Repair.

Contact Brad Reese

Archives
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
Categories
A government official in possession of a large corporate stockholding while that corporation is subject to administrative rulings by that same government official
After contacting Cisco
Agito adds that its enterprise fixed mobile convergence (eFMC) platform enables low-cost in-building voice coverage
Agito introduced Agito for BlackBerry
Agito's BlackBerry smart phone functionality for Cisco VoIP
Agito's RIM BlackBerry support announcement
Americas Vice President and General Manager of HP ProCurve - Karl Soderlund
An assortment of communications companies
Andreessen plans to watch what companies Cisco acquires
Andreessen sees as the next market transition
As a matter of Cisco policy
Back in April the CCIE Security track changed
Black Hat attack on Cisco's network admission control (NAC)
Boas also led an educational session at the Gartner Security Summit
Boas shares his insight on the most prevalent threats to the enterprise network
Bragging about Cisco's ability to catch market transitions
Brings enterprise VoIP over WiFi for dual-mode BlackBerry smartphones
But neither felt it as bad as Cisco did
Can Cisco VARs profitably match HP ProCurve pricing on a deal-by-deal basis?
Careers
Chairman and CEO of Cisco China - Jim Sherriff
Cisco
Cisco CEO John Chambers has never been shy
Cisco Chief Technology Officer Padmasree Warrior
Cisco NAC design flaws that the folks at Black Hat so alarmingly described
Cisco VARs no longer have enough margin left to profitably match HP ProCurve pricing
Cisco customer a discount
Cisco has held this share position since CY02
Cisco has produced a new CCIE count
Cisco is celebrating its 25th anniversary this year
Cisco is the revenue-leading vendor overall with 38% of total network security appliances and software in 1Q09 (down 2.8 points from 4Q08)
Cisco might do very well with the Flip
Cisco offer price-matching discounts to existing customers in order to equal ProCurve prices
Cisco only counts your CCIE number once
Cisco released its new worldwide CCIE count
Cisco's executive biographies web page
Cisco's loss of market share has in itself become the networking industry's newest market transition
Compromised the Cisco agent installed on the end system
Confirmation testimony before the U.S. Senate noteworthy
Customer-proven best practices of network access control (NAC)
Data Center
Didn’t RIM already support voice over WiFi?
Doesn’t RIM’s Ascendent acquisition give them this?
Douglas Gourlay - Vice President of Cisco Data Center Solutions
Douglas Gourlay is as sharp as a tack and one of the most impressive people I've ever had the honor of collaborating with on Cisco stories
Dual CCIE #18532 Routing and Switching/Security - George Morton
Dual-mode BlackBerry smartphones
Enables BlackBerry to be integrated into corporate PBXs and Unified Communications systems
Enterasys NAC is agent-less assessment based on a network scan
Enterasys security expert Dennis Boas
Enterasys uses multiple criteria beyond end system health assessment to assign and limit access granted to an end system
Enterprise concerns about the financial and management aspects of NAC
Enterprises that have standardized on the BlackBerry platform
Exactly what's causing everybody to quack?
Famous networking industry journalist
Flexible options with Enterasys NAC
Flip video below of Chambers' doing his quacks
Flip video of Cisco CEO John Chambers performing his duck quacks
Further details on why Cisco has lost market share in network security
Gourlay was featured just 7 days earlier in the Cisco Data Center Networks blog story
Gourlay's office is located at Cisco's nearby headquarters in San Jose
HP ProCurve continues to win business and gain market share
HP ProCurve is calling the shots now
HP ProCurve is whacking Cisco in its most vulnerable spot
HP ProCurve pricing on a deal-by-deal
HP ProCurve will take 20% off its list price
Half the smartphones in use in the US today are BlackBerry devices
Hogtied by Cisco's new committee culture
How Cisco was working overtime AGAINST the Buy America provisions of the $7.2B broadband stimulus fund
I can still see those wishing to cash out selling to Cisco
I have worked for a handful of telecommunications companies of varying sizes
I voted for President Obama seeking change
If you trade-in your Cisco equipment
Independent companies operating in Silicon Valley able to out innovate Cisco
Interesting CCIE news from around the world
Is Cisco likely to innovate? No
Its been proven that a government official can be bribed with free dinners
Jeff Wilson - network security analyst at Infonetics Research
Joel Bion - Senior Vice President of Cisco's Product Resiliency Research
Juniper and Check Point are second and third with 10.4% and 9.5% respectively
LANs / WANs
Larry Strickling is confirmed as the new Administrator of the National Telecommunications and Information Administration (NTIA)
Last month Cisco missed the multiple CCIE numbers
Made by Strickling during his March 19
Manny Rivelo - Senior Vice President of Cisco's Development Organization
May 2009 vs. June 2009 Worldwide CCIE Count Comparison
Mobile features integrated into the BlackBerry
My previous government service at the FCC provide me a unique background for the position of Assistant Secretary
My source suggested Gourlay had left Cisco
Network security vendor Enterasys
Not only among the Cisco workforce
Not too many senior executives are around from Cisco's early days
Now it appears the Internet is quacking too
Omitted the years of Cisco service for both John Morgridge and Richard Justice because they are no longer full-time Cisco executives
Only 66% of all applicants who passed were for the CCIE Router and Switch track
Only one CCIE is a member of Cisco's 59 strong senior executive team
Out innovate Cisco simply because they have no desire to be acquired
Pacific Rim CCIE numbers didn't change over the last 39 days
Pejman Roshan - Chief Marketing Officer of enterprise fixed mobile convergence (eFMC) vendor Agito Networks
Ponemon Institute reported
Post a comment to Cisco's blog that contains a link to your duck quacking video
ProCurve wants to make all Cisco customers aware of this offer
ProCurve’s momentum and market share gains
R & S + Security this year as the most popular dual CCIE track
R & S + Service Provider was 49% of the successful attempts for dual CCIE
RIM offers only data services over WiFi on their dual-mode smartphones
Responsible for Cisco's IOS Software
SMB
Security
Security mechanisms are used to validate the integrity and authenticity of the Enterasys agent for all server/agent communications
Security sales will come back for Cisco
Showed that Stickling owned a large Cisco stock position
So we had 251 new CCIEs
Subject of Cisco's senior executive team came up
The CEO of Cisco quacked
The Cisco workforce quacked
The IOS 12.4 track with ISR routers is slowing down the Security CCIE track
The National Telecommunications and Information Administration (NTIA) granted Cisco its coveted Buy American Exception
The average tenure would be of the 61 executives listed on Cisco's Mount Rushmore
The best duck call will win a new Flip Mino HD from John Chambers
The change in the CCIE Security track has had a major impact on new security CCIEs
Tremendous benefits HP ProCurve provides by offering the best value
VoIP / Convergence
We build our culture at Cisco around catching market transitions
We can confirm that Doug Gourlay is no longer with Cisco and we wish him well in his future endeavors
We're also now starting to see the CCIE Wireless track
We've experienced a new low for CCIE Security track
What exactly has Agito Networks announced this week?
What's your take on the implications of the new worldwide Cisco CCIE count?
What's your take on why Douglas Gourlay left Cisco and where do you think he will land?
Which had Gourlay inviting guests to Cisco Live in the following video
Which video quacks you up the most?
While Cisco salivates over 30 to 50 new market adjacencies
Why does Cisco lack pricing flexibility?
Why is cellular-only PBX and UC integration incomplete?
Why the Enterasys NAC solution is doing so well
Why the Enterasys NAC solution is in such high demand
Wireless / Mobile
Without ducking my question
Would you back the technology vision of Marc Andreessen
You too will understand why duck quacking has become such an overnight sensation
On The Web
Twitter