Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Adversarial AI Attacks, Mitigations, and Defense Strategies
Adversarial AI Attacks, Mitigations, and Defense Strategies

Adversarial AI Attacks, Mitigations, and Defense Strategies: A cybersecurity professional's guide to AI attacks, threat modeling, and securing AI with MLSecOps

Arrow left icon
Profile Icon John Sotiropoulos
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (13 Ratings)
Paperback Jul 2024 586 pages 1st Edition
eBook
NZ$40.99 NZ$58.99
Paperback
NZ$50.99 NZ$73.99
Subscription
Free Trial
Arrow left icon
Profile Icon John Sotiropoulos
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (13 Ratings)
Paperback Jul 2024 586 pages 1st Edition
eBook
NZ$40.99 NZ$58.99
Paperback
NZ$50.99 NZ$73.99
Subscription
Free Trial
eBook
NZ$40.99 NZ$58.99
Paperback
NZ$50.99 NZ$73.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Adversarial AI Attacks, Mitigations, and Defense Strategies

Part 1: Introduction to Adversarial AI

In this part, you will get an overview of AI, cybersecurity, and adversarial AI. You will learn the fundamental concepts and terms you need to know to embark on your journey of mastering adversarial AI and AI security. This will cover algorithms, models, model development and deployment, and inference APIs. We will set up our environment and create our first sample AI solution, which we will use later in the book. We will also cover cybersecurity fundaments and how to apply them to our sample solution, including vulnerability and code scanning, while demonstrating our first adversarial attack on our sample AI service.

This part has the following chapters:

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Understand the connection between AI and security by learning about adversarial AI attacks
  • Discover the latest security challenges in adversarial AI by examining GenAI, deepfakes, and LLMs
  • Implement secure-by-design methods and threat modeling, using standards and MLSecOps to safeguard AI systems
  • Purchase of the print or Kindle book includes a free PDF eBook

Description

Adversarial attacks trick AI systems with malicious data, creating new security risks by exploiting how AI learns. This challenges cybersecurity as it forces us to defend against a whole new kind of threat. This book demystifies adversarial attacks and equips cybersecurity professionals with the skills to secure AI technologies, moving beyond research hype or business-as-usual strategies. The strategy-based book is a comprehensive guide to AI security, presenting a structured approach with practical examples to identify and counter adversarial attacks. This book goes beyond a random selection of threats and consolidates recent research and industry standards, incorporating taxonomies from MITRE, NIST, and OWASP. Next, a dedicated section introduces a secure-by-design AI strategy with threat modeling to demonstrate risk-based defenses and strategies, focusing on integrating MLSecOps and LLMOps into security systems. To gain deeper insights, you’ll cover examples of incorporating CI, MLOps, and security controls, including open-access LLMs and ML SBOMs. Based on the classic NIST pillars, the book provides a blueprint for maturing enterprise AI security, discussing the role of AI security in safety and ethics as part of Trustworthy AI. By the end of this book, you’ll be able to develop, deploy, and secure AI systems effectively.

Who is this book for?

This book tackles AI security from both angles - offense and defense. AI builders (developers and engineers) will learn how to create secure systems, while cybersecurity professionals, such as security architects, analysts, engineers, ethical hackers, penetration testers, and incident responders will discover methods to combat threats and mitigate risks posed by attackers. The book also provides a secure-by-design approach for leaders to build AI with security in mind. To get the most out of this book, you’ll need a basic understanding of security, ML concepts, and Python.

What you will learn

  • Understand poisoning, evasion, and privacy attacks and how to mitigate them
  • Discover how GANs can be used for attacks and deepfakes
  • Explore how LLMs change security, prompt injections, and data exposure
  • Master techniques to poison LLMs with RAG, embeddings, and fine-tuning
  • Explore supply-chain threats and the challenges of open-access LLMs
  • Implement MLSecOps with CIs, MLOps, and SBOMs

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jul 26, 2024
Length: 586 pages
Edition : 1st
Language : English
ISBN-13 : 9781835087985
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jul 26, 2024
Length: 586 pages
Edition : 1st
Language : English
ISBN-13 : 9781835087985
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just NZ$7 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total NZ$ 168.97 206.97 38.00 saved
Google Machine Learning and Generative AI for Solutions Architects
NZ$73.99
Generative AI Foundations in Python
NZ$43.99 NZ$58.99
Adversarial AI Attacks, Mitigations, and Defense Strategies
NZ$50.99 NZ$73.99
Total NZ$ 168.97 206.97 38.00 saved Stars icon

Table of Contents

26 Chapters
Part 1: Introduction to Adversarial AI Chevron down icon Chevron up icon
Chapter 1: Getting Started with AI Chevron down icon Chevron up icon
Chapter 2: Building Our Adversarial Playground Chevron down icon Chevron up icon
Chapter 3: Security and Adversarial AI Chevron down icon Chevron up icon
Part 2: Model Development Attacks Chevron down icon Chevron up icon
Chapter 4: Poisoning Attacks Chevron down icon Chevron up icon
Chapter 5: Model Tampering with Trojan Horses and Model Reprogramming Chevron down icon Chevron up icon
Chapter 6: Supply Chain Attacks and Adversarial AI Chevron down icon Chevron up icon
Part 3: Attacks on Deployed AI Chevron down icon Chevron up icon
Chapter 7: Evasion Attacks against Deployed AI Chevron down icon Chevron up icon
Chapter 8: Privacy Attacks – Stealing Models Chevron down icon Chevron up icon
Chapter 9: Privacy Attacks – Stealing Data Chevron down icon Chevron up icon
Chapter 10: Privacy-Preserving AI Chevron down icon Chevron up icon
Part 4: Generative AI and Adversarial Attacks Chevron down icon Chevron up icon
Chapter 11: Generative AI – A New Frontier Chevron down icon Chevron up icon
Chapter 12: Weaponizing GANs for Deepfakes and Adversarial Attacks Chevron down icon Chevron up icon
Chapter 13: LLM Foundations for Adversarial AI Chevron down icon Chevron up icon
Chapter 14: Adversarial Attacks with Prompts Chevron down icon Chevron up icon
Chapter 15: Poisoning Attacks and LLMs Chevron down icon Chevron up icon
Chapter 16: Advanced Generative AI Scenarios Chevron down icon Chevron up icon
Part 5: Secure-by-Design AI and MLSecOps Chevron down icon Chevron up icon
Chapter 17: Secure by Design and Trustworthy AI Chevron down icon Chevron up icon
Chapter 18: AI Security with MLSecOps Chevron down icon Chevron up icon
Chapter 19: Maturing AI Security Chevron down icon Chevron up icon
Index Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(13 Ratings)
5 star 92.3%
4 star 7.7%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Dwayne Natwick Sep 02, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I recently received a copy of @Packt Publishing’s Adversarial AI Attacks, Mitigations, and Defense Strategies from @John Sotiropoulos. This book outlines that various types of AI attacks along with the anatomy and design of these attacks. The author provides information on the architecture and setup that can be used for detailed analysis, mitigation, and defense of these attacks. There is also a complete section on generative AI and how it is used for a new level of attacks. Throughout this book, the author has done a great job of developing understanding and knowledge for the reader about these attacks, how they are created, and how you can protect your environment against them. This book is highly recommended for anyone that is looking for a level of understanding about how to architect, monitor, and defend against AI attacks.
Amazon Verified review Amazon
T J Coup Aug 01, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
A highly necessary book in the field, this comprehensive guide to AI security offers a structured understanding of key issues, complete with hands-on examples. A must-read for all IT professionals this summer.
Amazon Verified review Amazon
Matthew Kiely Oct 28, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is an essential read for anyone looking to deepen their understanding of adversarial AI.It goes beyond merely explaining how these attacks operate, it shows you how to set up a test environment to simulate these attacks and observe their impact on machine learning models.It’s indepth and not for the faint hearted!The hands-on approach allows you to see how adversarial techniques can corrupt AI systems.It is a well-rounded resource for both aspiring and seasoned AI professionals
Amazon Verified review Amazon
Andy Aug 29, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The author really knows his stuff and lays it out in a very approachable way. The writing and graphics are good, and the layout is very logical. That said, you better have solid AI design and cybersecurity in your recent past. Sample code for setting up the environment and defenses against the top AI attacks for predictive and generativeAI environments. Guidance is provided for DevSecOps, MLOps, and LLMOps, so you can build security in from the planning stage or apply mitigation strategies to environments already in operation. I love that he provides reference architecture diagrams that include the potential attacks (the snipped graphic on this review is from the book) and on which part of the architecture different attacks focus.The book is just under 600 pages, there isn’t any fluff, and it is very hands-on. It hits multiple audiences with various role focuses. That said, it is more like an encyclopedia for teams involved in AI at a company than it is a book for an individual, one that should be read end-to-end and then referenced as needed. Nice job.
Amazon Verified review Amazon
Brandon Lachterman Sep 06, 2024
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I really enjoyed this book, and it will be a fixture on my virtual shelf for reference. In a subject just getting more traction, this book gets down to brass tax and covers the subjects any reader is looking for, while leaving out the extra fluff. Very technical, but clear to understand. Highly recommend.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.