Security Threats to AI Services and Systems:

Adversarial threats can compromise your data, steal your money, and even kill you.

Adversarial attacks fool AI systems to misidentify information (Sun, L., Tan, M. & Zhou, Z. A survey of practical adversarial example attacks.

Introduction – The Threat

AI is becoming an enabling and trusted (maybe) technology in our everyday lives.

  • Speaker recognition for verification in financial transactions and facility access
  • Traffic sign reading and danger assessments for autonomous vehicles
  • Medical diagnosis
  • Neural Net object recognition
  • Financial fraud detection
  • And more

The number of mainstream applications that use AI to make critical decisions is rapidly growing across all major market segments and industries.  Adversarial attacks are a real cybersecurity threat that can augment fraud, endanger public safety, and undermine confidence in mainstream online services and infrastructure.

Adversarial attacks are a real threat and growing security concern. These threats compromise the security and reliability of mainstream applications as more and more of them rely on AI technologies for identification and validation. The serious consequences of these malicious attacks can disrupt ecommerce, fintech and public safety. In this article, we will explore some different types of adversarial attacks and their implications, as well as current research on defending against them.

What is an Adversarial Attack

An adversarial attack is an intentional malicious attempt to cause an AI augmented system to make an error.  Adversarial attacks are a growing concern in the field of machine learning, as they can potentially compromise the security and reliability of AI systems. These attacks involve adding malicious inputs into a machine learning model to cause it to make incorrect predictions.

Adding noise to fool a  model
Image taken from https://towardsdatascience.com/breaking-neural-networks-with-adversarial-attacks-f4290a9a45aa

Figure 1 shows an image trained by a neural net correctly identified as a panda.  A noise signal, known as a perturbation,  is created from the input image and then  reduced in intensity. Note that the perturbation is only .7 % (less than one percent) of the source image’s intensity. It is then simply added to the original image which now causes the image to be incorrectly identified. The modified image is not visibly different from the original image. The ability to fool a detection system with content that can not be readily discriminated by a person is one of the major dangers to adversarial attacks.

In this example the attack did not target a specific class to be identified.

Fooling Neural Nets

Neural nets are the backbone of AI decision mechanisms. We will now show how adversarial attacks can be created that can cause a neural net to miss identify a subject it was trained on. Adversarial attacks can be divided into targeted vs untargeted attacks.  In a targeted attack a neural net can be tricked into, to select a category that the adversary has chosen to achieve their malicious goal. Figure 3 shows a targeted attack on a Stop Sign. Untargeted attacks add a random noise signal to cause the system to make an error that fools the detection AI into misclassifying (or not being able to being able to detect the target at all). In a targeted attack a neural net can be tricked to select a category that the adversary has chosen to achieve their malicious goal.

A White-box attacks, also known as “knowledge-based” attacks, occur when an attacker has full knowledge of the targeted machine learning model. In these cases, the attacker can create input samples specifically designed to fool the model. On the other hand, black-box attacks, also known as “query-based” attacks, occur when an attacker does not have access to the details of the model. In these cases, the attacker can probe the model with attacks and then attempt to infer information about its structure to hone its attack parameters.

Open-source policies and collaboration in the AI development sphere have made available technology (models) used in commercial products. Source code, APIs technical discussions and results are often published in repositories such as Git Hub.

One of the most well-known types of white-box attacks is the “adversarial example.” These are inputs that have been manipulated in a way that is imperceptible to humans but cause the model to make an incorrect prediction.

Fooling Autonomous Driving Systems

For example, an almost invisible overlay, (the perturbation), when added to an image of a stop sign, as depicted in figure 3, could cause a self-driving car’s image recognition system to incorrectly classify it as something else.

The results of the targeted attack could be catastrophic.

Causing a car crash with a targeted adversarial attack (Crash image generated with Stable Diffusion)

The perturbation is computed from an example of the image to be tampered with. Figure three shows a the perturbation that has been trained (white-box attack) to a specific malicious end.. If the details of the training are not known simply adding an error mask of the targeted image is sufficient to fool the system into misreading the target sign.  The perturbation mask can be a transparent overlay pasted over the target.

If the details of the system operation are known to the hacker, the model can be trained to generate the overlay pattern to cause the target to be interpreted to the hackers targeted nefarious choices.  In figure 3 a video projector illuminated the target sign with the perturbation. As the perturbation is only a fraction of a percent of the image it is imperceptible to a human observer but sufficient to fool the system in the car.


A targeted attack on a Stop Sign

Here is a very scary real example.

Hacked Speed Limit sign

A inconspicuous black sticker achieves a misclassification from the Tesla model S, used with Speed Assist when activating TACC (Traffic Aware Cruise Control)

Even to a trained eye, this hardly looks suspicious or malicious, and many who saw it didn’t realize the sign had been altered at all. This tiny piece of sticker was all it took to make the MobilEye camera’s top prediction for the sign to be 85 mph.  This test attack was carried out in 2019 and is said to now be neutralized in newer versions of the Speed Assit. The link below includes a video taken from inside the vehicle.

https://www.trellix.com/de-de/about/newsroom/stories/research/model-hacking-adas-to-pave-safer-roads-for-autonomous-vehicles.html

Let’s look a basic and dangerous threat; text to speech applications that can imitate a selected persons voice, can defeat speaker recognition security login validation. This type of widely used security which is now vulnerable to spoofing.

A fraudulent medical practitioner using an adversarial attack to create a new image that will appear as malignant to the AI diagnostic system. The two images on the left where created with DALL-E

The same techniques used to fool autonomous driving systems can be used to deceive AI medical diagnosis platforms.  The malicious practitioner digitizes the pathology slide, then on his computer creates a fraudulent image through an adversarial attack. The fake image is then sent to the AI based diagnostic system of which the perpetrator had full knowledge of its AI technology. The system the creates a false result indicting a malignancy that was not there.

The falsified pathology report is then used as the justification fo distressful and expensive procedures that where not needed.

Medical fraud in the United States is estimated a 250 billion dollars.

Adversarial attacks on medical machine learning systems, SCIENCE 22 Mar 2019 Vol 363, Issue 6433 pp. 1287-1289

Attacks against speaker validation systems

Spoofing Grandma. I only need a few seconds of your time for an important question!! Says the fiend! (Both images by DALL-E)

Adversarial attacks need not be carried out by applications specifically intended for malicious use.  The development of Ai based systems that can synthesize audio output imitating a selected person is an example of this.

Theses systems use sophisticate AI technologies used in Generative Ai systems such as those used to create images and textual content.

Microsoft researchers recently announced a new text-to-speech AI model called VALL-E that can closely simulate a person’s voice when given only a three-second audio sample. Once it is trained on a specific voice, VALL-E can synthesize audio of that person saying anything.  VALL-E is one of many text synthesis systems available.

VALL-E Workflow

Figure 8 shows the workflow of VALL-E, get a three second sample of the speaker you want to mimic, type in the text, out comes and impersonated voice message in the original speaker’s voice. Although not intended as an adversarial attack system Figure 7 shows how malicious content (impersonated voice) can be created by combining the targeted users training recording (creating malicious input) with the to be spoofed.  text we get a personalized speech output saying the text message in the targeted user’s voice. This adversarial message can fool AI speaker verification systems as well as an unwary human listener resulting in hacking, theft, and fraud.

Using a short segment of the captured targeted user’s speech, the text to speech system creates a custom codec for (in this case the impersonated user) person to be mimicked.  The text string is converted to a phoneme (A phoneme is the smallest unit of sound in a language, a basic token of speech) The phoneme series of tokens is encoded with the speaker’s codec. The resulted encoding is then decoded and out comes the mimicked speech.

Once a codec is created for a targeted user the hacker simply types the desired voice repose to fool the validation system or unsuspecting listener.

Capturing three seconds of a person’s speech is not a difficult task. Hackers can then log into systems using the impersonated audio created by text entered in response to security challenge. A typical challenge is requesting the user to speak their date of birth as a validation.

So, when you pick up the phone and hear your dear grandmother’s voice how do you know it’s her? Or when grandma picks up the phone an hears an impassioned plea from a synthesized grandson for emergency money she is iseail fooled.

Speech generation in the hands of criminals is a real problem.

Summary and Remedies

Needless to say, adversarial attacks on critical systems are a big problem.

Here are three actions that can be put in place to attempt to address this threat.

  • Legislative.
    •  Passing new laws to protect against these threats.
    •  Imposition of harsher penalties on computer fraud if AI is used that are similar to hate crime laws and firearms enhancements to penalties in sentencing in criminal cases.
    •  Creating harsh legal deterrents will be a start but not enough.
  • Changes to procedures for security and validation practices. 
    • Speaker recognition by itself might not be sufficient.  
    • Tracking of statistical results submitted by individual users should be checked against statistics for result distributions from  larger relevant user bases to flag abnormalities in reporting.
    • Close monitoring of user anomaly reports should be acted on promptly. AI data architecture, models and other commonly shared and published data should be maintained as confidential to mitigate against white hat attacks.
    •   Enhanced physical security to insure the integrity of signage, labeling and system infrastructure
  • Ensemble methods can also be used to increase the robustness of AI systems.
    • Ensembling involves combining the output of multiple models to create a more reliable prediction. This can help to reduce the impact of adversarial attacks by making it more difficult for an attacker to manipulate the output of the system.

Moving forward the battle between AI armed hackers and critical application infrastructure will become more important (critical), costly and intense.

There are many government agencies that fund research on adversarial attacks, including:

  • The National Science Foundation (NSF) funds research on cybersecurity and adversarial machine learning through its various programs, such as the Secure and Trustworthy Cyberspace (SaTC) program and the Cyber-Physical Systems (CPS) program.
  • The Department of Defense (DOD) also funds research on adversarial attacks through its various research programs, such as the Defense Advanced Research Projects Agency (DARPA) and the Army Research Office (ARO).
  • The Department of Homeland Security (DHS) also funds research on cybersecurity and adversarial attacks through its various research programs, such as the Science and Technology Directorate (S&T) and the Cybersecurity and Infrastructure Security Agency (CISA).
  • The National Institutes of Standards and Technology (NIST) also funds research on cybersecurity and adversarial attacks through its various programs, such as the National Cybersecurity Center of Excellence (NCCoE)
  • National Aeronautics and Space Administration (NASA) also funds research on cybersecurity and adversarial attacks through its various programs, such as the Aeronautics Research Mission Directorate (ARMD)

Investigating the publications of these organizations will provide a bigger picture of what is being done to combat threats to public safety and finance by adversarial attacks.

Last words: Be careful!