Skip to content

Latest commit

 

History

History
112 lines (76 loc) · 2.09 KB

Task 18 [Day 12] Defence in depth Sleighing Threats, One Layer at a Time.md

File metadata and controls

112 lines (76 loc) · 2.09 KB

Task 18 [Day 12] Defence in depth Sleighing Threats, One Layer at a Time


Learning Objectives

  • Defence in Depth
  • Basic Endpoint Hardening
  • Simple Boot2Root Methodology

After the machine is up.

Log in to the admin account via SSH using the credentials supplied below.

Username:

admin

Password:

SuperStrongPassword123

QUESTIONS:

  1. What is the default port for Jenkins?

Answer

8080

  1. What is the password of the user tracy?

Answer

13_1n_33

Password of the user tracy is in the /opt/scripts/backup.sh file:

2
  1. What's the root flag?

Answer

ezRo0tW1thoutDiD
3
  1. What is the error message when you login as tracy again and try sudo -l after its removal from the sudoers group?

Answer

Sorry, user tracy may not run sudo on jenkins.

To remove user tracy from sudo group

Command:

sudo deluser tracy sudo
remove tracy

Then again login as user tracy:

4
  1. What's the SSH flag?

Answer

Ne3d2SecureTh1sSecureSh31l

SSH flag is located in /etc/ssh/sshd_config file.

cat /etc/ssh/sshd_config
5
  1. What's the Jenkins flag?

Answer

FullTrust_has_n0_Place1nS3cur1ty

Jenkis flag is located in /var/lib/jenkins/config.xml.bak file:

cat /var/lib/jenkins/config.xml.bak
Screenshot 2024-01-02 at 3 27 46 PM