MODULE // 01

What is reverse engineering? — reading software backwards

15 mindifficulty: beginner

TARGET / AUTHORIZATION分析对象:本机系统自带 /usr/lib64/libcrypto.so.3(OpenSSL 3.0.12)。授权依据:OpenSSL 以 Apache-2.0 许可发布,§2 明文允许反编译研究(开源二进制,白名单第 1 类)。仅只读分析。lab 记录:doc/labs/2026-10-12-lab03。

Every program you run started as source code and became a binary. What is reverse engineering? It is reading that story backwards: from the bytes on disk, recovering what the program does. What is reverse engineering to you is the same skill whether the question is "how does this game decide a ball bounced", "why does this library crash on my input", or "is this firmware doing what its vendor claims" — all are what is reverse engineering in action.

what is reverse engineering made of — the three layers

Agents changed the cost, not the answer to what is reverse engineering. The agent can walk a cross-reference graph in seconds — but you still need to know what a cross-reference means — that is what is reverse engineering knowledge — to judge whether its answer is right. That judgment — the real answer to what is reverse engineering — is what this track builds.

is this allowed? what is reverse engineering, legally

In most jurisdictions, RE for interoperability, security research, and education is lawful — in some it is expressly protected. What creates legal exposure after "what is reverse engineering" is the target and intent: defeating protections or license checks, or poking at systems you have no authorization to touch. Our discipline on this site: only analyze software you own or are licensed to inspect — open source, official demos, or authorized targets. Every lesson here follows it, and you should too. For the practical version of this rule, see lesson 2.

what is reverse engineering on your own machine? it is already running

Here is the part nobody tells beginners: what is reverse engineering practice-wise? you do not need to hunt for a shady target. Your operating system ships with a large, legitimately analyzable binary right now. OpenSSL's libcrypto answers what is reverse engineering on real software — the library behind your HTTPS — is open source (Apache-2.0), which means the license itself grants analysis rights. Let's confirm what it is (outputs from our lab, run 2026-10-12):

bash — lab@realearn verified: ran 2026-10-12
$ openssl version
OpenSSL 3.0.12 24 Oct 2023 (Library: OpenSSL 3.0.12 24 Oct 2023)
$ ls -la /usr/lib64/libcrypto.so.3
→ libcrypto.so.3.0.12(4.5MB)

First static probe — what is reverse engineering if not this: open-source software states its own identity in plaintext:

bash — lab@realearn verified: ran 2026-10-12
$ strings -a /usr/lib64/libcrypto.so.3 | grep -m3 'OpenSSL [0-9]'
OpenSSL 3.0.12 24 Oct 2023

Now the dependency map — the program's supply-chain manifest — what is reverse engineering reads straight out of the binary:

bash — lab@realearn verified: ran 2026-10-12
$ readelf -d /usr/bin/openssl | grep NEEDED
  Shared library: [libssl.so.3]
  Shared library: [libcrypto.so.3]
  Shared library: [libc.so.6]

That last block is dynamic linking in one picture: the openssl CLI is a small entry point; the 4.5MB libcrypto is the real body. Open source does not mean "no binaries" — it means the license answers what is reverse engineering allowed on: looking inside them. When an AI agent inspects this same library later — a live what is reverse engineering case — the REA toolchain treats it like any other ELF; its deep analysis still requires an engine, and it fails closed rather than guessing (we show this in the setup guide).

In the next lesson we go from what is reverse engineering to picking your own first target — one with zero legal ambiguity, because you build it yourself.

next: Your first legal target →

FAQ

What is reverse engineering, in one sentence?

What is reverse engineering? Analyzing a compiled program to recover what it does — structure, logic, data — without its source code.

What is reverse engineering used for?

Interoperability, security research, malware analysis, and education. When people ask what is reverse engineering good for, the honest answer includes most of the software industry foundation.

Is reverse engineering the same as hacking?

No. What is reverse engineering versus hacking? Analysis is read-only study of software you may inspect; hacking implies unauthorized access — different skills and very different legality.

What is reverse engineering of a binary, concretely?

You map headers with readelf, list code with objdump, sweep constants with strings. Lesson one runs all three on a real system binary (OpenSSL).