minvws / nl-kat-coordination

Repo nl-kat-coordination for minvws

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DnsRecord boefje timeouts succesfully

originalsouth opened this issue · comments

Describe the bug
Running the DnsRecords boefje on a Hostname like mispo.es and with a custom DNS server that timeout (at the time of writing 111.111.111.111 timeouts). DnsRecords fails successfully...

To Reproduce
In a clean organization:

  1. Enable DnsRecords(["A", "AAAA"], "111.111.111.111")
  2. Add an URL("https://mispo.es") OOI and clear it on >= L1
  3. Get 0xc0ffee
  4. Observe the DnsRecords boefje failed succesfully
    image
    Output: {"dns_records": "", "dmarc_response": "Timeout", "dkim_response": "Timeout"}
    Raw:
{
  "id": "9d1b1507-6845-4229-89cc-15154ef0b45a",
  "boefje_meta": {
    "id": "d45cdea1-74bc-41b3-8cf1-2451300531c3",
    "started_at": "2024-07-22T09:04:31.305321Z",
    "ended_at": "2024-07-22T09:04:52.916718Z",
    "boefje": {
      "id": "dns-records",
      "version": null
    },
    "input_ooi": "Hostname|internet|mispo.es",
    "arguments": {
      "input": {
        "object_type": "Hostname",
        "scan_profile": "scan_profile_type='inherited' reference=Reference('Hostname|internet|mispo.es') level=<ScanLevel.L2: 2>",
        "primary_key": "Hostname|internet|mispo.es",
        "network": {
          "name": "internet"
        },
        "name": "mispo.es",
        "dns_zone": "None",
        "registered_domain": "None"
      }
    },
    "organization": "1",
    "runnable_hash": "8ee3ac0f61ef17c8997deda94cd0ed145a0dbdd15ffc26d857e1c606f5365b86",
    "environment": {
      "RECORD_TYPES": "A, AAAA",
      "REMOTE_NS": "111.111.111.111"
    }
  },
  "mime_types": [
    {
      "value": "boefje/dns-records"
    }
  ],
  "secure_hash": "sha512:7ca3f891fb209f45edc9c1504c65b96aff41d13324aa8565a55e2198418131a6e8f672a6f22e767833851f4d1b27a545a83037af04cbf3c1223ad764269ab671",
  "signing_provider_url": null,
  "hash_retrieval_link": "d007b3a7-8c8c-4e23-8201-a0da0f7351ff"
}

Expected behavior
A (time-out) error is thrown instead.

Screenshots
image

OpenKAT version
main 0008fb8

Desktop (please complete the following information if relevant):

  • OS: ArchLinux 6.9.10-zen1-1-zen GNU/Linux
  • Browser: Mozilla Firefox 128.0
  • Version: Recently updated

Additional context
Tested in a empty organization.