Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Bash Shell Scripting for Pentesters
  • Table Of Contents Toc
Bash Shell Scripting for Pentesters

Bash Shell Scripting for Pentesters

By : Steve Campbell
5 (1)
close
close
Bash Shell Scripting for Pentesters

Bash Shell Scripting for Pentesters

5 (1)
By: Steve Campbell

Overview of this book

Bash shell scripting is essential for penetration testing because it’s versatile and efficient and integrates thoroughly with the Unix-based systems commonly used in cybersecurity assessments. In this book, the author leverages his decades of experience in IT and pentesting to help you automate repetitive tasks, rapidly analyze data, and craft sophisticated exploits, boosting your effectiveness and productivity. You’ll get to grips with Bash basics, set up a hacking environment, and create basic scripts, before exploring file management, text processing, and manipulation. The chapters will guide you through advanced topics such as networking, parallel processing, and regular expressions. From there, the book will move on to practical applications, walking you through reconnaissance, web application and infrastructure pentesting, privilege escalation, persistence, and pivoting, all using Bash scripting. You’ll also get a solid understanding of advanced topics, including evasion and obfuscation tactics, integrating AI into penetration testing workflows, and implementing DevSecOps practices. By the end of this book, you’ll be well-versed with Bash shell scripting techniques tailored to penetration testing scenarios.
Table of Contents (22 chapters)
close
close
Lock Free Chapter
1
Part 1: Getting Started with Bash Shell Scripting
9
Part 2: Bash Scripting for Pentesting
16
Part 3: Advanced Applications of Bash Scripting for Pentesting

Summary

In this chapter, we explored techniques for evading detection by AV and EDR systems during pentests, focusing on Bash shell scripting. We covered methods for gathering information about the security environment, basic and advanced obfuscation techniques, and strategies for automating the generation of evasive scripts.

We learned how to use Bash commands to identify installed security software and active monitoring processes. We examined various obfuscation methods, including variable name obfuscation, command substitution, and encoding techniques. We also covered advanced evasion tactics such as timing-based evasion and transferring data using DNS. Finally, we discussed the development of a framework for generating obfuscated Bash scripts and testing their effectiveness against common AV and EDR solutions.

The value of these techniques will become apparent as more stakeholders install endpoint protection agents on Linux systems. This will make it more difficult to pentest...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Bash Shell Scripting for Pentesters
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon