Adding fields to zeek.modbus and zeek.modbus_detailed for visibility in the Hunt module #15666
Unanswered
HBadger0017
asked this question in
2.4
Replies: 1 comment 4 replies
-
|
Are there any errors in the logstash.log for issues parsing |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@dougburks or @weslambert...
I want to add fields from zeek.modbus and zeek.modbus_detailed. My efforts to add tid, unit, pdu_type fields to modbus and unit, tid, value (the whole array) to modbus_detailed have failed. These fields are vital to be able to write Sigma rules and other detections.
The fields are being ingested properly into SecO as they are present in the "message" field. How/where do I add the desired:
"field": "message2.<field>", "target_field":<new field>for them to show in the Hunt module?so that they appear here:

Documentation is kinda light on modifying these files to add fields, but I'm willing to do the research if there is a source.
Also, the current versions of zeek.modbus and zeek.modbus_detailed already include
{ "rename": { "field": "message2.unit_id", "target_field": "modbus.unit_id","ignore_missing": true } },but I don't think this entry has correct syntax.Thanks for any help.
(other pertinent details: using Import in AWS on t3a.2xlarge with default settings)
Beta Was this translation helpful? Give feedback.
All reactions