Book Image

Hands-On Penetration Testing on Windows

By : Phil Bramwell
Book Image

Hands-On Penetration Testing on Windows

By: Phil Bramwell

Overview of this book

Windows has always been the go-to platform for users around the globe to perform administration and ad hoc tasks, in settings that range from small offices to global enterprises, and this massive footprint makes securing Windows a unique challenge. This book will enable you to distinguish yourself to your clients. In this book, you'll learn advanced techniques to attack Windows environments from the indispensable toolkit that is Kali Linux. We'll work through core network hacking concepts and advanced Windows exploitation techniques, such as stack and heap overflows, precision heap spraying, and kernel exploitation, using coding principles that allow you to leverage powerful Python scripts and shellcode. We'll wrap up with post-exploitation strategies that enable you to go deeper and keep your access. Finally, we'll introduce kernel hacking fundamentals and fuzzing testing, so you can discover vulnerabilities and write custom exploits. By the end of this book, you'll be well-versed in identifying vulnerabilities within the Windows OS and developing the desired solutions for them.
Table of Contents (25 chapters)
Title Page
Dedication
Packt Upsell
Contributors
Preface
Index

Questions


  1. Distributing our NOP sled and shellcode payload throughout heap space in order to remove the guesswork in identifying viable return addresses is called _________. 
  2. What's the difference between the js_be and js_le shellcode output formats?
  3. If our shellcode payload is in Unicode format, what JavaScript function should we use to extract the raw bytes?
  4. Identify the command you'd use to attach WinDbg to PID 4566 while creating a graphical session with the debugger.
  5. I can pass da 11ffa93b to the WinDbg command window to display raw hex bytes in memory at 0x11ffa93b. (True | False)
  6. Code caves are sections in backdoor target executables composed of 0x90 NOPs where we can stash our shellcode. (True | False)
  7. When would we need --xp_mode when patching a target executable with BDF?