RustScan


┌──(kali㉿kali)-[~/archive/htb/labs/blocky]
└─$ 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.10.37:21
open 10.10.10.37:22
open 10.10.10.37:80
open 10.10.10.37:25565

Nmap


┌──(kali㉿kali)-[~/archive/htb/labs/blocky]
└─$ nmap -sC -sV -p- $IP                                                        
Starting Nmap 7.94 ( https://nmap.org ) at 2023-09-19 13:20 CEST
Stats: 0:01:37 elapsed; 0 hosts completed (1 up), 1 undergoing Connect Scan
Connect Scan Timing: About 90.61% done; ETC: 13:22 (0:00:10 remaining)
Nmap scan report for 10.10.10.37
Host is up (0.025s latency).
Not shown: 65530 filtered tcp ports (no-response)
PORT      STATE  SERVICE   VERSION
21/tcp    open   ftp       ProFTPD 1.3.5a
22/tcp    open   ssh       OpenSSH 7.2p2 Ubuntu 4ubuntu2.2 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   2048 d6:2b:99:b4:d5:e7:53:ce:2b:fc:b5:d7:9d:79:fb:a2 (RSA)
|   256 5d:7f:38:95:70:c9:be:ac:67:a0:1e:86:e7:97:84:03 (ECDSA)
|_  256 09:d5:c2:04:95:1a:90:ef:87:56:25:97:df:83:70:67 (ED25519)
80/tcp    open   http      Apache httpd 2.4.18
|_http-server-header: Apache/2.4.18 (Ubuntu)
|_http-title: Did not follow redirect to http://blocky.htb
8192/tcp  closed sophos
25565/tcp open   minecraft Minecraft 1.11.2 (Protocol: 127, Message: A Minecraft Server, Users: 0/20)
Service Info: Host: 127.0.1.1; OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel
 
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 116.64 seconds

The target system appears to be Ubuntu The returned data includes a domain; blocky.htb

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

UDP


┌──(kali㉿kali)-[~/archive/htb/labs/blocky]
└─$ sudo nmap -sU -top-ports 1000 $IP
[sudo] password for kali: 
starting nmap 7.94 ( https://nmap.org ) at 2023-09-19 13:19 CEST
Nmap scan report for 10.10.10.37
Host is up (0.026s latency).
not shown: 998 open|filtered udp ports (no-response)
PORT   STATE  SERVICE
22/udp closed ssh
80/udp closed http
 
nmap done: 1 IP address (1 host up) scanned in 21.49 seconds