Challenge: KPMG UART Shell
Category: Hardware
Objective: Extract the flag from a UART interface with restricted permissions
The challenge presented a basic UART shell with three files available:
firmware.binreadme.txtflagAttempting to read the flag directly returned an access denied error with a crucial hint:
Access Denied: Insufficient permissions
developer access is requiredThe error message pointed directly to needing developer access. Testing various privilege escalation commands led to discovering the devmode functionality.
uart> devmode on
Developer mode enabled.2. Read the flag
uart> read flag
KPMG_CTF{PgXeg5m6YvviRZDZfNGXB-LiyY2qvKTYDnzkLFYDBLLylhfcl0FPTfQLUMQG1sUYmACBdAnbvKIZWas6onEBrIC7vLnRzuVeb2_o5qXY}devmode was the key to privilege escalationPress enter or click to view image in full size