andres@diaz:~/notes$ ls
Notes
My notes, written for anyone learning the same stuff.
Networking
IP Addresses
IP (Internet Protocol, logical address) = Layer 3 (Network layer) = what routers use to move data between networks.
MAC Addresses
MAC (Media Access Control) address = hardware address for one network interface = Layer 2 (Data Link layer) = what switches use to deliver data on the same local network.
Switches vs Routers
Switch = Layer 2 = MAC (Media Access Control) addresses = same network.
TCP and UDP (and the 3-Way Handshake)
TCP (Transmission Control Protocol) = reliable, handshake first. UDP (User Datagram Protocol) = fast, no handshake. Both are Layer 4 (Transport).
ARP and DHCP
DHCP (Dynamic Host Configuration Protocol): "I just joined. What IP should I use?"
Subnetting
Subnetting = splitting IP (Internet Protocol) addresses into networks. It answers: How big is this network? Where does it start and end? Is this IP inside it?
Methodology
Five Stages of Ethical Hacking
Every pentest follows the same 5 stages: Reconnaissance > Scanning and Enumeration > Gaining Access > Maintaining Access > Covering Tracks. Recon is where most of the time goes.
Recon Tools
These are the tools I've been introduced to so far. Right now it's mostly recon on emails and some basic scanning, but I'll keep adding to this as I progress.
Google Search Operators
Google search operators (also called Google dorking) narrow a search to find things like subdomains, exposed files and pages a company didn't mean to leave public.
Reference
Exploit research
Once enumeration gives me a product and a version, how I check whether that version has a public exploit.
Nmap (Network Mapper)
A running list of the Nmap (Network Mapper) flags I use, the common scan types and what the port states mean. Nmap scans a host for open ports and figures out what is running on them.
Service commands
How to connect to and look around the services I find in a scan. One section per service, and I add to it as I meet new ones.
Web enumeration
Tools for looking at a web server once a scan shows port 80 (HTTP) or 443 (HTTPS) is open. I add to this as I learn more.
