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

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.
主站蜘蛛池模板: 天全县| 罗田县| 双鸭山市| 门源| 旬阳县| 兰州市| 泸定县| 安图县| 桓仁| 临沧市| 大关县| 柘荣县| 库尔勒市| 泾阳县| 东明县| 武邑县| 安龙县| 闸北区| 沙湾县| 龙岩市| 扎鲁特旗| 威远县| 太原市| 台前县| 南华县| 寿阳县| 南阳市| 墨竹工卡县| 壤塘县| 扎鲁特旗| 淄博市| 荣成市| 全椒县| 潍坊市| 宜城市| 钦州市| 阿坝县| 肥城市| 石台县| 湘乡市| 玉山县|