- Penetration Testing Bootcamp
- Jason Beltrame
- 203字
- 2021-07-02 21:36:01
Inside server SSH setup
Let's start by working on getting the Raspberry Pi, or whichever inside server you will use to set up the secure reverse SSH tunnel. The process itself is not really that difficult. It just involves setting up SSH since this host will be the one initiating connections back to the C&C server:
- The first thing we do is back up old SSH keys and create new ones. On the Raspberry Pi, these keys are set up by default.
- Typically, the Raspberry Pi Kali Linux image allows root login by default. I always verify to prevent unnecessary troubleshooting later.
- Next, we need to allow SSH to start on reboot. This is a very important task. I have had situations where power was lost to one of the hosts, and SSH was not set to restart on boot. I had to manually console in and update. If the device is not local, it can be a hard lesson to learn.
- Restart SSH, and you are ready to go. I always test it out as well just to make sure. So, try to SSH to the Raspberry Pi or whichever inside box you are using just to verify that everything is working.
推薦閱讀
- 數字媒體應用教程
- Visual C++程序設計學習筆記
- 觸·心:DT時代的大數據精準營銷
- Android Jetpack開發:原理解析與應用實戰
- Java高手真經(高級編程卷):Java Web高級開發技術
- Java加密與解密的藝術(第2版)
- Android開發:從0到1 (清華開發者書庫)
- Mastering Business Intelligence with MicroStrategy
- Python爬蟲、數據分析與可視化:工具詳解與案例實戰
- C++編程兵書
- 計算機應用基礎項目化教程
- Qt 4開發實踐
- Node.js應用開發
- Game Development Patterns and Best Practices
- 計算機應用基礎