Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Advanced Bash: Owning the System Make a copy of this document to work in , and then for each step, add the solution commands below

Advanced Bash: Owning the System
Make a copy of this document to work in, and then for each step, add the solution commands below the prompt. Save and submit this completed file as your Challenge deliverable.
Step 1: Shadow People
Create a secret user named sysd. Make sure this user doesn't have a home folder created.
[Your solution command here]
Give your secret user a password.
[Your solution command here]
Give your secret user a system UID <1000.
[Your solution command here]
Give your secret user the same GID.
[Your solution command here]
Give your secret user full sudo access without the need for a password.
[Your solution command here]
Test that sudo access works without your password.
[Your bash commands here]
Step 2: Smooth Sailing
Edit the sshd_config file.
[Your bash commands here]
Step 3: Testing Your Configuration Update
Restart the SSH service.
[Your solution command here]
Exit the root account.
[Your solution command here]
SSH to the target machine using your sysd account and port 2222.
[Your solution command here]
Use sudo to switch to the root user.
[Your solution command here]
Step 4: Crack All the Passwords
SSH back to the system using your sysd account and port 2222.
[Your solution command here]
Escalate your privileges to the root user. Use John to crack the entire /etc/shadow file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions