Shocker attack path and techniques

By Daniel Dayan ยท Updated

Shocker is an easy Linux machine on Hack The Box that I solved myself. It maps to the technique hubs Command Injection and RCE; Sudo Misconfiguration.

Overview

Shocker is an easy Linux machine from Hack The Box that I tagged with Exploiting-NOPASSWD and Exploiting-shellshock. Shocker counts toward the CWEE practice list in the ZeroBox catalog.

PlatformHack The Box
Operating systemLinux
DifficultyEasy
WalkthroughsIppSec video walkthrough available
Relevant forCWEE

Attack path summary

Shocker, while fairly simple overall, demonstrates the severity of the renowned Shellshock exploit, which affected millions of public-facing servers.

Tags

Exploiting-NOPASSWD Exploiting-shellshock

Techniques explained

Where it fits

Related solved machines

Other machines I solved that share tags, a technique hub or a practice list with Shocker.

Related

Track Shocker in ZeroBox.

Log your Shocker progress, notes and flags offline in your browser, and follow the pentest methodology checklist.

Shocker belongs to Hack The Box; this page contains only my own notes.