RustScan


┌──(kali㉿kali)-[~/archive/htb/labs/axlle]
└─$ rustscan -a $IP
________________________________________
: https://discord.gg/GFrQsGy           :
: https://github.com/RustScan/RustScan :
 --------------------------------------
0day was here
 
[~] 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.21:25
Open 10.10.11.21:53
Open 10.10.11.21:80
Open 10.10.11.21:88
Open 10.10.11.21:135
Open 10.10.11.21:139
Open 10.10.11.21:389
Open 10.10.11.21:445
Open 10.10.11.21:464
Open 10.10.11.21:593
Open 10.10.11.21:636
Open 10.10.11.21:3268
Open 10.10.11.21:3269
Open 10.10.11.21:3389
Open 10.10.11.21:5985
Open 10.10.11.21:9389
Open 10.10.11.21:49664
Open 10.10.11.21:49668
Open 10.10.11.21:55458
Open 10.10.11.21:56414
Open 10.10.11.21:56417
Open 10.10.11.21:56415
Open 10.10.11.21:61303

Nmap


┌──(kali㉿kali)-[~/archive/htb/labs/axlle]
└─$ nmap -Pn -sC -sV -p25,53,80,88,135,139,389,445,464,593,636,3268,3269,3389,5985,9389,49664,49668,55458,56414,56415,56417,61303 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-06-26 16:03 CEST
Nmap scan report for 10.10.11.21
Host is up (0.025s latency).
 
PORT      STATE SERVICE       VERSION
25/tcp    open  smtp          hMailServer smtpd
| smtp-commands: MAINFRAME, SIZE 20480000, AUTH LOGIN, HELP
|_ 211 DATA HELO EHLO MAIL NOOP QUIT RCPT RSET SAML TURN VRFY
53/tcp    open  domain        Simple DNS Plus
80/tcp    open  http          Microsoft IIS httpd 10.0
|_http-server-header: Microsoft-IIS/10.0
| http-methods: 
|_  Potentially risky methods: TRACE
|_http-title: Axlle Development
88/tcp    open  kerberos-sec  Microsoft Windows Kerberos (server time: 2024-06-26 14:03:35Z)
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: axlle.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: axlle.htb0., Site: Default-First-Site-Name)
3269/tcp  open  tcpwrapped
3389/tcp  open  ms-wbt-server Microsoft Terminal Services
|_ssl-date: 2024-06-26T14:05:04+00:00; -26s from scanner time.
| rdp-ntlm-info: 
|   Target_Name: AXLLE
|   NetBIOS_Domain_Name: AXLLE
|   NetBIOS_Computer_Name: MAINFRAME
|   DNS_Domain_Name: axlle.htb
|   DNS_Computer_Name: MAINFRAME.axlle.htb
|   DNS_Tree_Name: axlle.htb
|   Product_Version: 10.0.20348
|_  System_Time: 2024-06-26T14:04:24+00:00
| ssl-cert: Subject: commonName=MAINFRAME.axlle.htb
| Not valid before: 2024-05-19T11:25:03
|_Not valid after:  2024-11-18T11:25:03
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
49664/tcp open  msrpc         Microsoft Windows RPC
49668/tcp open  msrpc         Microsoft Windows RPC
55458/tcp open  msrpc         Microsoft Windows RPC
56414/tcp open  ncacn_http    Microsoft Windows RPC over HTTP 1.0
56415/tcp open  msrpc         Microsoft Windows RPC
56417/tcp open  msrpc         Microsoft Windows RPC
61303/tcp open  msrpc         Microsoft Windows RPC
Service Info: Host: MAINFRAME; OS: Windows; CPE: cpe:/o:microsoft:windows
 
Host script results:
| smb2-time: 
|   date: 2024-06-26T14:04:25
|_  start_date: N/A
| smb2-security-mode: 
|   3:1:1: 
|_    Message signing enabled and required
|_clock-skew: mean: -26s, deviation: 0s, median: -26s
 
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 96.76 seconds

The target system appears to be a Domain Controller in an Active Directory environment The domain is AXLLE.HTB The FQDN of the target system is MAINFRAME.AXLLE.HTB

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

UDP


┌──(kali㉿kali)-[~/archive/htb/labs/axlle]
└─$ sudo nmap -Pn -sU --top-port 1000 $IP
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-06-26 17:19 CEST
Nmap scan report for mainframe.axlle.htb (10.10.11.21)
Host is up (0.046s latency).
Not shown: 997 open|filtered udp ports (no-response)
PORT    STATE SERVICE
53/udp  open  domain
88/udp  open  kerberos-sec
123/udp open  ntp
 
Nmap done: 1 IP address (1 host up) scanned in 379.86 seconds

3 Services