- Penetration Testing Bootcamp
- Jason Beltrame
- 363字
- 2021-07-02 21:36:01
Setting up and maintaining the Command and Control Server
After gathering as much intelligence as possible over the last two days, it is now time to start thinking about the penetration test itself, and how we will execute it. On Day 4, we will start the actual testing or penetrate the various systems that we found during our investigational phase, but before we get there, there are still some items to think about. First, where do we plan to place any of the evidence that is acquired during the test? We don't want to leave it on the server in case it is found and potentially changed (or the vulnerability is patched before we can report it). We may also need to perform some off-server analysis depending on the device we have within the network running the test. This is where a command and control (C&C) server comes into play.
In this chapter, we will discuss the use of a C&C server within a penetration-testing exercise and how it plays a pivotal role. We will also dive into various options that exist for a C&C server. This will allow you to have options as to where you put it as well as what it is. Finally, we will discuss setting up, managing, and monitoring as well as using this C&C server effectively and securely. This will include automating some tasks as well as file utilities to make sure we stay under the radar. We will be covering the following topics in this chapter:
- C&C requirements
- Setting up secure connectivity
- Inside server SSH setup
- C&C server SSH setup
- Setting up a reverse SSH tunnel
- Stunnel to the rescue verify the automation automating? evidence collection file utilities
C&C server? setup is very much dependent on the penetration tester. Some, like me, prefer to have a centralized C&C server, with smaller devices within the network to perform tests. Others may choose to just use their more powerful devices for both testing and analysis. It's really up to the penetration tester's personal style. The following section reflects my personal style; however, you should definitely explore other ways based on your own personal preferences.
- 大學(xué)計(jì)算機(jī)基礎(chǔ)(第三版)
- Design Principles for Process:driven Architectures Using Oracle BPM and SOA Suite 12c
- C#程序設(shè)計(jì)實(shí)訓(xùn)指導(dǎo)書(shū)
- Hands-On Data Structures and Algorithms with JavaScript
- Apache Hive Essentials
- Django Design Patterns and Best Practices
- Learning Selenium Testing Tools(Third Edition)
- C語(yǔ)言程序設(shè)計(jì)案例精粹
- Elasticsearch Server(Third Edition)
- 前端HTML+CSS修煉之道(視頻同步+直播)
- HTML5從入門到精通 (第2版)
- Working with Odoo
- 51單片機(jī)C語(yǔ)言開(kāi)發(fā)教程
- Learning Continuous Integration with TeamCity
- 案例式C語(yǔ)言程序設(shè)計(jì)實(shí)驗(yàn)指導(dǎo)