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

eBook
$27.98 $39.99
Paperback
$34.98 $49.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
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
Estimated delivery fee Deliver to Ecuador

Standard delivery 10 - 13 business days

$19.95

Premium delivery 3 - 6 business days

$40.95
(Includes tracking information)

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 Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Estimated delivery fee Deliver to Ecuador

Standard delivery 10 - 13 business days

$19.95

Premium delivery 3 - 6 business days

$40.95
(Includes tracking information)

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 $5 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 $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 114.95 139.97 25.02 saved
Google Machine Learning and Generative AI for Solutions Architects
$49.99
Generative AI Foundations in Python
$29.98 $39.99
Adversarial AI Attacks, Mitigations, and Defense Strategies
$34.98 $49.99
Total $ 114.95 139.97 25.02 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 the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela