Dive even deeper
Download
1 / 15

Dive Even Deeper - PowerPoint PPT Presentation


  • 193 Views
  • Uploaded on

Dive Even Deeper. sysdig – Wireshark for your system. Agenda. Overview Visualization Fishing for Hackers. Wireshark Is Awesome. Why Is Wireshark Awesome?. The Workflow!. Capture Don’t need to sit in front of the machine waiting for the issue Share trace files

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' Dive Even Deeper' - hester


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
Dive even deeper

Dive Even Deeper

sysdig – Wireshark for your system


Agenda
Agenda

  • Overview

  • Visualization

  • Fishing for Hackers


Wireshark is awesome
Wireshark Is Awesome


Why is wireshark awesome
Why Is Wireshark Awesome?


The workflow
The Workflow!

  • Capture

    • Don’t need to sit in front of the machine waiting for the issue

    • Share trace files

    • Capture in multiple locations and then correlate

  • Filter

    • Find the needle in the haystack

    • Don’t need to know what you’re looking for

    • Learn while exploring

  • Analyze

    • Put intelligence on top of low level information

      • Packets can tell us a lot

      • And never lie


Question if wireshark s workflow is so great can we apply it to system monitoring
Question:If Wireshark’s Workflow Is So Great, Can We Apply It To System Monitoring?


Sysdig
Sysdig

  • Capture system events

    • System calls

    • Context switches

    • More

  • Packetize them

  • Store them into pcap-ng traces

  • Wireshark-like display fields

    • Filtering

    • rendering


res = open(const char *pathname, int flags)

Type = open

Nargs = 2

“myfile.txt”

1

Analyze

Store

Filter


sysdig

  • Command line parsing

  • Capture management

  • Event parsing

  • State engine

  • Filtering

  • Output Formatting

  • Chisel execution

sinsp

  • Capture Control

  • Dump files R/W

  • OS state collection

scap

User

kernel

Event Buffer

Sysdig-probe

  • Non-blocking event collection

  • Type-based event packing

  • Memory mapped buffer handling


Chisels
Chisels

  • Lua scripts to carve up the data you unearthed

    • First class citizens from day one

  • Callback API

    • Process events

    • Create summaries

  • Main API

    • Control sysdig

    • Extract fields

https://github.com/draios/sysdig/wiki/Sysdig%20Chisel%20API%20Reference%20Manual



Get engaged
Get Engaged

  • http://www.sysdig.org/

  • https://github.com/draios/sysdig

  • https://github.com/draios/sysdig/wiki

  • http://www.sysdig.org/install/


ad