Say your company needs to build a feature that exchanges data with a partner's program, but there is no documentation for the file format.
It may seem that REA could work out the format in a few hours, but there is something to weigh first.
Whether you may analyze this program, and how far you may use the information you get from analyzing it.
This part lays out the legal framework for reverse engineering in the order Korea, the US, and the EU.
I opened and checked the following original texts myself on November 23, 2026.
US decisions: opinions published by Public.Resource.Org and opinion data from the Harvard Caselaw Access Project
US DMCA: Title 17, Section 1201 of the US Code, via Cornell LII
EU directive: Directive 2009/24/EC, via EUR-Lex
Anything I could not confirm from the original texts is marked in the text as
not verified
.
๐๏ธ
This post summarizes general information and is not legal advice.
Court decisions turn on specific facts, and foreign decisions do not apply directly in Korea.
If you are about to analyze software or publish or sell the results, please consult a lawyer.
Before the law, there are the principles the tool itself sets.
REA's DISCLAIMERโ separates the uses it allows from the uses it will not help with.
Category
Details
Permitted uses
Security research, malware and incident analysis, vulnerability research and coordinated disclosure, CTFs and education, interoperability, software preservation, and debugging or auditing software you own or are authorized to examine
Unsupported uses
Circumventing technical protection measures such as DRM, license checks, and anti-cheat; game cheats and tampering with online services; bypassing authentication, bot protection, or access controls without authorization; copying proprietary software and reproducing protected code and assets; evading AI provider policies; reselling or sharing AI accounts
Two sentences in the same document are especially worth noting.
Public availability of software, possession of a file, or access to a debugging endpoint does not by itself
establish permission for every operation
.
Authorization to inspect an artifact does not necessarily
authorize execution, interception, device changes, or interaction with another party's system
.
It also says commercial tools such as IDA, Hopper, and JEB must be obtained legally by the user, and that cracked copies, stolen keys, and bypassing license restrictions are not authorized.
REA is MIT licensed, but that gives you no rights to the analysis target or to commercial engines.
Program code reverse analysis under the Korean Copyright Act ๐
The Copyright Act defines part of reverse engineering under the name
program code reverse analysis
(ํ๋ก๊ทธ๋จ์ฝ๋์ญ๋ถ์).
The definition in Article 2, item 34 reads as follows.
"Program code reverse analysis" means reproducing or converting the code of a computer program work in order to obtain information necessary for compatibility between an independently created computer program work and another computer program.
What matters is that
compatibility
is built into the definition as the purpose.
Curiosity about a feature, or wanting to build a similar product, does not fall under this definition.
Article 2, item 22 also defines reproduction as
fixing in a tangible medium, temporarily or permanently, or re-making
.
An analysis published in Law Times (๋ฒ๋ฅ ์ ๋ฌธ)โ explains that, because of this definition, loading an executable into a reverse analysis tool and storing it in memory can also count as reproduction.
Article 101-4(1) provides that reverse analysis may be done without the permission of the economic rights holder if all of the following conditions are met.
Who
A person who uses the program with legitimate authority, or a person permitted by them
When
When the information necessary for compatibility cannot easily be obtained and obtaining it is unavoidable
How far
Limited to the parts of the program necessary for compatibility
Article 101-4(2): limits on using the information obtained ๐
Paragraph 2 sets out the cases in which information obtained through reverse analysis
may not be used
.
The text reads as follows.
(2) Information obtained through program code reverse analysis under paragraph (1) shall not be used in any of the following cases:
Where it is used for a purpose other than compatibility or provided to a third party;
Where it is used to develop, produce, or sell a program substantially similar in expression to the program subject to program code reverse analysis, or for any other act that infringes the copyright of the program.
In short,
information obtained for compatibility may be used only for compatibility, and may not be used to build a program substantially similar in expression to the original.
Using REA to analyze another app's features and then "build a similar feature into my product" is some distance from what this provision permits.
๐
The phrase "unreasonably prejudices the interests of the economic rights holder" is found not in Article 101-4 but in the proviso to Article 101-3(1), just before it.
The text of Article 101-4 contains only the three conditions above and the use limits in paragraph 2, so be careful not to read the two articles together.
Article 101-3(1)6: reproduction to study functions ๐
For examining a program for purposes other than compatibility, there is Article 101-3(1), item 6.
Among the cases in which a published program may be reproduced
to the extent necessary for that purpose
, it lists the following.
Where reproduction is made for the purpose of investigating, researching, or testing the functions of a program in order to identify the ideas and principles underlying the program (limited to cases where a person using the program with legitimate authority is using that program)
However, the proviso to paragraph 1 of the same article says this does not apply
where it unreasonably prejudices the interests of the economic rights holder
, in light of the type and use of the program, the share of the reproduced part, the number of copies, and so on.
Exactly which analysis methods this item covers, and how it is distinguished from code reverse analysis, is hard to judge from the text alone, and I did not verify related case law or interpretations from original sources for this post.
Article 101-2 provides that the Act does not apply to the
programming language, rules, and algorithms
used to write a program.
The Law Times analysis explains, on this basis, that reimplementing a feature from public documents and observed behavior alone, without looking at the original code, is distinct from copying the code itself, while adding that creative elements such as screen designs and icons must be considered separately.
License agreements (EULAs) for commercial software usually contain a clause prohibiting reverse engineering.
It is said that scholarly opinion is divided on how far such clauses are effective under Korean law, but I did not directly check Korean case law or scholarly sources for this post.
What can be said within what I checked is that even reverse analysis permitted by the Copyright Act can still raise a separate breach-of-contract issue.
The US has a decision on this question, which we look at below.
Sega Enterprises v. Accolade, 977 F.2d 1510โ is a Ninth Circuit decision issued on October 20, 1992 and amended on January 6, 1993.
That is why sources variously date it to 1992 or 1993.
Accolade disassembled the code in Sega game cartridges to make games for the Genesis console without Sega's permission.
The court accepted that Accolade copied the code
solely to discover the functional requirements for compatibility with the Genesis
, and that no other method was available.
The court's conclusion reads as follows.
Where disassembly is the only way to gain access to the ideas and functional elements embodied in a copyrighted computer program and where there is a legitimate reason for seeking such access, disassembly is a fair use of the copyrighted work, as a matter of law.
The same decision first confirmed that
intermediate copying can infringe copyright regardless of the end product
, and added that this conclusion does not shield Accolade from an infringement claim regarding its finished products.
The decision was also made at the preliminary injunction stage.
Sony Computer Entertainment v. Connectix, 203 F.3d 596โ is a Ninth Circuit decision filed on February 10, 2000.
Connectix repeatedly copied the Sony BIOS and disassembled parts of it while building Virtual Game Station, an emulator that runs PlayStation games on a PC.
The opinion states that Virtual Game Station itself contained none of Sony's copyrighted material.
The court held that the intermediate copies made during reverse engineering were fair use,
necessary to make the non-infringing product work with PlayStation games
, and ordered the injunction dissolved.
Several of its holdings matter in practice.
It applied the same standard not only to disassembly but also to observation in an emulated environment.
It said the "necessity" in Sega is
the necessity of the method
, not of the number of copies.
It found that the district court applied the wrong standard by presuming unfairness from commercial purpose, and treated commerciality as
Bowers v. Baystate Technologies, 320 F.3d 1317โ is a Federal Circuit decision issued on January 29, 2003.
Bowers sold software with a shrink-wrap license (a license deemed accepted by opening the package) that prohibited reverse engineering, and the issue was breach of contract by Baystate, which analyzed it and built a similar product.
Applying First Circuit law, the majority held that
the Copyright Act does not preempt or narrow the scope of Bowers' contract claim
.
The reason was that the contract elements of mutual assent and consideration make the claim qualitatively different from copyright infringement.
The majority added that this does not conflict with earlier decisions treating reverse engineering as fair use, or with DMCA Section 1201(f).
Judge Dyk dissented on this point.
His view was that using a shrink-wrap contract, imposed without negotiation, to eliminate fair use should be preempted by the Copyright Act.
He did, however, agree with the majority that a freely negotiated contract can waive fair use.
In the US, there are decisions recognizing reverse engineering as fair use, but there is also a decision holding that
if a contract prohibits it, liability for breaching that contract can be pursued separately
.
๐
The official citation I confirmed from the opinion data is 320 F.3d 1317.
Judge Dyk's opinion explains that this decision revised an earlier decision after a petition for rehearing; that earlier 2002 decision is reported as 302 F.3d 1334, but I did not verify it from the original text for this post.
DMCA Section 1201(f): the interoperability exception ๐
The DMCA prohibits circumventing technological measures that control access to copyrighted works.
Subsection (f) of 17 U.S.C. ยง 1201โ provides a reverse engineering exception.
A person who has lawfully obtained the right to use a copy of a computer program
may circumvent a technological measure for the sole purpose of identifying and analyzing elements necessary for an independently created program to interoperate with other programs
that have not previously been readily available to that person,
to the extent this does not constitute copyright infringement.
That is what it provides.
The information obtained may be made available to others only for interoperability, and subsection (f) defines interoperability as
the ability of computer programs to exchange information, and of such programs mutually to use the information which has been exchanged
.
As with Korea's Article 101-4, interoperability is the key.
REA's disclaimer flatly refusing to help with DRM and license circumvention also ties into this prohibition.
The decompilation provision in the EU software directive ๐
The EU addresses decompilation in Article 6 of Directive 2009/24/ECโ.
Its structure is very similar to Korea's Article 101-4.
Item
EU Article 6
Korea Article 101-4
Purpose
Interoperability of an independently created program
Compatibility
Who
The licensee or another person with a right to use a copy, or a person authorized on their behalf
A legitimate user or a person permitted by them
Condition
The necessary information has not previously been readily available
It cannot easily be obtained and is unavoidable
Scope
Confined to the parts necessary for interoperability
Limited to the parts necessary for compatibility
Limits on using the information
No use for other goals, no giving it to others unless necessary, no developing a program substantially similar in expression
No use for other purposes or provision to third parties, no developing a program substantially similar in expression
The notable difference in the EU is Article 8.
Article 8 provides that
contractual provisions contrary to Article 6 are null and void
.
In the EU, decompilation for interoperability cannot be blocked by contract
, which contrasts with the US position in Bowers.
Articles 101-2 through 101-4 of the Korean Copyright Act, which I checked this time, contain no corresponding provision voiding such contracts.
Article 6(3) of the EU directive adds, however, that the provision may not be interpreted in a way that unreasonably prejudices the rightholder's legitimate interests or conflicts with the normal exploitation of the program.
The method the industry has used to build compatible products from reverse engineering results is
clean-room design
.
In the definition used by the Law Times analysis, it is a way of writing your own code from scratch based only on publicly available technical documents and outwardly visible features, without looking at the original program's source code.
Typically the people who analyze and the people who implement are separated; the analysis team hands over only a specification, and the implementation team never sees the original code.
This makes it easier to show that the result copies only the original's
function
, not its
expression
.
When an AI does both analysis and implementation ๐
The prompt the REA README gives as an example is "show me how a feature works with evidence, and build a similar feature for my project."
If one agent
reads the original's pseudocode and goes straight on to implement
within the same conversation, it is questionable whether the separation between analyst and implementer still holds.
The pbxscience articleโ points out that the case law on clean rooms predates AI agents and that no case has dealt with an AI-driven reimplementation.
I did not find such a case for this post either.
Within what I checked, there is not yet a standard for judging whether an AI reimplementation counts as a clean room.
To reduce risk, you can split things up like this.
Separate the analysis session from the implementation session, and give the implementation session only a specification, not the original code or pseudocode.
Put only
functions
such as behavior, inputs and outputs, and file formats in the specification, and do not carry over the original code's structure or names.
Keep a record of what material you looked at and what you built.
This approach does not guarantee legal safety.
It is only a practice that reduces risk.
Before analyzing someone else's program with REA, check the following in order.
Step
What to check
Basis
1
Are you using the target legitimately, or do you have the rights holder's permission?
Copyright Act Art. 101-4(1), DMCA ยง 1201(f)
2
Does the license agreement (EULA) contain a clause prohibiting reverse engineering?
Bowers v. Baystate, EU directive Art. 8
3
Is the purpose compatibility (interoperability), and is there no other easy way to get that information?
Art. 101-4(1), EU Art. 6
4
Have you limited the analysis to the necessary parts?
Art. 101-4(1)
5
Does it touch technical protection measures such as DRM or license checks?
DMCA ยง 1201, REA disclaimer
6
Do you plan to use the information for purposes other than compatibility or to develop a similar product?
Art. 101-4(2), EU Art. 6(2)
7
Do you plan to publish or sell the results?
Legal advice if needed
If any of items 1 through 6 is unclear, it is safer to consult a legal professional before starting the analysis.
For programs you wrote yourself, programs whose open source license allows analysis and modification, or binaries offered for analysis such as CTF challenges, this burden is much lighter.
That is why the hands-on work in this series used only a C program I wrote myself and an official open source sample.
The legal boundaries of reverse engineering differ by country, but they share a common axis.
Article 101-4 of the Korean Copyright Act permits reverse analysis by a legitimate user, limited to the necessary parts, when the information needed for compatibility cannot be obtained another way.
Article 101-4(2) prohibits using that information for purposes other than compatibility or for developing a program substantially similar in expression.
The US Sega and Connectix decisions treated disassembly and intermediate copying for compatibility as fair use.
The Bowers decision held that if a contract prohibits reverse engineering, liability for breaching it can be pursued separately.
The EU made it impossible to block decompilation for interoperability by contract.
Reimplementation in which an AI does both analysis and implementation is an area with no case law yet.
In the next part, we cover how people who use reverse engineering tools can themselves become targets, that is, how to deal with fake releases and untrusted binaries.