Docsity

Network Protocols and Security Concepts, Exams of Nursing

Toggle sidebar
bg1
CREST CPSA LATEST STUDY GUIDE
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
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Network Protocols and Security Concepts and more Exams Nursing in PDF only on Docsity!

CREST CPSA LATEST STUDY GUIDE

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

DATA

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 Linux Command : Find Files of Type - ✔️ find. - type f - iname '.pdf' locate '.pdf' Linux File System Structure - ✔️ /bin - User Binaries /boot - Bootup related files /dev - Interface for system devices /etc - System Config Files /home - Base directory for user files /lib - Critical software libraries /opt - Third party software /proc - System and running processes

/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 NT 3.1 Versions - ✔️ Windows NT 3.1 (All) NT 3.5 Versions - ✔️ Windows NT 3.5 (All) NT 3.51 Versions - ✔️ Windows NT 3.51 (All) NT 4.0 Versions - ✔️ Windows NT 4.0 (All) NT 5.0 Versions - ✔️ Windows 2000 (All) NT 5.1 Versions - ✔️ Windows XP (Home, pro, MC, Tablet, PC, Starter, Embedded) NT 5.2 Versions - ✔️ Windows XP ( 64 bit, Pro 64 bit) Windows Server 2003 and R Windows Home Server NT 6.0 Versions - ✔️ Windows Vista (All) Windows Server 2008 (Foundation, Standard, Enterprise) NT 6.1 Versions - ✔️ Windows 7 (All) Windows Server 2008 R2 (All) NT 6.2 Versions - ✔️ Windows 8 Windows Phone 8 Windows Server 2012

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

  • Store cardholder details (name, address, contact details...ie PII) in a SEPARATE encrypted database with a unique reference identifier linking the two
  • DO NOT STORE sensitive data (ie CVV2, CVV or CID values) Windows : Active Directory Default Location - ✔️ C:\Windows\NTDS Ntds.dit is the physical storage file Windows : Domain Common Folders - ✔️ C:\Windows\SYSVOL Contains Group Policies, Login Scripts, Staging Folders, etc. dsquery - ✔️ Remote Server Administration Tools (RSAT) feature pack tool used to enumerate Windows Domain Classful IP Range : Class A - ✔️ 128 Networks (2^7), 16,777,216 Addresses per network (2^24)

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

  • sS : syn scan ("half open" scan)
  • sT : connect scan (full TCP)
  • sU : UDP scan
  • sO : protocol scan Port Count - ✔️ 65,536 ( 2 ^ 16 ) Ports This applies to TCP AND UDP NMap : Scan EVERY Port - ✔️ TCP: nmap - p- UDP: nmap - sU - p- NMap : Common Options - ✔️ -p 1 - 65535 : Ports
  • T[0-5] : "Scan Speed", can help hide you
  • n : No DNS Resolution
  • O : OS Detection
  • A : AGGRESSIVE
  • sV : Version Detection
  • PN : No Ping
  • 6 : IPv6 Scan
  • oA : Output ALL types NMap : DNS Reverse Lookup - ✔️ nmap - R - sL - dns-server Hash Lengths - ✔️ MD 5 : 16 Bytes SHA-1 : 20 bytes SHA-256 : 32 Bytes SHA-512 : 64 Bytes IIS - ✔️ Microsoft Web Server Apache / Tomcat - ✔️ Apache Web Servers GWS - ✔️ Google Web Server Websphere - ✔️ IBM Web Server Litespeed - ✔️ LiteSpeed Tech Web Server MS-SQL : DB Version - ✔️ SELECT @@version EXEC xp_msver (detailed version info) MS-SQL : Run OS Command - ✔️ EXEC master..xp_cmdshell 'net user'

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

  • host Allow all users with matching local accounts on all hosts in a netgroup: +@netgroup Disallow all users on all hosts in a netgroup:
  • @netgroup Allow all users in a netgroup to log in from host as any non-root user: host +@netgroup Allow all users with matching local accounts on all hosts in a netgroup except baduser: +@netgroup - baduser +@netgroup Linux Shell Breakouts - ✔️ python - c 'import pty;pty.spawn("/bin/bash")' echo os.system('/bin/bash') /bin/sh - i Language Vulns : Java (OO) - ✔️ Log Injection Deadlock Language-based Attacks Language Vulns : C (Function) - ✔️ Code Injection Buffer Overflow Language Vulns : Objective-C (OO) - ✔️ Code Insertion Malformation Race Conditions Language Vulns : C++ (OO) - ✔️ Race Conditions Language Vulns: PHP - ✔️ Incorrect Element Removal NIC - ✔️ Network Interface Card Network Interface Card (NIC) - ✔️ An expansion card that enables a computer to connect other computers or to a cable modem to facilitate a high-speed Internet connection. MAC - ✔️ Media Access Control

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)

  1. PPP (point-to-point protocol)
  2. ARP (address resolution protocol) (resolves IP's into MAC's)
  3. RARP (reverse address resolution protocol) (MAC's into IP's)
  4. L2F (layer 2 forwarding)
  5. L2TP (layer 2 tunneling protocol)
  6. PPTP (point-to-point tunneling protocol)
  7. ISDN (integrated services digital network) ARP - ✔️ Address Resolution Protocol IGMP - ✔️ Internet Group Management 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