Thamizhiniyan C S
HomeWriteupsResourcesCheatsheets
HackTheBox
HackTheBox
  • HackTheBox
  • Machines
    • Easy
      • Devvortex
      • Sau
      • CozyHosting
      • Cat
      • Crafty
      • Analytics
      • Squashed
      • Keeper
      • Pilgrimage
      • NodeBlog
      • PC
  • Tracks
    • Beginner Track
      • Lame
      • Find the Easy Pass
      • Weak RSA
      • Jerry
      • You Know 0xDiablos
      • Netmon
      • Under Construction
      • Blue
    • Intro To Android Exploitation
      • Pinned
      • Manager
      • Anchored
      • APKrypt
      • Explore
      • Don't Overreact
      • APKey
    • Pwn With Metasploit
      • Optimum
      • Devel
  • Challenges
    • Web
      • Easy
        • Templated
  • Sherlocks
    • DFIR
      • Easy
        • Recollection
    • SOC
      • Easy
        • Meerkat
    • Malware Analysis
      • Easy
        • Heartbreaker-Continuum
        • Lockpick
        • Lockpick 2.0
Powered by GitBook
On this page
  • Overview
  • Initial Setup
  • Application Interaction
  • Enumeration
  • Exploitation

Was this helpful?

  1. Tracks
  2. Beginner Track

Find the Easy Pass

Find the Easy Pass writeup by Thamizhiniyan C S

PreviousLameNextWeak RSA

Last updated 1 year ago

Was this helpful?

Overview

Hello everyone, In this writeup we are going to solve Find the Easy Pass from HackTheBox.

Link for the machine :

Lets Start 🙌


Initial Setup

First download the given file.

The give file is a zip file. Extract the zip file using the following command and the given password:

Command: unzip <zip_file>

password: hackthebox

We have got an exe file in the zip name EasyPass.exe.


Application Interaction

I ran the executable and it asked for password:

I tried some random password, but it throwed me an error stating Wrong Password!.


Enumeration

I used the strings tool to check out for useful strings/passwords.

From the response of the strings tool, I didn’t find anything interesting.

Next I tried to use a debugger to simulate and check what is happening when I enter a password. In my case, I used the Immunity Debugger, use can use a debugger of your choice.


Exploitation

I opened the EasyPass.exe executable in Immunity Debugger and scrolling up the first tab, looking out for the string Wrong Password!. I successfully found the string. I added a breakpoint to that line by pressing the F2 key.

Next press F9 key to run the simulate the executable to debug. Once you hit the F9 key, you can see the program screen asking for password:

Enter some random password and click check password in the program and check the immunity debugger’s 4th tab [ right side bottom ], you can the the password that you entered. On the next few lines, there is another string fortran!, to which the password that we enter might be compared to.

Let’s try fortran! in the Enter Password field.

We have successfully found the password.

Thank you!!!!!!

https://app.hackthebox.com/challenges/5