Leanpub Header

Skip to main content

Filters

Category: "Computer Security"

Computer Security

New to Cybersecurity? Read the Cybersecurity article

  1. JavaScript for hackers
    JavaScript for hackers
    Learn to think like a hacker
    Gareth Heyes

    Learn how to find interesting behaviour and flaws in JavaScript. Reading this book you will find the latest and greatest techniques for hacking JavaScript and generating XSS payloads. Includes ways to construct JavaScript using only +[]()! characters. Never heard of DOM Clobbering? This book has all the details.

  2. Trust Graph Intelligence: Securing Machine Identities at Scale

    Machine identities outnumber humans 82:1 in modern cloud environments. Every IAM role, every OIDC federation from your CI/CD pipeline, every service account — they accumulate silently. No one monitors them. No one audits them. Each one is a potential entry point for attackers. This book shows you how to build the platform that makes them visible.

  3. Advanced Web Application Penetration Testing Strategies with Burp Suite
    Advanced Web Application Penetration Testing Strategies with Burp Suite
    A Definitive Reference for Penetration Testers, Security Engineers, and Bug Bounty Hunters
    Steve Publications

    Master advanced web application security testing with Advanced Web Application Penetration Testing Strategies with Burp Suite. Learn practical techniques to find complex vulnerabilities, improve your workflow and deliver more effective security assessments.

  4. Mobile Application Security
    Mobile Application Security
    The Definitive Guide to Protecting Android, iOS, and Cross-Platform Applications
    Steve Publications

    Mobile apps handle some of our most sensitive data, making security essential. Mobile Application Security explores how Android, iOS and cross-platform apps are attacked and secured. Covering secure coding, cryptography, reverse engineering and penetration testing, it gives developers, security professionals and students the practical skills to build and assess secure mobile applications.

  5. BlackHat C
    BlackHat C
    Low-Level Exploitation and Malware Engineering
    Steve Publications

    Real attacks don't live in slide decks. They live in the stack, the heap, the kernel. This code-first guide takes practitioners who already know C straight into how modern exploits and malware actually work, pairing every offensive technique with the defense built to stop it. Rigorous, hands-on, and strictly for isolated, legal, ethical lab use.

  6. CISSP: Die letzte Meile (Deutsche Ausgabe)
    CISSP: Die letzte Meile (Deutsche Ausgabe)
    Ihr Wegweiser zum Ziel
    Pete Zerger and TranslateAI

    Das Buch behandelt alle Themen des aktuellen CISSP-Prüfungslehrplans in einem Format, das es ermöglicht, spezifische Prüfungsdomänen und Konzepte auf einen Blick zu vertiefen, wodurch es sich zu einer unverzichtbaren Prüfungsressource für alle entwickelt, die sich ohne Zeit- und Geldverschwendung auf die Prüfung vorbereiten möchten.

  7. AI Powered Threat Modeling
    AI Powered Threat Modeling
    Joseph Thachil George

    Security threat modeling is expensive ($5K–$20K per engagement), slow (2–5 days), and requires rare expertise. What if you could automate it? This book shows you how to build AITM — an open-source Python tool that uses Large Language Models to generate comprehensive STRIDE threat analyses from a simple system description. One command. 30 seconds. Professional results. You'll build every component from scratch: - A stateless threat modeling engine with a 3-step AI workflow - Multi-provider LLM integration (Amazon Bedrock, OpenAI, Ollama) - Structured output parsing with Pydantic — no regex, no fragile parsing - Architecture diagram analysis using vision models - A professional CLI with progress indicators and colored output - Markdown and JSON report generation Whether you're a developer automating security reviews, a DevSecOps engineer integrating threat modeling into CI/CD, or a student learning how to build real-world LLM-powered tools — this book gives you the complete blueprint. Includes 5 real-world use cases, full source code on GitHub, and step-by-step instructions that work on macOS and Linux. No security expertise required. Just Python and curiosity.

  8. Beyond the Basics: Practical Bug Bounty Hunting
    Beyond the Basics: Practical Bug Bounty Hunting
    A Beginner's Guide to Becoming a Bug Bounty Hunter (Web Security)
    morioka12

    This book is designed for individuals who have already learned the basics of web security. It provides a systematic guide to acquiring the "practical bug hunting skills" necessary to achieve your first valid report (First Blood), earn your first bounty, and consistently deliver results in real-world bug bounty programs.

  9. AI API Security Scanner: Build It From Scratch

    Every web application has security headers, cookies, TLS configurations, and CORS policies that need to be correct. Most teams find out they're wrong only after a penetration test — or worse, after an incident. This book shows you how to build a scanner that catches these issues automatically. You'll create a Python CLI tool that uses Hurl (declarative HTTP testing) to assert security properties, SSLyze to validate TLS protocol versions, and AI to generate specific remediation for every failure it finds. The output: structured JSON reports, visual HTML dashboards, and AI-generated security posture assessments. **What you'll build:** - 9 declarative Hurl security test files (headers, cookies, CORS, HSTS, CSP, CSRF, redirects, TLS) - A preprocessor that handles domain substitution and authentication - An output parser with built-in remediation guidance for every test - A TLS scanner validating SSL 2.0/3.0 disabled and TLS 1.2/1.3 enabled - An AI analyzer that generates context-specific fixes using Ollama, OpenAI, or Bedrock - An HTML reporter with dark-themed visual dashboards - Docker multi-architecture deployment - CI/CD pipeline with GitHub Actions **Who this is for:** - Developers who want security checks before deploying - DevSecOps engineers building CI/CD security gates - Penetration testers who need quick baseline assessments - Security students learning web vulnerability concepts hands-on - Platform teams enforcing security standards across services Every failure includes: what was expected, what was received, why it matters, how to fix it, and a documentation link. AI adds domain-specific code examples on top.

  10. AI-Powered Web Vulnerability Scanner: Build It From Scratch

    Every web application has security headers, cookies, TLS configurations, and CORS policies that need to be correct. Most teams find out they're wrong only after a penetration test — or worse, after an incident. This book shows you how to build a scanner that catches these issues automatically. You'll create a Python CLI tool that uses Hurl (declarative HTTP testing) to assert security properties, SSLyze to validate TLS protocol versions, and AI to generate specific remediation for every failure it finds. The output: structured JSON reports, visual HTML dashboards, and AI-generated security posture assessments. **What you'll build:** - 9 declarative Hurl security test files (headers, cookies, CORS, HSTS, CSP, CSRF, redirects, TLS) - A preprocessor that handles domain substitution and authentication - An output parser with built-in remediation guidance for every test - A TLS scanner validating SSL 2.0/3.0 disabled and TLS 1.2/1.3 enabled - An AI analyzer that generates context-specific fixes using Ollama, OpenAI, or Bedrock - An HTML reporter with dark-themed visual dashboards - Docker multi-architecture deployment - CI/CD pipeline with GitHub Actions **Who this is for:** - Developers who want security checks before deploying - DevSecOps engineers building CI/CD security gates - Penetration testers who need quick baseline assessments - Security students learning web vulnerability concepts hands-on - Platform teams enforcing security standards across services Every failure includes: what was expected, what was received, why it matters, how to fix it, and a documentation link. AI adds domain-specific code examples on top.

  11. Building an AI Threat Modeling MCP Server

    Threat modeling is broken. It takes days, costs thousands, and most teams skip it entirely. What if your AI coding assistant could do it for you — systematically, consistently, and in minutes? This book shows you how to build an MCP server that makes it happen. You'll create 80+ structured tools that guide any AI assistant through a rigorous 9-phase STRIDE threat modeling workflow. Not vague prompts that produce unstructured text — real, typed, validated tools that build up a complete threat model piece by piece: business context, architecture, threat actors, trust boundaries, data flows, STRIDE-based threats, mitigations, and a final JSON export compatible with AWS Threat Composer. **What you'll build:** - A full MCP server with FastMCP (stdio + SSE transport) - Pydantic v2 data models for type-safe threat modeling - Case-insensitive enum validation (because AI isn't always consistent) - 11 tool modules covering every phase of STRIDE analysis - Customizable organization security guidelines loaded from `.md` files - Docker deployment for team-wide access - Compliance gap analysis that validates against mandatory controls - A complete workflow orchestrator with progress tracking **What makes this different:** The server doesn't call any LLM itself. It provides the structure and tools — your AI assistant (Claude, Kiro, Cursor, Copilot) provides the intelligence. This means it works with any model, any provider, forever. No API keys, no token costs for the server itself. **Who this is for:** - Security engineers who want to automate repetitive threat modeling - Python developers building MCP servers for any domain - DevSecOps teams embedding security into AI-assisted workflows - Architects who need consistent, auditable threat models - Anyone curious about how MCP tools work under the hood **By the end of this book**, you'll have a production-ready MCP server, a deep understanding of how AI tools are structured, and transferable patterns for building MCP servers in any domain — not just security.

  12. Secure All The Things!
    Secure All The Things!
    (with Spring Security)
    Josh Long

    UPDATE: Please don't pay for this!! It's free. Please just take it for free. I'd much rather give it away. Even when it's done, it'll still be free. I'm 100% NOT trying to make money on this. Tell your friends, and be sure to read it. Your applications lives and runs in more places - MCP, desktop applications, browser-based application, data integration pipelines, gRPC, browsers, etc. - than ever. Can your security framework keep up? If you're using Spring Security, then it definitely can, and this book - by Spring Developer Advocate Josh Long - will show you how.

  13. Defensive Cybersecurity with Python Programming
    Defensive Cybersecurity with Python Programming
    A Practical Guide to System Monitoring, Network Defense, and Automated Security Hardening
    Edgar Milvus

    The Digital Battlefield Has Changed. Is Your Defense Ready? 🛡️ Manual checks are no longer enough. To secure modern infrastructure, you must move from reactive to proactive. Defensive Cybersecurity with Python is your field manual for building automated, intelligent defenses. From real-time system monitoring to building your own lightweight SIEM, learn to turn Python into your ultimate security weapon. Stop reacting to threats—start automating your defense.

  14. Suricata: An Operator's Guide

    Hello! I'm Tony Robinson, a threat researcher and Suricata rule writer on the Proofpoint Emerging Threats team. I write rules for the ETOPEN and ETPRO rulesets. My book originally started as a guide to get budding security analysts interested in Network Threat Detection with Suricata, and over time has evolved to include helpful guidance into threat research! After all, what good is being able to write Suricata rules if you can't find the threats you want to detect in the first place?

  15. Suricata: An Operator's Guide

    Hello! I'm Tony Robinson, a threat researcher and Suricata rule writer on the Proofpoint Emerging Threats team. I write rules for the ETOPEN and ETPRO rulesets. My book originally started as a guide to get budding security analysts interested in Network Threat Detection with Suricata, and over time has evolved to include helpful guidance into threat research! After all, what good is being able to write Suricata rules if you can't find the threats you want to detect in the first place?