--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular
+ filename: eve.json
+ types:
+ - rfb
+ - flow
+
+app-layer:
+ protocols:
+ rfb:
+ enabled: yes
+ detection-ports:
+ dp: 5900
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ files:
+ - rust/src/rfb/parser.rs
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ event_type: flow
+ app_proto: rfb
+
+ - filter:
+ count: 1
+ match:
+ event_type: rfb
+ rfb.server_protocol_version.major: "003"
+ rfb.server_protocol_version.minor: "003"
+ rfb.client_protocol_version.major: "003"
+ rfb.client_protocol_version.minor: "003"
+ rfb.authentication.security_type: 2
+ rfb.authentication.vnc.challenge: "263cd2330c2902a68c88aae131ba552c"
+ rfb.authentication.vnc.response: "3f0526502c716d0ed6a7de026af40c5a"
+ rfb.authentication.security_result: "OK"
+ rfb.screen_shared: false
+ rfb.framebuffer.width: 800
+ rfb.framebuffer.height: 600
+ rfb.framebuffer.name: "\\xa0"
+ rfb.framebuffer.pixel_format.bits_per_pixel: 32
+ rfb.framebuffer.pixel_format.depth: 24
+ rfb.framebuffer.pixel_format.big_endian: false
+ rfb.framebuffer.pixel_format.true_color: true
+ rfb.framebuffer.pixel_format.red_max: 255
+ rfb.framebuffer.pixel_format.green_max: 255
+ rfb.framebuffer.pixel_format.blue_max: 255
+ rfb.framebuffer.pixel_format.red_shift: 16
+ rfb.framebuffer.pixel_format.green_shift: 8
+ rfb.framebuffer.pixel_format.blue_shift: 0
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular
+ filename: eve.json
+ types:
+ - rfb
+ - flow
+
+app-layer:
+ protocols:
+ rfb:
+ enabled: yes
+ detection-ports:
+ dp: 5900
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ files:
+ - rust/src/rfb/parser.rs
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ event_type: flow
+ app_proto: rfb
+
+ - filter:
+ count: 1
+ match:
+ event_type: rfb
+ rfb.server_protocol_version.major: "003"
+ rfb.server_protocol_version.minor: "007"
+ rfb.client_protocol_version.major: "003"
+ rfb.client_protocol_version.minor: "007"
+ rfb.authentication.security_type: 2
+ rfb.authentication.vnc.challenge: "ea5150a99e0feb6343c045c6f95ce44c"
+ rfb.authentication.vnc.response: "c39d5ad5c8242ed6bea28a773dbd3a29"
+ rfb.authentication.security_result: "OK"
+ rfb.screen_shared: false
+ rfb.framebuffer.width: 1280
+ rfb.framebuffer.height: 800
+ rfb.framebuffer.name: "aneagles@localhost.localdomain"
+ rfb.framebuffer.pixel_format.bits_per_pixel: 32
+ rfb.framebuffer.pixel_format.depth: 24
+ rfb.framebuffer.pixel_format.big_endian: false
+ rfb.framebuffer.pixel_format.true_color: true
+ rfb.framebuffer.pixel_format.red_max: 255
+ rfb.framebuffer.pixel_format.green_max: 255
+ rfb.framebuffer.pixel_format.blue_max: 255
+ rfb.framebuffer.pixel_format.red_shift: 16
+ rfb.framebuffer.pixel_format.green_shift: 8
+ rfb.framebuffer.pixel_format.blue_shift: 0
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular
+ filename: eve.json
+ types:
+ - rfb
+ - flow
+
+app-layer:
+ protocols:
+ rfb:
+ enabled: yes
+ detection-ports:
+ dp: 5900
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ files:
+ - rust/src/rfb/parser.rs
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ event_type: flow
+ app_proto: rfb
+
+ - filter:
+ count: 1
+ match:
+ event_type: rfb
+ rfb.server_protocol_version.major: "003"
+ rfb.server_protocol_version.minor: "008"
+ rfb.client_protocol_version.major: "003"
+ rfb.client_protocol_version.minor: "008"
+ rfb.authentication.security_type: 2
+ rfb.authentication.vnc.challenge: "1d03c57f2dffcc72a5ae3ad559c9c3db"
+ rfb.authentication.vnc.response: "547b7a6f36a154db03a2575c6f2a4ec5"
+ rfb.authentication.security_result: "OK"
+ rfb.screen_shared: false
+ rfb.framebuffer.width: 800
+ rfb.framebuffer.height: 600
+ rfb.framebuffer.name: "\\xa0"
+ rfb.framebuffer.pixel_format.bits_per_pixel: 32
+ rfb.framebuffer.pixel_format.depth: 24
+ rfb.framebuffer.pixel_format.big_endian: false
+ rfb.framebuffer.pixel_format.true_color: true
+ rfb.framebuffer.pixel_format.red_max: 255
+ rfb.framebuffer.pixel_format.green_max: 255
+ rfb.framebuffer.pixel_format.blue_max: 255
+ rfb.framebuffer.pixel_format.red_shift: 16
+ rfb.framebuffer.pixel_format.green_shift: 8
+ rfb.framebuffer.pixel_format.blue_shift: 0
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ filetype: regular
+ filename: eve.json
+ types:
+ - alert
+
+app-layer:
+ protocols:
+ rfb:
+ enabled: yes
+ detection-ports:
+ dp: 5900
--- /dev/null
+alert rfb any any -> any any (msg:"rfb-name1"; rfb.name; pcre:"/.*\.localdomain/"; sid:1;)
+alert rfb any any -> any any (msg:"rfb-name2"; rfb.name; pcre:"/.*\.localdoom/"; sid:2;)
+alert rfb any any -> any any (msg:"rfb-sectype1"; rfb.sectype:2; sid:3;)
+alert rfb any any -> any any (msg:"rfb-sectype2"; rfb.sectype:>3; sid:4;)
+alert rfb any any -> any any (msg:"rfb-secresult1"; rfb.secresult:ok; sid:5;)
+alert rfb any any -> any any (msg:"rfb-secresult2"; rfb.secresult:unknown; sid:6;)
+
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+ files:
+ - rust/src/rfb/parser.rs
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature: "rfb-name1"
+
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature: "rfb-sectype1"
+
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature: "rfb-secresult1"
+
+ - filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature: "rfb-name2"
+
+ - filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature: "rfb-sectype2"
+
+ - filter:
+ count: 0
+ match:
+ event_type: alert
+ alert.signature: "rfb-secresult2"
+