RustScan
┌──(kali㉿kali)-[~/archive/htb/labs/blackfield]
└─$ rustscan -a $IP -b 25000
________________________________________
: https://discord.gg/GFrQsGy :
: https://github.com/RustScan/RustScan :
--------------------------------------
🌍HACK THE PLANET🌍
[~] The config file is expected to be at "/home/kali/.rustscan.toml"
[~] Automatically increasing ulimit value to 5000.
[!] File limit is lower than default batch size. Consider upping with --ulimit. May cause harm to sensitive servers
open 10.10.10.192:53
open 10.10.10.192:88
open 10.10.10.192:135
open 10.10.10.192:593
open 10.10.10.192:389
open 10.10.10.192:445
open 10.10.10.192:3268
open 10.10.10.192:5985
Nmap
┌──(kali㉿kali)-[~/archive/htb/labs/blackfield]
└─$ nmap -Pn -p- $IP
Starting Nmap 7.94 ( https://nmap.org ) at 2023-12-20 22:14 CET
Stats: 0:00:06 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan
Connect Scan Timing: About 2.74% done; ETC: 22:18 (0:04:08 remaining)
Nmap scan report for 10.10.10.192
Host is up (0.033s latency).
Not shown: 65527 filtered tcp ports (no-response)
PORT STATE SERVICE
53/tcp open domain
88/tcp open kerberos-sec
135/tcp open msrpc
389/tcp open ldap
445/tcp open microsoft-ds
593/tcp open http-rpc-epmap
3268/tcp open globalcatLDAP
5985/tcp open wsman
Nmap done: 1 IP address (1 host up) scanned in 105.19 seconds
┌──(kali㉿kali)-[~/archive/htb/labs/blackfield]
└─$ nmap -Pn -sC -sV -p53,88,135,389,445,593,3268,5985 $IP
Starting Nmap 7.94 ( https://nmap.org ) at 2023-12-20 22:18 CET
Nmap scan report for 10.10.10.192
Host is up (0.13s latency).
PORT STATE SERVICE VERSION
53/tcp open domain Simple DNS Plus
88/tcp open kerberos-sec Microsoft Windows Kerberos (server time: 2023-12-21 04:18:34Z)
135/tcp open msrpc Microsoft Windows RPC
389/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: BLACKFIELD.local0., Site: Default-First-Site-Name)
445/tcp open microsoft-ds?
593/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0
3268/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: BLACKFIELD.local0., Site: Default-First-Site-Name)
5985/tcp open http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-title: Not Found
|_http-server-header: Microsoft-HTTPAPI/2.0
Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows
Host script results:
| smb2-time:
| date: 2023-12-21T04:18:46
|_ start_date: N/A
|_clock-skew: 6h59m56s
| smb2-security-mode:
| 3:1:1:
|_ Message signing enabled and required
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 56.66 seconds
The target system appears to be a Domain Controller in an Active Directory environment
The domain is BLACKFIELD.local
The FQDN of the target system is DC01.BLACKFIELD.local
The domain information has been appended to the
/etc/hosts
file on Kali for local DNS resolution
UDP
┌──(kali㉿kali)-[~/archive/htb/labs/blackfield]
└─$ sudo nmap -sU -top-ports 1000 $IP
starting nmap 7.94 ( https://nmap.org ) at 2023-12-20 22:00 CET
Nmap scan report for 10.10.10.192
Host is up (0.028s latency).
not shown: 999 open|filtered udp ports (no-response)
PORT STATE SERVICE
53/udp open domain
nmap done: 1 IP address (1 host up) scanned in 716.39 seconds