Stenographer

From https://github.com/google/stenographer:

Stenographer is a full-packet-capture utility for buffering packets to disk for intrusion detection and incident response purposes. It provides a high-performance implementation of NIC-to-disk packet writing, handles deleting those files as disk fills up, and provides methods for reading back specific sets of packets quickly and easily.

Stenographer uses AF-PACKET for packet acquisition.

Output

Stenographer writes full packet capture to /nsm/pcap/. It will automatically start purging old data once the partition reaches 90%.

Analysis

You can access full packet capture via PCAP:

_images/pcap-transcript.png

Alerts, Hunt, and Kibana allow you to easily pivot to the PCAP page.

Configuration

Stenographer reads its configuration from /opt/so/conf/steno/. However, please keep in mind that if you make any changes to this directory they may be overwritten since the configuration is managed with Salt.

Diagnostic Logging

Diagnostic logging for Stenographer can be found at /opt/so/log/stenographer/.

Disabling

If you need to disable Stenographer, you can set the Salt pillar steno:enabled:false in the global.sls or in the sensor’s minion.sls file.

More Information

See also

For more information about stenographer, please see https://github.com/google/stenographer.