- 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.
推薦閱讀
- MySQL數據庫管理實戰
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- DevOps with Kubernetes
- C語言程序設計習題解析與上機指導(第4版)
- Windows系統管理與服務配置
- 自己動手寫Java虛擬機
- React Native Cookbook
- 碼上行動:零基礎學會Python編程(ChatGPT版)
- Julia機器學習核心編程:人人可用的高性能科學計算
- 單片機應用技術
- Scala謎題
- 網絡爬蟲原理與實踐:基于C#語言
- Spring Boot企業級項目開發實戰
- Java程序設計案例教程
- Test-Driven JavaScript Development