Skip to content
FUNDAMENTOS

Fundamentals

The foundation the rest of the wiki builds on: how networks, operating systems, the web and cryptography work, plus the everyday tooling (terminal, scripting, Git, virtualization). If you are starting from scratch, follow the cards in order.

START HERE

CARDS (24 cards)

fundamentos/

  • Pentest Methodologybasic · 14 min

    Pentest methodology: scope and rules of engagement, phases and their loop, reference frameworks, notes and evidence, and lab vs real engagement.

  • Networking Fundamentalsbasic · 9 min

    The pieces of a network, the layered model, how a packet is encapsulated and what changes at each hop: the basis for scanning, sniffing, MITM and pivoting.

  • IP Addressing, Subnets and NATbasic · 13 min

    How to read an IPv4 address with its mask: network, broadcast and hosts, private and special ranges, and what NAT does (and doesn't) do.

  • How a Packet Travels: Gateway, ARP and Routesbasic · 9 min

    How your machine decides whether to deliver a packet directly or to the gateway, how it maps IP to MAC with ARP, and how to read the routing table.

  • TCP, UDP and Portsbasic · 10 min

    What sets TCP apart from UDP, how the handshake works, what ports and sockets are, and why nmap marks a port as open, closed or filtered.

  • The Terminal and the Shellbasic · 10 min

    The terminal: anatomy of a command, getting help, paths, redirections and pipes, variables and PATH, text filters and upgrading a shell to interactive.

  • Linux: Files, Users and Permissionsbasic · 11 min

    Linux for privilege escalation: the filesystem, users and UIDs, rwx and octal permissions, SUID, SGID and sticky, capabilities, and sudo vs su.

  • Linux: Processes, Services and Softwarebasic · 9 min

    Linux internals: processes and signals, systemd services and their logs, scheduled tasks, tmux, and how software gets installed (apt, pipx, venv, Go).

  • Bash Scriptingbasic · 10 min

    Bash for security: variables and quoting, arguments, conditions, loops, functions, exit codes and text processing to automate recon.

  • The Windows Console: CMD and PowerShellbasic · 12 min

    CMD and PowerShell: Verb-Noun cmdlets, the object pipeline with Get-Member, filtering and searching, .ps1 scripts, Execution Policy and PSReadLine history.

  • Windows: Files, Users and Permissionsbasic · 15 min

    Windows for security: NTFS, key paths and folders, local and domain accounts, SYSTEM, SIDs and RIDs, groups, UAC, privileges and ACLs with icacls.

  • Windows: Processes, Services, Registry and Networkingbasic · 15 min

    Windows internals: normal vs fake processes, services and their accounts, the registry, scheduled tasks and networking (ports by process, RDP, WinRM, firewall).

  • Active Directory: Domains, Objects and Groupsintermediate · 16 min

    Active Directory from scratch: domain and DC, DN, UPN, SID, OU, tree and forest, why it depends on DNS, key groups and the order GPOs apply in.

  • Active Directory: Authentication with Kerberos and NTLMintermediate · 14 min

    Authentication vs authorization, the access token, Kerberos step by step (TGT, TGS, SPN), NTLM, and why connecting by IP or by name changes the protocol.

  • Python from Scratchbasic · 19 min

    Python from scratch for security: types, data structures, control flow, functions, files and errors, up to writing your own scripts.

  • Python for Hackingintermediate · 16 min

    Python in a real engagement: bytes vs str, requests with sessions and Burp, sockets, subprocess without a shell, threads and porting exploits from 2 to 3.

  • Regular Expressionsbasic · 15 min

    Regular expressions: metacharacters, classes, anchors, quantifiers, groups and lookarounds in grep, sed and Python, and pulling IPs, URLs and hashes from logs.

  • Git for Hackingbasic · 12 min

    Git for security: how it stores history, everyday commands and why deleted data is still there, the root of many exposed secrets.

  • Virtualisation, Containers and Their Networksbasic · 11 min

    Virtualization for labs: hypervisors, snapshots, VM network modes (NAT, bridged, host-only, internal) and how Docker networking works.

  • HTTP Fundamentalsbasic · 13 min

    HTTP for web hacking: requests and responses, methods, status codes, key headers, URLs and encoding, cookies, sessions, tokens and what HTTPS changes.

  • DNS and DHCPbasic · 10 min

    How a name gets resolved (cache, hosts, resolver, root, TLD, authoritative), which DNS records matter, how to query them and what DHCP hands out.

  • Cryptography: The Basicsbasic · 15 min

    Cryptography basics: what each primitive guarantees, why encoding is not encryption, symmetric, asymmetric, hashes and passwords.

  • TLS and Certificatesintermediate · 18 min

    TLS: what it protects, the TLS 1.3 handshake, X.509 certificates and the chain of trust, SNI, Certificate Transparency and how Burp intercepts HTTPS.

  • Building Your Labbasic · 14 min

    Where to practice without breaking anything or the law: attack box, victims, isolated network, a minimal Active Directory and the online platforms.

SEE ALSO