-
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.
Showing
8 changed files
with
165 additions
and
4 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
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 Description | ||
|
||
TODO: Simple description of what this test is for. | ||
|
||
## PCAP | ||
|
||
TODO: What is the source of this PCAP. | ||
|
||
## Related issues | ||
|
||
TODO: Issue numbers or links to related issues. |
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,15 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
outputs: | ||
- eve-log: | ||
enabled: yes | ||
filetype: regular | ||
filename: eve.json | ||
types: | ||
- mysql | ||
|
||
app-layer: | ||
protocols: | ||
mysql: | ||
enabled: yes |
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,61 @@ | ||
requires: | ||
min-version: 8 | ||
|
||
args: | ||
- -k none | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
dest_ip: 172.16.10.104 | ||
dest_port: 3306 | ||
pcap_cnt: 14 | ||
event_type: mysql | ||
mysql.affected_rows: 0 | ||
mysql.command: SET NAMES utf8mb4 | ||
mysql.tls: false | ||
mysql.version: 8.0.32 | ||
proto: TCP | ||
src_ip: 172.16.10.222 | ||
src_port: 42074 | ||
- filter: | ||
count: 1 | ||
match: | ||
dest_ip: 172.16.10.104 | ||
dest_port: 3306 | ||
event_type: mysql | ||
mysql.command: SELECT VERSION() | ||
mysql.rows[0]: 8.0.32 | ||
mysql.tls: false | ||
mysql.version: 8.0.32 | ||
proto: TCP | ||
src_ip: 172.16.10.222 | ||
src_port: 42074 | ||
- filter: | ||
count: 1 | ||
match: | ||
dest_ip: 172.16.10.104 | ||
dest_port: 3306 | ||
pcap_cnt: 20 | ||
event_type: mysql | ||
mysql.affected_rows: 0 | ||
mysql.command: ping | ||
mysql.tls: false | ||
mysql.version: 8.0.32 | ||
proto: TCP | ||
src_ip: 172.16.10.222 | ||
src_port: 42074 | ||
- filter: | ||
count: 1 | ||
match: | ||
dest_ip: 172.16.10.104 | ||
dest_port: 3306 | ||
event_type: mysql | ||
mysql.command: SELECT SCHEMA_NAME FROM INFORMATION_SCHEMA.SCHEMATA WHERE SCHEMA_NAME='sentinel_flow_admin' | ||
mysql.rows[0]: sentinel_flow_admin | ||
mysql.tls: false | ||
mysql.version: 8.0.32 | ||
proto: TCP | ||
src_ip: 172.16.10.222 | ||
src_port: 42074 |
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
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,18 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
outputs: | ||
- eve-log: | ||
enabled: yes | ||
filetype: regular | ||
filename: eve.json | ||
types: | ||
- mysql | ||
- tls | ||
|
||
app-layer: | ||
protocols: | ||
mysql: | ||
enabled: yes | ||
tls: | ||
enabled: yes |
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