--- /dev/null
+https://github.com/markofu/pcaps/blob/master/PracticalPacketAnalysis/ppa-capture-files/telnet.pcap
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ types:
+ - flow
+ - frame
+ - alert
--- /dev/null
+alert telnet any any -> any any (flow:to_server; frame:data; content:"/sbin/ping www.yahoo.com"; sid:1;)
--- /dev/null
+requires:
+ min-version: 7
+
+args:
+ - -k none
+
+checks:
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ app_proto: telnet
+ alert.signature_id: 1
+ - filter:
+ count: 1
+ match:
+ event_type: flow
+ app_proto: telnet
+ - filter:
+ count: 32
+ match:
+ event_type: frame
+ app_proto: telnet
+ frame.type: data
+ - filter:
+ count: 68
+ match:
+ event_type: frame
+ app_proto: telnet
+ frame.type: ctl