intelowlproject / IntelOwl

IntelOwl: manage your Threat Intelligence at scale
https://intelowlproject.github.io
GNU Affero General Public License v3.0
3.19k stars 400 forks source link

Adguard dns analyzer, closes #1361 #2363

Closed g4ze closed 1 hour ago

g4ze commented 3 weeks ago

close #1361

Description

Please include a summary of the change and link to the related issue.

Type of change

Please delete options that are not relevant.

Checklist

Important Rules

image

g4ze commented 3 weeks ago

@mlodic I am not able to figure out the right query for the url. seems like it expects dns in an encoded form. Can you please take a look into it?

mlodic commented 5 days ago

following the DMs we had, there are some pointers that can help solving this issue:

If you could try to do some more advanced research about that, that would be cool.

g4ze commented 4 days ago

figured out a way, will complete this PR this week :)

g4ze commented 3 days ago

I think the codefactor ci test is giving a false positive to the sinkhole IP. Can you please have a look at it?

g4ze commented 3 days ago

kindly check the TLP and review.

g4ze commented 1 day ago

DNS query result for x.com in JSON format:

{
  "id": 26979,
  "opcode": "QUERY",
  "rcode": "NOERROR",
  "flags": [
    "QR",
    "RD",
    "RA"
  ],
  "questions": [
    {
      "name": "x.com.",
      "type": "A"
    }
  ],
  "answers": [
    {
      "name": "x.com.",
      "type": "A",
      "ttl": 1247,
      "data": "104.244.42.1"
    },
    {
      "name": "x.com.",
      "type": "A",
      "ttl": 1247,
      "data": "104.244.42.193"
    },
    {
      "name": "x.com.",
      "type": "A",
      "ttl": 1247,
      "data": "104.244.42.129"
    },
    {
      "name": "x.com.",
      "type": "A",
      "ttl": 1247,
      "data": "104.244.42.65"
    }
  ],
  "authorities": [],
  "additionals": []
}

adding this for better understanding.

g4ze commented 23 hours ago

All thanks to you and Daniele🙏

g4ze commented 2 hours ago

should be merged first acc to this