-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tls: test for tls header inspection rules
Ticket - 7235
- Loading branch information
1 parent
6e93dba
commit 3be0daf
Showing
3 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
alert tcp-stream any any -> any ![21,25,110,143,443,465,587,636,989:995,3128,5061,5222,8443,8080] (msg:"Policy: Possible TOR SSL traffic (TLS1.3)";flow:established,to_server; content:"|16 03 01|"; depth:3; content:"|01|"; distance:2; within:1; content:"www"; pcre:"/www.[0-9a-z]{4,25}.com/"; metadata:created_at 2022_25_07,priority:5; sid:900000004; rev:1;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
requires: | ||
min-version: 7.0.7 | ||
|
||
args: | ||
- --set app-layer.protocols.tls.encryption-handling=bypass | ||
|
||
checks: | ||
|
||
- filter: | ||
count: 2 | ||
match: | ||
event_type: alert | ||
alert.signature_id: 900000004 |
Binary file not shown.