Skip to content

How Supercomputer-scale Neural Network Models Apply to Defensive Cybersecurity Problems

Younghoo LeeJoshua Saxe

AI SecurityBlack Hat USA 202235 minIntermediateOpen on YouTube ↗

Analyzes how Supercomputer-scale Neural Network Models Apply to Defensive Cybersecurity Problems and evaluates key implications for security practitioners.

Summary

## Overview

In this presentation, Josh Saxe (Chief Scientist at Sophos) and Younghoo Lee (Principal Research Scientist at Sophos) discuss the application of supercomputer-scale neural network models—specifically GPT-3—to defensive cybersecurity problems. The speakers emphasize that the machine learning landscape shifted significantly over the preceding four to five years due to two primary innovations: 1. The emergence of very large-scale neural network models with fundamentally new capabilities. 2. The adoption of self-supervised learning, enabling models to leverage vast quantities of unlabeled web-scale data.

The overarching goal of the presentation is to introduce early proof-of-concept research demonstrating how large models trained in a self-supervised fashion can positively impact cyber defense, while encouraging community feedback and independent research from security practitioners.

## Proof-of-Concept 1: Translating Complex Command Lines for SOC Analysts

A major pain point identified in Security Operations Center (SOC) environments is the high cognitive load placed on analysts who examine obscure, obfuscated, or complex Windows command-shell syntax to identify indicators of compromise.

To address this, the researchers developed a translation method leveraging GPT-3: * **Input**: An arcane, suspicious command-line string that is difficult to parse manually. * **Output**: A lucid, human-readable natural language summary describing the precise actions executed by the command. * **Demonstrated Example**: GPT-3 successfully parsed an intricate command and explained that it: 1. Creates a batch file named `execute.bat` inside the `temp` directory. 2. Runs a specific command (`user's admin OneDrive administrators Inc`) and pipes output to an `_output` file on the local machine. 3. Executes the batch file and subsequently deletes it.

This translation capability significantly reduces triage time and cognitive friction for SOC analysts.

## Proof-of-Concept 2: Few-Shot Threat Detection with Minimal Data

The second key application focuses on training security models using tiny volumes of labeled training data: * **The Challenge**: Traditional, smaller non-GPT machine learning architectures struggle or fail completely when trained on very small datasets, which is problematic because security teams often only have access to a few instances of a novel attack or malicious observable. * **Findings**: Large-scale models such as GPT-3 can learn to detect malicious attacks, observables, and spam using only a small volume of training data. * **Email Detection Use Case**: In an experiment distinguishing malicious emails from benign emails, GPT-3 achieved deployable accuracy on a training dataset size where older, smaller-scale models could not be effectively trained.

## Defense Takeaways

* **Bridging the Data Scarcity Gap**: Large-scale models enable practical few-shot learning for cybersecurity scenarios where labeled samples of emerging threats are rare. * **Operational Efficiency**: Automating the explanation of complex shell artifacts directly alleviates analyst burnout and accelerates incident response workflows. * **Call for Research**: As this represents early exploratory work, the speakers emphasize the need for broader industry collaboration to identify and evaluate further use cases for large foundation models in defensive operations.

Related talks

Main Stage·45 min

Bruce Schneier

Bruce Schneier examines how artificial intelligence systems hack human institutions, tax codes, financial markets, and legal frameworks.

artificial-intelligenceai-securitypolicy+2