Project

General

Profile

Actions

Feature #5642

open

Task #4772: tracking: parity between fields logged and fields available for detection

DNS: parity between log fields and detection

Added by Jason Ish about 2 years ago. Updated 3 months ago.

Status:
Assigned
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Subtasks 2 (1 open1 closed)

Feature #6621: dns: add keyword for dns rcode: dns.rcodeResolvedHadiqa Alamdar BukhariActions
Feature #6666: dns: add keyword for dns rrtype: dns.rrtypeClosedHadiqa Alamdar BukhariActions

Related issues 4 (4 open0 closed)

Related to Suricata - Task #6443: Suricon 2023 brainstormAssignedVictor JulienActions
Related to Suricata - Feature #4153: app-layer: rust derive style macros to generate common codeAssignedJason IshActions
Related to Suricata - Feature #2448: Add additional buffers for DNS ResponsesNewOISF DevActions
Blocks Suricata - Story #6597: rules: improve rules keyword/output parityNewVictor JulienActions
Actions #1

Updated by Jason Ish about 2 years ago

  • Related to Task #4772: tracking: parity between fields logged and fields available for detection added
Actions #2

Updated by Philippe Antoine about 1 year ago

  • Related to Task #6443: Suricon 2023 brainstorm added
Actions #3

Updated by Juliana Fajardini Reichow 12 months ago

  • Assignee changed from OISF Dev to Hadiqa Alamdar Bukhari
  • Target version changed from TBD to 8.0.0-beta1
Actions #4

Updated by Juliana Fajardini Reichow 12 months ago

  • Parent task set to #6597
Actions #5

Updated by Jason Ish 12 months ago

  • Subtask #6621 added
Actions #6

Updated by Hadiqa Alamdar Bukhari 11 months ago

After comparing the dns fields in rust/src/dns/log.rs and schema.json files I've found the following fields to be missing in the schema.json file:
  • aa boolean field is missing in the answer array. It is present in dns object properties.
  • tc boolean field is missing in the answer array.
  • z boolean field is missing in the answer array. It is present for query array and dns object properties.
  • I also don't see the sshfp field anywhere in the dns object while I do see the srv field in the answers array and soa field in the authorities array.
Actions #7

Updated by Hadiqa Alamdar Bukhari 11 months ago

The fields which have been implemented include:
- dns.query
- dns.opcode
- dns.rcode : in progress
- dns.answer.name
- dns.query.name
Awaiting further instructions on which fields to implement first.

Actions #8

Updated by Jason Ish 11 months ago

Hadiqa Alamdar Bukhari wrote in #note-7:

The fields which have been implemented include:
- dns.query
- dns.opcode
- dns.rcode : in progress
- dns.answer.name
- dns.query.name
Awaiting further instructions on which fields to implement first.

- rtype would be a good next one, it would be much like opcode or rcode
- then maybe "a" and "aaaa", which are more similar to dns.answer.name as they would be sticky buffers
- or some other protocol?

Actions #9

Updated by Hadiqa Alamdar Bukhari 11 months ago

Jason Ish wrote in #note-8:

Hadiqa Alamdar Bukhari wrote in #note-7:

The fields which have been implemented include:
- dns.query
- dns.opcode
- dns.rcode : in progress
- dns.answer.name
- dns.query.name
Awaiting further instructions on which fields to implement first.

- rtype would be a good next one, it would be much like opcode or rcode
- then maybe "a" and "aaaa", which are more similar to dns.answer.name as they would be sticky buffers
- or some other protocol?

Got it, thanks!

Actions #10

Updated by Hadiqa Alamdar Bukhari 11 months ago

  • Related to Feature #6666: dns: add keyword for dns rrtype: dns.rrtype added
Actions #11

Updated by Shivani Bhardwaj 11 months ago

  • Subtask #6666 added
Actions #12

Updated by Juliana Fajardini Reichow 7 months ago

  • Assignee changed from Hadiqa Alamdar Bukhari to OISF Dev

Since we have subtickets that are directly assigned, I'll keep this parent ticket as assigned to OISF Dev, so we know that it is available for others to work on.

Actions #13

Updated by Victor Julien 5 months ago

  • Assignee changed from OISF Dev to Jason Ish
Actions #14

Updated by Victor Julien 5 months ago

  • Related to Feature #4153: app-layer: rust derive style macros to generate common code added
Actions #15

Updated by Jason Ish 5 months ago

  • Related to Feature #2448: Add additional buffers for DNS Responses added
Actions #16

Updated by Victor Julien 5 months ago

  • Parent task changed from #6597 to #4772
Actions #17

Updated by Victor Julien 5 months ago

  • Blocks Story #6597: rules: improve rules keyword/output parity added
Actions #18

Updated by Victor Julien 3 months ago

  • Status changed from New to Assigned
Actions

Also available in: Atom PDF