{"id":377,"date":"2010-03-01T15:26:53","date_gmt":"2010-03-01T15:26:53","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/03\/01\/running-a-packet-capture-on-a-sourcefire-sensor\/"},"modified":"2021-08-01T10:12:11","modified_gmt":"2021-08-01T10:12:11","slug":"running-a-packet-capture-on-a-sourcefire-sensor","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html","title":{"rendered":"Running a packet capture on a SourceFire Sensor"},"content":{"rendered":"

Below shows you the required steps for running a packet capture on a SourceFire Sensor.<\/p>\n

Which Interfaces are Sniffing ?<\/span><\/span>
\n<\/strong><\/p>\n

First of all we get a list of interfaces that is are sniffing for malicious traffic. Note : the fps normally relate to eth. Though you still use the fps reference within the tcpdump. <\/span><\/p>\n

ps -ef | grep snort | grep fp | awk -F -i ' { print $2 } ' | awk '{print $1}' | head -n1<\/pre>\n

<\/p>\n

Tcpdump the Interface <\/span><\/span><\/p>\n

Using the interface numbers output from the last command you can now use these to run a tcpdump.<\/p>\n

root@3d:\/#tcpdump -ni <interface><\/pre>\n

Example:<\/p>\n

root@3d:\/#tcpdump -ni fp2\r\ntcpdump: verbose output suppressed, use -v or -vv for full protocol decode\r\nlistening on fp2, link-type EN10MB (Ethernet), capture size 68 bytes\r\n15:35:51.477839 802.1d config 8001.00:15:13:de:a9:80.8001 root 8001.00:15:a3:ee:h5:80 pathcost \r\n0 age 0 max 20 hello 2 fdelay 15<\/pre>\n

Overview of traffic<\/span><\/span><\/p>\n

We can also get an overview of the traffic by running the following command,<\/p>\n

root@3d:\/# watch 'netstat -ani'<\/pre>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of interfaces that is are sniffing for malicious traffic. Note : the fps normally relate to eth. Though you still use the fps reference within the tcpdump. ps … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[],"yoast_head":"\nRunning a packet capture on a SourceFire Sensor - Fir3net<\/title>\n<meta name=\"description\" content=\"Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Running a packet capture on a SourceFire Sensor - Fir3net\" \/>\n<meta property=\"og:description\" content=\"Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\" \/>\n<meta property=\"og:site_name\" content=\"Fir3net\" \/>\n<meta property=\"article:published_time\" content=\"2010-03-01T15:26:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-01T10:12:11+00:00\" \/>\n<meta name=\"author\" content=\"Rick Donato\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rick Donato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\"},\"author\":{\"name\":\"Rick Donato\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\"},\"headline\":\"Running a packet capture on a SourceFire Sensor\",\"datePublished\":\"2010-03-01T15:26:53+00:00\",\"dateModified\":\"2021-08-01T10:12:11+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\"},\"wordCount\":100,\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"articleSection\":[\"Snort IDS\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\",\"url\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\",\"name\":\"Running a packet capture on a SourceFire Sensor - Fir3net\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/#website\"},\"datePublished\":\"2010-03-01T15:26:53+00:00\",\"dateModified\":\"2021-08-01T10:12:11+00:00\",\"description\":\"Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fir3net.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Security\",\"item\":\"https:\/\/www.fir3net.com\/security\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"IDS\",\"item\":\"https:\/\/www.fir3net.com\/security\/ids\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Snort IDS\",\"item\":\"https:\/\/www.fir3net.com\/security\/ids\/sourcefire\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Running a packet capture on a SourceFire Sensor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fir3net.com\/#website\",\"url\":\"https:\/\/www.fir3net.com\/\",\"name\":\"Fir3net\",\"description\":\"Keeping you in the know\",\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fir3net.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fir3net.com\/#organization\",\"name\":\"Fir3net\",\"url\":\"https:\/\/www.fir3net.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"contentUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"width\":390,\"height\":88,\"caption\":\"Fir3net\"},\"image\":{\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\",\"name\":\"Rick Donato\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"caption\":\"Rick Donato\"},\"description\":\"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Running a packet capture on a SourceFire Sensor - Fir3net","description":"Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html","og_locale":"en_US","og_type":"article","og_title":"Running a packet capture on a SourceFire Sensor - Fir3net","og_description":"Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of","og_url":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html","og_site_name":"Fir3net","article_published_time":"2010-03-01T15:26:53+00:00","article_modified_time":"2021-08-01T10:12:11+00:00","author":"Rick Donato","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rick Donato","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html#article","isPartOf":{"@id":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html"},"author":{"name":"Rick Donato","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037"},"headline":"Running a packet capture on a SourceFire Sensor","datePublished":"2010-03-01T15:26:53+00:00","dateModified":"2021-08-01T10:12:11+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html"},"wordCount":100,"publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"articleSection":["Snort IDS"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html","url":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html","name":"Running a packet capture on a SourceFire Sensor - Fir3net","isPartOf":{"@id":"https:\/\/www.fir3net.com\/#website"},"datePublished":"2010-03-01T15:26:53+00:00","dateModified":"2021-08-01T10:12:11+00:00","description":"Below shows you the required steps for running a packet capture on a SourceFire Sensor. Which Interfaces are Sniffing ? First of all we get a list of","breadcrumb":{"@id":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fir3net.com\/Ids\/Sourcefire\/running-a-packet-capture-on-a-sourcefire-sensor.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fir3net.com\/"},{"@type":"ListItem","position":2,"name":"Security","item":"https:\/\/www.fir3net.com\/security"},{"@type":"ListItem","position":3,"name":"IDS","item":"https:\/\/www.fir3net.com\/security\/ids"},{"@type":"ListItem","position":4,"name":"Snort IDS","item":"https:\/\/www.fir3net.com\/security\/ids\/sourcefire"},{"@type":"ListItem","position":5,"name":"Running a packet capture on a SourceFire Sensor"}]},{"@type":"WebSite","@id":"https:\/\/www.fir3net.com\/#website","url":"https:\/\/www.fir3net.com\/","name":"Fir3net","description":"Keeping you in the know","publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fir3net.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fir3net.com\/#organization","name":"Fir3net","url":"https:\/\/www.fir3net.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","contentUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","width":390,"height":88,"caption":"Fir3net"},"image":{"@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037","name":"Rick Donato","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","caption":"Rick Donato"},"description":"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders."}]}},"_links":{"self":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/377"}],"collection":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/comments?post=377"}],"version-history":[{"count":0,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/377\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/media?parent=377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/categories?post=377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/tags?post=377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}