AI & Cybersecurity

Watch and track your favorite playlist.

Curated by: Network Intelligence (66 videos)


Currently Playing: Chapter 6 1 MCP Introduction demo and security

Welcome to Chapter 6.1 of the AI & Cybersecurity Learning Series by KK Mookhey! We're diving into one of 2024's most significant developments in AI application architecture: Model Context Protocol (MCP) by Anthropic. This protocol is revolutionizing how AI applications connect to external tools and resources, reducing integration complexity from N×M to N+M. Learn what MCP is, how it works, and why security matters from day one. What You'll Learn: MCP Fundamentals: What Model Context Protocol is, how it solves N×M integration complexity, three-tier architecture, core capabilities (Resources, Tools, Prompts), JSON-RPC 2.0 communication, stateful connection lifecycle. Security Architecture: Untrusted server model, Host/Client responsibilities, user-in-the-loop requirements, LLM sampling controls, tool validation, resource sandboxing. Practical Implementation: Building MCP servers, integrating with Claude Desktop, local vs remote deployment, tool execution, dynamic updates, real-world security scanning. MCP Components: Host (Your Machine): Physical environment, enforces security policies, manages file access, controls sandboxing. MCP Client (Claude Desktop): User application, queries servers, routes LLM requests, enforces consent, security gateway. MCP Server: Provides Resources (files, API data), Tools (executable functions), Prompts (templates). Can be local (stdio) or remote (HTTPS). Considered untrusted. Security Model: Live Demo: Security Scanning Server Tools Integrated: Ping, DNS enumeration, Whois, Nmap, subdomain enumeration, reverse DNS, traceroute, port checking. Demo Results: • Transilience.ai: Complete footprinting with port scans • OpenAI.com: Passive reconnaissance only • Automated LLM-driven tool sequencing • Synthesized security reports • Attack surface analysis Key Findings: Multiple subdomains, open ports, technology stack, registrar info, DNS records, security posture assessment. Communication Protocol: Request-Response (with ID): Standard JSON-RPC calls for tool execution, resource reading. Server-Side Events (no ID): Tool updates, resource changes, prompt modifications, capability additions. Integration Examples: Local: RAG application, security scanning, vulnerability prioritizer, security news aggregator. Remote: Canva, Microsoft Learn, Gmail, Google Drive, HubSpot (available for integration). Security Threats: • Malicious tool descriptions • Poisoned prompt templates • Confused deputy attacks • OAuth token vulnerabilities • Session hijacking • Unauthorized resource access • LLM manipulation attempts What's Next? Chapter 6.2: Building Insecure MCP Servers Chapter 6.3: Breaking MCP - Attack Techniques Following Build → Break → Secure methodology. Code and Resources: Complete MCP security tools code, Claude Desktop configs, security checklist, tool templates, integration guides- https://docs.google.com/document/d/1NkGZthHxy3QWdkyeDKC_TB2gFOk2H0n-BKZVZjXwq-Q/edit?tab=t.6ypecfaymbgh About the Instructor: KK Mookhey - 25+ years cybersecurity expertise. Learn MCP protocol, understand risks, build securely from day one. Connect with KK on https://www.linkedin.com/in/kkmookhey/ Course Series: Chapter 1 to 4: https://www.youtube.com/watch?v=jbnUVTJZ3qc&list=PLXVUBNOa2d7YyqWr_DgUHw7RwQLE7P24m Chapter 5.1-5.3: Red Teaming Agentic AI Chapter 6.1: MCP Introduction & Security ← You Are Here Chapters 6.2-6.3: MCP Security Deep Dive (Coming Soon) Key Takeaways: MCP reduces integration complexity dramatically. Server is untrusted by design (zero-trust). Client/Host enforce all security. LLM access mediated through client. User-in-the-loop mandatory for critical ops. Dynamic tool updates enable rapid building. JSON-RPC 2.0 standardized communication. Local and remote deployment supported. With Great Power... MCP enables powerful AI integrations, but security must be implemented correctly. This series shows both potential and pitfalls. 00:00 - Introduction: Model Context Protocol 00:35 - The Integration Problem MCP Solves 01:18 - Real-World Scenario: CRM, Email, Slack Integration 03:13 - Server Capabilities: Resources, Tools, Prompts 03:55 - Security Model: Untrusted Servers 05:53 - JSON-RPC 2.0 Communication 07:42 - Client-Server Workflow 10:48 - Local vs Remote Servers 11:21 - stdio vs HTTPS Communication 12:03 - Web App Attack Surface 12:39 - Claude Desktop Integration Demo 13:14 - Multiple Local MCP Servers 15:31 - Microsoft Learn Example 16:09 - Security Tools MCP Code 17:14 - Comparison with Agentic Code 19:29 - Live Demo: Security Tools Query 20:08 - Transilience.ai Security Scan 21:46 - OpenAI.com Passive Footprinting 27:02 - OAuth and Session Security 27:41 - MCP vs Traditional APIs Network Intelligence - Exploring cutting-edge AI protocols with security at the forefront. #MCP #ModelContextProtocol #AIandCybersecurity #Anthropic #ClaudeDesktop #AIIntegration #JSONRPC #Cybersecurity #KKMookhey #NetworkIntelligence #SecureAI #ZeroTrust #OAuth #MCPSecurity #LLMSecurity


Tracks in this Playlist