- 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.
推薦閱讀
- 計算機網(wǎng)絡(luò)
- JavaScript+DHTML語法與范例詳解詞典
- Azure IoT Development Cookbook
- Unity Virtual Reality Projects
- Java程序員面試算法寶典
- C/C++常用算法手冊(第3版)
- Bootstrap 4:Responsive Web Design
- 快人一步:系統(tǒng)性能提高之道
- Mastering Android Development with Kotlin
- Advanced Express Web Application Development
- CoffeeScript Application Development Cookbook
- 深度探索Go語言:對象模型與runtime的原理特性及應(yīng)用
- Spring 5 Design Patterns
- 現(xiàn)代C:概念剖析和編程實踐
- 安卓工程師教你玩轉(zhuǎn)Android