<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>Advanced NetFlow Traffic Analysis - ipfix Archives</title>
    <link rel="alternate" type="text/html" href="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/" />
    <link rel="self" type="application/atom+xml" href="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/ipfix/atom.xml" />
    <id>tag:blog.tmcnet.com,2012-01-03:/advanced-netflow-traffic-analysis//164</id>
    <updated>2013-03-13T09:56:01Z</updated>
    

<entry>
    <title>Building a NetFlow Cache: Exporting IPFIX</title>
    <link rel="alternate" type="text/html" href="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/2013/03/building-a-netflow-cache-exporting-ipfix.html" />
    <id>tag:blog.tmcnet.com,2013:/advanced-netflow-traffic-analysis//164.50824</id>

    <published>2013-03-12T20:28:49Z</published>
    <updated>2013-03-13T09:56:01Z</updated>

    <summary><![CDATA[Most engineers implementing NetFlow or IPFIX know how to get started.&nbsp; Where they sometimes stumble is in the area of a properly structured export with well thought out relationships between the templates. Today I want to provide an good example.This&nbsp;...]]></summary>
    <author>
        <name>Michael Patterson</name>
        <uri>http://blog.tmcnet.com/advanced-netflow-traffic-analysis/</uri>
    </author>
    
        <category term="Network traffic monitoring " scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="ipfix" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="bookonnetflowandipfix" label="book on NetFlow and IPFIX" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="buildinganetflowcache" label="Building a NetFlow Cache" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="exportingipfix" label="Exporting IPFIX" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="netflowandipfix" label="NetFlow and IPFIX" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="networktrafficmonitoring" label="Network Traffic Monitoring" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/">
        <![CDATA[Most engineers implementing NetFlow or IPFIX know how to get started.&nbsp; Where they sometimes stumble is in the area of a properly structured export with well thought out relationships between the templates. Today I want to provide an good example.<br /><br />This&nbsp; post on building a NetFlow Cache and exporting IPFIX is pretty deep. For this reason, my prior post on <a title="NetFlow and IPFIX" href="http://www.plixer.com/blog/cisco-netflow/exporting-netflow-or-ipfix/">Exporting NetFlow or IPFIX</a>&nbsp;&nbsp; really should be reviewed first.&nbsp; A flow cache entry in a router or switch is built using the first packet between two hosts and the cache table is maintained for all active connections (i.e. flows).&nbsp;&nbsp; When a packet comes into the device, its tuple is compared to existing entries in the cache table.&nbsp; A match of the key fields triggers a flow entry update where packet, byte counts and perhaps other fields are incremented and updated. Packets that don&rsquo;t match a flow entry are compared to policy (e.g. firewall or ACL rules) and are ultimately dropped or used to create new cache entries.&nbsp; Flow entries are exported to a flow collector periodically based on timers (I.e. Active Timeout) or flow behaviors. <br /><!-- pagebreak -->When talking with a vendor about building out a flow cache, it is very important that we first establish what we want to export.&nbsp; For most vendor implementations, this decision is easy and they copy NetFlow v5. Some software developers however, want to take their flow export to another level and provide the very best in Network Traffic Monitoring metrics. To do this, a list of all the details that need to be exported should be created. <br />
<ul>
<li>All of the data available in NetFlow v5</li>
<li>VoIP details on caller ID, Codec, Jitter and packet loss</li>
<li>Cloud service details on round trip time, URLs and deep packet inspection details that identify tricky applications like Skype, Webex and BitTorrent.</li>
<li>Interface names and speeds to avoid the reporting tools dependency on SNMP</li>
<li>Syslog and trap message details</li>
</ul>
The next step is to layout the IPFIX elements needed for each template.&nbsp; We have to use IPFIX because in all likelihood your company name isn&rsquo;t Cisco and even if it is, the list includes elements that will end up being variable length fields such as URL and syslog details.&nbsp; These are, for all practical reasons, difficult to export using NetFlow v9.&nbsp; Let&rsquo;s get started on IPFIX template creation and take the list above one item at a time.&nbsp; Each element name is preceded by an IANA or a dot separated vendor specific IE.<br /><br />Be sure to take notice that <a title="IPFIX Standard on Elements" href="http://www.iana.org/assignments/ipfix/ipfix.xml">IANA defined IEs</a> are always the preference over vendor specific IEs.&nbsp; The vendor specific IEs are followed by the vendor Private Enterprise Number (PEN) (e.g. .32473). <br />
<ul>
<li>A) Template: All of the data available in NetFlow v5/v9. This template is easy to define because all of the information necessary has been defined by IANA:</li>
</ul>
<ol>
<ul>
<li>1 octetDeltaCount</li>
<li>2 packetDeltaCount</li>
<li>4 protocolIdentifier</li>
<li>5 ipClassOfService</li>
<li>6 tcpControlBits</li>
<ul>
<li>Sent as 0 for non TCP traffic</li>
</ul>
<li>7 sourceTransportPort</li>
<li>8 sourceIPv4Address</li>
<li>9 sourceIPv4PrefixLength</li>
<li>10 ingressInterface</li>
<li>11 destinationTransportPort</li>
<li>12 destinationIPv4Address</li>
<li>13 destinationIPv4PrefixLength</li>
<li>14 egressInterface</li>
<li>15 ipNextHopIPv4Address</li>
<li>16 bgpSourceAsNumber</li>
<li>17 bgpDestinationAsNumber</li>
<li>21 flowEndSysUpTime</li>
<li>22 flowStartSysUpTime</li>
<li>95 Application ID</li>
<ul>
<li>This element causes another template below</li>
</ul>
<li>148 Flow ID</li>
<ul>
<li>This element is used to link to other templates</li>
</ul>
</ul>
</ol>The above template is used for all protocols not sent by a more specific template.&nbsp; See below.<br />
<ul>
<li>B) Template: VoIP details on caller ID, Codec, Jitter and packet loss.&nbsp; These elements are exported using a new template that contains meta data related to the flows exported above for the UDP real-time protocol (RTP).&nbsp; It contains the following IDs:</li>
</ul>
<ol>
<ul>
<li>148 Flow ID</li>
<ul>
<li>Links to the flow in A)</li>
</ul>
<li>400.32473 Caller ID</li>
<li>401.32473 Codec</li>
<li>402.32473 Jitter</li>
<li>403.32473 Packet Loss</li>
</ul>
</ol>
<ul>
<li>C) Template: Cloud service details on round trip time, URLs and deep packet inspection details that identify tricky applications like Skype and BitTorrent.&nbsp; These elements are exported using a meta data template similar to the one created in b).&nbsp; In this case however, the template is only used for TCP traffic and includes the following IDs:</li>
</ul>
<ol>
<ul>
<li>148 Flow ID</li>
<ul>
<li>Links to the flow in a)</li>
</ul>
<li>501.32473 Round Trip Time</li>
<li>503.32473 URL</li>
</ul>
</ol>
<ul>
<li>D) Template: Interface names and speeds to avoid the reporting tools dependency on SNMP:<br />
<ul>
<li>10 ingressInterface</li>
<li>82 interfaceName</li>
<li>83 interfaceDescription</li>
<li>82.32473 ifSpeed</li>
</ul>
</li>
</ul>
IMPORTANT: Always check with IANA for the IE before creating one with the company PEN! This helps guarantee wider acceptance from collectors built by different vendors and improves cross vendor reporting.
<ul>
<li>E) Template: Syslog and trap message details:<br />
<ul>
<li>322 observationTimeSeconds</li>
<li>700.32473 Facility</li>
<li>701.32473 Severity</li>
<li>8 sourceIPv4Address</li>
<li>10 ingressInterface</li>
<li>12 destinationIPv4Address</li>
<li>704.32473 Message</li>
</ul>
</li>
</ul>
<ul>
<li>F) Template: Application Name - This template provides the correlation between the application ID and the actual name of the application.&nbsp; There is an effort underway to standardize this export which would allow consistency across vendors.</li>
</ul>
<ol>
<ul>
<li>95 Application ID</li>
<ul>
<li>Links to the flow in a)</li>
</ul>
<li>96 Application Name</li>
</ul>
</ol>With the templates above defined, it is time to find an IPFIX software solution that will export the data from your appliance. There are plenty of open source projects on the Internet that can do this.&nbsp; One favorite is IPFIXify which also takes care of the template refresh (e.g. every 1-5 minutes) that has to be reported periodically.&nbsp; IPFIXify also exports the RFC 5610 details.&nbsp; To learn more about the above process, consider purchasing my book on NetFlow and IPFIX titled <a title="book on NetFlow" href="http://www.plixer.com/Scrutinizer-Netflow-Sflow/book-on-netflow-and-ipfix.html">Unleashing the Power of NetFlow and IPFIX</a>.<br /><br />]]>
        
    </content>
</entry>

<entry>
    <title>Monitoring BYOD traffic with NetFlow</title>
    <link rel="alternate" type="text/html" href="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/2012/03/monitoring-byod-traffic-with-netflow.html" />
    <id>tag:blog.tmcnet.com,2012:/advanced-netflow-traffic-analysis//164.49075</id>

    <published>2012-03-24T09:48:50Z</published>
    <updated>2012-05-01T23:47:13Z</updated>

    <summary><![CDATA[Monitoring BYOD traffic is a growing concern amonst network administrators.&nbsp; Why?&nbsp; Gartner predicts that 645 million smartphones will be sold in 2012 &ndash; a 40% increase from this year.&nbsp; Cell phone reception is often weak on the interior of office...]]></summary>
    <author>
        <name>Michael Patterson</name>
        <uri>http://blog.tmcnet.com/advanced-netflow-traffic-analysis/</uri>
    </author>
    
        <category term="ipfix" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="network monitoring" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="flexiblenetflow" label="flexible netflow" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="monitoringbyodtraffic" label="monitoring byod traffic" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="monitoringmobilephonetraffic" label="monitoring mobile phone traffic" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="networkmonitor" label="network monitor" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="networkmonitoring" label="network monitoring" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/">
        <![CDATA[<strong>Monitoring BYOD traffic</strong> is a growing concern amonst network administrators.&nbsp; Why?&nbsp; <a title="BYOD Market Growth" href="http://www.channelinsider.com/c/a/Mobile-Devices/Mobile-Management-Styles-Driven-by-Consumerization-Gartner-634465/">Gartner predicts that 645 million smartphones</a> will be sold in 2012 &ndash; a 40% increase from this year.&nbsp; Cell phone reception is often weak on the interior of office buildings and smartphone owners will have their WiFi on.&nbsp; What's more is that many companies are allowing employees onto the corporate net with their personal smart phones in hopes of increased productivity. <br /><br /><!-- pagebreak --><br /><br />Employees using Corporate Bandwidth with Personal Phones<br />This big increase brings with it big concerns when it comes to network monitoring: <br /><br /><ol>
<li>How much bandwidth are all these additional devices collectively using and is it impacting business critical applications?</li>
<li>What applications and web sites are users hitting and what impact are these distractions having on productivity and how often?</li>
<li>What are the security implications introduced by allowing these devices onto the net? Many of these hand held devices do not have antivirus software.&nbsp; </li>
</ol><br />Given that the traffic from a cell phone browsing a web site looks nearly identical to that of a PC hitting the same site, how can a company determine the amount of Internet bandwidth utilized by the combined smart phone devices?&nbsp; To answer this, we need a new flow element. <br /><br />All hardware accessing the LAN utilizes a six byte hexadecimal MAC address.&nbsp; The first three bytes of this address is reserved to identify the vendor.&nbsp; For example, an iPhone may have an address of E4:CE:8F:C2:9D:AA.&nbsp; The first three bytes E4:CE:8F identifies the vendor &lsquo;Apple&rsquo; and it is likely that thousands of other iPhones start with the same 3 bytes.&nbsp; The remaining three bytes C2:9D:AA are unique to the individual iPhone.&nbsp; <br /><br /><br /><img class="mt-image-none" src="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/images/monitoringMobilePhoneTraffic.png" alt="monitoringMobilePhoneTraffic.png" width="639" height="479" /><br /><br />Nearly a dozen vendors (e.g. Cisco, Enterasys, Exinda, Juniper, nBox, Sonicwall) are now exporting MAC information in their flow exports.&nbsp; Learn how to export [MAC address with Flexible NetFlow] http://www.plixer.com/blog/netflow/getting-mac-addresses-from-netflow-v9/ .&nbsp; Setting up a simple network monitor will help you proactively keep track of this traffic. <br /><br />Below is an example of our partnership reporting with <a title="mIAM OS Report" href="http://www.enterasys.com/partners/plixer.aspx">Enterasys NetFlow </a>and <strong>mIAM</strong> exports:<br /><span style="color: #333333; font-family: Verdana,Arial,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: #f5f5f5; display: inline ! important; float: none;">&nbsp;</span><span style="color: #333333; font-family: Verdana,Arial,sans-serif; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 16px; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; background-color: #f5f5f5; display: inline ! important; float: none;"><br /><img src="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/images/mIAM-OSes_02.png" alt="mIAM-OSes_02.png" width="644" height="380" /><br /><br /></span><br />If your NetFlow or IPFIX hardware can export Username, you could click on a username and see the number of devices authenticated by the same user.&nbsp; <br /><br /><img class="mt-image-none" src="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/images/sonicwall-Ipfix-username.png" alt="sonicwall-Ipfix-username.png" width="647" height="479" /><br /><br />Monitoring BYOD traffic is a growing concern and the above report can be run against flow exports from the Cisco ASA, Palo Alto Networks and the SonicWALL (example above).&nbsp; Vendors are always looking for new and innovative ways to filter on this data. <br /><br /><br /><span style="color: #993366;">&nbsp;</span><span style="color: #993366;">&nbsp;</span>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;"><span style="color: #993366;">&nbsp;</span>
<p class="MsoNormal">[Gartner predicts that 645 million smartphones] http://www.channelinsider.com/c/a/Mobile-Devices/Mobile-Management-Styles-Driven-by-Consumerization-Gartner-634465/&nbsp; will be sold in 2012 &ndash; a 40% increase from this year.&nbsp;&nbsp; Cell phone reception is often weak on the interior of office buildings and smartphone owners will have their WiFi on.&nbsp; Many companies are allowing employees onto the corporate net with their personal smart phones in hopes of increased productivity. <br /><br />Employees using Corporate Bandwidth with Personal Phones<br />This big increase brings with it big concerns when it comes to network monitoring: <br />1.&nbsp;&nbsp; &nbsp;How much bandwidth are all these additional devices collectively using and is it impacting business critical applications?<br />2.&nbsp;&nbsp; &nbsp;What applications and web sites are users hitting and what impact are these distractions having on productivity and how often?<br />3.&nbsp;&nbsp; &nbsp;What are the security implications introduced by allowing these devices onto the net? Many of these hand held devices do not have antivirus software. &nbsp;<br />Given that the traffic from a cell phone browsing a web site looks nearly identical to that of a PC hitting the same site, how can a company determine the amount of Internet bandwidth utilized by the combined smart phone devices?&nbsp; To answer this, we need a new flow element. <br /><br />All hardware accessing the LAN utilizes a six byte hexadecimal MAC address.&nbsp; The first three bytes of this address is reserved to identify the vendor.&nbsp; For example, an iPhone may have an address of E4:CE:8F:C2:9D:AA.&nbsp; The first three bytes E4:CE:8F identifies the vendor &lsquo;Apple&rsquo; and it is likely that thousands of other iPhones start with the same 3 bytes.&nbsp; The remaining three bytes C2:9D:AA are unique to the individual iPhone.&nbsp; <br /><br />&lt;&lt;&lt; monitoringMobilePhoneTraffic.png &gt;&gt;&gt;<br /><br />Nearly a dozen vendors (e.g. Cisco, Enterasys, Exinda, Juniper, nBox, Sonicwall) are now exporting MAC information in their flow exports.&nbsp; Learn how to export [MAC address with Flexible NetFlow] http://www.plixer.com/blog/netflow/getting-mac-addresses-from-netflow-v9/ .&nbsp; Setting up a simple network monitor will help you proactively keep track of this traffic. <br /><br />If your NetFlow or IPFIX hardware can export Username, you could click on a username and see the number of devices authenticated by the same user.&nbsp; <br /><br />&lt;&lt;&lt; sonicwall-Ipfix-username.png &gt;&gt;&gt;<br /><br />Monitoring BYOD traffic is a growing concern and the above report can be run against flow exports from the Cisco ASA, Palo Alto Networks and the SonicWALL (example above).&nbsp; Vendors are always looking for new and innovative ways to filter on this data. <br /><br /><br />KEY WORDS:<br />network monitoring<br />flexible netflow<br />network monitor<br />monitoring mobile phone traffic<br />monitoring byod traffic <br /><br />&nbsp;big concerns when it comes to network monitoring:</p>
<p class="MsoListParagraphCxSpFirst" style="margin-bottom: 10.0pt; mso-add-space: auto; text-indent: -.25in; line-height: 115%; mso-list: l0 level1 lfo1;"><span style="mso-fareast-font-family: Arial;"><span style="mso-list: Ignore;">1.<span style="font: 7.0pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp; </span></span></span>How much bandwidth are all these additional devices collectively using and is it impacting business critical applications?</p>
<p class="MsoListParagraphCxSpMiddle" style="margin-bottom: 10.0pt; mso-add-space: auto; text-indent: -.25in; line-height: 115%; mso-list: l0 level1 lfo1;"><span style="mso-fareast-font-family: Arial;"><span style="mso-list: Ignore;">2.<span style="font: 7.0pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp; </span></span></span>What applications and web sites are users hitting and what impact are these distractions having on productivity and how often?</p>
<p class="MsoListParagraphCxSpLast" style="margin-bottom: 10.0pt; mso-add-space: auto; text-indent: -.25in; line-height: 115%; mso-list: l0 level1 lfo1;"><span style="mso-fareast-font-family: Arial;"><span style="mso-list: Ignore;">3.<span style="font: 7.0pt &quot;Times New Roman&quot;;">&nbsp;&nbsp;&nbsp; </span></span></span>What are the security implications introduced by allowing these devices onto the net? Many of these hand held devices do not have antivirus software.<span style="mso-spacerun: yes;">&nbsp; </span></p>
<p class="MsoPlainText" style="text-align: justify;"><span style="mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial;">Given that the traffic from a cell phone browsing a web site looks nearly identical to that of a PC hitting the same site, how can a company determine the amount of Internet bandwidth utilized by the combined smart phone devices?<span style="mso-spacerun: yes;">&nbsp; </span>To answer this, we need a new flow element. </span></p>
<p class="MsoPlainText" style="text-align: justify;"><span style="mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial;">&nbsp;</span></p>
<p class="MsoPlainText" style="text-align: justify;"><span style="mso-bidi-font-size: 11.0pt; mso-bidi-font-family: Arial;">All hardware accessing the LAN utilizes a six byte hexadecimal MAC address.<span style="mso-spacerun: yes;">&nbsp; </span>The first three bytes of this address is reserved to identify the vendor.<span style="mso-spacerun: yes;">&nbsp; </span>For example, an iPhone may have an address of E4:CE:8F:C2:9D:AA.<span style="mso-spacerun: yes;">&nbsp; </span>The first three bytes E4:CE:8F identifies the vendor &lsquo;Apple&rsquo; and it is likely that thousands of other iPhones start with the same 3 bytes.<span style="mso-spacerun: yes;">&nbsp; </span>The remaining three bytes C2:9D:AA are unique to the individual iPhone.<span style="mso-spacerun: yes;">&nbsp; </span></span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&lt;&lt;&lt; monitoringMobilePhoneTraffic.png &gt;&gt;&gt;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Nearly a dozen vendors (e.g. Cisco, Enterasys, Exinda, Juniper, nBox, Sonicwall) are now exporting MAC information in their flow exports.<span style="mso-spacerun: yes;">&nbsp; </span>Learn how to export [MAC address with Flexible NetFlow] <a href="http://www.plixer.com/blog/netflow/getting-mac-addresses-from-netflow-v9/">http://www.plixer.com/blog/netflow/getting-mac-addresses-from-netflow-v9/</a> .<span style="mso-spacerun: yes;">&nbsp; </span>Setting up a simple network monitor will help you proactively keep track of this traffic.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">If your NetFlow or IPFIX hardware can export Username, you could click on a username and see the number of devices authenticated by the same user.<span style="mso-spacerun: yes;">&nbsp; </span></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&lt;&lt;&lt; sonicwall-Ipfix-username.png &gt;&gt;&gt;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">Monitoring BYOD traffic is a growing concern and the above report can be run against flow exports from the Cisco ASA, Palo Alto Networks and the SonicWALL (example above).<span style="mso-spacerun: yes;">&nbsp; </span>Vendors are always looking for new and innovative ways to filter on this data.</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">KEY WORDS:</p>
<p class="MsoNormal">network monitoring</p>
<p class="MsoNormal">flexible netflow</p>
<p class="MsoNormal">network monitor</p>
<p class="MsoNormal">monitoring mobile phone traffic</p>
<p class="MsoNormal">monitoring byod traffic <br style="mso-special-character: line-break;" /> <br style="mso-special-character: line-break;" /> <span style="color: #1f497d; mso-themecolor: dark2;">&nbsp;</span></p>
</div>]]>
        
    </content>
</entry>

<entry>
    <title>NetFlow Behavior Analysis Systems : Limited Impact</title>
    <link rel="alternate" type="text/html" href="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/2012/01/netflow-behavior-analysis-systems-limited-impact.html" />
    <id>tag:blog.tmcnet.com,2012:/advanced-netflow-traffic-analysis//164.48260</id>

    <published>2012-01-13T10:24:48Z</published>
    <updated>2012-03-11T15:25:41Z</updated>

    <summary>NetFlow Network Behavior Analysis (NBA) systems have limited impact on detecting threats. They are only suitable as a second or perhaps third layer of threat detection. Some companies offering NetFlow Threat Detection tools would have you believe otherwise. Don&apos;t fall...</summary>
    <author>
        <name>Michael Patterson</name>
        <uri>http://blog.tmcnet.com/advanced-netflow-traffic-analysis/</uri>
    </author>
    
        <category term="NetFlow Threat Detection" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="Network Behavior Analysis" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="internal threat detection" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="ip host reputation" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="ipfix" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="netflow reporting" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="iphostreputation" label="ip host reputation" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="netflowbehavioranalysis" label="NetFlow Behavior Analysis" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="netflowthreatdetection" label="Netflow threat detection" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="netflowlite" label="NetFlow-Lite" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="networkthreatdetection" label="Network threat detection" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="smartloggingtelemetry" label="Smart logging telemetry" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="threatdetectionwithnetflow" label="threat detection with NetFlow" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/">
        <![CDATA[NetFlow Network Behavior Analysis (NBA) systems have limited impact on detecting threats. They are only suitable as a second or perhaps third layer of threat detection. Some companies offering NetFlow Threat Detection tools would have you believe otherwise. Don't fall for it. "<a title="Gartner on Network Behavior Analysis" href="http://benchmark-itsolutions.blogspot.com/2011/05/how-to-use-network-behavior-analysis.html">Gartner</a> says NBA is suitable as a complementary technology to intrusion detection and prevention software, which is effective for addressing network attacks that can be positively identified." As a HUGE NetFlow and IPFIX supporter, I tend to agree that flow technologies can augment security practices, but can't replace them. <br /><!-- pagebreak -->&nbsp; <br /><br /><img class="mt-image-none" src="http://blog.tmcnet.com/advanced-netflow-traffic-analysis/images/netFlowNetworkBehaviorAnalysis.png" alt="netFlowNetworkBehaviorAnalysis.png" width="467" height="189" align="none" /><br /><br /><br /><strong>What's Missing in NetFlow Threat Detection?</strong><br />Most NetFlow exports do not include the entire data portion of the packet. Sophisticated threat detection systems require this data in order to compare the contents to a database of signatures. <br /><br /><strong>Can NetFlow Export Packets?</strong><br />A NetFlow competitor called sFlow exports the entire packet, however its sampling architecture results in frequently missed infected frames. Cisco <a title="Cisco Smart Logging Telemetry" href="http://www.plixer.com/blog/netflow/smart-logging-telemetry-netflow-supprt/">Smart Logging Telemetry</a> NetFlow technology which is available on the Catalyst 3000 series can export entire packets however, it only exports datagrams that it detected via ACLs. <a title="Cisco NetFlow Lite" href="http://www.plixer.com/blog/netflow/catalyst-4948e-netflow-lite-exports/">NetFlow-Lite</a> on the Catalyst 4948E can also export entire packets however, in most cases it is configured to sample.&nbsp; The bottom line is that NetFlow and IPFIX collection is not intended for large scale full packet exports.&nbsp; NetFlow does however try to give you 100% of the connection information which can be useful for behavior analysis, but it is still limited.<br /><br /><strong>NetFlow Behavior Analysis systems </strong><br />Some NetFlow Behavior Analysis systems attempt to detect threats by base lining system behaviors overtime.&nbsp; When a host communicates outside of its normal behavior baseline, its index goes up.&nbsp; If the index goes too high an alarm can be triggered.&nbsp; Because an end systems behavior is constantly changing, the alarm is frequently a false positive. <br /><br />Certainly NetFlow and IPFIX, but generally not sFlow can be used to accurately detect threats. The point of this post is to educate on why it should only be part of a company's <a title="NetFlow UTM" href="http://en.wikipedia.org/wiki/Unified_threat_management">Unified Threat Management</a> solution. NetFlow can be used to accurately detect SYN scans, ICMP redirect issues, DDoS attacks, XMAS scans, etc. In practice, these same algorithms will often also get triggered by legitimate traffic. Experience tells us that IPFIX and NetFlow are ideally suited for accounting and utilization reporting. <br /><br /><strong>Grow Your Internal Threat Detection</strong><br />Internal threat detection is a growing area of concern in many networks today.&nbsp; Some companies are placing firewalls on backbone links as yet another layer of protection from internal infected hosts. <a title="Zero Trust Model" href="http://itknowledgeexchange.techtarget.com/security-bytes/network-security-expert-calls-for-overhaul-of-traditional-networks/">Forrester Research</a> calls for a Zero Trust model where networks are designed from the inside out. "The redesign starts with a black box or network segmentation gateway that can handle high speeds &ndash; up to 10G interfaces. The gateway acts like a UTM appliance, but it does much more than provide firewall, antispam and content filtering features. It can add data leakage prevention capabilities, intrusion prevention and encryption to the network" said John Kindervaq, a senior analyst with Forrester Research, Inc. NetFlow is largely about monitoring internal traffic.&nbsp; The Cisco ASA, Palo Alto Networks firewall and the SonicWALL firewall all export NetFlow or IPFIX. <br /><br />NetFlow's threat detection value belongs as part of a internal UTM effort where potential threats detected are sent to a <a title="Syslog Event Manager" href="http://en.wikipedia.org/wiki/Security_event_manager">SEIM</a> which will then look for other messages from appliances witnessing the same behavior of a host. If other threat detection efforts are not detecting the same suspicious behavior perhaps a false positive can be avoided.&nbsp; Here's a thought: maybe the security appliance reporting the bad behavior should have an index whereby its accuracy for detecting legitimate threats could be graded over time.&nbsp; <br /><br />Although often used as a differentiator by NetFlow reporting companies, the demand for dedicated NetFlow and IPFIX threat detection tools is limited. Detecting security threats with NetFlow Behavior Analysis systems is not often the best primary threat protection due to unpredictable host behaviors and lack of the entire packet. The largest opportunity for threat detection with NetFlow lies in IP Host Reputation lookups. <br /><br />Join <a title="NetFlow Discussions" href="http://www.linkedin.com/groups/NetFlow-Developments-3890849">NetFlow Developments</a> on Linkedin.<br /><br /><br />]]>
        
    </content>
</entry>

</feed>
