Challenge,ย Easy, ย onย  Linux

You have access to a Linux system with an additional unmounted drive that contains a hidden flag. Your mission is to:

  1. Discover the unmounted drive
  2. Mount it to the filesystem
  3. Capture the flag from the mounted drive
Hint 1: Discovering Block Devices ๐Ÿ’ก

Before you can mount a drive, you need to know what drives are available on the system. Use commands like lsblk, fdisk -l, or blkid to list available block devices.

Look for devices that aren't currently mounted (no mount point shown).

Hint 2: Creating Mount Points ๐Ÿ’ก

To mount a filesystem, you need a mount point - an empty directory where the filesystem will be attached.

Create a directory (commonly under /mnt/ or /media/) using mkdir before mounting.

Hint 3: The Mount Command ๐Ÿ’ก

The basic syntax for mounting is:

mount /dev/<device> /path/to/mountpoint

For example: mount /dev/sdb /mnt/my-drive

After mounting, you can access the files in the mounted filesystem through the mount point directory.

Hint 4: Finding the Flag ๐Ÿ’ก

Once the drive is mounted, explore the mounted directory to find the flag file. Use ls to list files and cat to read file contents.

The flag will be a hexadecimal string (containing only letters a-f and numbers 0-9).

Discussion:ย  Discord
Categories:ย Linux

Level up your Server Side game โ€” Join 10,500 engineers who receive insightful learning materials straight to their inbox