
Python for Offensive PenTest: A practical guide to ethical hacking and penetration testing using Python
Category
Author
Publication
Packt Publishing
Python is an easy-to-learn and cross-platform programming language that has unlimited third-party libraries. Plenty of open source hacking tools are written in Python, which can be easily integrated within your script.
This book is packed with step-by-step instructions and working examples to make you a skilled penetration tester. It is divided into clear bite-sized chunks, so you can learn at your own pace and focus on the areas of most interest to you. This book will teach you how to code a reverse shell and build an anonymous shell. You will also learn how to hack passwords and perform a privilege escalation on Windows with practical examples. You will set up your own virtual hacking environment in VirtualBox, which will help you run multiple operating systems for your testing environment.
By the end of this book, you will have learned how to code your own scripts and mastered ethical hacking from scratch.
About the Author
Hussam Khrais - Senior Security Engineer, GPEN, CEHHi and welcomes you to his page, Hussam is a senior security engineer with over 7 years in penetration testing, Python scripting and network security where he spends countless hours in forging custom hacking tools in Python. He is currently holding the following certificates in information security:--GIAC Penetration Testing - GPEN-Certified Ethical Hacker - CEH-Cisco Certified Network Professional - Security (CCNP Security)
- Code your own reverse shell (TCP and HTTP)
- Create your own anonymous shell by interacting with Twitter, Google Forms, and SourceForge
- Replicate Metasploit features and build an advanced shell
- Hack passwords using multiple techniques (API hooking, keyloggers, and clipboard hijacking)
- Exfiltrate data from your target
- Add encryption (AES, RSA, and XOR) to your shell to learn how cryptography is being abused by malware
- Discover privilege escalation on Windows with practical examples
- Countermeasures against most attacks
- Warming up - Your First Anti-Virus Free Persistence Shell
- Advanced Scriptable Shell
- Passwords Hacking
- Catch Me If You Can!
- Miscellaneous Fun in Windows
- Abuse of cryptography by malware