官术网_书友最值得收藏!

Setting up secure connectivity

It is not only important to ensure that there is connectivity from the local on-premises box to the C&C server; however, it should also be secure. You don't want to give someone the ability to sniff the traffic and get information that they shouldn't have. This not only makes you look bad as a penetration tester, but could also cause serious issues for the company you are running the penetration test for.

Your job as a penetration tester is to find weaknesses in the environment. So having these being clearly seen in as they pass over the wire is like forgetting to close your safe, where you have all of your most important and valuable items.

For my penetration-testing requirements, I will use a reverse SSH tunnel within a stunnel instance. I will show you the steps to set up this secure communication from the C&C server side to the on-premises box, which in my case is the Raspberry Pi. First, we will start inside in with the reverse SSH setup, followed by the stunnel setup. But when bringing up the connection, this happens in the opposite order, with the stunnel session getting set up first, followed by the reverse SSH session within that tunnel.

Since this is an intermediate level book, I will not go into a complete step-by-step setup of some of these tools. I will assume that the base operating system is in place; in this case, it's Kali Linux on the laptop VM as well as the Raspberry Pi.
主站蜘蛛池模板: 右玉县| 台北县| 江源县| 太保市| 峡江县| 区。| 深圳市| 嵩明县| 澜沧| 呼和浩特市| 区。| 海兴县| 海安县| 莆田市| 江陵县| 驻马店市| 石渠县| 碌曲县| 股票| 馆陶县| 肇东市| 德州市| 大丰市| 泾川县| 嘉祥县| 大石桥市| 姜堰市| 廊坊市| 江达县| 广南县| 海宁市| 天峻县| 阳谷县| 晋州市| 威信县| 普兰店市| 锦屏县| 松原市| 饶平县| 北海市| 新竹县|