<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mr. Hippov on Medium]]></title>
        <description><![CDATA[Stories by Mr. Hippov on Medium]]></description>
        <link>https://medium.com/@MrHippov?source=rss-65df3ef149e6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OrGBK5aPxcESJPBL-VVj0g.png</url>
            <title>Stories by Mr. Hippov on Medium</title>
            <link>https://medium.com/@MrHippov?source=rss-65df3ef149e6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 21:43:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@MrHippov/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Breaking a Multi-Layer Protected CrackMe: A Reverse Engineering Journey]]></title>
            <link>https://medium.com/@MrHippov/breaking-a-multi-layer-protected-crackme-a-reverse-engineering-journey-f7e91ee6a084?source=rss-65df3ef149e6------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7e91ee6a084</guid>
            <category><![CDATA[binary-analysis]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[assembly]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <dc:creator><![CDATA[Mr. Hippov]]></dc:creator>
            <pubDate>Fri, 07 Aug 2026 15:25:07 GMT</pubDate>
            <atom:updated>2026-08-07T16:03:41.371Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*THxTAUwM28fhhhxTcjLUPg.png" /></figure><blockquote>📖 <strong>Introduction</strong></blockquote><p>If you are new to the world of reverse engineering, you have probably heard the term <strong>CrackMe</strong> quite often. CrackMes are small programs specifically created for practicing Reverse Engineering. They usually ask the user for a password or a serial key, and the goal of the analyst is to understand how the program validates that password or even discover what the correct password is, without having access to the source code.</p><p>Of course, not all CrackMes are the same. Some are very simple and designed only for learning basic concepts, while others intentionally use techniques such as <strong>Packers, Obfuscation, Virtual Machine Protection, and Anti-Analysis mechanisms</strong> to make the analysis process more challenging. However, these techniques are not meant to make reverse engineering impossible; they are designed to increase the amount of time and effort required from the analyst.</p><p>The CrackMe we are going to analyze belongs to the latter category. When you first look at the file, you might think you are dealing with a binary that is extremely difficult to analyze. Multiple layers of protection have been applied to the file, but as we will see throughout this write-up, by following the execution flow step by step, it is still possible to reach the core logic of the program.</p><p>The goal of this write-up is not just to find the password. More importantly, we want to understand how a Reverse Engineer thinks when facing a binary like this and how they approach the problem step by step — from examining the <strong>PE structure</strong> and <strong>Imports</strong>, to analyzing the <strong>Entry Point</strong>, tracing the Control Flow, and eventually reaching the password validation routine.</p><p><em>In this article, we will examine the analysis process of this CrackMe, starting from the initial file identification phase all the way to extracting the password validation logic.</em></p><p><em>This file is protected by multiple commercial packers, which significantly increases the difficulty of performing Static Analysis.</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*kfN5cD7BQZ6cAqAXt96-HA.png" /></figure><blockquote><strong>📂PE-Analysis</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rc7K422RUjPg4JPTNb7zLQ.png" /></figure><p>First, we examine the file using <strong>PE-Bear</strong>. At first glance, one thing immediately stands out: the presence of dedicated sections such as <strong>.enigma1, .enigma2, .themida, .vmp0, and .vmp1</strong>. These section names usually do not appear inside a binary without a reason, and they indicate that the executable has been protected with multiple layers of protection and Obfuscation.</p><p>In fact, these sections provide our first clues that we are not dealing with an ordinary CrackMe. They suggest that, in order to reach the program’s core logic, we will likely need to bypass several layers of protection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/657/1*gyJ9ww1paCljw2GXkm7nxw.png" /></figure><p><strong>DIE (Detect It Easy)</strong> provides us with more detailed information and confirms the results obtained from the PE Analysis.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote><strong>📦Import Analysis</strong></blockquote><p>After analyzing the file structure, we take a closer look at the <strong>Import Table</strong> as well. Imports can usually provide valuable clues about the functionality and behavior of a program.</p><p>Here, we can see that the program mainly relies on standard <strong>CRT (C Runtime Library)</strong> functions for receiving input, comparing strings, and displaying output. An interesting point is that there are no unusual APIs or cryptography-related functions among the imports. In other words, at least at first glance, there are no ready-made functions for encrypting or decrypting data.</p><p>This gives us an important clue. The password validation logic is most likely implemented directly inside the program itself, and we are probably not dealing with a pre-built function or an external cryptographic library. Therefore, to understand how the password is validated, we need to follow the program’s execution flow and reach the main password validation routine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j1OiwxFGizQDiqEq0FaBkg.png" /></figure><p><strong>I/O Functions:</strong></p><p><strong>▸ fgets</strong> — Reading input</p><p><strong>▸ puts</strong> — Displaying output</p><p><strong>▸ __stdio_common_vfprintf</strong> — Formatted output</p><p><strong>▸ __acrt_iob_func</strong> — File stream access</p><p><strong>▸ fflush</strong> — Flushing output buffer</p><p><strong>String Functions:</strong></p><p><strong>▸ strcmp</strong> — String comparison</p><p><strong>▸ strlen</strong> — String length</p><p><strong>▸ strncpy_s</strong> — Safe string copy</p><p><strong>Console Functions:</strong></p><p><strong>▸ _getch</strong> — Reading single character without echo</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote><strong>🔎String Analysis</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*WQC35E_X7XjMM5Ubep1S1A.png" /></figure><p>After gaining a general understanding of the file structure, the next step is analyzing the <strong>strings</strong> inside the binary. This is usually one of the fastest techniques that can provide useful clues during analysis. In many cases, function names, error messages, success messages, URLs, or even parts of a password may exist as plaintext inside the file, and simply reviewing the strings can reveal valuable information.</p><p>For this purpose, we used both the built-in <strong>Strings</strong> feature of IDA and <strong>FLOSS</strong>. The reason for using FLOSS is that it does not only analyze ordinary strings; if the program decodes strings at runtime or uses <strong>Stack Strings</strong>, FLOSS has a good chance of identifying and recovering them.</p><p>However, the results were somewhat disappointing. Neither IDA revealed any meaningful strings, nor was FLOSS able to extract any Stack Strings or decoded strings. In other words, there was no password, hidden message, or any other useful information that could be directly leveraged.</p><p>This is usually a good indication that the program is actively hiding something from us. It is possible that the strings are generated during runtime, stored in an encrypted form, or that the core logic of the program is hidden behind protection layers and Virtual Machine-based obfuscation.</p><p>In any case, this stage did not provide us with any useful information. Therefore, it is time to move away from string analysis and start following the program’s execution flow. If any important information exists, it will most likely reveal itself during runtime rather than being stored directly inside the file.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote><strong>🚀 Entry Point Analysis</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*CkkbjNye7R_5k0dXspQNrg.png" /></figure><p>After analyzing the <strong>file structure</strong>, <strong>Imports</strong>, and<strong> Strings</strong>, the next step is examining the program’s <strong>Entry Point</strong>.</p><p>The Entry Point is the first location where the operating system transfers control after executing the file. However, in protected applications, this address is usually not the actual starting point of the program’s core logic. Most of the time, it is responsible for tasks such as <strong>preparing the execution environment</strong>, <strong>performing initialization</strong>, <strong>executing Anti-Analysis techniques</strong>, and, when packers are involved, <strong>handling the unpacking process</strong>.</p><p>In this sample, the Entry Point is located at address <strong>0x140001C10</strong>. By analyzing the code at this location, we can see that there is still no sign of the main program logic or the password validation routine. Most of the instructions here are related to the early stages of program execution and only prepare the environment for the actual code to run.</p><p>Therefore, instead of spending too much time on this section, we follow the program’s execution flow (<strong>Control Flow</strong>). By examining Calls and Cross-References, we can see that the Entry Point only transfers control to several other functions responsible for initialization and setting up the program.</p><p>We continue following the execution path until we eventually reach the <strong>main</strong> function, where the core logic of the application resides and the password validation process begins.</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote><strong>🟢main() Function</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/803/1*D9fpgPil2IS536TftFDo4w.png" /></figure><p><strong>Key Observations :</strong></p><ol><li>The presence of a loop with millions of iterations artificially increases the analysis and debugging time, which is a common <strong>Anti-Analysis</strong> technique.</li><li>The protected functions are called from different sections of the binary.</li><li>The <strong>password_validation</strong> function is located at <strong>0x1400013F0</strong>.</li></ol><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>After following the password validation flow, we can see that the program initializes an array of bytes in memory.</p><p>A <strong>15-byte buffer</strong> is allocated and initialized, which appears to be part of the password validation process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*UruGtosJL4FVo9L_6nRD-A.png" /></figure><p>To extract and display the target string, we write a small Python script that reveals the stored value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*NWYYfhaw67Z5Jxy6xyMUSQ.png" /></figure><p>As a result, we obtain the following password:</p><p><strong>Password = “rootaccess1337”</strong></p><p><em>The program also uses a </em><strong><em>custom Virtual Machine (VM)</em></strong><em>, which appears to be mainly designed to protect the password validation logic and increase the overall analysis cost for reverse engineers.</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><blockquote><strong>🧩 Anti-Analysis Techniques Employed</strong></blockquote><p><strong>1.</strong> Multiple Commercial Packers: Enigma, Themida, VMProtect, WinLicense</p><p><strong>2.</strong> Large Junk Sections: Over 8MB of padding/junk data</p><p><strong>3.</strong> Time-Wasting Loops: 3.5 million iteration loop to slow analysis</p><p><strong>4.</strong> Custom VM: Bytecode interpreter for validation logic.</p><p><strong>5.</strong> Stack Cookie Protection: Stack canary checks</p><p><strong>6.</strong> Indirect Calls: Function pointers and dispatch tables</p><blockquote><strong>🏁 Finally</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/292/1*hbChJDt3IQRNGPZsHYDDwA.png" /></figure><blockquote><strong>💡 key lessons</strong></blockquote><ol><li>This program used multiple layers of <strong>Packing</strong> and <strong>Obfuscation</strong>, but these techniques only increase the time and effort required for reverse engineering and cannot replace proper software design.</li><li>Even in the presence of multiple protection layers, the core logic of the program can still be recovered, provided that the analyst is able to correctly follow the program’s execution flow.</li><li>The primary goal of many protection techniques is not to make reverse engineering impossible, but rather to increase the time, cost, and complexity of the analysis process.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7e91ee6a084" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>