HackMyVM
Enumeration
Port 80
We can see a default apache page
Fuzzing
On robots.txt we can see another directory /memories
I tried to found the creds, but i don’t find anything
But we can bypass this login
User
Connect to laura using the private key
Getting Lucy private key
Copy and change the chmod to 600
Root
On Lucy user, run:
With gcore binary we can generate a core file for a running process
Using the pspy64 program: https://github.com/DominicBreuker/pspy
Run this binary and watch the process
This process is schedule to be execute every minute through crontab
We can create a script to wait until the process execute and grep it
This script grep the name of the process and the pid, after that calls the gcore with the right pid
Run strings against the files
root:whataboutyourthinking