-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into auditd_sigma
- Loading branch information
Showing
18 changed files
with
6,385 additions
and
16 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 @@ | ||
parsers: | ||
- crowdsecurity/syslog-logs | ||
- crowdsecurity/dateparse-enrich | ||
- ./parsers/s01-parse/pserranoa/openvpn.yml | ||
scenarios: | ||
- ./scenarios/pserranoa/openvpn-bf.yml | ||
postoverflows: | ||
- "" | ||
log_file: openvpn.log | ||
log_type: openvpn | ||
ignore_parsers: true |
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,4 @@ | ||
2024-12-15 14:12:12 192.168.1.31:45321 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.31:45321 | ||
2024-12-15 14:12:13 192.168.1.31:45321 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.31:45321 | ||
2024-12-15 14:12:14 192.168.1.31:45321 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.31:45321 | ||
2024-12-15 14:12:15 192.168.1.31:45321 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.31:45321 |
Empty file.
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,33 @@ | ||
len(results) == 1 | ||
"192.168.1.31" in results[0].Overflow.GetSources() | ||
results[0].Overflow.Sources["192.168.1.31"].IP == "192.168.1.31" | ||
results[0].Overflow.Sources["192.168.1.31"].Range == "" | ||
results[0].Overflow.Sources["192.168.1.31"].GetScope() == "Ip" | ||
results[0].Overflow.Sources["192.168.1.31"].GetValue() == "192.168.1.31" | ||
results[0].Overflow.Alert.Events[0].GetMeta("datasource_path") == "openvpn.log" | ||
results[0].Overflow.Alert.Events[0].GetMeta("datasource_type") == "file" | ||
results[0].Overflow.Alert.Events[0].GetMeta("log_type") == "auth_failed" | ||
results[0].Overflow.Alert.Events[0].GetMeta("service") == "openvpn" | ||
results[0].Overflow.Alert.Events[0].GetMeta("source_ip") == "192.168.1.31" | ||
results[0].Overflow.Alert.Events[0].GetMeta("timestamp") == "2024-12-15T14:12:12Z" | ||
results[0].Overflow.Alert.Events[1].GetMeta("datasource_path") == "openvpn.log" | ||
results[0].Overflow.Alert.Events[1].GetMeta("datasource_type") == "file" | ||
results[0].Overflow.Alert.Events[1].GetMeta("log_type") == "auth_failed" | ||
results[0].Overflow.Alert.Events[1].GetMeta("service") == "openvpn" | ||
results[0].Overflow.Alert.Events[1].GetMeta("source_ip") == "192.168.1.31" | ||
results[0].Overflow.Alert.Events[1].GetMeta("timestamp") == "2024-12-15T14:12:13Z" | ||
results[0].Overflow.Alert.Events[2].GetMeta("datasource_path") == "openvpn.log" | ||
results[0].Overflow.Alert.Events[2].GetMeta("datasource_type") == "file" | ||
results[0].Overflow.Alert.Events[2].GetMeta("log_type") == "auth_failed" | ||
results[0].Overflow.Alert.Events[2].GetMeta("service") == "openvpn" | ||
results[0].Overflow.Alert.Events[2].GetMeta("source_ip") == "192.168.1.31" | ||
results[0].Overflow.Alert.Events[2].GetMeta("timestamp") == "2024-12-15T14:12:14Z" | ||
results[0].Overflow.Alert.Events[3].GetMeta("datasource_path") == "openvpn.log" | ||
results[0].Overflow.Alert.Events[3].GetMeta("datasource_type") == "file" | ||
results[0].Overflow.Alert.Events[3].GetMeta("log_type") == "auth_failed" | ||
results[0].Overflow.Alert.Events[3].GetMeta("service") == "openvpn" | ||
results[0].Overflow.Alert.Events[3].GetMeta("source_ip") == "192.168.1.31" | ||
results[0].Overflow.Alert.Events[3].GetMeta("timestamp") == "2024-12-15T14:12:15Z" | ||
results[0].Overflow.Alert.GetScenario() == "pserranoa/openvpn-bf" | ||
results[0].Overflow.Alert.Remediation == true | ||
results[0].Overflow.Alert.GetEventsCount() == 4 |
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 @@ | ||
parsers: | ||
- crowdsecurity/syslog-logs | ||
- crowdsecurity/dateparse-enrich | ||
- ./parsers/s01-parse/pserranoa/openvpn.yml | ||
scenarios: | ||
- "" | ||
postoverflows: | ||
- "" | ||
log_file: openvpn.log | ||
log_type: openvpn | ||
ignore_parsers: false |
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,24 @@ | ||
2024-12-15 14:10:00 OpenVPN 2.6.3 x86_64-linux-gnu started | ||
2024-12-15 14:10:00 Incoming Control Channel Authentication: Using 256 bit message hash 'SHA256' for HMAC authentication | ||
2024-12-15 14:11:25 192.168.1.30:52234 TCP connection established with [AF_INET]192.168.1.30:52234 | ||
2024-12-15 14:11:26 192.168.1.30:52234 [UNDEF] Peer Connection Initiated with [AF_INET]192.168.1.30:52234 | ||
2024-12-15 14:11:27 192.168.1.30:52234 TLS Error: tls-crypt unwrapping failed from [AF_INET]192.168.1.30:52234 | ||
2024-12-15 14:12:10 192.168.1.31:45321 TCP connection established with [AF_INET]192.168.1.31:45321 | ||
2024-12-15 14:12:11 192.168.1.31:45321 [UNDEF] Peer Connection Initiated with [AF_INET]192.168.1.31:45321 | ||
2024-12-15 14:12:12 192.168.1.31:45321 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.31:45321 | ||
2024-12-15 14:13:05 192.168.1.32:61432 TCP connection established with [AF_INET]192.168.1.32:61432 | ||
2024-12-15 14:13:06 192.168.1.32:61432 [UNDEF] Peer Connection Initiated with [AF_INET]192.168.1.32:61432 | ||
2024-12-15 14:13:07 192.168.1.32:61432 TLS Error: TLS handshake failed from [AF_INET]192.168.1.32:61432 | ||
2024-12-15 14:14:20 192.168.1.33:54321 TCP connection established with [AF_INET]192.168.1.33:54321 | ||
2024-12-15 14:14:21 192.168.1.33:54321 [UNDEF] Peer Connection Initiated with [AF_INET]192.168.1.33:54321 | ||
2024-12-15 14:14:22 192.168.1.33:54321 VERIFY ERROR: depth=0, error=certificate signature failure: CN=malicious-client | ||
2024-12-15 14:14:22 192.168.1.33:54321 OpenSSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed | ||
2024-12-15 14:14:22 192.168.1.33:54321 TLS Auth Error: Auth Certificate verification failed for peer | ||
2024-12-15 14:14:20 client1/192.168.1.13:54321 TCP connection established with [AF_INET]192.168.1.13:54321 | ||
2024-12-15 14:14:21 client1/192.168.1.13:54321 AUTH: Received control message: AUTH_FAILED | ||
2024-12-15 14:15:00 192.168.1.35:46789 TCP connection established with [AF_INET]192.168.1.35:46789 | ||
2024-12-15 14:15:01 192.168.1.35:46789 [UNDEF] Peer Connection Initiated with [AF_INET]192.168.1.35:46789 | ||
2024-12-15 14:15:02 192.168.1.35:46789 TLS Error: incoming packet authentication failed from [AF_INET]192.168.1.35:46789 | ||
2024-12-15 14:15:50 192.168.1.34:56312 TCP connection established with [AF_INET]192.168.1.34:56312 | ||
2024-12-15 14:15:51 192.168.1.34:56312/client3 Peer Connection Initiated with [AF_INET]192.168.1.34:56312 | ||
2024-12-15 14:15:52 192.168.1.34:56312/client3 Authentication succeeded |
Oops, something went wrong.