Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Learn About AI Threats and Defenses

Learning Objectives

After completing this unit, you’ll be able to:

  • Identify AI risks and defense strategies for everyday applications.
  • Describe the role of cyber defenders in protecting systems, users, and businesses.

As we advance further into the realm of artificial intelligence (AI), the understanding of its ethical considerations and security protocols becomes more important. Remember, AI not only offers revolutionary conveniences but also introduces potential risks.

Let’s briefly touch upon these dual dimensions before proceeding to a vital topic—AI cyberattacks and defenses.

AI Cyber Attacks and Defenses

As the role of AI expands into everyday life—like helping you choose a movie to watch, keeping an eye on your home security, or even assisting your kids with their homework—it’s important to know that this convenience comes with a set of risks. Just as we’ve seen technology evolve, so have the tactics of those looking to exploit it.

Understanding the Risks of Everyday AI Use

First, there are attacks on the AI systems themselves.

  • Poisoning the algorithm: Think of this as feeding the AI bad information to get wrong answers. Imagine if the GPS in your car was deliberately misdirected, sending you to the wrong location.
  • Data tampering: This would be like changing the ingredients in a recipe that your smart kitchen follows, potentially resulting in a meal that’s not what you expected—or wanted.
  • Unauthorized access: Imagine if someone could whisper secret commands to your voice-activated home assistant, controlling it without your permission.

Two flowcharts side-by-side. The flowchart on the left lists stages of an AI learning model from the dataset to the learning algorithm to the machine learning model. The flowchart on the right lists the same stages but includes a poisoning attack in the dataset stage which “poisons” the last stage.

Second, there are risks that directly affect you.

  • Digital impersonation: You've probably heard of deepfakes, where someone's likeness and voice can be recreated with scary accuracy. It could be used to fake a message from a trusted friend or family member.
  • AI-driven scams: Ever received an email or text that seemed legit but felt a bit off? AI can generate very convincing scam messages designed to trick you into revealing sensitive information.
  • Smart malware: These are viruses or harmful software that can adapt and learn from your behavior. For example, if you frequently shop online, the malware might target your payment information.

And finally, risks that could affect your workplace or broader community.

  • Corporate data tampering: If a business relies on AI for operations, messing with that AI could result in actions that go against the company’s interests.
  • Reputation damage: For businesses that use AI to interact with customers, if that AI system gets compromised, it could lead to a loss of trust.

Users have a significant role to play in keeping AI safe and ethical. While some controls are beyond the end-user’s reach, there are actionable steps within your sphere of influence to keep your experience with AI both secure and ethically sound at home and at work. Here’s what you can do. 

  • Be informed: Read the privacy policy and terms of service of any AI-driven application or service you use. Know exactly what data is being collected and how it's being used.
  • Update regularly: Keep your applications and software updated. By doing so, you receive not only the latest security patches, but also patches that address ethical considerations within the AI system.
  • Enable security settings: Use all available security options like two-factor authentication, especially for AI-driven services that have access to your personal data.
  • Review and audit: Periodically review the data you've shared with AI systems. Delete unnecessary information and adjust settings to limit data exposure.
  • Be skeptical: If a message or video seems off, it probably is. Be cautious and verify information before sharing or acting on it.
  • Educate others: Share your knowledge and insights about the ethical and security considerations of using AI with friends and family.
  • Report issues:If you come across biased or unethical behavior, report it. Reporting issues depends on the context in which you encounter the problematic AI behavior.
    • Service provider: The first point of contact should be the company or organization that provides the AI service. Most platforms have a reporting mechanism for security or ethical issues.
    • Regulatory bodies: For more severe cases, especially those involving privacy or discrimination, you may need to report the issue to relevant governmental or regulatory bodies like the Federal Trade Commission (FTC) or Equal Employment Opportunity Commission (EEOC) in the US or similar entities in international jurisdictions.
    • Internal channels: If the AI system is provided by your employer for workplace use, report the issue to the IT department or a designated ethics committee, if there is one.
    • Developer groups: If it’s open-source software, you can usually report issues directly to the developers through repositories like GitHub.

By taking these steps, you contribute to a culture of safety and ethical responsibility in the AI space. It’s not just about enjoying the perks of smart technology; it’s about using it wisely.

As we delve deeper into an AI-centric world, recognizing and mitigating these specific threats becomes paramount for safeguarding our digital future. 

AI and Cyber Defense

For all the challenges AI brings, it also promises transformative solutions in cybersecurity. Equipped with AI, cyber defenders can actively defend against AI-based attacks by leveraging a host of techniques and technologies. Let’s dig a little deeper and review the ways AI can help in cyber defense practices.

Cybersecurity’s role 

Protect and defend techniques and technologies 

Protecting the AI system

  • Behavioral analytics: AI scans for unusual patterns within general use cases, flagging deviations that could indicate potential threats or attacks.
  • Robustness training: AI models are trained to resist attacks by exposing them to malicious inputs, enhancing system resilience.
  • Model monitoring: Continuously monitoring models to check for discrepancies between their training behavior and real-world behavior can help detect backdoor attacks or any anomalies that arise from data poisoning.
  • Data validation: AI can validate the integrity of training data in real-time, spotting and filtering out malicious or poisoned data before it impacts the model.

Safeguarding people

  • Deepfake detection: Advanced AI algorithms can be trained to spot deepfakes by detecting subtle inconsistencies in videos, audio, or images that humans might overlook.
  • Real-time phishing detection: AI can quickly scan emails and other communication forms for signs of phishing. By analyzing vast amounts of phishing data, AI can recognize even new, sophisticated phishing tactics.
  • Adaptive threat intelligence: Using AI, cybersecurity systems can adapt to AI-powered malware's changing tactics. This is achieved by continuously learning and evolving by recognizing new patterns.
  • End-user behavior analytics (EUBA): By analyzing normal user profiles, AI can detect unusual activities in real time. This can protect against potential threats posed by compromised AI systems.

Defending the business mission

  • Predictive analysis: AI can predict future security threats by analyzing patterns in historical data. This proactive approach helps businesses to counteract threats even before they materialize, ensuring alignment with their mission.
  • Automated response systems: Upon detection of any threats, AI can automate responses for the business to review and decide appropriate action, whether it's isolating a system, initiating a backup, or sending alerts. Speed is often crucial, and automation can often respond faster than humans.
  • Integrated threat intelligence: AI can integrate various threat intelligence sources from across systems along with actionable (based on highest likelihood of efficacy) recommendations incorporated into the guidance to deal effectively with a given threat.
  • Semantic analysis: By understanding the context and semantics of communications, AI can detect subtle signs of prompt injections or other attempts to manipulate AI-driven decision-making processes.

By harnessing the capabilities of AI, cybersecurity can actively and efficiently defend against the myriad threats posed by malicious attacks against and by AI. While the challenge is ever-evolving, the integration of AI into cybersecurity can produce a dynamic, adaptive, and robust defense mechanism tailored for the modern digital age.

A person using AI to monitor a network.

Charting a Path Forward

The intersection of artificial intelligence and cybersecurity presents a paradigm shift that resonates deeply with every cybersecurity professional. The complexities and potential of AI not only redefine the technological landscape but also sculpt new avenues for skill enhancement, knowledge acquisition, and performance impact.

At the heart of this transition is the realization that AI’s capabilities are matched only by its vulnerabilities. For cybersecurity professionals, this translates to expansive opportunities like the following.

  1. Education and training: As AI models become more intricate, so does the need for deepening our understanding. Tailored courses and certifications focusing on AI-centric cybersecurity will soon become not just desirable, but essential.
  2. Skill augmentation: The tools and techniques that sufficed yesterday might not hold against tomorrow’s AI-driven threats. Continuous skills development in threat detection and analysis, automated incident response strategies, and ethical considerations when deploying AI, is paramount.
  3. Amplified impact: With AI integration into industries, the role of cybersecurity expands from protecting systems to shaping business trajectories. A well-secured AI model can drive business growth, enhance user trust, and ensure ethical adherence.

The future, with its AI-driven advancements, requires adaptation and innovation. By embracing continuous learning, refining skills, and aiming for greater impactful contributions, cybersecurity professionals won’t just navigate the AI landscape—they’ll define it.

Sum It Up

In this module, you’ve been introduced to AI in our professional and personal lives and to the ethical and security implications of AI. You’ve also learned about AI cyberattacks and the ways we can defend against them. Equipped with this understanding, you are now able to both champion AI’s innovations and fortify its defenses!

Interested in learning more about cybersecurity roles and hearing from security professionals? Check out the Cybersecurity Career Path on Trailhead. 

Resources

Share your Trailhead feedback over on Salesforce Help.

We'd love to hear about your experience with Trailhead - you can now access the new feedback form anytime from the Salesforce Help site.

Learn More Continue to Share Feedback