- 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.
推薦閱讀
- ASP.NET Core:Cloud-ready,Enterprise Web Application Development
- Learn Type:Driven Development
- arc42 by Example
- Visual Basic程序設計習題解答與上機指導
- Python程序設計案例教程
- Java性能權威指南(第2版)
- Windows Forensics Cookbook
- MySQL數據庫基礎實例教程(微課版)
- 微服務架構深度解析:原理、實踐與進階
- 大話Java:程序設計從入門到精通
- Java EE 7 with GlassFish 4 Application Server
- Java Web入門很輕松(微課超值版)
- C語言程序設計實驗指導教程
- Building E-Commerce Solutions with WooCommerce(Second Edition)
- The Python Apprentice