Integrating AI/ML into SOC Detection Engineering: Building Smarter, Faster Defenses

Presented by: Christopher Crowley

Presentation
Resource Thumbnail

The "Integrating AI/ML into SOC Detection Engineering: Building Smarter, Faster Defenses" segment focuses on the technical concepts of Artificial Intelligence (AI), Machine Learning (ML), and Deep Learning (DL) in cybersecurity. Specifically, it explores AI/ML's application in threat hunting, detection engineering, software development and analysis, automation and orchestration, and reporting and communication. The concepts include AI's specific problem-solving approach, ML's data-driven improvement, and DL's multi-layered information processing, as well as loss and optimizer techniques used in DL. These technical concepts are relevant to various industries, including defense, education, energy, government, financial, software development, and telecommunications, and are used to build smarter and faster defenses in a Security Operations Center (SOC).

Full Transcript / Content

--- Page 1 --- Christopher Crowley - Consultant: Montance® - SOC-Class.com Design, Build, Operate and Mature your SOC. - SOC-Survey.com: 2017-2026 - SANS Senior Instructor - Sectors: Defense, Education, Energy, Government, Financial, Software Dev., Telecom… Montance® LLC 1 --- Page 2 --- 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 - Related: https://mgt517.com/hn-ai Montance® LLC 2 --- Page 3 --- Artificial Intelligence: Definition SOC-Class.com || Montance® LLC 3Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 4 --- Cyber AI – Narrow Circumstances - 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 4 --- Page 5 --- 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 5 --- Page 6 --- AI Techniques & Uses - Learning - Reasoning - E.g., Expert systems - Knowledge - Representation and management - Planning - Strategic / Tactical Montance® LLC 6 - Probabilities - E.g., Bayesian - Search / optimization - E.g., Swarming - Control systems - Neural Networks - Complex interactions - Entertainment --- Page 7 --- 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 7 --- Page 8 --- 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 8 --- Page 9 --- 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 9 --- Page 10 --- 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) in the training - Intention is to develop algorithm that’s applicable to new data Montance® LLC 10 --- Page 11 --- 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 11 --- Page 12 --- 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 DL; basically, what to focus on Montance® LLC 12 --- Page 13 --- 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 13 --- Page 14 --- 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 14 --- Page 15 --- ML: Predictive Capability - Machine learning (pre-GPT) was 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 15 --- Page 16 --- 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 16 --- Page 17 --- LLM Taxonomy - 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. Example: herpetology versus programming - State Space Model - Tuned for large context windows - Modality (text|audio|video), scale, … Montance® LLC 17 --- Page 18 --- AI/ML in Cybersecurity SOC-Class.com || Montance® LLC 18Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 19 --- 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 19 --- Page 20 --- 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 20 --- Page 21 --- Focus areas for AI/ML in Cybersecurity SOC-Class.com || Montance® LLC 21Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 22 --- Five Areas of Interest - Threat Hunting - Detection Engineering - Software Development and Analysis - Automation and Orchestration - Reporting and Communication Montance® LLC 22 --- Page 23 --- Threat Hunting SOC-Class.com || Montance® LLC 23Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 24 --- 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 24 --- Page 25 --- Detection Engineering SOC-Class.com || Montance® LLC 25Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 26 --- 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 26 --- Page 27 --- Software Development and Analysis SOC-Class.com || Montance® LLC 27Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 28 --- 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 28 --- Page 29 --- Automation and Orchestration SOC-Class.com || Montance® LLC 29Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 30 --- Automation and Orchestration - Automation has been around as long as computers; paradox of automation - 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 30 --- Page 31 --- Reporting and Communication SOC-Class.com || Montance® LLC 31Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 32 --- Reporting and Communication - Probably the single best, most mature area to turn over to 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 32 --- Page 33 --- Forthcoming Book: Value of SOC Montance® LLC 33 --- Page 34 --- Katrina This is my first public presentation on Katrina related events SOC-Class.com || Montance® LLC 34Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? --- Page 35 --- Copyright 2026 Montance® LLC - All Rights Reserved. All Wrongs Reversed? SOC-Class.com || Montance® LLC 35 --- Page 36 --- Pre-Katrina - Saturday morning; Disaster recovery preparations - Evacuation to Houston – on the slow road and remotely supporting the shutdown - Personal situation: ModernBB, Page & later Chickadee,… - Anticipation and fear Montance® LLC 36 --- Page 37 --- Immediate Post Katrina - That morning - Blog, flood, satellite images - https://interdictor.livejournal.com/2005/08/28/ - “Rent all the rooms” - 504 area code – out of service (root cause discussion with Verizon later) - Personal: insurance stories Montance® LLC 37 --- Page 38 --- Post-Katrina Recovery - DR Office #1: Four Seasons - Run payroll, deuce and a half, Vorhees, … - Heart palpitations - Yahoo helped - Frank D’ Arcangelo - https://www.legacy.com/us/obituaries/nola/name/fran k-d-arcangelo-obituary?id=26673475 - DR Office #2: Some office building in Houston - Staff location identification - Financial aide project Montance® LLC 38 --- Page 39 --- Lessons Learned - Offsite backups timing was inadequate - Philadelphia DR site setup - Testing plans makes a huge difference; past hurricane threats; parts untested (lower levels) didn’t work right - Secondary communications registration - People scatter, financial stability is paramount - The trash starts to stink pretty fast… Montance® LLC 39