Framealicious fun:
Tackling Frame Challenges and Boosting Code Coverage for New Suricata Devs
With Support from:
About the speaker:
2
My Outreachy Journey
3
Suricata: An IDS, IPS & Much more!
4
Adding frame support to Suricata
Expose app-layer Protocol Data Units (PDUs) to the detection engine
Frame is a generic term that can represent any unit of network data we are interested in, which could be comprised of one or several records of other, lower level protocols. Frames work as “stream annotations”, allowing Suricata to tell the detection engine what type of record exists at a specific offset in the stream.
Improves data processing time and makes rule writing easy for the detection engine by tagging the input stream.
5
Frame support in Action
6
Frame Support in RFB Protocol
7
Frame Support in RFB Protocol
8
MQTT stands for MQ Telemetry and it is standard messaging protocol for the Internet of Things (IoT).
Registering Pdu, Header and Data Frames for MQTT.
Frame support in MQTT protocol
9
Frame support in MQTT protocol
10
Frame support: A brief comparison
11
Testing in Suricata
Improve code coverage and ensure code quality
12
Unit Tests
13
Suricata Verify Tests
14
Demo: Running S-V tests locally
15
Improving coverage of Suricata codebase
need coverage.
16
Improving coverage of Suricata codebase
17
Improving coverage of Suricata codebase
18
Demo: Generating code coverage locally
19
Learning Outcomes
20
Suricata Community - Resources
21
References
22
Thanks!
Any Questions?
Website
hsadiablogs.wordpress.com
hsadia538@gmail.com
In/haleem-khan
23