RustScan


┌──(kali㉿kali)-[~/archive/htb/labs]
└─$ rustscan -a $IP -b 20000
________________________________________
: 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.10.169:53
open 10.10.10.169:88
open 10.10.10.169:135
open 10.10.10.169:139
open 10.10.10.169:389
open 10.10.10.169:445
open 10.10.10.169:464
open 10.10.10.169:593
open 10.10.10.169:3269
open 10.10.10.169:3268
open 10.10.10.169:5985
open 10.10.10.169:9389
open 10.10.10.169:636
open 10.10.10.169:47001
open 10.10.10.169:49665
open 10.10.10.169:49667
open 10.10.10.169:49664
open 10.10.10.169:49666
open 10.10.10.169:49678
open 10.10.10.169:49671
open 10.10.10.169:49679
open 10.10.10.169:49684
open 10.10.10.169:49716
open 10.10.10.169:49843

Nmap


┌──(kali㉿kali)-[~/archive/htb/labs]
└─$ nmap -sC -sV -p- $IP
Starting Nmap 7.93 ( https://nmap.org ) at 2023-06-10 15:53 CEST
Nmap scan report for 10.10.10.169
Host is up (0.095s latency).
Not shown: 65510 closed tcp ports (conn-refused)
PORT      STATE SERVICE      VERSION
53/tcp    open  domain       Simple DNS Plus
88/tcp    open  kerberos-sec Microsoft Windows Kerberos (server time: 2023-06-10 14:02:29Z)
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: megabank.local, Site: Default-First-Site-Name)
445/tcp   open  microsoft-ds Windows Server 2016 Standard 14393 microsoft-ds (workgroup: MEGABANK)
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: megabank.local, Site: Default-First-Site-Name)
3269/tcp  open  tcpwrapped
5985/tcp  open  http         Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-server-header: Microsoft-HTTPAPI/2.0
|_http-title: Not Found
9389/tcp  open  mc-nmf       .NET Message Framing
47001/tcp open  http         Microsoft HTTPAPI httpd 2.0 (SSDP/UPnP)
|_http-title: Not Found
|_http-server-header: Microsoft-HTTPAPI/2.0
49664/tcp open  msrpc        Microsoft Windows RPC
49665/tcp open  msrpc        Microsoft Windows RPC
49666/tcp open  msrpc        Microsoft Windows RPC
49667/tcp open  msrpc        Microsoft Windows RPC
49671/tcp open  msrpc        Microsoft Windows RPC
49678/tcp open  msrpc        Microsoft Windows RPC
49679/tcp open  ncacn_http   Microsoft Windows RPC over HTTP 1.0
49684/tcp open  msrpc        Microsoft Windows RPC
49716/tcp open  msrpc        Microsoft Windows RPC
50462/tcp open  tcpwrapped
50503/tcp open  unknown
Service Info: Host: RESOLUTE; OS: Windows; CPE: cpe:/o:microsoft:windows
 
Host script results:
| smb-os-discovery: 
|   OS: Windows Server 2016 Standard 14393 (Windows Server 2016 Standard 6.3)
|   Computer name: Resolute
|   NetBIOS computer name: RESOLUTE\x00
|   Domain name: megabank.local
|   Forest name: megabank.local
|   FQDN: Resolute.megabank.local
|_  System time: 2023-06-10T07:03:21-07:00
|_clock-skew: mean: 2h26m59s, deviation: 4h02m30s, median: 6m58s
| smb2-security-mode: 
|   311: 
|_    Message signing enabled and required
| smb-security-mode: 
|   account_used: <blank>
|   authentication_level: user
|   challenge_response: supported
|_  message_signing: required
| smb2-time: 
|   date: 2023-06-10T14:03:23
|_  start_date: 2023-06-10T13:43:12
 
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 170.65 seconds

The target system is Windows Server 2016 Standard 6.3 The target system appears to be a domain controller in an Active Directory environment The domain is MEGABANK.LOCAL The FQDN of the target host is RESOLUTE.MEGABANK.LOCAL

The domain information has been appended to the /etc/hosts file on Kali for local DNS resolution