{"id":13566157,"url":"https://github.com/Whitecat18/Rust-for-Malware-Development","last_synced_at":"2025-04-03T23:31:16.929Z","repository":{"id":222165751,"uuid":"756435047","full_name":"Whitecat18/Rust-for-Malware-Development","owner":"Whitecat18","description":"This repository contains my complete resources and coding practices for malware development using Rust 🦀. ","archived":false,"fork":false,"pushed_at":"2024-04-21T19:29:38.000Z","size":5852,"stargazers_count":407,"open_issues_count":0,"forks_count":43,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-04-22T14:16:50.295Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Whitecat18.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-12T16:55:06.000Z","updated_at":"2024-04-24T14:41:32.208Z","dependencies_parsed_at":"2024-05-01T11:32:29.308Z","dependency_job_id":null,"html_url":"https://github.com/Whitecat18/Rust-for-Malware-Development","commit_stats":null,"previous_names":["whitecat18/rust-for-malware-development"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitecat18%2FRust-for-Malware-Development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitecat18%2FRust-for-Malware-Development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitecat18%2FRust-for-Malware-Development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Whitecat18%2FRust-for-Malware-Development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Whitecat18","download_url":"https://codeload.github.com/Whitecat18/Rust-for-Malware-Development/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247097727,"owners_count":20883125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:02:03.449Z","updated_at":"2025-04-03T23:31:11.921Z","avatar_url":"https://github.com/Whitecat18.png","language":"Rust","funding_links":[],"categories":["Rust","malware","Projects"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"260px\" src=\"https://github.com/Whitecat18/Rust-for-Malware-Development/assets/96696929/08dcf469-a502-450c-ab94-3915fd4b9968\" /\u003e\n\n  \u003ca href = \"https://github.com/Whitecat18/Rust-for-Malware-Development.git\" \u003e\u003ch3\u003eRust for Malware Development\u003c/h3\u003e\u003c/a\u003e\n\n  \u003cb\u003eThis repository contains source codes of various techniques used by real-world malware authors, red teamers, threat actors, state-sponsored hacking groups etc. These techniques are well-researched and implemented in Rust.\u003c/b\u003e\n  \u003cbr\u003e\n  \u003cbr\u003e\n    Repository managed by \u003ca href=\"https://twitter.com/5mukx\"\u003e @5mukx\u003c/a\u003e\u003c/i\u003e\u003c/p\u003e\n  \u003cbr\u003e\n  \n  \u003cimg src=\"https://img.shields.io/badge/Language-Rust-orange\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/OS-Windows%20%26%20Linux-blue\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Maintained-Yes-Green\"\u003e\n\n-----------------\n\n\u003c/div\u003e\n\n\u003e Note: These are my own research and implementations, derived from the original authors' work. If you discover any errors in these codes, please [contact](https://x.com/5mukx) or contribute to this repository.\n\n## Basics \n\nTo Learn Rust -\u003e [Rust Book](https://doc.rust-lang.org/book/)\n\nWindows API [old]-(winapi)-\u003e [WinAPI](https://docs.rs/winapi/latest/winapi/)\n\nWindows API (by Official Microsoft) -\u003e [WinAPI](https://docs.rs/crate/windows/latest) \n\nntapi Crate -\u003e [NtAPI](https://docs.rs/ntapi/latest/ntapi/)\n\nWindows Internels -\u003e [Link](https://learn.microsoft.com/en-us/sysinternals/resources/windows-internals)\n\nRedTeam Notes -\u003e [Link](https://www.ired.team/)\n\n## Manifest dependencies for [winapi](https://docs.rs/winapi/latest/winapi/) to test and execute\n\n**Copy the dependencics in Cargo.toml file**\n\n```\n[dependencies]\nwinapi = { version = \"0.3.9\", features = [\"winuser\",\"setupapi\",\"dbghelp\",\"wlanapi\",\"winnls\",\"wincon\",\"fileapi\",\"sysinfoapi\", \"fibersapi\",\"debugapi\",\"winerror\", \"wininet\" , \"winhttp\" ,\"synchapi\",\"securitybaseapi\",\"wincrypt\",\"psapi\", \"tlhelp32\", \"heapapi\",\"shellapi\", \"memoryapi\", \"processthreadsapi\", \"errhandlingapi\", \"winbase\", \"handleapi\", \"synchapi\"] }\nntapi = \"0.4.1\"\nuser32-sys = \"0.2.0\"\n```\n\n\u003e Tips for Rust Beginners: Copy and save the dependencies in Cargo.toml File. Versions may be different. Just copy the features when testing. \n\n* **How to Compile this Repository Source Codes [README.](./deps.md)**\n* **Cross Compilation Using Docker [README.](./docker.md).** \n\n## Rust Malware Blogs regarding this Repostitory\n\n* [Malware Development Essentials Part 1](https://medium.com/system-weakness/malware-development-essentials-part-1-5f4626652ed9)\n\n* [Rust for CyberSecurity and Red Teaming](https://infosecwriteups.com/rust-for-cyber-security-and-red-teaming-275595d3fdec)\n\n* [DLL Injection using Rust](https://smukx.medium.com/dll-injection-using-rust-593b83734c90)\n\n⚠️ These Resources are only for Education Purposes Only ⚠️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhitecat18%2FRust-for-Malware-Development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWhitecat18%2FRust-for-Malware-Development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWhitecat18%2FRust-for-Malware-Development/lists"}