Skip to main content
Question

Is it feasible to enrich events with say, DNS CAA record details as it flows through stream?

  • Mar 11, 2025 3:14 AM UTC
  • 29 replies
  • 226 views

Oliver Hoppe

Is it feasible to enrich events with say, DNS CAA record details as it flows through stream?

29 replies

David Maislin

Are you saying you want to use the DNS lookup function to enrich?


David Maislin

Or something else?


Looks like we need to add the CAA resource type to the DNS Lookup function, but you should be able to get the result with the `ANY` type and then use an eval.


<@U02UFGDA7N1&gt; for your attention ^^


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:36 AM UTC

Yah, CAA and a few recent bits of DNS seem to get skipped a lot


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:36 AM UTC

Maybe make record type a free text field?


Like the Redis function


Might be some differences in the functionality behind the scenes, but good idea


David Maislin

Yeah, I tried to hack the JSON and insert CAA, but it is too strict and doesn't accept the value :slightly_smiling_face:


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

would the DNS Lookup function returned information be dependent on host OS?


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:37 AM UTC

I strongly doubt that


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:37 AM UTC

Even Windows usually manages to resolve DNS :stuck_out_tongue_winking_eye:


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

Using the function via Edge that's collecting from a Windows 10 device. But I'm not seeing any CAA information


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:37 AM UTC

Do you have access to the box?


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:37 AM UTC

I just learned that neither nslookup nor Powershell can handle CAA records oO


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

yah


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

yah, hence my question :wink:


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

like if javascript is reliant on the host OS or if it's implementing and not relying on host os


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:37 AM UTC

I can't believe this. Found a bug report for PHP from 2018 where someone ran into the same issue. Seems the Windows API just lacks this function. What a mess...


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

Gotta love Windows.


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

Maybe will see it in Windows 12


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

eventually this will shift to a Linux box, maybe I'll just speed that up heh


xpac
Forum|alt.badge.img
  • Inspiring
  • Mar 11, 2025 4:37 AM UTC

Ha, I asked ChatGPT and exactly as expected it lied to me and told me it works with nslookup. That mofo.


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

hahaha


Oliver Hoppe
  • Author
  • Employee
  • Mar 11, 2025 4:37 AM UTC

I keep working on teaching lies to ChatGPT