Navigate back to the homepage

Advent of Cyber Day 4 Training

Ludovic COULON
May 8th, 2020 · 1 min read

TryHackMe | Advent of Cyber

With the entire incident, McElferson has been very stressed.

We need all hands on deck now

To help resolve things faster, she has asked you to help the new intern(mcsysadmin) get familiar with Linux. Access the machine via SSH on port 22 using the command

Setup

ssh mcsysadmin@[your-machines-ip]

username: mcsysadmin

password: bestelf1234

Check out the supporting material here

#1 How many visible files are there in the home directory(excluding ./ and ../)?

18
2(ls -la)

#2 What is the content of file5 ?

1cat file5 -> recipies

#3 Which file contains the string ‘password’?

1grep "password" *
2file6:passwordHpKRQfdxzZocwg5O0RsiyLSVQon72CjFmsV4ZLGjxI8tXYo1NhLsEply

#4 What is the IP address in a file in the home folder?

1grep -E -o "([0-9]{1,3}[\.]){3}[0-9]{1,3}" *
2file2:10.0.0.05

#5 How many users can log into the machine?

1cat /etc/passwd
23 (root, and the other users)

#6 What is the sha1 hash of file8?

1sha1sum file8
2fa67ee594358d83becdd2cb6c466b25320fd2835 file8

#7 What is mcsysadmin’s password hash?

1cd /var/
2cat shadow.bak
3$6$jbosYsU/$qOYToX/hnKGjT0EscuUIiIqF8GHgokHdy/Rg/DaB.RgkrbeBXPdzpHdMLI6cQJLdFlS4gkBMzilDBYcQvu2ro/

More articles from Ludovic COULON

Mr Robot CTF

Mr Robot CTF writeup

May 10th, 2020 · 1 min read

Advent of Cyber Challenge - TryHackMe

Advent of Cyber Challenge all the challengs solved write up

May 8th, 2020 · 1 min read
© 2020 Ludovic COULON
Link to $https://github.com/LasCCLink to $https://www.linkedin.com/in/ludovic-coulon-b361ba183/Link to $https://www.youtube.com/channel/UCkDvlI9LUuwZ4GKFUbP_OvgLink to $mailto:coulonludovicc@gmail.com
063664e4.js" async="">rticle-template-tsx-fac2cb322ae3779ab23c.js"],"component---node-modules-narative-gatsby-theme-novela-src-templates-articles-template-tsx":["/component---node-modules-narative-gatsby-theme-novela-src-templates-articles-template-tsx-75d5051dbb9b62f679f4.js"],"component---node-modules-narative-gatsby-theme-novela-src-templates-author-template-tsx":["/component---node-modules-narative-gatsby-theme-novela-src-templates-author-template-tsx-c3eb85094c80affbacbb.js"],"component---src-pages-404-js":["/component---src-pages-404-js-4e613ed42f9076e29eb2.js"]};/*]]>*/