{"id":17383383,"url":"https://github.com/yutianqaq/supernova_cn","last_synced_at":"2025-04-15T07:31:02.736Z","repository":{"id":220844584,"uuid":"752237768","full_name":"yutianqaq/Supernova_CN","owner":"yutianqaq","description":"Supernova 的中文版和扩展了一些加密方式（ROT, XOR, RC4, AES, CHACHA20, B64XOR, B64RC4, B64AES, B64CHACHA20）","archived":false,"fork":false,"pushed_at":"2024-03-01T05:15:02.000Z","size":4178,"stargazers_count":50,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-28T18:14:52.455Z","etag":null,"topics":["aes","chacha20","decryption","encryption","evasion","go","golang","pentest-tool","rc4","redteam","shellcode"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yutianqaq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"publiccode":null,"codemeta":null}},"created_at":"2024-02-03T12:50:05.000Z","updated_at":"2025-03-26T16:30:27.000Z","dependencies_parsed_at":"2024-02-04T20:27:04.700Z","dependency_job_id":"8ea73f83-d6a1-4411-ba5e-3e9c1b6e8567","html_url":"https://github.com/yutianqaq/Supernova_CN","commit_stats":null,"previous_names":["yutianqaq/supernova_cn"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutianqaq%2FSupernova_CN","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutianqaq%2FSupernova_CN/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutianqaq%2FSupernova_CN/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yutianqaq%2FSupernova_CN/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yutianqaq","download_url":"https://codeload.github.com/yutianqaq/Supernova_CN/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249026708,"owners_count":21200494,"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":["aes","chacha20","decryption","encryption","evasion","go","golang","pentest-tool","rc4","redteam","shellcode"],"created_at":"2024-10-16T07:41:25.791Z","updated_at":"2025-04-15T07:31:01.327Z","avatar_url":"https://github.com/yutianqaq.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supernova_CN\n真正的 Shellcode 加密器（对比原版新增加了  CHACHA20, B64XOR, B64RC4, B64AES, B64CHACHA20 等加密方式和汉化帮助信息）感谢原作者 [@nickvourd](https://github.com/nickvourd) 的 [Supernova](https://github.com/nickvourd/Supernova) 以及他们的共同编写者。\n\n原始版本：https://github.com/nickvourd/Supernova\n\n\n## 介绍\nSupernova 是一个开源的 Golang 工具，它使用户能够**方便地**加密原始 shellcode。此外，它还提供将加密的 shellcode 自动转换为与各种编程语言兼容的格式，并提供了**输出对应的解密代码**(引导模式)，包括:\n- C\n- C#\n- Rust\n- Nim\n- Go\n- Raw\n\n它支持多种不同的密码，包括:\n\nROT、XOR、RC4、AES、CHACHA20、Base64XOR、Base64XOR、Base64RC4、Base64AES、Base64CHACHA20\n\n# 能力表\n\nSupernova 是用跨平台语言 Golang 编写的，可以在 Windows、 Linux 和 MacOS（未测试） 系统上使用。\n\n该工具使用选定的密码和语言生成解密函数，同时还提供如何有效使用它的说明。下面是能力表\n\n| 格式 | ROT  | XOR  | RC4  | AES  | CHACHA20 | BASE64XOR | BASE64RC4 | BASE64AES | BASE64CHACHA20 |\n| ---- | ---- | ---- | ---- | ---- | -------- | --------- | --------- | --------- | -------------- |\n| C    | ✔️    | ✔️    | ✔️    | ✔️    | ❌        | ❌         | ❌         | ❌         | ❌              |\n| C#   | ✔️    | ✔️    | ✔️    | ✔️    | ❌        | ❌         | ❌         | ❌         | ❌              |\n| Rust | ✔️    | ✔️    | ✔️    | ✔️    | ❌        | ❌         | ❌         | ❌         | ❌              |\n| Nim  | ✔️    | ✔️    | ✔️    | ✔️    | ❌        | ❌         | ❌         | ❌         | ❌              |\n| Go   | ✔️    | ✔️    | ✔️    | ✔️    | ✔️        | ✔️         | ✔️         | ✔️         | ✔️              |\n| Raw  | ✔️    | ✔️    | ✔️    | ✔️    | ✔️        | ✔️         | ✔️         | ✔️         | ✔️              |\n\n✔️表示以支持\n\n❌表示暂未支持\n\n\n\n## 许可证\n\n本工具使用 [![License: MIT](https://img.shields.io/badge/MIT-License-yellow.svg)](LICENSE) 许可证。\n\n## 安装\n\n要安装Supernova，请运行以下命令，或者下载[发行版本](https://github.com/yutianqaq/Supernova_CN/releases)。\n```\ngo build Supernova.go\n```\n\n### 命令行帮助\n\n```\n\n\n███████╗██╗   ██╗██████╗ ███████╗██████╗ ███╗   ██╗ ██████╗ ██╗   ██╗ █████╗\n██╔════╝██║   ██║██╔══██╗██╔════╝██╔══██╗████╗  ██║██╔═══██╗██║   ██║██╔══██╗\n███████╗██║   ██║██████╔╝█████╗  ██████╔╝██╔██╗ ██║██║   ██║██║   ██║███████║\n╚════██║██║   ██║██╔═══╝ ██╔══╝  ██╔══██╗██║╚██╗██║██║   ██║╚██╗ ██╔╝██╔══██║\n███████║╚██████╔╝██║     ███████╗██║  ██║██║ ╚████║╚██████╔╝ ╚████╔╝ ██║  ██║\n╚══════╝ ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝   ╚═══╝  ╚═╝  ╚═╝\n\nSupernova v1.2.0 - 真正的Shellcode加密器。\nSupernova是一个开源工具，受MIT许可证保护。\n由@nickvourd、@0xvm、@Papadope9和@yutianqaq用\u003c3编写...\n原版请访问https://github.com/nickvourd/Supernova了解更多信息...\n汉化版本https://github.com/yutianqaq/Supernova_CN\n\nUsage of Suprenova.exe:\n  -d    开启 Debug 模式\n  -enc string\n        Shellcode加密方式 (例如, ROT, XOR, RC4, AES, CHACHA20, B64XOR, B64RC4, B64AES, B64CHACHA20)\n  -guide\n        开启引导模式（输出解密代码）\n  -i string\n        64 位原始格式 Shellcode 的路径\n  -k int\n        加密的密钥长度 (default 1)\n  -lang string\n        转换(Raw, Nim, Rust, C, CSharp, Go)格式的 Shellcode\n  -o string\n        输出到文件\n  -v string\n        Shellcode 的变量名称 (default \"shellcode\")\n  -version\n        展示 Supernova 当前的版本\n```\n\n# 使用方式\n\n## 仅加密 Shellcode - XOR\n\n这将输出 key 长度为 10 的多字节 xor shellcode。\n\n```\nmsfvenom -p windows/x64/exec CMD=\"calc.exe\" -f raw -o calc.bin\n\n./Supernova -enc xor -i calc.bin -k 10 -lang go -o calc_xor10.bin\n\n\n███████╗██╗   ██╗██████╗ ███████╗██████╗ ███╗   ██╗ ██████╗ ██╗   ██╗ █████╗ \n██╔════╝██║   ██║██╔══██╗██╔════╝██╔══██╗████╗  ██║██╔═══██╗██║   ██║██╔══██╗\n███████╗██║   ██║██████╔╝█████╗  ██████╔╝██╔██╗ ██║██║   ██║██║   ██║███████║\n╚════██║██║   ██║██╔═══╝ ██╔══╝  ██╔══██╗██║╚██╗██║██║   ██║╚██╗ ██╔╝██╔══██║\n███████║╚██████╔╝██║     ███████╗██║  ██║██║ ╚████║╚██████╔╝ ╚████╔╝ ██║  ██║\n╚══════╝ ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝   ╚═══╝  ╚═╝  ╚═╝\n\nSupernova v1.0.0 - 真正的Shellcode加密器。\nSupernova是一个开源工具，受MIT许可证保护。\n由@nickvourd、@0xvm、@Papadope9和@yutianqaq用\u003c3编写...\n原版请访问https://github.com/nickvourd/Supernova了解更多信息...\n汉化版本https://github.com/yutianqaq/Supernova_CN\n\n[+] Payload size: 276 bytes\n\n[+] Converted payload to go language\n\n[+] Generated XOR key: 0x86, 0xbe, 0xa8, 0x2e, 0x2b, 0x21, 0x42, 0xa6, 0x3a, 0x56\n\n[+] Encrypted payload with xor\n\n[+] Save encrypted shellcode file to /root/Tools-dev/Test/calc_xor10.bin\n\n```\n\n## 加密并输出解密方式 - XOR\n\n追加 -guide 参数将输出加密后的 Shellcode 并输出加密方式。\n\n```\n./Supernova -enc xor -i calc.bin -k 10 -lang go -o calc_xor10.bin -guide\n\n\n███████╗██╗   ██╗██████╗ ███████╗██████╗ ███╗   ██╗ ██████╗ ██╗   ██╗ █████╗ \n██╔════╝██║   ██║██╔══██╗██╔════╝██╔══██╗████╗  ██║██╔═══██╗██║   ██║██╔══██╗\n███████╗██║   ██║██████╔╝█████╗  ██████╔╝██╔██╗ ██║██║   ██║██║   ██║███████║\n╚════██║██║   ██║██╔═══╝ ██╔══╝  ██╔══██╗██║╚██╗██║██║   ██║╚██╗ ██╔╝██╔══██║\n███████║╚██████╔╝██║     ███████╗██║  ██║██║ ╚████║╚██████╔╝ ╚████╔╝ ██║  ██║\n╚══════╝ ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═╝╚═╝  ╚═══╝ ╚═════╝   ╚═══╝  ╚═╝  ╚═╝\n\nSupernova v1.0.0 - 真正的Shellcode加密器。\nSupernova是一个开源工具，受MIT许可证保护。\n由@nickvourd、@0xvm、@Papadope9和@yutianqaq用\u003c3编写...\n原版请访问https://github.com/nickvourd/Supernova了解更多信息...\n汉化版本https://github.com/yutianqaq/Supernova_CN\n\n[+] Payload size: 276 bytes\n\n[+] Converted payload to go language\n\n[+] Generated XOR key: 0xf8, 0x4f, 0x2c, 0x15, 0xd6, 0xcd, 0x30, 0x9f, 0xa0, 0xd1\n\n[+] Encrypted payload with xor\n\n[+] XOR decrytpion function has been saved to Program.go file\n\n[+] Save encrypted shellcode file to /root/Tools-dev/Test/calc_xor10.bin\n\n```\n\n\n\n**Program.go**\n\n```\n┌──(root㉿kali)-[~/Tools-dev/Test]\n└─#go mod init xor10\n\n┌──(root㉿kali)-[~/Tools-dev/Test]\n└─# go build Program.go                  \n\n┌──(root㉿kali)-[~/Tools-dev/Test]\n└─# ./Program \nXOR  Decrypted Payload:\n0xFC, 0x48, 0x83, 0xE4, 0xF0, 0xE8, 0xC0, 0x00, 0x00, 0x00, 0x41, 0x51, 0x41, 0x50, 0x52, 0x51, 0x56, 0x48, 0x31, 0xD2, 0x65, 0x48, 0x8B, 0x52, 0x60, 0x48, 0x8B, 0x52, 0x18, 0x48, 0x8B, 0x52, 0x20, 0x48, 0x8B, 0x72, 0x50, 0x48, 0x0F, 0xB7, 0x4A, 0x4A, 0x4D, 0x31, 0xC9, 0x48, 0x31, 0xC0, 0xAC, 0x3C, 0x61, 0x7C, 0x02, 0x2C, 0x20, 0x41, 0xC1, 0xC9, 0x0D, 0x41, 0x01, 0xC1, 0xE2, 0xED, 0x52, 0x41, 0x51, 0x48, 0x8B, 0x52, 0x20, 0x8B, 0x42, 0x3C, 0x48, 0x01, 0xD0, 0x8B, 0x80, 0x88, 0x00, 0x00, 0x00, 0x48, 0x85, 0xC0, 0x74, 0x67, 0x48, 0x01, 0xD0, 0x50, 0x8B, 0x48, 0x18, 0x44, 0x8B, 0x40, 0x20, 0x49, 0x01, 0xD0, 0xE3, 0x56, 0x48, 0xFF, 0xC9, 0x41, 0x8B, 0x34, 0x88, 0x48, 0x01, 0xD6, 0x4D, 0x31, 0xC9, 0x48, 0x31, 0xC0, 0xAC, 0x41, 0xC1, 0xC9, 0x0D, 0x41, 0x01, 0xC1, 0x38, 0xE0, 0x75, 0xF1, 0x4C, 0x03, 0x4C, 0x24, 0x08, 0x45, 0x39, 0xD1, 0x75, 0xD8, 0x58, 0x44, 0x8B, 0x40, 0x24, 0x49, 0x01, 0xD0, 0x66, 0x41, 0x8B, 0x0C, 0x48, 0x44, 0x8B, 0x40, 0x1C, 0x49, 0x01, 0xD0, 0x41, 0x8B, 0x04, 0x88, 0x48, 0x01, 0xD0, 0x41, 0x58, 0x41, 0x58, 0x5E, 0x59, 0x5A, 0x41, 0x58, 0x41, 0x59, 0x41, 0x5A, 0x48, 0x83, 0xEC, 0x20, 0x41, 0x52, 0xFF, 0xE0, 0x58, 0x41, 0x59, 0x5A, 0x48, 0x8B, 0x12, 0xE9, 0x57, 0xFF, 0xFF, 0xFF, 0x5D, 0x48, 0xBA, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x48, 0x8D, 0x8D, 0x01, 0x01, 0x00, 0x00, 0x41, 0xBA, 0x31, 0x8B, 0x6F, 0x87, 0xFF, 0xD5, 0xBB, 0xF0, 0xB5, 0xA2, 0x56, 0x41, 0xBA, 0xA6, 0x95, 0xBD, 0x9D, 0xFF, 0xD5, 0x48, 0x83, 0xC4, 0x28, 0x3C, 0x06, 0x7C, 0x0A, 0x80, 0xFB, 0xE0, 0x75, 0x05, 0xBB, 0x47, 0x13, 0x72, 0x6F, 0x6A, 0x00, 0x59, 0x41, 0x89, 0xDA, 0xFF, 0xD5, 0x63, 0x61, 0x6C, 0x63, 0x2E, 0x65, 0x78, 0x65, 0x00\n```\n\n\n\n\n\n## 参考\n\n- [D3Ext/maldev: Golang library for malware development](https://github.com/D3Ext/maldev)\n\n- [nickvourd/Supernova: Real fucking shellcode encryption tool](https://github.com/nickvourd/Supernova)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutianqaq%2Fsupernova_cn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyutianqaq%2Fsupernova_cn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyutianqaq%2Fsupernova_cn/lists"}