File tree Expand file tree Collapse file tree 6 files changed +56
-0
lines changed Expand file tree Collapse file tree 6 files changed +56
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Description
2
+
3
+ Test bidirection rule with HTTP analysis
4
+
5
+ # Ticket
6
+
7
+ https://redmine.openinfosecfoundation.org/issues/5665
Original file line number Diff line number Diff line change
1
+ alert http1 any any => any any (msg:"matching both uri and status"; sid: 1; http.uri; content: "/download"; http.stat_code; content: "200";)
Original file line number Diff line number Diff line change
1
+ requires :
2
+ min-version : 8
3
+ pcap : false
4
+
5
+ args :
6
+ - --engine-analysis
7
+
8
+ checks :
9
+ - filter :
10
+ filename : rules.json
11
+ count : 1
12
+ match :
13
+ id : 1
14
+ engines[0].name : " http_uri"
15
+ engines[0].direction : " toserver"
16
+ engines[0].app_proto : " http"
17
+ engines[1].name : " http_stat_code"
18
+ engines[1].direction : " toclient"
19
+ engines[1].app_proto : " http"
20
+ mpm.buffer : " http_uri"
Original file line number Diff line number Diff line change
1
+ # Description
2
+
3
+ Test bidirection rule with TLS ja3 analysis
4
+
5
+ # Ticket
6
+
7
+ https://redmine.openinfosecfoundation.org/issues/5665
Original file line number Diff line number Diff line change
1
+ alert tls any any => any any (msg:"bidir ja3"; ja3s.hash; content:"5d79edf64e03689ff559a54e9d9487bc"; ja3.string; content:"771,49196-49200"; sid:1;)
Original file line number Diff line number Diff line change
1
+ requires :
2
+ min-version : 8
3
+ pcap : false
4
+
5
+ args :
6
+ - --engine-analysis
7
+
8
+ checks :
9
+ - filter :
10
+ filename : rules.json
11
+ count : 1
12
+ match :
13
+ id : 1
14
+ engines[0].name : " ja3.string"
15
+ engines[0].direction : " toserver"
16
+ engines[0].app_proto : " tls"
17
+ engines[1].name : " ja3s.hash"
18
+ engines[1].direction : " toclient"
19
+ engines[1].app_proto : " tls"
20
+ mpm.buffer : " ja3.string"
You can’t perform that action at this time.
0 commit comments