



















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




















TCP - âď¸ Transmission Control Protocol UDP - âď¸ User Datagram Protocol Port 21 - âď¸ FTP FTP - âď¸ File Transfer Protocol Port 22 - âď¸ SSH SSH - âď¸ Secure Shell Port 23 - âď¸ Telnet Port 25 - âď¸ SMTP SMTP - âď¸ Simple Mail Transfer Protocol Port 49 - âď¸ TACACS TACACS - âď¸ Terminal Access Controller Access Control System Port 53 - âď¸ DNS DNS - âď¸ Domain Name System Port 67 (UDP) - âď¸ DHCP (Server) Port 68 (UDP) - âď¸ DHCP (Client) DHCP - âď¸ Dynamic Host Configuration Protocol Port 69 (UDP) - âď¸ TFTP TFTP - âď¸ Trivial File Transfer Protocol Port 80 - âď¸ HTTP HTTP - âď¸ Hypertext Transfer Protocol Port 88 - âď¸ Kerberos
Kerberos - âď¸ A computer network authentication protocol that works on the basis of tickets to allow nodes communicating over a non-secure network to prove their identity to one another in a secure manner Port 110 - âď¸ POP 3 POP3 - âď¸ Post Office Protocol version 3 Port 111 - âď¸ RPC RPC - âď¸ Remote Procedure Call Port 123 - âď¸ NTP NTP - âď¸ Network Time Protocol Port 135 - âď¸ Windows RPC (EPM) Port 593 - âď¸ RPC over HTTPS Port 445 - âď¸ SMB SMB - âď¸ Server Message Block Port 137 (UDP) - âď¸ NetBIOS (name services) Port 138 (UDP) - âď¸ NetBIOS (datagram services) Port 139 - âď¸ NetBIOS (session services) NetBIOS - âď¸ Network Basic Input/Output System Port 143 - âď¸ IMAP IMAP - âď¸ Internet Message Access Protocol Port 161 (UDP) - âď¸ SNMP SNMP - âď¸ Simple Network Management Protocol Port 179 - âď¸ BGP BGP - âď¸ Border Gateway Protocol Border Gateway Protocol (BGP) - âď¸ A standardized exterior gateway protocol designed to exchange routing and reach-ability information among autonomous systems on the Internet. The protocol is classified as a path vector protocol.
Port 3128 - âď¸ Squid Proxy Port 3306 - âď¸ MySQL Port 3389 - âď¸ RDP (Remote Desktop Protocol) Port 5060 - âď¸ SIP SIP - âď¸ Session Initiation Protocol Port 5222 - âď¸ Jabber Port 5432 - âď¸ Postgres Port 5666 - âď¸ Nagios Postgres - âď¸ An object-relational database management system with an emphasis on extensibility and standards compliance Nagios - âď¸ Open source system monitoring service Port 5900 - âď¸ VNC VNC - âď¸ Virtual Network Computing Port 6000 - âď¸ X 11 X11 - âď¸ A windowing system for bitmap displays, common on Unix-like operating systems. Provides the basic framework for a GUI environment: drawing and moving windows on the display device and interacting with a mouse and keyboard. Port 6129 - âď¸ DameWare DameWare - âď¸ Remote Access Software on port 6129 Port 6667 - âď¸ IRC (Internet Relay Chat) Port 9001 - âď¸ Tor Port 9001 - âď¸ HSQL Port 9090 - âď¸ Openfire Port 9100 - âď¸ Jet Direct Yersinia - âď¸ Layer 2 testing tool (STP, CDP, VLAN Trunking, etc)
STP - âď¸ Spanning Tree Protocol CDP - âď¸ Cisco Discovery Protocol DTP - âď¸ Dynamic Trunking Protocol HSRP - âď¸ Hot Standby Router Protocol VTP - âď¸ VLAN Trunking Protocol fgdump - âď¸ A utility for dumping passwords on Windows NT/2000/XP/ machines Reserved Internal IPs - âď¸ 10.0.0.0/8 (10.0.0.0-10.255.255.255) : Private 127.0.0.0/8 (127.0.0.0-127.255.255.255) : Local Host Loopback 172.16.0.0/12 (172.16.0.0-172.31.255.255) : Private 192.168.0.0/16 (192.168.0.0-192.168.255.255) : Private Symmetric Encryption - âď¸ DES/ 3 DES AES Twofish Blowfish Serpent IDEA RC4, RC5, RC CAST Asymmetric Encryption - âď¸ RSA El Gamal ECC Eliptic Curve Diffie-Helman (Key Exchange) Paillier Merkle-Helman Cramer-Shoup Hashes - âď¸ MD 5 SHA MySQL < 4. MySQL MD5 (WP) MD5 (phpBB3) LM / NTLM Oracle Default Credentials - âď¸ --Username | Password-- SYSTEM | MANAGER
SNMP Requests - âď¸ Get GetNext Set GetBulk Response Trap Inform HTTP Status Codes - âď¸ 1 xx - Info 2xx - Success 3xx - Redirection 4xx - Error 5xx - Server Error HTTP Status Code 404 - âď¸ NOT FOUND the method is not available HTTP Status Code 301 - âď¸ Moved Permanently HTTP Status Code 302 - âď¸ Temporarily Moved HTTP Status Code 410 - âď¸ Gone SQL Injections (Escape Characters) - âď¸ ' OR ' 1 ' = ' 1 ' -- ' OR '1' = '1' { ' OR '1' = '1' /* SQL Injections (Type Handling) - âď¸ 1 ;DROPTABLE users Linux File Permissions - âď¸ drwxrwxrwx 2 user(owner) group size date filename d | rwx | rwx | rwx Filetype | User | Group | Everyone Linux Command : Change Password - âď¸ passwd
/root - Home for root /sbin - Sys Admin binaries /tmp - Temporary Files /usr - Less critical files /var - Variable system files IPTables - âď¸ A user-space utility program that allows a system administrator to configure the tables provided by the Linux kernel firewall and the chains and rules it stores Wireshark and TCPdump - âď¸ Common packet analyzers. Allows the user to display TCP/IP and other packets being transmitted or received over a network to which the computer is attached pfSense - âď¸ Open source firewall/router computer software distribution based on FreeBSD Solaris Command : Process Listing - âď¸ prstat - a Solaris Command : Services and Status - âď¸ svcs - a Solaris Command: Start Service (Admin) - âď¸ svcadm start
IIS 7 Defaults - âď¸ Windows Vista, Server 2008 IIS 7.5 Defaults - âď¸ Windows 7 , 2008 R 2 IIS 8 Defaults - âď¸ Windows Server 2012 , Windows 8 IIS 8.5 Defaults - âď¸ Windows Server 2012 R 2 , Windows 8. IIS 10 v 1607 Defaults - âď¸ Windows Server 2016 , Windows 10 Anniversary Update IIS 10 v 1709 Defaults - âď¸ Windows 10 Fall Creators, v 1709 IIS 10 v 1809 Defaults - âď¸ Windows Server 2019 , Windows 10 October Update Windows Command : Disable Firewall - âď¸ netsh advfirewall set currentprofile state off netsh advfirewall set allprofiles state off Sysinternals Suite - âď¸ A set of powerful Windows administration applications used to view, troubleshoot, and modify Windows functions WMCI - âď¸ Windows Management Instrumentation Command-Line WMCI Command : Execute Process - âď¸ wmci process call create "process_name" WMCI Command : Uninstall Software - âď¸ wmci product get name /value wmci product where name="XX" call uninstall /nointeractive PCI Card Info Storage Common-Use - âď¸ - Store card details (i.e CC number, expiry) in encrypted form
Range : 0.0.0.0-127.0.0. Default Subnet Mask : 255.0.0. CIDR Notation : / Classful IP Range : Class B - âď¸ 16,384 Networks (2^14), 65,536 Addresses per network (2^16) Range : 128.0.0.0-191.255.0. Default Subnet Mask : 255.255.0. CIDR Notation : / Classful IP Range : Class C - âď¸ 2,097,152 Networks (2^21), 256 Addresses per network (2^8) Range : 192.0.0.0-223.255.255. Default Subnet Mask : 255.255.255. CIDR Notation : / 24 Classful IP Range Calculation - âď¸ If the first bit is a "0", it's a class A address (Half the address space has a "0" for the first bit, so this is why class A takes up half the address space.) If the second bit is a "0", it's a class B address (Half of the remaining non-class-A addresses, or one quarter of the total.) If the third bit is a "0", it's a class C address (Half again of what's left, or one eighth of the total.) If the fourth bit is a "0", it's a class D address. (Half the remainder, or one sixteenth of the address space.) If it's a "1", it's a class E address. (The other half, one sixteenth.) Classless Subnets / CIDR - âď¸ Class C - 255.255.255.0 , / 24 ( 254 Hosts) Class B - 255.255.0.0 , /16 (65,534 Hosts) Class A - 255.0.0.0 , /8 (16,777,214 Hosts) CRITICAL SUBNET INFO - âď¸ RTFM page 36 Hexadecimal Chart - âď¸ 0 1 2 3 4 5 6 7 8 9
NMap : Scan Types - âď¸ -sP : ping scan
MS-SQL : SELECT commands - âď¸ SELECT HOST_NAME( ) : Hostname and IP SELECT DB_NAME ( ) : Current DB SELECT name FROM master..sysdatabases; : List DBs SELECT user_name ( ) : Current user SELECT name FROM master..syslogins : List users SELECT name FROM master..sysobjects WHERE xtype='U'; : List Tables SELECT name FROM syscolumns WHERE id=(SELECT id FROM sysobjections WHERE name='mytable'); : List columns MS-SQL : List all Tables and Columns - âď¸ SELECT name FROM syscolumns WHERE id = (SELECT id FROM sysobjects WHERE name = 'mytable') MS-SQL : System Table (Info on All Tables) - âď¸ SELECT TOP 1 TABLE_NAME FROM INFORMATION_SCHEMA.TABLES MS-SQL 2005 Vulnerability (Password Hashes) - âď¸ SELECT name, password_hash FROM master.sys.sql_logins Postgres : SELECT commands - âď¸ SELECT version(); : DB Version SELECT inet_server)addr(); : Hostname and IP SELECT current_database(); : Current DB SELECT datname FROM pg_database; : List DBs SELECT user; : Current user SELECT username FROM pg_user; : List Users SELECT username,passwd FROM pg_shadow : List password hashes MySQL Default Credentials - âď¸ root | MYSQL MySQL : SELECT Commands - âď¸ SELECT @@version; : DB Version SELECT @@hostname; : Hostname and IP SELECT database(); : Current DB SELECT distinct (db) FROM mysql.db; : List DBs SELECT user(); : Current user
NAT - âď¸ Network Address Translation Media Access Control (MAC) - âď¸ An address for communications on the physical network segment. Network Address Translation (NAT) - âď¸ A technique that allows private IP addresses to be used on the public Internet. OSI Model - âď¸ "Please Dont Nag Tyrannosaurus, She'll Probably Attack" 1 : Physical (Bits) 2 : Data Link (Frames) 3 : Network (Packets) 4 : Transport (Segments) 5 : Session (Data) 6 : Presentation (Data) 7 : Application (Data) TCP/IP Model - âď¸ "Never Ingest Turian Almonds" 1 : Network Interface 2 : Internet Layer 3 : Transport Layer 4 : Application Layer IETF - âď¸ Internet Engineering Task Force IANA - âď¸ Internet Assigned Numbers Authority Wireless Standards - âď¸ 802.11b - 2.4 GHz 11 Mbps 802.11a - 5 GHz, 54 Mbps 802.11g - 2.4 GHz, 54 Mbps 802.11n - 5 GHz, 108 Mpbs 802.15 - Bluetooth 2.4 GHz Data Link Protocols - âď¸ 1 ) SLIP (serial line internet protocol)
Hybrid Routing - âď¸ Routing protocol that uses the attributes of both distance vector and link state IGP - âď¸ Interior Gateway Protocol Interior Gateway Protocol (IGP) - âď¸ A routing protocol that operates within an autonomous system, which is a network under a single administrative control. Includes IGRP, EGRP, RIP, OSPF, and EIGRP EGP - âď¸ Exterior Gateway Protocol Exterior Gateway Protocol (EGP) - âď¸ A routing protocol that operates between autonomous systems, which are networks under different administrative control. Border Gateway Protocol (BGP) is the only one in widespread use today. IPv6 - âď¸ A new protocol developed to replace IPv4, addressing the issue of IP address exhaustion. No broadcast, has Anycast instead. 128 - bit in Hexidecimal MAC Address - âď¸ A Media Access Control address is a hardware address that uniquely identifies each node on a network. Traditional MAC addresses are 12-digit (6 bytes, or 48 bits) hexadecimal numbers. Network Architectures - âď¸ The design of a computer network; includes both physical and logical design. 10BaseT - âď¸ LAN (Ethernet) 10 Mbps 100BaseT - âď¸ "Fast Ethernet" 100 Mbps 1000BaseT - âď¸ Gigabit Ethernet 1 GB Wireless Network - âď¸ Any type of computer network that is not connected by cables of any kind.
Shared Media LAN - âď¸ LAN that shares total bandwidth with all stations (ex. Token Ring) Switched Media LAN - âď¸ LAN with bandwidth shared between sender and receiver (Predicated Paths)
*Hubs are similar, but with NODES Netcraft - âď¸ Company that tracks web statistics, used to fingerprint web servers WHOIS - âď¸ a public Internet database that contains information about Internet domain names and the people or organizations that registered the domains. It is a source of information that can be used to exploit system vulnerabilities. Egress filtering - âď¸ Filtering outbound traffic Ingress Filtering - âď¸ Filtering inbound traffic DNS Record Types - âď¸ SOA- Start of Auth Record MX- Mail Exchange TXT- Text Record A- Address (IPv4) AAAA- Address (IPv6) NS - Name Server PTR - Pointer Record HINFO - Description of computer / OS CNAME - Canonical Name Start of Authority (SOA) Record - âď¸ Every zone file must include a ___ record to identify the name server that's primarily responsible for the database segments it manages. Mail Exchanger (MX) Record - âď¸ A record used by e-mail servers for determining the host names of servers responsible for handling a domain's incoming e-mail. A / AAAA Record - âď¸ IP Address Name Server (NS) Record - âď¸ announces the authoritative name servers for a particular zone who will answer queries for their supported zone Pointer Record (PTR) - âď¸ A record that points IP addresses/Canonical to host names. See also Reverse Lookup Zone. CNAME (Canonical name record) - âď¸ A type of DNS data record that holds alternative names for a host. Network Protocols - âď¸ ARP DHCP CDP HSRP VRRP VTP STP