yaf yet another flowmeter
play

YAF: Yet Another Flowmeter Chris Inacio <inacio@cert.org> - PowerPoint PPT Presentation

YAF: Yet Another Flowmeter Chris Inacio <inacio@cert.org> Brian Trammell <trammell@tik.ee.ethz.ch> Wednesday, November 10, 2010 Yet Another Flowmeter Flowmeter What is flow Why do you want flow So why YAF


  1. YAF: Yet Another Flowmeter Chris Inacio <inacio@cert.org> Brian Trammell <trammell@tik.ee.ethz.ch> Wednesday, November 10, 2010

  2. Yet Another Flowmeter • Flowmeter • What is flow • Why do you want flow • So why YAF Wednesday, November 10, 2010

  3. flow • The simple version: a very brief summarization of a network connection • The key values • IP address source & destination • Protocol • Transport source & destination port Wednesday, November 10, 2010

  4. flow • And the rest… • Time / Date etc. • Lots of variations / possibilities here • Number of packets sent / received • Number of bytes sent / received Wednesday, November 10, 2010

  5. But I don’t do billing? (or even if you do) Wednesday, November 10, 2010

  6. Kaminsky DNS protocol vulnerability • Cache poisoning via DNS transaction ID guessing • Not enough randomness, makes guessing easy Wednesday, November 10, 2010

  7. Wednesday, November 10, 2010

  8. Objectives in YAF’s construction • Compliant to standard for flow, IPFIX • Biflow based construction • High performance (based on profiling) • Flexible L2 decoding • Open design for adding enhancements Wednesday, November 10, 2010

  9. frag flow table table libpcap capture partial defrag IPFIX file DAG de-encapsulation flow modification decode & lookup flush & export capture IPFIX Napatech capture export dumpfile input Wednesday, November 10, 2010

  10. Condensed IPFIX Primer Set Header Message Header Set Template Set Template Set Template Set Set Header Set Header Set Header Template ID IE count Set Header Template ID IE count Template ID IE count Record Record Record Information Element Length Record Record Information Element Length Record Information Element Length Record Record ... Information Element Length ... Information Element Length ... Information Element Length ... Record Record ... ... Record ... ... Record ... ... Information Element Length Information Element Length Information Element Length Wednesday, November 10, 2010

  11. Condensed IPFIX Primer Message Template Set Data Set Set Header [2] Set Header [257] Template [257] Record Template [258] Record Template [310] Record Message Data Set Data Set Set Header [258] Set Header [310] Record Record Record Record Record Record Wednesday, November 10, 2010

  12. Network Capture Spectrum Packet Features Capture Type Wednesday, November 10, 2010

  13. Network Capture Spectrum Traditional Flow (NetFlow v5) Packet Features Headers Capture Type Wednesday, November 10, 2010

  14. Network Capture Spectrum YAF Packet Features Hybrid Headers Capture Type Wednesday, November 10, 2010

  15. Network Capture Spectrum Full Capture Packet Features Hybrid Headers Capture Type Wednesday, November 10, 2010

  16. Current YAF Capture (minimal privacy impact) • Balancing Act Between Understanding Our Network and Privacy • Basic flow information: • Who talked to whom, how much, when • Application labeling: • Banner analysis for port independent protocol checking Wednesday, November 10, 2010

  17. Current YAF capture (minimal privacy impact) • Application labeling (continued) • can recognize: • HTTP , SSH, SMTP , Gnutella, Yahoo Messenger, DNS, FTP , SSL/TLS, SLP , IMAP , IRC, RTSP , SIP , RSYNC, PPTP , NNTP , TFTP , Teredo, MySQL, POP3 Wednesday, November 10, 2010

  18. Current YAF capture (minimal privacy impact) • Entropy analysis • Good indication if traffic is encrypted or compressed Wednesday, November 10, 2010

  19. Current YAF Capture • DNS capture • Because it is the root of almost all valid network transactions • We can limit capture to just Authoritative and NXDomain responses • Or capture all DNS transaction information Wednesday, November 10, 2010

  20. Current YAF Capture • Highly detailed capture for specific protocols: • HTTP • Server, User-Agent, GET, Connection • HTTP , Referer, Location, Host • Content-Length, Age, Content-Type • Accept, Accept-Language,(Result Code) Wednesday, November 10, 2010

  21. Current YAF Capture • Other in depth protocols • FTP , IMAP , RTSP , SIP , SMTP , SSH • Soon to be added • X.509 Certificates • Primarily from recognized SSL/TLS protocol negotiations Wednesday, November 10, 2010

  22. DNS Internet IPFIX flow mediator DNS PCAP processor X.509 HTTP IPFIX mediator SMTP YAF / Capture Device FTP SSH Wednesday, November 10, 2010

  23. Capturing Flow (and others) using IPFIX • Using the IPFIX model, we can turn on many features in YAF, and filter with mediators • We can enhance our handling of specific data types, still carry the information in IPFIX, and send to future places Wednesday, November 10, 2010

  24. Finishing the Full Deployment • We have some of the backend tools to handle the various different data types from YAF now. (Storage and analysis) • Working on the simple/dumb backend (probably MySQL based) to just capture data (may not scale well enough) • IPFIX mediator toolkit materials are available Wednesday, November 10, 2010

  25. Objectives Met? • YAF is deployed in LARGE scale environments now • We have been able to quickly add both network encapsulation types and specific network traffic data decoders quickly • IPFIX has proven to be both compact and flexible Wednesday, November 10, 2010

  26. Where do you fit in? • It is available for you to use • You can enhance and extend it - we are willing to take contributions • Adding certain new detectors (especially for text based protocols) is really easy • You tell me Wednesday, November 10, 2010

  27. Getting YAF http://tools.netsa.cert.org netsa-help@cert.org Wednesday, November 10, 2010

  28. Questions? Comments? Gratuitous plug: Salt Lake City Marriott Downtown Salt Lake City, Utah January 10-13, 2011 Wednesday, November 10, 2010

  29. Backups Wednesday, November 10, 2010

  30. Packet Details Privacy Packet Features Privacy Capture Type Wednesday, November 10, 2010

  31. Packet Details Privacy Packet Features Privacy Capture Type Wednesday, November 10, 2010

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend