CDDC 2018: Red Leader Stay On Target

Category: Kamikaze Points: 99 Description:

  1. Inside the target 10.50.0.199, escalate your privilege level and obtain root access, i.e. become root.
  2. Access the ' /root ' directory on the target 10.50.0.199 and identify the file with permission bits set to -r-------- .
  3. Access the file, display the file's content and enter the content into the response field below.
  4. Submit the Kamikaze Challenge by clicking on the Submit button.

Write-Up

Since we cracked the root password in the previous challenge to be spiderman, we can just login and get our flag.

[root@fw2018 ~]# ls -lah
total 56K
drwxr-xr-x  4 root root 4.0K Jun  2 00:10 .
drwxr-xr-x 21 root root 4.0K Jan 31 10:18 ..
-rw-------  1 root root  14K Jun  1 23:59 .bash_history
-rw-r--r--  1 root root  154 Apr  1  2016 .bash_logout
-rw-r--r--  1 root root  252 Feb  8 11:04 .bash_profile
-rw-r--r--  1 root root  321 Apr  1  2016 .bashrc
drwx------  2 root root 4.0K Jun  1 16:20 .gnupg
-rw-r--r--  1 root root    0 Apr  1  2016 ipfire
-r--------  1 root root   37 Feb 23 16:54 secret
drwx------  2 root root 4.0K Jun  1 16:20 .ssh
-rw-------  1 root root 6.1K Jun  2 00:08 .viminfo
[root@fw2018 ~]# cat secret 
Very good start, keep working on it!

Therefore, the flag is Very good start, keep working on it!.

results matching ""

    No results matching ""