Hacking and defense for red and blue teamers
Miriam C. Wiesner

#PowerShell
#Automation
#Scripting
#Cybersecurity
#Hacking
Explore PowerShell's offensive and defensive capabilities to strengthen your organization's security
Take your cybersecurity skills to the next level with this comprehensive guide to PowerShell security! Whether you're a red or blue teamer, you'll gain a deep understanding of PowerShell's security capabilities and how to use them. After revisiting PowerShell basics and scripting fundamentals, you'll dive into PowerShell Remoting and remote management technologies. You'll learn how to configure and analyze Windows event logs and understand the most important event logs and IDs to monitor your environment. You'll dig deeper into PowerShell's capabilities to interact with the underlying system, Active Directory and Azure AD. Additionally, you'll explore Windows internals including APIs and WMI, and how to run PowerShell without powershell.exe. You'll uncover authentication protocols, enumeration, credential theft, and exploitation, to help mitigate risks in your environment, along with a red and blue team cookbook for day-to-day security tasks. Finally, you'll delve into mitigations, including Just Enough Administration, AMSI, application control, and code signing, with a focus on configuration, risks, exploitation, bypasses, and best practices. By the end of this book, you'll have a deep understanding of how to employ PowerShell from both a red and blue team perspective.
This book is for security professionals, penetration testers, system administrators, and red and blue teams looking to learn how to leverage PowerShell for security operations. A basic understanding of PowerShell, cybersecurity fundamentals, and scripting is a must. For some parts a basic understanding of active directory, C++/C#, and assembly can be beneficial.
About the Author
Miriam C. Wiesner is an experienced Sr. Security Researcher at Microsoft, where she contributes to the development of detections for Microsoft 365 Defender. With over 15 years of experience in IT and IT Security, Miriam has held a range of positions, including Administrator/System Engineer, Software Developer, Premier Field Engineer, Program Manager, and Security Consultant & Penetration Tester.
In addition to her role at Microsoft, Miriam is an renowned creator of open-source tools based in PowerShell, including EventList and JEAnalyzer. Her research and tools have been presented at numerous international conferences, such as Black Hat (USA, Europe & Asia), PSConf EU, hack.lu, BSides, and MITRE ATT&CK workshop, where she has been invited to share her insights and expertise.









