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

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.
主站蜘蛛池模板: 庐江县| 定安县| 随州市| 页游| 大化| 西盟| 宾阳县| 新乡市| 望城县| 德清县| 哈巴河县| 新兴县| 寿宁县| 蚌埠市| 太谷县| 安顺市| 扎鲁特旗| 尚志市| 海安县| 军事| 驻马店市| 子长县| 铜山县| 米林县| 丰城市| 得荣县| 黔西| 信阳市| 保靖县| 中宁县| 武乡县| 德州市| 炉霍县| 平阴县| 罗定市| 会同县| 隆子县| 庆城县| 略阳县| 聂荣县| 霍城县|