These are hands-on challenges presented at the end of each module to reinforce newly learned concepts. These tasks require learners to immediately apply techniques discussed in the lesson, ensuring they understand how the theory translates into real-world offensive or defensive operations. By engaging directly with simulated environments, users build muscle memory, identify gaps in understanding, and develop confidence in executing the skills before moving on.
DEBUGGING WINDOWS PROGRAMS
Try to RDP into the Windows VM using one of the methods mentioned above, and apply what you learned in this module. When you try to attach to 'Free CD to MP3 Converter', what is the name of its process?
root@htb:~$ xfreerdp /v:10.129.43.22 /u:htb-student /p:Academy_student!
PS C:\> Set-Location ~/Desktop
PS C:\> Get-ChildItem .
Directory: C:\Users\htb-student\Desktop
Mode LastWriteTime Length Name
-a---- 4/26/2021 6:39 AM 2006 CloudMe.lnk
-a---- 9/27/2025 7:57 PM 1041 Free CD to MP3 Converter.lnk
PS C:\> & ".\Free CD to MP3 Converter.lnk"
...
* the "&" is PowerShell’s call operator that tells PowerShell to
“take the next token (string, variable, or scriptblock) and execute it as a
command.”
- it is when the command to be run is stored in a string or contains
spaces / special characters.
PS C:\> .\x32dbg.lnk
X32DBG > File > Attach
Program Name: Free CD to MP3 Converter
X32DBG > Attach
PID=6356
Name=cdextract
Title=Free CD to MP3 Converter
Path=C:\Program Files\CD to MP3 Freeware\cdextract.exe
FUZZING PARAMETERS
Try to fuzz the program with '.wav' files of increments of 1000 bytes '1000, 2000, 3000...', and find the smallest payload size that crashes the program and overwrites EIP with '41414141'.
root@htb:~$ xfreerdp /v:10.129.43.22 /u:htb-student /p:Academy_student!
PS C:\> Set-Location ~/Desktop
PS C:\> Get-ChildItem .
Directory: C:\Users\htb-student\Desktop
Mode LastWriteTime Length Name
-a---- 4/26/2021 6:39 AM 2006 CloudMe.lnk
-a---- 9/27/2025 7:57 PM 1041 Free CD to MP3 Converter.lnk
PS C:\> & ".\Free CD to MP3 Converter.lnk"
...
PS C:\> .\x32dbg.lnk
X32DBG > File > Attach
Program Name: Free CD to MP3 Converter
X32DBG > Attach
PID=6356
Name=cdextract
Title=Free CD to MP3 Converter
Path=C:\Program Files\CD to MP3 Freeware\cdextract.exe