-
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.
dhcp: Validate dhcp option 60 is being logged
- Loading branch information
1 parent
439c4d6
commit 0d62347
Showing
4 changed files
with
61 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 Description | ||
|
||
Validate that dhcp option 60 (vendor class identifier) is being logged by suricata | ||
|
||
## PCAP | ||
|
||
Extracted a single packet from a pcap that had the vendor-class-id option present | ||
|
||
## Related issues | ||
[Feature 4587](https://redmine.openinfosecfoundation.org/issues/4587) | ||
|
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,12 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
outputs: | ||
- eve-log: | ||
enabled: true | ||
filename: eve.json | ||
types: | ||
- alert | ||
- dhcp: | ||
extended: true | ||
- flow |
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,38 @@ | ||
requires: | ||
min-version: 7 | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
dest_port: 67 | ||
dhcp.id: 3759982360 | ||
dhcp.params[0]: subnet_mask | ||
dhcp.params[1]: domain | ||
dhcp.params[2]: router | ||
dhcp.params[3]: dns_server | ||
dhcp.type: request | ||
dhcp.vendor_class_identifier: MSFT 5.0 | ||
event_type: dhcp | ||
pcap_cnt: 1 | ||
proto: UDP | ||
src_ip: 0.0.0.0 | ||
src_port: 68 | ||
- filter: | ||
count: 1 | ||
match: | ||
app_proto: dhcp | ||
dest_ip: 255.255.255.255 | ||
dest_port: 67 | ||
event_type: flow | ||
flow.age: 0 | ||
flow.alerted: false | ||
flow.bytes_toclient: 0 | ||
flow.bytes_toserver: 356 | ||
flow.pkts_toclient: 0 | ||
flow.pkts_toserver: 1 | ||
flow.reason: shutdown | ||
flow.state: new | ||
proto: UDP | ||
src_ip: 0.0.0.0 | ||
src_port: 68 |