RustScan
┌──(kali㉿kali)-[~/archive/htb/labs/timelapse]
└─$ rustscan -a $IP -b 25000
________________________________________
: https://discord.gg/GFrQsGy :
: https://github.com/RustScan/RustScan :
--------------------------------------
Nmap? More like slowmap.🐢
[~] 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.11.152:53
open 10.10.11.152:88
open 10.10.11.152:135
open 10.10.11.152:139
open 10.10.11.152:389
open 10.10.11.152:445
open 10.10.11.152:464
open 10.10.11.152:593
open 10.10.11.152:636
open 10.10.11.152:3268
open 10.10.11.152:3269
open 10.10.11.152:5986
open 10.10.11.152:9389
open 10.10.11.152:49667
open 10.10.11.152:49673
open 10.10.11.152:49674
open 10.10.11.152:49696
open 10.10.11.152:65460
Nmap
┌──(kali㉿kali)-[~/archive/htb/labs/timelapse]
└─$ nmap -Pn -sC -sV -p53,88,135,139,389,445,464,593,636,3268,3269,5986,9389 $IP
Starting Nmap 7.94 ( https://nmap.org ) at 2023-10-24 16:24 CEST
Nmap scan report for 10.10.11.152
Host is up (0.21s latency).
PORT STATE SERVICE VERSION
53/tcp open domain Simple DNS Plus
88/tcp open kerberos-sec Microsoft Windows Kerberos (server time: 2023-10-24 22:24:54Z)
135/tcp open msrpc Microsoft Windows RPC
139/tcp open netbios-ssn Microsoft Windows netbios-ssn
389/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: timelapse.htb0., Site: Default-First-Site-Name)
445/tcp open microsoft-ds?
464/tcp open kpasswd5?
593/tcp open ncacn_http Microsoft Windows RPC over HTTP 1.0
636/tcp open tcpwrapped
3268/tcp open ldap Microsoft Windows Active Directory LDAP (Domain: timelapse.htb0., Site: Default-First-Site-Name)
3269/tcp open tcpwrapped
5986/tcp open ssl/http Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_ssl-date: 2023-10-24T22:26:19+00:00; +7h59m58s from scanner time.
| ssl-cert: Subject: commonName=dc01.timelapse.htb
| Not valid before: 2021-10-25T14:05:29
|_Not valid after: 2022-10-25T14:25:29
|_http-server-header: Microsoft-HTTPAPI/2.0
|_http-title: Not Found
| tls-alpn:
|_ http/1.1
9389/tcp open mc-nmf .NET Message Framing
Service Info: Host: DC01; OS: Windows; CPE: cpe:/o:microsoft:windows
Host script results:
| smb2-security-mode:
| 3:1:1:
|_ Message signing enabled and required
|_clock-skew: mean: 7h59m57s, deviation: 0s, median: 7h59m57s
| smb2-time:
| date: 2023-10-24T22:25:37
|_ start_date: N/A
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 95.42 seconds
The target system appears to be a Domain Controller in an Active Directory environment.
The domain is timelapse.htb
The FQDN of the target system is dc01.timelapse.htb
The domain information has been appended to the
/etc/hosts
file on Kali for local DNS resolution
UDP
┌──(kali㉿kali)-[~/archive/htb/labs/timelapse]
└─$ sudo nmap -sU -top-ports 1000 $IP
starting nmap 7.94 ( https://nmap.org ) at 2023-10-24 16:22 CEST
Nmap scan report for 10.10.11.152
Host is up (0.17s latency).
not shown: 996 open|filtered udp ports (no-response)
PORT STATE SERVICE
53/udp open domain
88/udp open kerberos-sec
123/udp open ntp
389/udp open ldap
nmap done: 1 IP address (1 host up) scanned in 112.70 seconds