-
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.
Related to Bug https://redmine.openinfosecfoundation.org/issues/7286
- Loading branch information
1 parent
aebea10
commit 9cb9cc0
Showing
8 changed files
with
94 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,11 @@ | ||
### Test | ||
|
||
Showcase how TLS metadata is logged when JA4 is disabled. | ||
|
||
### Pcap | ||
|
||
Reused from test ja4-tls. | ||
|
||
### Ticket | ||
|
||
https://redmine.openinfosecfoundation.org/issues/7286 |
Binary file not shown.
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,14 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
|
||
outputs: | ||
- eve-log: | ||
enabled: yes | ||
filetype: regular #regular|syslog|unix_dgram|unix_stream|redis | ||
filename: eve.json | ||
types: | ||
- tls: | ||
extended: yes # enable this for extended logging information | ||
custom: [subject, issuer, session_resumed, serial, fingerprint, sni, version, not_before, not_after, certificate, chain, ja3, ja3s, ja4] | ||
ja4: off |
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,22 @@ | ||
requires: | ||
min-version: 8 | ||
|
||
pcap: ../../ja4-tls/input.pcap | ||
skip-eve-validation: true | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: tls | ||
tls.subject: C=FR, ST=IDF, L=Paris, O=Stamus, CN=SELKS | ||
tls.issuerdn: C=FR, ST=IDF, L=Paris, O=Stamus, CN=SELKS | ||
tls.serial: 00:97:E6:47:09:8E:EA:C9:B4 | ||
tls.fingerprint: 3a:0b:3b:23:15:2c:44:5c:27:ac:6a:0c:41:d6:fa:74:af:b4:09:5b | ||
tls.version: TLS 1.2 | ||
tls.notbefore: '2015-02-12T18:07:27' | ||
tls.notafter: '2025-02-09T18:07:27' | ||
tls.certificate: MIIDazCCAlOgAwIBAgIJAJfmRwmO6sm0MA0GCSqGSIb3DQEBBQUAMEwxCzAJBgNVBAYTAkZSMQwwCgYDVQQIDANJREYxDjAMBgNVBAcMBVBhcmlzMQ8wDQYDVQQKDAZTdGFtdXMxDjAMBgNVBAMMBVNFTEtTMB4XDTE1MDIxMjE4MDcyN1oXDTI1MDIwOTE4MDcyN1owTDELMAkGA1UEBhMCRlIxDDAKBgNVBAgMA0lERjEOMAwGA1UEBwwFUGFyaXMxDzANBgNVBAoMBlN0YW11czEOMAwGA1UEAwwFU0VMS1MwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCmgr7oVpNtYfdPyUd3zeU8fI0NuhU09a4ehajW2jNtX/1iU/pF8F2EdCeHcTJkPJb/85S/vwJQpYR3WI41zfDzJGmU53uT2DV62rL5Tg8kvgEJ4/L2S+7lk5ksdwy07fVV39qy6leKvfIw85LL45dnUsK8ITkuXckXO/fWM+1hPwhbQTRKT7aQqo6XiVt1EoM2GYANe396rjLRX91rR+paQVAEF4XEx511RYepdLMm+WUBHfCGAU6+MKV21OhFdo9ec3z+d6V+YvQEPDQOS/Xv9pqRKL8C1G4C/+VlLZBwenL9pwRUkgLiiAeYJ1k2+Zg+2UfrE37a+hIqHIU2RgwDAgMBAAGjUDBOMB0GA1UdDgQWBBRqzuaHms84l/2BqOJ5lY8a3qsiIjAfBgNVHSMEGDAWgBRqzuaHms84l/2BqOJ5lY8a3qsiIjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQBWjesA1fAyOyHeWw8g+6k+6uhWIVR597qzU9H29lnh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RqzuaHms84l/2BqOJ5lY8a3qsiIjAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQBWjesA1fAyOyHeWw8g+6k+6uhWIVR597qzU9H29lnhygD6xSPfppisSDAj1sNGqVbRC45NR3QehYdkvfRMtXREoKjhbKPDA8KAmcHOiWC9pLbxRbmY1bIB0kVw3BLIF1/y7gADwL8L4p/rm+M8Q6upWQtEqP+S8rI45iMr1CYEiZY3lU7B8byObgXv8S6372osD7+w09L57uLzEwMz+lL2vLLllPkf3B7VqqzvC8W/7PkUVmk5dUWN0f2kbx2iYOlglGC4zBSH8ThKDPMJbKMBzgP+DhdGcrWB89EbUCSY1IDmcJ4dhDgP/E78lTt2kHKLUws9pbktzW3EqUvWw6hF | ||
|
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,11 @@ | ||
### Test | ||
|
||
Showcase how TLS metadata is logged when JA4 is enabled. | ||
|
||
### Pcap | ||
|
||
Reused from test ja4-tls. | ||
|
||
### Ticket | ||
|
||
https://redmine.openinfosecfoundation.org/issues/7286 |
Binary file not shown.
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,14 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
|
||
outputs: | ||
- eve-log: | ||
enabled: yes | ||
filetype: regular #regular|syslog|unix_dgram|unix_stream|redis | ||
filename: eve.json | ||
types: | ||
- tls: | ||
extended: yes # enable this for extended logging information | ||
custom: [subject, issuer, session_resumed, serial, fingerprint, sni, version, not_before, not_after, certificate, chain, ja3, ja3s, ja4] | ||
ja4: on |
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,22 @@ | ||
requires: | ||
min-version: 8 | ||
|
||
pcap: ../../ja4-tls/input.pcap | ||
skip-eve-validation: true | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: tls | ||
tls.subject: C=FR, ST=IDF, L=Paris, O=Stamus, CN=SELKS | ||
tls.issuerdn: C=FR, ST=IDF, L=Paris, O=Stamus, CN=SELKS | ||
tls.serial: 00:97:E6:47:09:8E:EA:C9:B4 | ||
tls.fingerprint: 3a:0b:3b:23:15:2c:44:5c:27:ac:6a:0c:41:d6:fa:74:af:b4:09:5b | ||
tls.version: TLS 1.2 | ||
tls.notbefore: '2015-02-12T18:07:27' | ||
tls.notafter: '2025-02-09T18:07:27' | ||
tls.certificate: MIIDazCCAlOgAwIBAgIJAJfmRwmO6sm0MA0GCSqGSIb3DQEBBQUAMEwxCzAJBgNVBAYTAkZSMQwwCgYDVQQIDANJREYxDjAMBgNVBAcMBVBhcmlzMQ8wDQYDVQQKDAZTdGFtdXMxDjAMBgNVBAMMBVNFTEtTMB4XDTE1MDIxMjE4MDcyN1oXDTI1MDIwOTE4MDcyN1owTDELMAkGA1UEBhMCRlIxDDAKBgNVBAgMA0lERjEOMAwGA1UEBwwFUGFyaXMxDzANBgNVBAoMBlN0YW11czEOMAwGA1UEAwwFU0VMS1MwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCmgr7oVpNtYfdPyUd3zeU8fI0NuhU09a4ehajW2jNtX/1iU/pF8F2EdCeHcTJkPJb/85S/vwJQpYR3WI41zfDzJGmU53uT2DV62rL5Tg8kvgEJ4/L2S+7lk5ksdwy07fVV39qy6leKvfIw85LL45dnUsK8ITkuXckXO/fWM+1hPwhbQTRKT7aQqo6XiVt1EoM2GYANe396rjLRX91rR+paQVAEF4XEx511RYepdLMm+WUBHfCGAU6+MKV21OhFdo9ec3z+d6V+YvQEPDQOS/Xv9pqRK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