HackTheBox: Calamity Privilege Escalation

HackTheBox is a service that offers a lab environment of vulnerable machines for people interesting in pentesting. Today I will cover the escalation of privileges from user to root on the retired machine Calamity. Debugging and Analyzing the Application Upon logging onto the machine we are presented with an application and its source-code. Before we analyze the binary, let’s have a look at what sort of protections we are dealing with.