<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc" -->

---
title: AI Cloning Should Be Illegal! | daily.dev
description: A retired Microsoft engineer demonstrates using Ghidra to decompile the Windows calculator binary (calc.exe) into pseudocode, then prompts an AI to translate...
canonical: https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AI Cloning Should Be Illegal! | daily.dev
og:description: A retired Microsoft engineer demonstrates using Ghidra to decompile the Windows calculator binary (calc.exe) into pseudocode, then prompts an AI to translate...
og:url: https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc
og:image: https://api.daily.dev/og/posts/EDe4f7qbC.png
og:image:alt: AI Cloning Should Be Illegal!
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AI Cloning Should Be Illegal!

**[Dave's Garage](https://daily.dev/sources/davesgarage)** · 20 min read · 15 upvotes · 7 comments

## Summary

A retired Microsoft engineer demonstrates using Ghidra to decompile the Windows calculator binary (calc.exe) into pseudocode, then prompts an AI to translate that logic into a new Rust application, producing a working functional clone without any original source code. The experiment raises the question of whether such AI-assisted binary-to-binary translation constitutes legitimate reverse engineering or unauthorized derivative work. The author argues that while copyright law (Section 102) excludes ideas and functional methods from protection, and precedents like Sega v. Accolade and Sony v. Connectix allow some disassembly for compatibility, cloning a proprietary application's full implementation via AI-driven decompilation-to-rewrite should be considered unethical and potentially illegal, distinguishing it from clean-room engineering or spec-driven AI development used for his own Task Manager app.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=KC31K-CUC5Y>

## Questions this post answers

### Can an AI reconstruct a Windows application like calculator.exe in Rust using only the compiled binary, without source code?

Yes, a demonstrated workflow used Ghidra, the NSA's reverse engineering framework, to decompile Microsoft's calculator binary (calc.exe) into pseudocode, which an AI then translated into Rust and compiled into a new binary. The AI recovered over 10,000 functions from the calculation DLL and nearly 19,000 from the UI DLL, producing a working, pixel-approximate clone, though not verified as perfectly equivalent.

_Developers weighing AI-assisted reverse engineering against copyright risk can track these debates on daily.dev._

### Is it legal to use AI to decompile a proprietary application and rewrite it in a different programming language?

It is legally uncertain and ethically contested. US copyright law under Section 102 excludes ideas, processes, and functional methods from protection, so functionality alone can't be owned, but protectable expression surviving translation remains infringement; cases like Sega v. Accolade and Sony v. Connectix allowed limited disassembly for compatibility but did not grant blanket permission to clone finished commercial products.

_Anyone navigating AI tooling and IP risk in their own projects can follow this kind of analysis on daily.dev._

### What is clean room engineering and how does it differ from AI-based binary decompilation and translation?

Clean room engineering involves one engineer documenting an API's specification without viewing its implementation, then a separate team building to that spec, as Phoenix did to legally clone the IBM PC BIOS. This differs from feeding an existing binary into AI for decompilation and direct translation, since the latter derives the new implementation from the original code's analysis rather than an independently authored specification.

_Teams deciding how to approach legal reimplementation of existing software can research these distinctions via daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@henbomb** · 7 upvotes

> AI is gonna annihilate everyone bro just stop complaining and enjoy the time you have left.

**@dolphprefect** · 2 upvotes

> Making it illegal would not prevent it to be happening.

**@random\_user** · 2 upvotes

> all reverse engineering and decompilation is protected and legitimate.  cloning isn't necessarily reverse engineering, it can be clean room as well.
>
> just because the author doesn't like the implications of what new technology can accomplish doesn't make it unethical. the authors new task manager is AI coded, and AI is trained on real humans code, sure that isn't 1:1 but the ethics are the same.  doesn't matter how abstract the copying is and how many or few sources go into the new product.  is "stealing" from thousands to make something more or less ethical that from one?

**@harshitmanepally** · 2 upvotes

> I mean it will work out as a cool local project but we can't publish the same

**@svenmueller** · 0 upvotes

> MS decompiled the physical calculator in the first place 😅

## Similar posts on daily.dev

- [Reviving a 20-year-old puzzle game Chromatron with Ghidra and AI](https://daily.dev/posts/reviving-a-20-year-old-puzzle-game-chromatron-with-ghidra-and-ai-ki0rz0jet) · Quesma · 0 upvotes · 0 comments
- [AI And The Ship of Theseus](https://daily.dev/posts/ai-and-the-ship-of-theseus-pkcywq7xd) · Armin Ronacher · 3 upvotes · 0 comments

---

Tags: [#rust](https://daily.dev/tags/rust), [#ai-coding](https://daily.dev/tags/ai-coding), [#reverse-engineering](https://daily.dev/tags/reverse-engineering)

[View this post on daily.dev](https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AI Cloning Should Be Illegal!","url":"https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc"},"datePublished":"2026-10-14T00:43:40.173Z","dateModified":"2026-10-14T00:44:04.400Z","description":"A retired Microsoft engineer demonstrates using Ghidra to decompile the Windows calculator binary (calc.exe) into pseudocode, then prompts an AI to translate...","image":"https://i.ytimg.com/vi/KC31K-CUC5Y/sddefault.jpg","thumbnailUrl":"https://i.ytimg.com/vi/KC31K-CUC5Y/sddefault.jpg","isAccessibleForFree":true,"articleSection":"Dave's Garage","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Dave's Garage","logo":"https://media.daily.dev/image/upload/s--1Gw4wrLn--/f_auto/v1710012430/logos/davesgarage","url":"https://daily.dev/sources/davesgarage"},"commentCount":6,"discussionUrl":"https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":15},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":6}],"keywords":"rust,ai-coding,reverse-engineering","timeRequired":"PT20M","video":{"@type":"VideoObject","name":"AI Cloning Should Be Illegal!","description":"A retired Microsoft engineer demonstrates using Ghidra to decompile the Windows calculator binary (calc.exe) into pseudocode, then prompts an AI to translate...","thumbnailUrl":"https://i.ytimg.com/vi/KC31K-CUC5Y/sddefault.jpg","uploadDate":"2026-10-14T00:43:40.173Z","duration":"PT20M","url":"https://api.daily.dev/r/EDe4f7qbC","embedUrl":"https://www.youtube.com/embed/KC31K-CUC5Y"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dave's Garage","item":"https://daily.dev/sources/davesgarage"},{"@type":"ListItem","position":3,"name":"AI Cloning Should Be Illegal!"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc","comment":[{"@type":"Comment","text":"AI is gonna annihilate everyone bro just stop complaining and enjoy the time you have left.","datePublished":"2026-10-14T20:23:46.256Z","url":"https://daily.dev/posts/EDe4f7qbC#c-zQfkFi02T","author":{"@type":"Person","name":"HΣn","url":"https://daily.dev/henbomb","image":"https://lh3.googleusercontent.com/a/ACg8ocKLNWeTt8UQp94l8luT61tFyG5vL9jh6dONvB-LwB76203P8uVo=s96-c"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":6}},{"@type":"Comment","text":"Making it illegal would not prevent it to be happening.","datePublished":"2026-10-15T08:57:34.169Z","url":"https://daily.dev/posts/EDe4f7qbC#c-jX95c6rYy","author":{"@type":"Person","name":"Rudolf","url":"https://daily.dev/dolphprefect","image":"https://avatars.githubusercontent.com/u/107988397?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"all reverse engineering and decompilation is protected and legitimate.  cloning isn’t necessarily reverse engineering, it can be clean room as well.\njust because the author doesn’t like the implications of what new technology can accomplish doesn’t make it unethical. the authors new task manager is AI coded, and AI is trained on real humans code, sure that isn’t 1:1 but the ethics are the same.  doesn’t matter how abstract the copying is and how many or few sources go into the new product.  is “stealing” from thousands to make something more or less ethical that from one?","datePublished":"2026-10-15T21:21:12.232Z","url":"https://daily.dev/posts/EDe4f7qbC#c-kED03trfv","author":{"@type":"Person","name":"Joshua Jarman","url":"https://daily.dev/random_user","image":"https://media.daily.dev/image/upload/f_auto/v1632349791/avatars/f857f24c9be64a05bcc33d248c2e9b23"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"I mean it will work out as a cool local project but we can’t publish the same","datePublished":"2026-10-15T08:42:00.733Z","url":"https://daily.dev/posts/EDe4f7qbC#c-Z4e3LtTUD","author":{"@type":"Person","name":"HARSHIT MANEPALLY","url":"https://daily.dev/harshitmanepally","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}},{"@type":"Comment","text":"MS decompiled the physical calculator in the first place 😅","datePublished":"2026-10-16T12:44:29.255Z","url":"https://daily.dev/posts/EDe4f7qbC#c-sEETEVO5j","author":{"@type":"Person","name":"Sven Müller","url":"https://daily.dev/svenmueller","image":"https://media.daily.dev/image/upload/s--Lxo_RYD9--/f_auto/v1789037218/avatars/avatar_wOCfKSaj8KbWxt3BWg54g?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/ai-cloning-should-be-illegal--ede4f7qbc#faq","mainEntity":[{"@type":"Question","name":"Can an AI reconstruct a Windows application like calculator.exe in Rust using only the compiled binary, without source code?","acceptedAnswer":{"@type":"Answer","text":"Yes, a demonstrated workflow used Ghidra, the NSA's reverse engineering framework, to decompile Microsoft's calculator binary (calc.exe) into pseudocode, which an AI then translated into Rust and compiled into a new binary. The AI recovered over 10,000 functions from the calculation DLL and nearly 19,000 from the UI DLL, producing a working, pixel-approximate clone, though not verified as perfectly equivalent. Developers weighing AI-assisted reverse engineering against copyright risk can track these debates on daily.dev."}},{"@type":"Question","name":"Is it legal to use AI to decompile a proprietary application and rewrite it in a different programming language?","acceptedAnswer":{"@type":"Answer","text":"It is legally uncertain and ethically contested. US copyright law under Section 102 excludes ideas, processes, and functional methods from protection, so functionality alone can't be owned, but protectable expression surviving translation remains infringement; cases like Sega v. Accolade and Sony v. Connectix allowed limited disassembly for compatibility but did not grant blanket permission to clone finished commercial products. Anyone navigating AI tooling and IP risk in their own projects can follow this kind of analysis on daily.dev."}},{"@type":"Question","name":"What is clean room engineering and how does it differ from AI-based binary decompilation and translation?","acceptedAnswer":{"@type":"Answer","text":"Clean room engineering involves one engineer documenting an API's specification without viewing its implementation, then a separate team building to that spec, as Phoenix did to legally clone the IBM PC BIOS. This differs from feeding an existing binary into AI for decompilation and direct translation, since the latter derives the new implementation from the original code's analysis rather than an independently authored specification. Teams deciding how to approach legal reimplementation of existing software can research these distinctions via daily.dev."}}]}
```

