Book Image

Advanced Infrastructure Penetration Testing

Book Image

Advanced Infrastructure Penetration Testing

Overview of this book

It has always been difficult to gain hands-on experience and a comprehensive understanding of advanced penetration testing techniques and vulnerability assessment and management. This book will be your one-stop solution to compromising complex network devices and modern operating systems. This book provides you with advanced penetration testing techniques that will help you exploit databases, web and application servers, switches or routers, Docker, VLAN, VoIP, and VPN. With this book, you will explore exploitation abilities such as offensive PowerShell tools and techniques, CI servers, database exploitation, Active Directory delegation, kernel exploits, cron jobs, VLAN hopping, and Docker breakouts. Moving on, this book will not only walk you through managing vulnerabilities, but will also teach you how to ensure endpoint protection. Toward the end of this book, you will also discover post-exploitation tips, tools, and methodologies to help your organization build an intelligent security system. By the end of this book, you will have mastered the skills and methodologies needed to breach infrastructures and provide complete endpoint protection for your system.
Table of Contents (14 chapters)

Routing fundamentals

In the previous chapters, we discussed switches. Routers and switches are both required to forward information. Switches work in layer 2 even if there are some layer 3 switches. Routers operate in layer 3, which is the Network Layer:

In order to exchange information, routers use IP addresses. They are maintaining a routing table. When it comes to routing, we have two different categories:

  • Static routing: In static routing, all the routes are set manually by the network administrator. It is a good decision for small networks where we have fewer unnecessary routing updates, but it will be a problem when a link goes down.
  • Dynamic routing: In dynamic routing, routers adapt quickly while they learn the network topology from neighbors, even if a link goes down, but the network traffic is greater than during static routing. Thus, networking overhead could occur...