Ru

RustAegis – Writing a VM-based obfuscator without using 'unsafe'

Hacker News

RustAegis – Writing a VM-based obfuscator without using 'unsafe'

I wanted to see if I could build a robust obfuscation engine and virtual machine in Rust without resorting to unsafe code. RustAegis is the result. It protects functions by compiling them into custom bytecode, encrypting them via AES-GCM, and running them on an embedded VM. To make analysis harder, it uses randomized opcode tables (changing every build) and MBA transformations. While it targets anti-tamper and anti-reversing use cases, it was also a deep dive into writing interpreters in safe Rust. https://github.com/onurkun/RustAegis Feedback welcome!

Share card

Actual performance

2points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
50%50% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Product HuntUnlikely to reach the leaderboard · Strong signals: mac, using, code · Missing: agents, macos, agent
48%48% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: io · Missing: https docs, excited, just released
48%48% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
47%47% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Missing: mobile apps, ios, personal
36%36% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
1%1% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Us
Using LDA to suggest GitHub repositories based on what you have starred41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Using LDA to suggest GitHub repositories based on what you have starred

Hacker News99
Wr
Writing SQL expressions using Java syntax55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Writing SQL expressions using Java syntax

Hacker News24
I
I made a WebGL-based app that traces images using circles66%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

I made a WebGL-based app that traces images using circles

Hacker News93
Me
MelodyScript, a DSL for writing melodies with chords61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MelodyScript, a DSL for writing melodies with chords

Hacker News2
Me
MelodyScript, a DSL for writing melodies with chords61%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

MelodyScript, a DSL for writing melodies with chords

Hacker News12
Wr
Writing WebComponents with PureScript51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Writing WebComponents with PureScript

Hacker News2
To
Tocker – TDD for writing Dockerfiles51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Tocker – TDD for writing Dockerfiles

Hacker News3
Wr
Writing an Interpreter in Elixir73%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Writing an Interpreter in Elixir

Hacker News7
Fe
Feathers, blogless writing for everybody54%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Feathers, blogless writing for everybody

Hacker News22
Wr
Writing wrapper on top of Selenium WebDriver46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Writing wrapper on top of Selenium WebDriver

Hacker News1