Skip to main content

One post tagged with "Dynamic Code Analysis"

Dynamic code analysis involves analyzing source code as it is executed by an application, typically using automated tools to monitor runtime behavior. It involves running the code in a controlled environment and simulating real-world scenarios to identify issues such as crashes, memory leaks, and performance bottlenecks. This type of analysis can also be used to detect security vulnerabilities that may not have been apparent through static analysis alone.

View All Tags

HTB | Find The Easy Pass | Write-Up

· 11 min read

Summary:

We navigate the Hack The Box CTF platform, preparing for a challenge by preparing challenge files and testing the executable. We then perform static analysis using Ghidra and dynamic analysis with OllyDbg to gain insight into its behavior.

Next, we run the executable with test data and track where it stores this data in memory, checking the surrounding environment to better understand the context. With this knowledge, we extract the password and verify it by running the executable again with the password as input. Finally, we submit the flag as HTB{<password>} and declare Challenge Completed.

Challenge Name: Find The Easy Pass | Difficulty: Easy | Category: Reversing