CyberCode Academy

CyberCode Academy

By CyberCode AcademyTechnologyEducationCourses
Download on the App Store

CyberCode Academy episodes

  • Course 18 - Evading IDS Firewalls and Honeypots | Episode 6: Mastering Malware Evasion: Stealth, Obfuscation, and Anti-Analysis
    In this lesson, you’ll learn about:
    • Evading Initial Detection:
      • Payload Obfuscation: Encoding payloads multiple times to cloak them from IDS detection.
      • Benign Carrier Injection: Hiding malicious code inside legitimate scripts (e.g., Python Base64 payloads).
      • Custom Packaging: Using packers to compress or encrypt malware, creating unique fingerprints that bypass signature-based detection.
    • Post-Penetration Stealth:
      • Fileless Attacks: Running scripts directly in memory via tools like PowerShell, avoiding disk storage.
      • Folder Cloaking: Hiding directories using CLSID entries and desktop.ini files.
      • Alternate Data Streams (ADS): Embedding executable code in hidden NTFS streams, keeping file sizes unchanged and avoiding standard file scans.
    • Anti-Analysis and Oversight Detection:
      • Environmental Checks: Detecting virtual machines or sandbox environments via CPU, registry, and network adapter inspection.
      • Evasive Countermeasures: Terminating, altering behavior, or sleeping to avoid detection during analysis.
    • Analogy for Understanding:
      • Think of a spy infiltrating a high-security facility:
        • Obfuscation: Wearing a disguise to bypass guards.
        • Fileless attacks: Building tools inside the facility without carrying weapons.
        • ADS and cloaking: Hiding secret documents in a hidden compartment of a normal briefcase.
        • Anti-analysis: Acting like a janitor when noticing surveillance to avoid suspicion.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    13 min
  • Course 18 - Evading IDS Firewalls and Honeypots | Episode 5: Intrusion Detection and Prevention: Strategies, Tools, and Intelligence
    In this lesson, you’ll learn about:
    • Foundations of Intrusion Defense:
      • Multi-layered defense-in-depth strategies using models like SAPSA.
      • Difference between Intrusion Detection Systems (IDS), which alert operators, and Intrusion Prevention Systems (IPS), which can actively block threats.
      • The challenge of balancing false positives vs. false negatives in threat detection.
    • Detection Methodologies:
      • Signature-based detection: Matches traffic against known attack patterns with regularly updated signatures.
      • Anomaly detection: Builds models of normal traffic to detect deviations, including protocol and statistical anomalies.
    • Perimeter and Access Control:
      • Techniques like blacklisting (blocking known bad sites) and whitelisting (allowing only approved sites) to secure network entry points.
    • Technical Tools: Snort and Security Onion:
      • Snort: Open-source, rule-based NIDS; creating rules for logging, alerting, and traffic filtering.
      • Security Onion: Ubuntu-based distribution integrating Snort, Suricata, and log management tools for real-time network monitoring.
    • Intelligence-Led Security:
      • Using reputation-based threat intelligence from providers to block risky IPs and URLs.
      • Extending IDS/IPS beyond signature detection for proactive security.
    • Case Study: EINSTEIN Program:
      • Analysis of the 2015 OPM breach and how relying solely on outdated signature-based methods caused a 94% false negative rate.
      • Highlights the importance of anomaly detection and modern threat intelligence integration.
    • Analogy for Understanding:
      • IDS/IPS systems are like airport security:
        • Signature-based IDS: “No Fly List” stopping known bad actors.
        • Anomaly detection: Behavior detection officer spotting unusual activity.
        • Reputation feeds: International intelligence sharing, warning about suspicious travelers before they arrive.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    19 min
  • Course 18 - Evading IDS Firewalls and Honeypots | Episode 4: Advanced Application Security: WAFs, API Gateways, and Honeypot Traps
    In this lesson, you’ll learn about:
    • Web Application Firewalls (WAFs):
      • Protecting the application layer by inspecting HTTP/HTTPS and WebSocket traffic.
      • Breaking SSL encryption to detect threats using malware signatures and logic-based anomaly detection.
      • Deployment options: hardware, software, or cloud services; open-source examples like ModSecurity.
    • API Gateways and Microservices Security:
      • Acting as proxies between subscribers and backend services to prevent attacks such as cross-site scripting (XSS).
      • Managing API keys, documentation, and subscriber catalogs.
      • Practical configuration: using management consoles to create users and publish APIs; pentesters can fingerprint gateways to ensure security features are active.
    • Honeypots and Deception Systems:
      • Luring, trapping, and monitoring attackers using decoy systems.
      • Types: low-interaction (basic interfaces), medium/high-interaction (realistic environments).
      • Example: Cowrie SSH/Telnet honeypot for logging brute-force attempts and shell activity.
      • Detection notes: attackers may recognize honeypots via behavioral anomalies or packet handling differences.
    • Analogy for Understanding:
      • Securing a digital environment is like a high-stakes gala:
        • WAF: Security guard at the entrance checking every guest.
        • API Gateway: Concierge controlling which rooms guests can enter.
        • Honeypot: Decoy vault to safely observe thieves without risking real assets.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    11 min
  • Course 18 - Evading IDS Firewalls and Honeypots | Episode 3: Network Emulation and Security Defense: Deploying Cisco ASA and Kali Linux
    In this lesson, you’ll learn about:
    • GNS3 Platform Foundation and Image Integration:
      • Installing GNS3 Windows All-in-One and preparing the environment for professional network emulation.
      • Importing manufacturer-specific device images (e.g., Cisco 3745 router, ASA firewall) to run actual device code instead of generic simulators.
    • Building a Routed Network:
      • Configuring IP addresses and routing paths on Cisco routers.
      • Calculating idle time to optimize host CPU usage during emulation.
      • Establishing a functional network backbone before adding security layers.
    • Deploying the Cisco ASA Firewall:
      • Creating a secure network enclave with multiple security zones.
      • Assigning security levels (Inside = 100, DMZ = 50) and managing traffic flow.
      • Configuring explicit rules and ICMP permissions to control responses from lower- to higher-security zones.
    • Security Testing with Kali Linux:
      • Integrating a Kali Linux VM into the GNS3 topology for vulnerability probing.
      • Using professional tools like Nmap and Armitage to verify firewall effectiveness.
      • Running simulated attacks to confirm that the ASA firewall filters ports and protects internal resources.
    • Analogy for Understanding GNS3 Emulation:
      • Using GNS3 is like a pilot training on a full-motion flight simulator: you interact with the actual software and controls, safely practicing defensive maneuvers against cyber threats without risking a real network.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    11 min
  • Course 18 - Evading IDS Firewalls and Honeypots | Episode 2: Configuring a Cisco PIX Firewall to Establish a Secure Enclave
    In this lesson, you’ll learn about:
    • Initializing and Configuring a Cisco PIX Firewall:
      • Physical and software setup: connecting to the RS232 console port via USB-to-serial adapter and using Putty.
      • Navigating the Cisco IOS CLI: moving from basic prompts to privilege mode and the configuration environment (config t).
      • Administrative tasks:
        • Checking existing configurations with show configure.
        • Creating local user accounts and setting privilege levels.
        • Naming and managing interfaces, identifying Ethernet 0 as "outside" (WAN) and Ethernet 1 as "inside" (internal network).
    • Network Architecture and Connectivity:
      • Building a secure subnet (10.0.0.0/24) behind the firewall while connected to a local network (192.168.1.0/24).
      • Key steps:
        • Assign static IP addresses to internal and external interfaces.
        • Configure routing so internal devices can reach the internet.
        • Implement Access Control Lists (ACLs) to allow specific traffic like ICMP (ping).
        • Set up Network Address Translation (NAT) to bridge the secure enclave with the outside network.
    • Verification and Testing:
      • Conduct connectivity tests and use tools like Nmap to confirm that internal devices are protected and only intended services are exposed to the public network.
    • Analogy for Understanding Firewall Setup:
      • Think of the firewall as a secure gatehouse for a private estate: set up the administrative office (console/user access), define roads to the mansion (inside network) vs. the public highway (outside network), and hire a guard (NAT & ACLs) to only let authorized guests through while hiding internal details from outsiders.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    13 min
  • Course 18 - Evading IDS Firewalls and Honeypots | Episode 1: Firewall Management and Security Testing: From Windows and Linux Configurations
    In this lesson, you’ll learn about:
    • Firewall Fundamentals and Windows Configuration:
      • What a firewall is and how it mediates between network zones using rules based on source/destination addresses and ports.
      • Windows Firewall network profiles: Domain, Private, and Public.
      • Key practices:
        • Application Control: Allow specific programs, block vulnerable protocols like SMB/RPC on public networks.
        • Advanced Rules: Configure IPSec for authenticated/encrypted transmissions; set granular inbound/outbound rules.
        • Logging and Analysis: Use tools to convert large text logs into graphical summaries to detect anomalies.
    • Linux Firewall Management with IPTables:
      • IPTables chains: Input, Forward, and Output.
      • Key practices:
        • Block Traffic: Drop packets by source IP or destination port.
        • Advanced Filtering: Flood protection, limit concurrent SSH sessions, divert unauthorized Telnet traffic to a honeypot.
        • Audit Activity: Monitor dropped packets in system logs for attack analysis.
    • Advanced Rule Management and Verification:
      • Use GUI tools like Firewall Builder for Linux/Cisco (ASA/PIX) platforms to simplify rule creation and detect issues like “rule shadowing.”
      • Verify policies with Port Tester to ensure ports are open or blocked as intended.
    • Analogy for Understanding Firewalls:
      • Think of a firewall as a security team at a gated campus: rules dictate who enters (Input), moves between buildings (Forward), and exits with equipment (Output). Tools like Firewall Builder are blueprints to prevent conflicts, while port testing acts as surprise inspections to catch accidental backdoors.
    • Best Practices:
      • Apply proper configuration, audit logs, verify rules, and ensure security policies are effective across Windows and Linux environments.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    14 min
  • Course 17 - Computer Network Security Protocols And Techniques | Episode 9: Foundations of VPN Security: The IPsec Protocol Suite
    In this lesson, you’ll learn about:
    • The fundamentals of VPNs and IPsec
    • Key management and Security Associations (SA)
    • IPsec protocols: AH vs. ESP
    • Operational modes: Transport vs. Tunnel
    1. VPNs and IPsec Fundamentals
    • A VPN (Virtual Private Network) creates a secure, logical tunnel over the public internet, allowing private communication without costly dedicated lines.
    • IPsec (Internet Protocol Security) operates at the network layer and supports both IPv4 and IPv6.
    • Security services provided by IPsec include:
      1. Access Control – Only authorized users can send/receive data
      2. Data Origin Authentication – Verify the source of the packet
      3. Integrity Protection – Ensure data hasn’t been tampered with
      4. Confidentiality – Encrypt the packet contents
      5. Anti-Replay – Detect and discard duplicated or malicious packets
    2. IPsec Framework and Key Management
    • Encryption algorithms: DES, 3DES, AES for confidentiality
    • Integrity algorithms: MD5, SHA to create digital signatures (MACs)
    • Key exchange: Diffie-Hellman ensures a shared secret is established securely
    3. Security Associations (SA) and IKE
    • An SA is a unidirectional logical connection, identified by:
      • SPI (Security Parameter Index)
      • Destination IP address
    • Bidirectional communication requires two SAs.
    • IKE (Internet Key Exchange) establishes SAs and manages keys:
      • IKE Phase 1: Creates a secure management tunnel (authenticates parties, negotiates algorithms, performs Diffie-Hellman exchange)
      • IKE Phase 2: Sets up the actual data tunnel (negotiates AH/ESP and operational mode)
    • IKEv2 is the modern version, supporting NAT traversal and keep-alive, and is widely used in 5G networks.
    4. IPsec Protocols: AH vs. ESPProtocolSecurity ProvidedNotesAH (Authentication Header)Integrity & authenticationDoes not encrypt; ignores changing IP header fields like TTLESP (Encapsulating Security Payload)Integrity, authentication, encryptionPreferred protocol for most VPNs and mandatory for 5G

    5. Operational Modes: Transport vs. Tunnel
    • Transport Mode: Only the payload is encrypted; original IP header is visible
    • Tunnel Mode: Entire original IP packet (header + payload) is encrypted inside a new IP packet
    • Most common setup: Tunnel Mode + ESP (encrypts everything and ensures privacy)
    Analogy:
    • Transport Mode: Transparent envelope with coded letter inside – address is visible, content protected
    • Tunnel Mode: Envelope inside an opaque crate – both content and sender/receiver are hidden


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    13 min
  • Course 17 - Computer Network Security Protocols And Techniques | Episode 8: TLS/SSL Foundations: From Conceptual "Toy" Models to Actual
    In this lesson, you’ll learn about:
    • The purpose and security objectives of TLS/SSL
    • How a simplified "Toy TLS" model illustrates key concepts
    • How actual TLS works, including handshake, key derivation, and record protocols
    • The role of cipher suites and secure data transfer
    1. Core Security Services of TLS/SSL TLS (Transport Layer Security) is designed to protect communications over insecure networks. Its four main security services are:
    1. Authentication – Verify the identities of client and server using digital certificates.
    2. Encryption – Protect data from being read by unauthorized parties.
    3. Integrity Protection – Detect any changes or tampering of transmitted data.
    4. Replay Attack Prevention – Stop attackers from resending valid data to repeat actions (like fraudulent payments).
    2. Toy TLS: A Conceptual Model The "Toy TLS" model is a simplified way to understand TLS: Handshake & Key Derivation
    • Step 1: Client (Alice) and server (Bob) authenticate each other with certificates.
    • Step 2: They exchange a master secret and nonces (random numbers).
    • Step 3: From the master secret, four keys are derived:
      • Two for encryption (one per direction)
      • Two for MAC (Message Authentication Code) to verify integrity
    Secure Data Transfer
    • Data is divided into records (frames).
    • Each record includes:
      • Length header – defines boundaries between data and MAC
      • MAC – ensures integrity and prevents tampering
    Advanced Protections
    • Sequence numbers prevent reordering attacks.
    • Type field in MAC prevents truncation attacks, where an attacker might cut off messages prematurely.
    3. Actual TLS Implementation Cipher Suites
    • TLS uses cipher suites to define:
      • Public key algorithm (e.g., RSA)
      • Symmetric encryption algorithm (e.g., AES, RC4)
      • Hash algorithm for MAC (e.g., SHA-256)
    • Client proposes supported suites; server chooses the strongest mutually supported one.
    Four-Step Handshake
    1. Negotiate security capabilities
    2. Server authenticates itself to the client
    3. Optional client authentication
    4. Finalization – premaster secret and session keys are derived using exchanged random numbers
    Record Protocol
    • Ensures secure data transfer by:
      1. Fragmenting the message
      2. Compressing the data
      3. Appending a MAC
      4. Encrypting the record
      5. Adding a TLS header (content type, version, length) before sending over TCP
    Analogy
    • Handshake: Like a secure diplomatic meeting where participants check IDs, agree on a secret language, and synchronize watches.
    • Record Protocol: The actual conversation, where each sentence is translated, numbered, and sealed so the listener can verify order and integrity.


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    14 min
  • Course 17 - Computer Network Security Protocols And Techniques | Episode 7: Understanding Pretty Good Privacy (PGP) for Secure Email
    In this lesson, you’ll learn about:
    • What PGP is and where it operates in the network stack
    • How PGP secures email confidentiality and authenticity
    • The three-part structure of a PGP-secured message
    • How session keys, public keys, and digital signatures work together
    • The cryptographic algorithms supported by PGP
    Introduction Pretty Good Privacy (PGP) is an application-layer security protocol designed to protect email communications. It combines symmetric encryption, public key cryptography, and digital signatures to ensure that messages remain confidential, authentic, and tamper-proof during transmission. How PGP Secures an Email PGP divides a protected email into three main components, each serving a specific security purpose. Part One: Session Key Protection
    • Contains the session key and the symmetric encryption algorithm used
    • The session key is a temporary, randomly generated key
    • This entire part is encrypted using the recipient’s public key
    • Ensures that only the intended recipient can recover the session key
    Part Two: Encrypted Content and Digital Signature
    • Contains the actual email message
    • The message is encrypted using the session key
    • Includes a digital signature created by:
      • Hashing the message to produce a digest
      • Encrypting the digest with the sender’s private key
    • Provides:
      • Integrity (message was not altered)
      • Authentication (message truly came from the sender)
      • Non-repudiation
    • Also specifies the hashing and encryption algorithms used
    Part Three: PGP Header
    • Contains protocol-related metadata
    • Helps the recipient’s PGP software correctly process the message
    Cryptographic Algorithms Supported by PGP PGP is flexible and supports multiple cryptographic standards:
    • Public Key Algorithms:
      • RSA
      • DSS
    • Hash Functions:
      • MD5
      • SHA-1
      • RIPEMD
    • Symmetric Encryption Algorithms:
      • AES
      • Triple DES (3DES)
    Key Takeaways
    • PGP operates at the application layer
    • Uses hybrid encryption for efficiency and security
    • Public keys protect the session key, not the message directly
    • Digital signatures ensure authenticity and integrity
    • Widely used for secure email communication


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    12 min
  • Course 17 - Computer Network Security Protocols And Techniques | Episode 6: The Evolution of End Point Authentication: Securing Identities
    In this lesson, you’ll learn about:
    • What end point authentication is and why it matters
    • Why early authentication methods failed
    • How replay attacks and spoofing work
    • The role of nonces in proving “liveness”
    • Why public keys alone are not enough
    • How digital certificates solve Man-in-the-Middle attacks
    Introduction End point authentication is the process by which one entity proves its identity to another over a network. This lesson traces the evolution of authentication mechanisms, showing how each weak design led to stronger and more secure solutions used on today’s internet. 1. Early Authentication Methods and Their Failures Simple Identification & IP-Based Authentication
    • An entity simply claims an identity, or
    • Identity is inferred from the source IP address
    • Problem: Attackers can easily spoof IP addresses
    • Result: No real proof of identity
    Passwords and Encrypted Passwords
    • Users authenticate by sending a password (plain or encrypted)
    • Problem: Vulnerable to replay attacks
      • An attacker records the authentication packet
      • The same packet is resent later to gain access
    • Encryption does not prevent replay
    2. Nonces and Challenge–Response Authentication What Is a Nonce?
    • A random number used only once
    • Ensures the communicating party is “live”
    How It Works
    • Bob sends a nonce to Alice
    • Alice encrypts the nonce using a shared secret key
    • Bob decrypts and verifies the response
    Strengths
    • Prevents replay attacks
    • Proves the entity is actively responding
    Limitations
    • Requires a pre-shared secret key
    • Not scalable for large networks or the internet
    3. Public Key Authentication and Its Weakness Why Public Keys Were Introduced
    • Removes the need for pre-shared secrets
    • Anyone can encrypt data using a public key
    The Major Flaw: Man-in-the-Middle (MITM)
    • An attacker intercepts the communication
    • Substitutes their own public key
    • Alice and Bob each think they are talking directly
    • Attacker reads and modifies all traffic
    Key Insight
    • Public key cryptography alone does not authenticate identity
    4. The Final Solution: Digital Certificates What Digital Certificates Solve
    • Bind a public key to a verified identity
    • Prevent attackers from substituting keys unnoticed
    Role of Certification Authorities (CAs)
    • Verify identities
    • Issue digital certificates
    • Sign certificates using their private key
    Why This Stops MITM Attacks
    • An attacker cannot forge a valid certificate
    • Any key substitution attempt is detected
    • Trust is anchored in the CA
    5. Real-World Impact
    • This model is the foundation of HTTPS
    • Modern browsers automatically verify certificates
    • End point authentication is now built into everyday internet use
    Key Takeaways
    • Identity claims and IP-based authentication are insecure
    • Passwords alone are vulnerable to replay attacks
    • Nonces add freshness but require shared secrets
    • Public keys enable scalability but are MITM-prone
    • Digital certificates are the only robust solution
    • Trusted third parties are essential for secure authentication


    You can listen and download our episodes for free on more than 10 different platforms:
    https://linktr.ee/cybercode_academy

    Get the books of the CyberCode Academy podcast:
    📚 The book series: 416 lessons, 12 books, hundreds of original diagrams: security, networking and programming.
    https://cybercodeacademy.gumroad.com/
    14 min

About CyberCode Academy

From the publisher's feed

Welcome to CyberCode Academy — your audio classroom for Programming and Cybersecurity.
🎧 Each course is divided into a series of short, focused episodes that take you from beginner to…