Integrating AI/ML into Security Operations

Presented by: Christopher Crowley

Presentation
Resource Thumbnail

The integration of Artificial Intelligence (AI) and Machine Learning (ML) into Security Operations (SOC) and cybersecurity involves the application of key concepts, including Narrow AI, Machine Learning, Deep Learning, Loss and Optimizer, Supervised and Unsupervised Learning, and the roles of Takers, Shapers, and Makers. AI/ML is used in various cybersecurity applications, such as Threat Hunting, Detection Engineering, Software Development and Analysis, Automation and Orchestration, and Reporting and Communication, to improve detection, response, and decision-making capabilities.

Full Transcript / Content

--- Page 1 --- AI / ML for Security Operations 2026-June-02 Copyright Montance® Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? SOC-Class.com || Montance® LLC 1 --- Page 2 --- Christopher Crowley - Consultant: Montance® - SOC-Class.com: Design, Build, Operate, Mature a SOC. - SOC-Survey.com: 2017-2026 - SANS Senior Instructor - Sectors: Defense, Education, Energy, Government, Financial, Software Dev., Telecom… Montance® LLC 2 --- Page 3 --- References, Credit , Download - Slide deck available at: https://montance.com/pres - Repository of my public talks. Recordings, PDFs… - You can ask questions on each talk’s Q&A page - My paper on the subject: https://mgt517.com/hn-ai Montance® LLC 3 --- Page 4 --- Artificial Intelligence: Definition SOC-Class.com || Montance® LLC 4Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 5 --- Cyber AI – Narrow AI - The “narrow” definition of AI - AI system designed to solve one specific problem - Versus the General or Strong AI - More about this on the next slide - Currently an abundance of misinformation, unreasonable expectations, and wasted effort - Experimentation requires patience - Strong AI is coming some day, stay tuned… Montance® LLC 5 --- Page 6 --- General AI (Russell / Norvig) - Efficiencies in problem solving - Operation within boundaries and constraints - Capabilities of knowledge representation - Natural language processing - human direction in human native manner - Learning based on activity, experimentation, and objectives - Observation (visual, auditory) - Activity (often robotics) Montance® LLC 6 --- Page 7 --- General AI – Human-level Reasoning Montance® LLC 7 --- Page 8 --- AI Techniques & Uses - Learning - Reasoning - E.g., Expert systems - Knowledge - Representation and management - Planning - Strategic / Tactical Montance® LLC 8 - Probabilities - E.g., Bayesian - Search / optimization - E.g., Swarming - Control systems - Neural Networks - Complex interactions - Entertainment --- Page 9 --- Human Component - In cybersecurity, there is (and will continue to be) a need to integrate the AI/ML system with the human analyst and their workflows - AI/ML makes substantial use of suppression of information, and arriving at the right answer - Analyst needs guidance from that system - Further, inclusion of human lessons learned into the AI/ML system could hasten improvement Montance® LLC 9 --- Page 10 --- Machine Learning - Machine Learning (ML) is specifically concerned with tuning algorithms by assessment of data - Iterative algorithmic improvement of accuracy - The algorithm may be responsible to perform feature extraction to determine optimal elements to assess - Then decide on most important way to arrive at an accurate decision Montance® LLC 10 --- Page 11 --- Hidden Layer - The human analyst wants to see how the machine came to its assessment, but… - The Neural Network (NN) leverages a hidden layer of calculation, usually represented visually in description of the network as a node - There are multiple types of layers - Multiple terms to describe the layers and their interactions, not going to cover this here - Algorithm design optimizes type, use, dimension,… Montance® LLC 11 --- Page 12 --- Supervised vs Unsupervised - Supervised machine learning makes use of a ground truth of comparison - Example, email corpus with known “Spam” and known “Ham” emails based on expert assessment - Unsupervised ML has no ground truth (no labels) - Intention is to develop algorithm that’s effective on never seen before data Montance® LLC 12 --- Page 13 --- Machine Learning Fundamentals - Training data: what the model sees during training, and adjusts parameters* to predict it - Test (validation) data: not included in the training, but used afterward to assess viability - Overfit: memorization of training data, without generalization; Underfit – needs more training - Reinforcement learning: rewarding intended outcomes and penalizing undesirable ones Montance® LLC 13 --- Page 14 --- Deep Learning - Deep Neural Network (DNN) / Deep Learning (DL) is a type of machine learning which makes use of multiple layers of information processing, selecting varying feature sets to produce a more robust assessment - Feature extraction is typical in the first few layers of the neural network - Network learns what to focus on Montance® LLC 14 --- Page 15 --- Loss and Optimizer - Loss is the calculation of how wrong the prediction is - Optimizer function is responsible to calculate the corrected weights and biases within the deep learning neural network - Optimizer function uses calculus to determine rate of change (gradient) to determine which way to adjust the weights & biases Montance® LLC 15 --- Page 16 --- Example Deep Learning - An autoencoder is an algorithm taking input and developing the same result as output - This may seem pointless, but consider noise removal in an audio track - A record player has audible cracks and pops resulting from the sound transmission between the platter and the needle - Develop an algorithm for “cleaning” the sound - Application to cyber: identify attack relevant action Montance® LLC 16 --- Page 17 --- ML: Predictive Capability - Machine learning (pre-GPT) prediction based on a defined categorical or continuous output - Categorical: discreet (as in no in-between) groups: dog, cat, elephant, mouse. - ConƟnuous: able to subdivide infinitely 0 to ∞ (infinity) Montance® LLC 17 --- Page 18 --- GPT: New Content from Input - LLMs: large language models trained on massive amounts of data - Attention Is All You Need – 2017 - Self-attention; Cross-attention - Generative Pretrained Transformer - ChatGPT blew up on the scene, Nov. 2022 - Novelty as in: trained to produce new content Montance® LLC 18 --- Page 19 --- Current AI Terms - Dense Transformers - Characterized by every neuron being used, and the input as output for training - Mixture of Experts (MoE) - Smaller models with domain specific training, engaged during production: python (herpetology) versus python (programming) - State Space Model - Tracks “latent state” change: compared to data - Modality (text|audio|video), scale, … Montance® LLC 19 --- Page 20 --- AI/ML in Cybersecurity SOC-Class.com || Montance® LLC 20Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 21 --- Takers, Shapers, Makers - Takers - Uses public models through a browser/API - Shapers - Integrates models with internal data - RAG, Embeddings, … - Makers - Builds models to address business specific cases McKinsey: https://mgt517.com/ai-3 Montance® LLC 21 --- Page 22 --- Short Workstation / Hardware - First, you need a place to do this work - I have laptops with GPUs (Mac, Alienware) and online accounts (Gemini primarily) - Claude is current preferred by many developers - Nvidia GPX (~$5k) spark for development if you plan to deploy to Nvidia data centers - Cloud native workstations (ML notebooks with GPU) for teams might be more cost effective - Server with GPU(s) for data privacy Montance® LLC 22 --- Page 23 --- Focus areas for AI/ML in Cybersecurity SOC-Class.com || Montance® LLC 23Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 24 --- Five Areas of Interest - Threat Hunting - Detection Engineering - Software Development and Analysis - Automation and Orchestration - Reporting and Communication Montance® LLC 24 --- Page 25 --- Threat Hunting SOC-Class.com || Montance® LLC 25Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 26 --- AI/ML for Hunting - Hunt bootstrap: https://mgt517.com/hunt - Idea development (GPT / Reasoning) - Technical ML / DLNN development - Unsupervised for DNS (595 example) - DLNN for protocol anomalies (595 example) - GPTs - Generate code to search for new IOCs: warning, it will be bad without effective prompting - Threat actor attribution - Reasoning (internal or frontier model) Montance® LLC 26 --- Page 27 --- Detection Engineering SOC-Class.com || Montance® LLC 27Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 28 --- Detection Engineering - Learned protocol specifications - Simpler ML is better for rigorous situations - Mixture of Experts approach for anomaly detection - Could use MCP to support extraction from multiple resources, also possible to use automation / API to do so Montance® LLC 28 --- Page 29 --- Learning a Protocol - Autoencoder explained - Learning a single protocol very well is useful to identify failures to reconstruct that protocol - You could then assess specific ports and traffic over that port to assess if it is reconstructed well by that protocol autoencoder - If it fails to reconstruct well, then it’s an anomaly Montance® LLC 29 X X --- Page 30 --- Network Protocol : Mixture of Experts - Develop protocol analyzers which know one protocol each - Leverage each one on all traffic - Failure to reconstruct above a threshold on any protocol indicates and anomaly - HTTP/1.x?, HTTPS?, DNS?, SMB?, … Montance® LLC 30 --- Page 31 --- Testing Requirements - Testing for detection engineering requires a planned deployment approach, with an understanding that it isn’t going to work perfectly at first - Training can be repeated regularly with newly acquired data - Assessment can be done against multiple versions of the model that was trained generationally on updated data; older versions may work better Montance® LLC 31 --- Page 32 --- What it takes - For this network example - Data: exploration, sanitization, hundreds, preferably thousands of samples per protocol, authoritatively labelled - A model structure which can predict well: - Simple enough to generalize, complex enough to differentiate Montance® LLC 32 --- Page 33 --- Deployment Considerations - MCP is good for generators and interactions - API based implementations - Tensorflow-serving: TensorFlow - TorchServe: PyTorch - NVIDIA Triton Inference Server: PyTorch, ONNX, TensorFlow - Want to optimize GPU utilization and speed - Prediction from model requires calculation Montance® LLC 33 --- Page 34 --- Additional Ideas - Log anomalies: similar in nature to the network protocol - Account behaviors: data loss prevention in the sense of training on patterns of access, authorizations, your organization’s workflow related - Known good executables versus known malware - Engineering design documents - Code review: train on released flaws & fixes Montance® LLC 34 --- Page 35 --- Case Study: Mozilla - Read Mozilla blog 2026-Apr-21 - https://mgt517.com/moz-bug - 271 bug fixes from Claude Mythos use - Compare to 22 from Opus 4.6 - There’s a ton of work to do - But there are tools to help do the work: thoroughly, exhaustively, and inexpensively Montance® LLC 35 --- Page 36 --- Software Development and Analysis SOC-Class.com || Montance® LLC 36Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 37 --- Software Development & Analysis - Development: - AI GPT to write code for you: python, PowerShell, … - Creation of static queries for vetting and testing - Dynamic code generation: - If you do this, you need quality / objectives-based measures to assure it is good enough to use - Code flaw analysis: Mythos and similar have tremendous promise to assess software - Could be used for emerging bug risk / exposure Montance® LLC 37 --- Page 38 --- Automation and Orchestration SOC-Class.com || Montance® LLC 38Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 39 --- Automation and Orchestration - Automation has been around as long as computers - Paradox of automation: we’re getting dumber ;) - AI can assist with dynamic selection and action - Agentic – agents to perform actions - If you weren’t ready to automate using SOAR, what has changed? Is the AI smarter? - Perhaps the vendor has done testing to assure no negative impact to your environment? Perhaps not Montance® LLC 39 --- Page 40 --- Reporting and Communication SOC-Class.com || Montance® LLC 40Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 41 --- Reporting and Communication - Probably the single best, most mature area to operationally integrate AI - Least negative potential, and greatest gain - Prompt: Using these templates: [Exec|SysAdmin|User|ThreatIntel|Analyst] generate and send reports based on ticket #### - Update ticket #### with details from last 30 minutes and send high priority notice to affected business unit leaders Montance® LLC 41 --- Page 42 --- Forthcoming Book: Value of SOC Montance® LLC 42 --- Page 43 --- So? “Our experience is a hopeful one for teams who shake off the vertigo and get to work.” - Bobby Holly, CTO, Firefox So, are you a taker, shaper, or maker? Questions? https://montance.com/pres Montance® LLC 43