Advancing Protocol Diversity in Network Security Monitoring

Jan Grashöfer, Peter Oettig, Robin Sommer, Tim Wojtulewicz, Hannes Hartenstein
6/23/2021
cs.NI

Official code: kit-dsn/zeek-profinet-analyzer (7 stars, BSD-3-Clause, last commit 2021-06-14). 2 more implementations below.

Abstract

With information technology entering new fields and levels of deployment, e.g., in areas of energy, mobility, and production, network security monitoring needs to be able to cope with those environments and their evolution. However, state-of-the-art Network Security Monitors (NSMs) typically lack the necessary flexibility to handle the diversity of the packet-oriented layers below the abstraction of TCP/IP connections. In this work, we advance the software architecture of a network security monitor to facilitate the flexible integration of lower-layer protocol dissectors while maintaining required performance levels. We proceed in three steps: First, we identify the challenges for modular packet-level analysis, present a refined NSM architecture to address them and specify requirements for its implementation. Second, we evaluate the performance of data structures to be used for protocol dispatching, implement the proposed design into the popular open-source NSM Zeek and assess its impact on the monitor performance. Our experiments show that hash-based data structures for dispatching introduce a significant overhead while array-based approaches qualify for practical application. Finally, we demonstrate the benefits of the proposed architecture and implementation by migrating Zeek's previously hard-coded stack of link and internet layer protocols to the new interface. Furthermore, we implement dissectors for non-IP based industrial communication protocols and leverage them to realize attack detection strategies from recent applied research. We integrate the proposed architecture into the Zeek open-source project and publish the implementation to support the scientific community as well as practitioners, promoting the transfer of research into practice.

View on arXivView PDF

Code Implementations(3)

BSD-3-Clause

Profinet packet analyzer plugin for Zeek.

72ZeekJun 11, 20215 years agoBSD-3-Clause
BSD-3-Clause

GOOSE packet analyzer plugin for Zeek.

52C++, ZeekJun 11, 20215 years agoBSD-3-Clause
AGPL-3.0
41C, C++Jun 14, 20215 years agoAGPL-3.0

Similar Papers

Cite this paper

@article{grashfer2021advancing,
  title  = {Advancing Protocol Diversity in Network Security Monitoring},
  author = {Jan Grashöfer and Peter Oettig and Robin Sommer and Tim Wojtulewicz and Hannes Hartenstein},
  year   = {2021},
  eprint = {2106.12454},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.12454}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.12454.svg)](https://codeofpaper.com/paper/2106.12454)

Discussion