observations on the modern nsm toolchest
play

Observations on the modern NSM toolchest Christian Kreibich - PowerPoint PPT Presentation

Observations on the modern NSM toolchest Christian Kreibich christian@lastline.com Bro4Pros, March 2016 1 About me 2 For the Bro oldtimers my fault 3 4 The open-source NSM toolchest... or ? 5 Background on Lastline 6 Lastline


  1. Observations on the modern NSM toolchest Christian Kreibich christian@lastline.com Bro4Pros, March 2016 1

  2. About me 2

  3. For the Bro oldtimers ← my fault 3

  4. 4

  5. The open-source NSM toolchest... or ? 5

  6. Background on Lastline 6

  7. Lastline is... ● A software platform for malware protection 7

  8. Lastline is... 8

  9. Linux & open-source everywhere ● Distribution based on Ubuntu packaging infrastructure, with added control ● MySQL, Cassandra, Hadoop, Ceph, RabbitMQ, ZeroMQ, Protobuf, Puppet, Ansible, Suricata, PF_RING, netmap, ... 9

  10. 10

  11. The Problem 11

  12. The Lastline Sensor needs to ... ● Match industry-standard signatures ● Parse a ton of protocols ● Carve files for analysis ● Match against blacklists ● Collect basic network telemetry (NetFlow, pDNS, …) ● Be modular & extensible ● Do a bunch of clever things I can’t talk about 12

  13. The Lastline Sensor needs to ... ● Match industry-standard signatures ● Parse a ton of protocols ● Carve files for analysis ● Match against blacklists ● Collect basic network telemetry (NetFlow, pDNS, …) ● Be modular & extensible ● Do a bunch of clever things I can’t talk about 13

  14. This doesn’t exist (as open-source) 14

  15. We have tools, but no toolchest Vortex, ... pf_ring netmap packetbricks pcap 15

  16. These tools don’t mix well Vortex, ... 16

  17. ? 17

  18. ? Nope. 18

  19. Wait, another Problem 19

  20. We keep implementing the same stuff 20

  21. Need a TCP reassembler? libnids: dead. Bro: ~3,000 lines with reusable core logic Snort: ~12,000 lines Suricata: ~10,000 lines (excluding unit tests) Wireshark: ~6,000 lines (excluding MPTCP) 21

  22. 22

  23. This also applies to signature matchers and protocol parsers 23

  24. It’s getting better, right? 24

  25. 25

  26. “Rewrite critical modules like TCP reassembly and HTTP inspection” 26

  27. Project Wishlist 27

  28. libreass ● (Okay, perhaps libtcp) ● A community-maintained TCP stream reassembler ● Including a testsuite of quirky TCP pcaps ● With bindings for popular languages ● Could also handle IP defrag or HTTP content-range 28

  29. libsigmatch ● A community-maintained signature matcher ● A de-facto community standard signature language ● Fun API challenge ● Pcap test library a plus 29

  30. libprotoparse ● A community-maintained protocol parser suite 30

  31. Oh wait... 31

  32. http://www.icir.org/hilti/ Modular, secure, reusable protocol parsing. 32

  33. Additional Thoughts 33

  34. Open-source release models matter ● Our mission is not to advance an open-source product. It is to advance our own product ● Working with a beta codebase to enjoy major fixes poses enormous risks ● Results in costly patch update rounds ● Supported stable releases increase adoption 34

  35. Licensing is really important ● Contagious licenses ensure open source ● Permissive licenses foster adoption ● Choose wisely! 35

  36. So... 36

  37. The open-source NSM toolchest... or ? 37

  38. The open-source NSM toolchest... or ? 38

  39. 39

  40. The open-source NSM toolchest 40

  41. To be fair: these are great tools 41

  42. Thanks! (btw, Lastline is hiring) Christian Kreibich christian@lastline.com @ckreibich 42

Recommend


More recommend