Search
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
Words in any order find advisories, news and research. A package name finds its page. A CVE or GHSA identifier opens its advisory. With no words, the list holds every record.
5,902 items
This is an index page for the author's machine learning attack blog series, collecting posts on the ML pipeline, the Husky AI project, threat modeling, and practical attacks and defenses. It lists topics such as model file theft, backdooring pickle and Keras model files, and CVE-2020-16977 in the VS Code Python extension. The author notes that typical red teaming techniques like SSH Agent Hijacking, weak access control, and exposed credentials also put AI/ML systems at risk.
This post explores using Generative Adversarial Networks (GANs) to generate fake husky images. The goal is to make the "Husky AI" classifier misclassify these synthetic images as real huskies. The author was motivated by an earlier interest in creating fake images to trick Husky AI and was prompted to pursue it after deeplearning.ai launched a GAN course by Sharon Zhou.
The article lists several AI and machine learning systems that drew press attention for biased predictions and failures. Examples cited include an Amazon recruiting tool that favored men over women for technical jobs, and Microsoft's chatbot Tay, which turned racist and sexist quickly. It also mentions an IBM cancer-treatment recommendation system that a Florida doctor criticized, and a Facebook AI that led to an arrest after incorrectly translating text.
This post examines the repudiation threat, where an attacker such as Mallory replaces the Husky AI model file with a backdoored version and then denies having done so. It shows how the Linux Audit Daemon (auditd) can record who accessed the model file and when, using auditctl rules tagged with a keyword and searched with ausearch, with logs pushed to centralized systems such as Splunk, the Elastic Stack, or Azure Sentinel.
Johann Rehberger posted that his GrayHat Red Team Village talk, "Learning by doing: Building and breaking a machine learning system," is now on YouTube. He also asked readers whether they would attend a hands-on workshop based on the talk's content.
The post is part of a series on machine learning and AI, and it describes the author's work on the Husky AI project, including its threat modeling. It notes that the author found "Image Scaling Attacks" in the paper "Adversarial Preprocessing: Understanding and Preventing Image-Scaling Attacks in Machine Learning" by Erwin Quiring et al. while preparing demos for a GrayHat 2020 Red Team Village presentation.
Johann Rehberger (wunderwuzzi23) demonstrates the Adversarial Robustness Toolbox (ART), originally created by IBM and moved to the Linux AI Foundation in July 2020, to generate adversarial examples against his Husky AI binary image classifier. Using ART's FastGradientMethod with targeted=True and eps=0.04, he perturbs an image of a plush bunny so the model's prediction shifts from about 0.002 to 66% husky. The post presents this as an easier alternative to his earlier manual perturbation attacks.
A speaker recorded a short intro video for their Red Team Village talk, "Learning by doing: Building and breaking a machine learning system," at GrayHat 2020. The talk is scheduled for October 31, 2020, and the source links to the Red Team Village schedule and the GrayHat website.
Johann Rehberger reported an HTML and JavaScript injection flaw in Microsoft's VS Code Python extension, in the traceback (error and exception) rendering path of Jupyter Notebooks, where strings were not correctly escaped. A malicious notebook, a modified notebook file, or a remote server controlling error content could trigger it, potentially stealing user information or taking over the victim's computer. MSRC confirmed the issue with an important severity rating and assigned CVE-2020-16977.
A blog post in a machine learning attack series examines how an adversary could gain access to a model. It separates direct approaches, such as compromising systems to find a model file like an *.h5 file, from indirect approaches like transfer learning attacks and model stealing. The author illustrates the direct route with SSH agent hijacking, where an attacker on an engineer's laptop uses ssh-add -l to list keys loaded in the agent and then connects to production hosts without a passphrase.
Researcher Will (the author) will present at the Grayhat Red Team Village on October 31, 2020. The talk covers hands-on attacks on a machine learning system, including brute forcing predictions, perturbations, model backdooring, and gaining access to a model file via SSH agent hijacking. It also discusses a CVE the author found in a popular Data Science/Developer tool, which has just been fixed.
A researcher took part in the Attacker Challenge of the Microsoft and CUJO AI Machine Learning Security Evasion Competition, which ran over several weeks starting in June. The challenge asked contestants to modify 50 malware samples so they bypass three hosted models that classify Portable Executable files as malware or benign, while keeping the malicious functionality intact. The author describes a steganography attempt that produced only minimal score changes, then a second approach that Authenticode-signs the best-scoring binary using a self-signed certificate with the subject "Microsoft Corporation".
This post is part of a series on machine learning and artificial intelligence security, covering how the Husky AI system was built, threat modeled and operationalized. It states that threat modeling identified an adversary tampering with model files, meaning an adversary gains access to the production model file and can overwrite it.
A post in a machine learning attack series, part of the Husky AI blog series, continues from an earlier article on smart fuzzing for generating fake husky images. Its stated goal is to take an existing image of a plush bunny, modify it, and get the model to identify it as a husky. The excerpt otherwise consists of series navigation and an overview of the project.
The post is part of a machine learning and AI attack series built around Husky AI. It recaps the previous installment, which tested whether basic inputs could trick the image recognition model, using images of solid colors or entirely random pixels.
The author tests Husky AI, an image classifier exposed through an HTTP upload API that returns a prediction score, using boundary-case inputs as the first attack in a series. Blank black and random-pixel canvases were sent alongside an all-white canvas, which the post describes as the first successful attack. The excerpt ends before the full result is stated.
The post applies threat modeling to the Husky AI machine learning system, using Microsoft's Threat Modeling tool to generate threats for each component. The tool initially produced 96 threats, which the author says can be noisy, so the author uses STRIDE as a classification method during engineer sessions. Perturbation attacks that query the model are treated as spoofing under this model.
The author describes operationalizing the Husky AI machine learning model, a continuation of an earlier series post on gathering training data and building and testing a model. Their first plan was a Golang web server hosting a TensorFlow/Keras model, which proved far harder than expected, so they switched to Python for the server.
The author describes building Husky AI, a binary image classifier that tells huskies from other images. The training set held about 1300 husky images and 3000 other images collected from Bing Image Search, with separate training and validation folders. The author notes that an attacker could poison either image set, and the final model is a convolutional neural network built in TensorFlow and trained with the Adam optimizer.
A blog post, the first of a series, introduces Husky AI, a playground application that lets a user upload an image and learn whether it contains a husky. The author outlines the machine learning pipeline behind it, from image collection and pre-processing through training, evaluation, deployment and an HTTP API, and says later posts will cover model building, operationalization and threat modeling.
Fix: Fixed by Microsoft. The source does not state the fixed version.
Embrace The Red