This video could not play here.
It may be members-only, region-restricted, or unavailable in embedded players.
XDR-CLI: AI-Agnostic M365 Defender Investigator | Andy Pettit
Chapters
What if you could investigate Microsoft Defender incidents, hunt threats, and automate security investigations using your favorite AI assistant—or no AI at all?
In this Wild West Hackin’ Fest presentation, Andy Pettit introduces XDR-CLI, a new open-source command-line tool designed to make Microsoft 365 Defender investigations faster, more flexible, and accessible through virtually any AI CLI harness.
Rather than relying on proprietary AI integrations or complex MCP server configurations, XDR-CLI provides direct access to Microsoft Defender data through a lightweight CLI. It works with AI-powered workflows or as a standalone investigation tool.
Andy walks through the challenges that inspired XDR-CLI, demonstrates its investigation capabilities, and explores how agentic AI can help security analysts move beyond basic alert triage to uncover threats that traditional detection workflows might miss.
The presentation covers real-world testing, automated investigations, KQL queries, pre-built playbooks, and practical considerations for integrating AI into security operations.
🔍 WHAT YOU’LL LEARN
• How XDR-CLI connects AI assistants to Microsoft Defender data without requiring an MCP server • Using AI CLI harnesses to investigate Microsoft 365 Defender incidents and alerts • Leveraging a library of pre-built KQL queries and investigation playbooks • Performing ad-hoc threat hunting with custom KQL queries • Building relationships between security events using schema graphs • Exporting investigation graphs for analysis in BloodHound • Automating incident triage and generating detailed investigation reports • Using custom allow/block lists to enrich investigations • Managing API permissions and controlling access to Defender data • Why XDR-CLI can be useful even without AI
⏱️ CHAPTERS
ABOUT THE SPEAKER Andy Pettit is a cybersecurity practitioner and lifelong builder with a hacker’s mindset. Driven by curiosity and a desire to understand how systems really work, Andy began coding in C at age 12, building custom MUDs before expanding into cybersecurity and systems research.
His background includes more than a decade as managing partner of Clown Shoe Motorsports, giving him a unique perspective on business risk, reliability, and operational efficiency.
Andy volunteers with Black Hills Information Security and Antisyphon Training as a Nerd Herder. He’s also a top 5% MetaCTF competitor, endurance racer, and HPDE instructor with NASA Texas Region.
#XDRCLI #MicrosoftDefender #ThreatHunting #CyberSecurity #AgenticAI #SecurityOperations #WildWestHackinFest
-------
///Black Hills Infosec Socials Twitter: https://twitter.com/BHinfoSecurity Mastodon: https://infosec.exchange/@blackhillsinfosec LinkedIn: https://www.linkedin.com/company/antisyphon-training Discord: https://discord.gg/ffzdt3WUDe
///Black Hills Infosec Shirts & Hoodies https://spearphish-general-store.myshopify.com/collections/bhis-shirt-collections
///Black Hills Infosec Services Active SOC: https://www.blackhillsinfosec.com/services/active-soc/ Penetration Testing: https://www.blackhillsinfosec.com/services/ Incident Response: https://www.blackhillsinfosec.com/services/incident-response/
///Backdoors & Breaches - Incident Response Card Game Backdoors & Breaches: https://www.backdoorsandbreaches.com/ Play B&B Online: https://play.backdoorsandbreaches.com/
///Antisyphon Training Pay What You Can: https://www.antisyphontraining.com/pay-what-you-can/ Live Training: https://www.antisyphontraining.com/course-catalog/ On Demand Training: https://www.antisyphontraining.com/on-demand-course-catalog/ Antisyphon Discord: https://discord.gg/antisyphon Antisyphon Mastodon: https://infosec.exchange/@Antisy_Training
///Educational Infosec Content Black Hills Infosec Blogs: https://www.blackhillsinfosec.com/blog/ Wild West Hackin' Fest YouTube: https://www.youtube.com/wildwesthackinfest Antisyphon Training YouTube: https://www.youtube.com/antisyphontraining Active Countermeasures YouTube: https://youtube.com/activecountermeasures Threat Hunter Community Discord: https://discord.gg/threathunter
Join us at the annual information security conference in Deadwood, SD (in-person and virtually) — Wild West Hackin' Fest: https://wildwesthackinfest.com/