DNS
Nmap discovered a DNS server on the target port 53
The running service is Microsoft DNS 6.0.6001 (17714650) (Windows Server 2008 SP1)
The
/etc/hosts
file on Kali has been updated
Reverse Lookup
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/internal_offsec]
└─$ nslookup
> server 192.168.136.40
Default server: 192.168.136.40
Address: 192.168.136.40#53
> 127.0.0.1
;; communications error to 192.168.136.40#53: timed out
1.0.0.127.in-addr.arpa name = localhost.
> INTERNAL
;; Got SERVFAIL reply from 192.168.136.40
Server: 192.168.136.40
Address: 192.168.136.40#53
** server can't find INTERNAL: SERVFAIL
> 192.168.136.40
;; communications error to 192.168.136.40#53: timed out
;; communications error to 192.168.136.40#53: timed out
;; communications error to 192.168.136.40#53: timed out
;; no servers could be reached
SERVFAIL N/A
dig
┌──(kali㉿kali)-[~/PEN-200/PG_PRACTICE/internal_offsec]
└─$ dig any INTERNAL @$IP
; <<>> DiG 9.20.4-4-Debian <<>> any INTERNAL @192.168.136.40
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: FORMERR, id: 60875
;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
; COOKIE: 8ecc72db2bfa40e5 (echoed)
;; QUESTION SECTION:
;INTERNAL. IN ANY
;; Query time: 23 msec
;; SERVER: 192.168.136.40#53(192.168.136.40) (TCP)
;; WHEN: Fri Mar 07 20:54:02 CET 2025
;; MSG SIZE rcvd: 49
N/A