Skip to content

0xvpr/Rust-Malware-Concept

Repository files navigation

Rust Malware Concept


--- A Concept design of a simple malware executable compiled using rust. The payload is calc.exe.

Table of Contents

How it works

TL;DR

The file moves itself, renames itself (as backdoor.exe), hides itself, and re-executes itself
inside of the target's AppData folder.

Detailed explanation
The application is a Trojan that moves itself into the users AppData folder and sets its
attribute to hidden. In my case the payload is calc.exe
You can set this to whatever you want obviously.

Building It Yourself

If you compile this code as is, it IS NOT malicious in any way shape or form.

  • WSL2/Ubuntu (Docker)
    make docker-container
    make docker-build