Back to exam

GISF Cheatsheet

GIAC Information Security Fundamentals

Download free PDF

Security foundations, governance and risk

Security objectives and control types

  • **Confidentiality** prevents unauthorized disclosure; **integrity** protects against unauthorized alteration; **availability** keeps information and services usable when needed. Authentication and non-repudiation complement the CIA triad.
  • **Authenticity** concerns whether an identity or message is genuine. **Non-repudiation** supplies evidence of origin or approval; it depends on trustworthy identity binding, protected signing keys and preserved evidence.
  • **Administrative controls** include policies, training and assigned responsibilities. **Technical controls** include authentication, ACLs and encryption. **Physical controls** include locks, guards and access vestibules.
  • **Preventive controls** reduce incident likelihood; **detective controls** identify activity; **corrective controls** repair or limit damage. **Defense in depth** combines independent layers rather than relying on one product.

Policy, classification and awareness

  • A **policy** states management intent; a **standard** sets mandatory requirements; a **procedure** gives steps; a **guideline** recommends an approach. Access, acceptable-use, audit and incident policies serve different purposes.
  • **Data classification** identifies sensitivity and business value so handling controls match the information. Labels such as public, internal and confidential are organization-defined; the data owner decides classification and authorized use.
  • Protect sensitive technical details and organizational relationships as well as personal and business data. **Information rights management** can restrict permitted use after distribution; it complements access controls and encryption.
  • An **awareness program** moves through design, material development, implementation and evaluation. Teach phishing reporting, password hygiene, safe handling and verification of unusual requests; measure whether behavior improves.

Risk analysis and response

  • A **threat** can exploit a **vulnerability** and harm an asset. Assess likelihood and impact in business context. Controls reduce risk; **residual risk** remains after treatment and needs an accountable owner.
  • **Qualitative analysis** prioritizes risks using categories or a probability-impact matrix. **Quantitative analysis** estimates numerical outcomes; a decision tree compares choices using probabilities, costs and consequences.
  • **Avoid** a risky activity, **mitigate** its likelihood or impact, **transfer** some financial consequences through insurance or contract, or **accept** the risk. Transfer does not remove operational responsibility.
  • The **risk management plan** defines methods and roles. The **risk register** records risks, owners, analysis, warning signs and responses. Monitor response effectiveness, emerging risks and residual risk throughout the work.
  • Identify risks through **brainstorming, interviews, expert judgment, checklists and assumption analysis**. The Delphi technique gathers iterative expert input; cause-and-effect diagrams organize possible causes. Lack of executive support is an organizational risk.

Project communication and professional conduct

  • A **project plan** coordinates scope, schedule, resources, cost, quality and risk. Track actual start, actual work and remaining work to update labor forecasts; performance reports communicate status, progress and expected outcomes.
  • A **communications plan** defines audiences, owners, channels and timing. Remote presentations need clear records and feedback opportunities because nonverbal cues and participation can be limited.
  • Apply **fairness, responsibility, respect and honesty** to procurement and reporting. Disclose conflicts of interest, follow gift policies, use objective vendor criteria and maintain professional competence.
  • **Negotiation** seeks agreement; **mediation** uses a facilitator; **arbitration** refers a dispute to a decision maker. Collaboration seeks a shared solution; forcing imposes one party's preference.

Identity, authentication and access control

Identity and authorization models

  • **Identification** claims an identity; **authentication** verifies it; **authorization** decides allowed actions; **accounting** records activity. A **principal** is an identity to which permissions can be assigned.
  • **DAC** lets owners delegate access. **MAC** enforces centrally assigned labels and clearances. **RBAC** assigns permissions through roles; an **ACL** lists permissions for subjects on a resource.
  • Apply **least privilege**, need to know and separation of duties. Provision access at joining, review it after role changes, and promptly disable accounts and revoke sessions when people leave.
  • Evaluate **effective permissions** across group memberships, inheritance and explicit rules. No permission grant differs from an explicit deny. File deletion may be authorized by a parent folder's delete-child permission.

Authentication factors and password attacks

  • Authentication factors are **something you know**, **have** or **are**. A password plus another password is one factor type. Biometrics, smart cards and time-based tokens provide different capabilities and failure modes.
  • **Dictionary attacks** try likely words; **brute force** enumerates candidates; **rule-based or hybrid attacks** transform likely words. Offline attacks test guesses against stolen password hashes without server rate limits.
  • Use long, unique passwords, password managers, MFA and throttling. Store passwords with a **salted, deliberately slow password hash**. Lockout thresholds limit guesses but can be abused to deny service.
  • **Shoulder surfing** observes secrets; phishing tricks users into disclosing them. Training, private entry, verified channels and phishing-resistant authentication reduce risks that technology alone cannot eliminate.

Enterprise authentication and directories

  • **Kerberos** uses a **Key Distribution Center (KDC)** to issue tickets. A ticket-granting ticket obtains service tickets for applications. Protect the KDC and account secrets, and maintain synchronized clocks.
  • **RADIUS** centralizes network-access authentication, authorization and accounting. **802.1X** connects a supplicant, authenticator and authentication server; the EAP method determines how credentials are verified.
  • **PAP** sends a password without protecting it itself; **CHAP** uses challenge-response. HTTP **Digest authentication** also uses challenge-response, but does not encrypt the page content. Use TLS for transport protection.
  • In **Active Directory**, users, computers and security groups can be security principals; OUs organize objects and policy scope. The infrastructure master maintains cross-domain object references; it does not approve group membership changes.

Cryptography and trusted communications

Encryption, hashes and hidden data

  • **Encryption** transforms plaintext into ciphertext under a key; decryption reverses it. Strength depends on the algorithm, key size, randomness, implementation and key protection, not key length alone.
  • **Symmetric encryption** uses a shared secret and efficiently protects bulk data. **Asymmetric cryptography** uses a public/private key pair. Hybrid systems use public-key techniques to establish or protect symmetric session keys.
  • A **hash** produces a fixed-length digest and is not reversible encryption. An unauthenticated hash detects change only if the expected digest is trustworthy. A keyed **MAC**, such as HMAC, adds shared-secret authentication.
  • **Substitution** replaces symbols; **transposition** reorders them. The Vigenere cipher uses keyword-driven substitutions. **Steganography** hides the existence of data in a carrier or storage space; hiding alone does not ensure confidentiality.

Algorithm recognition and limitations

  • **AES, DES, 3DES, Blowfish and Twofish** are symmetric block ciphers. DES has a 56-bit effective key; Blowfish supports up to 448-bit keys. Historical recognition does not make an algorithm suitable for new deployments.
  • **RSA** supports public-key encryption and signatures using appropriate schemes. **DSA** is a signature algorithm. A hash provider, random-number generator and encryption provider have different roles.
  • **MD5** produces 128-bit digests; **SHA-1** produces 160-bit digests. Both have broken collision resistance and should not be chosen for new collision-sensitive uses. SHA-256 produces 256-bit digests.
  • A **collision** is two distinct inputs with the same digest. A **preimage attack** seeks an input for a given digest. Password hashing needs resistance to rapid guessing as well as sound cryptographic primitives.

Digital signatures and PKI

  • A **digital signature** is created with the signer's private key and verified with the corresponding public key. It supports origin authentication and integrity; signing alone does not conceal the message.
  • For public-key **confidentiality**, encrypt to the recipient's public key so the recipient can decrypt with the private key. Do not treat signing as a general instruction to encrypt a message with a private key.
  • A **digital certificate** binds a public key to an identity through an issuer's signature. **PKI** manages issuance, trust chains and revocation. Validate the chain, intended use, identity match, validity period and revocation status as applicable.
  • **S/MIME** uses certificates for secure mail; **OpenPGP** uses its own key and trust mechanisms. Both can sign and encrypt. **Identity-based encryption** can derive a public identity from an email address but depends on a trusted key authority.

Transport and storage protection

  • **TLS** protects application traffic in transit; **HTTPS** is HTTP over TLS. Server authentication does not automatically authenticate the client. SSL and WTLS are historical protocol names, not preferred choices for new systems.
  • A **VPN** creates a protected logical connection across another network. **IPsec ESP** can provide confidentiality and integrity; **AH** provides integrity and origin authentication without encryption. **IKE** negotiates security associations and keys.
  • **L2TP** provides tunneling, not encryption by itself; it is commonly paired with IPsec. PPP and older remote-access framing protocols do not automatically supply confidentiality.
  • **EFS** encrypts individual NTFS files with a symmetric file key and protects that key using certificate-based public-key cryptography. Preserve private keys and recovery arrangements; file encryption is separate from full-disk encryption and backups.

Network architecture and perimeter defense

Layers, addresses and protocols

  • The **OSI model**, bottom to top, is physical, data link, network, transport, session, presentation and application. TCP/IP commonly uses link, internet, transport and application; its internet layer maps to OSI network.
  • A **MAC address** commonly has 48 bits, shown as six hexadecimal octets. It identifies a link-layer interface but can be spoofed. **IP addresses** support routing; transport **port numbers** distinguish services and endpoints.
  • **TCP** provides a connection-oriented ordered byte stream with retransmission. **UDP** sends datagrams without delivery or ordering guarantees. **ARP** resolves local IPv4 neighbors; **ICMP** carries network control messages; **IGMP** manages IPv4 multicast membership.
  • Recognize **SSH 22**, **FTP control 21**, **SMTP 25**, **DNS 53**, **HTTP 80**, **POP3 110**, **rpcbind 111**, **HTTPS 443** and **SMB 445**. TFTP uses UDP 69 initially; SNMP commonly uses UDP 161 for queries and 162 for notifications.

Routing, switching and troubleshooting

  • A **switch or bridge** forwards frames; a **router** forwards IP packets between networks and separates broadcast domains. A **gateway** may translate protocols; a **brouter** combines bridging and routing functions.
  • **Routing protocols** exchange reachability information; routed protocols such as IP carry traffic. **OSPF** is link-state; RIP is distance-vector; **BGP** exchanges routes between autonomous systems. Metrics depend on the routing protocol.
  • **CIDR and VLSM** use prefixes rather than fixed address classes; classless routing carries prefix lengths. Historically, class B unicast addresses began with 128-191. **Split horizon** and hold-down timers limit distance-vector loops; **STP** prevents switching loops.
  • **Ping** tests ICMP reachability; **traceroute/tracert** reveals responding hops using TTL expiry. Inspect addresses, routes, DNS, ACLs, NAT state and logs. A duplicate-IP warning can be a configuration conflict and does not establish an attack.

Firewall behavior and security zones

  • **Stateless packet filters** use headers such as IP addresses, protocols and ports. **Stateful inspection** maintains connection or flow state. A **circuit-level gateway** mediates sessions; an **application proxy** terminates connections and inspects supported application data.
  • A **screening router** applies filtering before traffic reaches another security device. A **bastion host** is hardened for exposed duties. A **screened host** design combines filtering with a protected host; these terms describe different roles.
  • A **DMZ** isolates public-facing services from internal systems. A dual-firewall design separates internet-to-DMZ and DMZ-to-internal paths. Permit only necessary flows, including database access; an allowed protocol can still carry an exploit.
  • Use ordered **ACLs**, default-deny rules, ingress and egress filtering, segmentation and host firewalls. **NAT** translates addresses but is not a substitute for policy enforcement. Application proxies can add authentication, filtering, logging and caching.

Wireless access and device management

  • An **autonomous AP** manages its own operation; a controller-based AP relies on centralized management. A **rogue AP** is unauthorized; an **evil twin** impersonates a trusted network to attract clients.
  • **WEP** has fundamental cryptographic weaknesses; WPA/TKIP is also legacy. Prefer supported **WPA2-AES or WPA3** configurations. Enterprise **802.1X** provides individual authentication; a shared PSK creates shared-secret lifecycle risks.
  • Change default credentials, patch firmware, restrict management access and segment wireless clients. Hidden SSIDs and MAC filtering provide weak barriers; encryption and correct server-certificate validation address wireless snooping and impersonation.
  • For historical recognition, **802.11a** uses 5 GHz at up to 54 Mb/s; **802.11b** uses 2.4 GHz at up to 11 Mb/s; **802.11g** uses 2.4 GHz at up to 54 Mb/s. Bluetooth uses the 2.4 GHz band; disable unnecessary discovery and verify pairing.

Threats, malware and application security

Malware behavior and endpoint defense

  • A **virus** infects a host file or boot area; a **worm** propagates across systems; a **Trojan** disguises unwanted behavior as useful software. Backdoors bypass normal access paths; rootkits conceal malicious presence or activity.
  • **File infectors** target executable content; **boot-sector viruses** target boot areas; **macro viruses** use document macros; **multipartite viruses** infect more than one type of target.
  • **Polymorphic malware** changes its observable form; **stealth malware** conceals evidence; **armored malware** frustrates analysis. Packers and binders can obscure payloads. Security-disabling malware may stop protection services or delete definitions.
  • **Signature detection** matches known patterns; **heuristic and behavioral detection** look for suspicious traits or actions. Update engines and definitions, scan uploads, restrict execution and review quarantine logs when legitimate tools disappear. An isolated **sheep-dip** system screens incoming media.

Interception, impersonation and denial of service

  • **Eavesdropping or sniffing** captures communications. **Spoofing** falsifies an identity or address; **session hijacking** takes over a session; an **on-path attacker** intercepts or alters exchanges. Authenticated encryption reduces these risks.
  • **Vertical privilege escalation** obtains higher privileges; **horizontal escalation** accesses another peer's resources. **Replay** reuses a captured valid exchange; nonces, timestamps and replay protection help detect reuse.
  • **DoS** exhausts resources; **DDoS** uses distributed sources, often a botnet. A **SYN flood** consumes half-open connection state. **Smurf** uses spoofed ICMP broadcast amplification; **Fraggle** uses UDP amplification. Teardrop targets fragment reassembly weaknesses.
  • Use anti-spoofing filters, disable directed broadcasts, limit exposed services and apply connection controls. SYN cookies and timeouts address state exhaustion; large volumetric attacks require upstream mitigation. **Tunneling and port redirection** can carry traffic through permitted paths.

Injection, browser sessions and email

  • **SQL injection** makes input part of a database command; use parameterized queries and restricted database accounts. **Command or code injection** reaches an operating-system command or interpreter; avoid dynamic evaluation and validate inputs.
  • **XSS** executes attacker-controlled script in a browser context; use context-sensitive output encoding and safe APIs. **CSRF** tricks an authenticated browser into an unwanted action; use anti-CSRF tokens and appropriate cookie and origin checks.
  • **Session cookies** normally lack an explicit persistent expiry; browser session restoration can affect their lifetime. Use Secure, HttpOnly and appropriate SameSite attributes. Cache, history and cookies may retain artifacts but do not guarantee a complete activity record.
  • **Spam** is unsolicited bulk mail; a **hoax** spreads false warnings; phishing seeks deceptive action. Use filtering and verified reporting channels. Email headers and Received lines are clues, but untrusted header fields can be forged.

Secure operations, monitoring and assurance

Hardening and configuration management

  • **Hardening** reduces attack surface: patch systems, remove unused services, disable unnecessary accounts and management ports, use short idle timeouts and restrict administration. **SSH** provides encrypted remote administration across operating systems; verify host keys.
  • A **configuration item (CI)** is a managed component. Identification assigns identity and attributes; **change control** approves modifications; **status accounting** records state and history; verification checks actual configuration against records.
  • A **baseline** is an approved reference state; a **variant** has related functionality with deliberate differences. **Physical configuration audits** check the built configuration against documentation; **functional audits** check required behavior.
  • Use central policy deployment, security templates and configuration comparisons to detect drift. Test changes, document approval and retain rollback options. On Cisco-style devices, **enable secret** and **enable password** are distinct; choose supported strong secret storage.

Monitoring, IDS and response signals

  • A **NIDS** observes traffic at network sensors; a **HIDS** examines local events, files and processes. Sensors feed analysis and a management console. Encrypted traffic and sensor placement affect network visibility.
  • **Signature-based detection** recognizes known patterns; **anomaly detection** flags deviation from a baseline; **policy-based detection** flags rule violations. Tune false positives and false negatives against the environment.
  • An **IDS** alerts; an **IPS** can block inline. Active responses such as **shunning** ask another device to block a source. Spoofed sources and overly broad blocks can interrupt legitimate users.
  • Collect security, system, application and firewall logs with synchronized time and protected retention. **SNMP** supports monitoring and notifications; use authenticated, encrypted management where available. Fault management detects failures; performance and event monitoring detect abnormal service behavior.

Assessment tools and software testing

  • An **IT audit** evaluates controls against criteria; a **vulnerability assessment** identifies weaknesses; a **penetration test** tests exploitability within written authorization and scope. Black-box testers have little prior knowledge; white-box testers receive internal detail.
  • **Nmap** discovers hosts, services and ports; **Wireshark** captures and decodes packets; **Snort** supports network detection and prevention. **Tripwire and Samhain** support host integrity monitoring. Password tools and interception suites have legitimate assessment uses only within authorization.
  • **Unit tests** isolate components; **integration tests** check interactions; **regression tests** detect breakage after changes. A **driver** calls the tested unit; a **stub** simulates a dependency. Bottom-up integration tends to need drivers; top-down tends to need stubs.
  • **Load testing** measures expected demand; **stress testing** pushes beyond normal limits. White-box review examines implementation; black-box tests exercise visible behavior. Correlate application, database and operating-system metrics to locate performance spikes.
  • **SYN scans** infer port state from connection responses; **FIN scans** use unusual flag combinations and depend on stack behavior. An **idle scan** infers target responses through a third host's IP identification behavior. Filtering and implementation differences limit conclusions.

Incident handling, continuity and physical protection

Incident handling and the OODA loop

  • The classic incident workflow is **preparation, identification, containment, eradication, recovery and lessons learned**. Preparation establishes roles, communications, tools, response kits, baselines and exercises.
  • An **event** is an observable occurrence; an **incident** violates or threatens security policy. Identification validates and scopes it. Containment limits spread; eradication removes causes and persistence; recovery restores and monitors trusted operation.
  • Preserve relevant logs and volatile data, document actions and maintain **chain of custody** for evidence. Use trained technical staff for forensic acquisition, with legal and business coordination. Router evidence can include configurations, ACLs, routing state and logs.
  • **OODA** means observe, orient, decide, act. Gather facts, interpret them using context and experience, select an action, implement it and observe the result. It is an iterative decision loop rather than a substitute for the incident plan.

Availability, backup and service continuity

  • **Reliability** is sustained correct operation; **maintainability** concerns restoration effort; **resilience** absorbs disruption. **Fault tolerance** continues service despite specified failures. Serviceability includes support arrangements and supplier commitments.
  • **Backups** provide recoverable copies; test restoration and protect isolated copies. **RAID** can improve disk-failure tolerance, but is not a backup against deletion, malware or site loss. **SMART** reports drive-health indicators and cannot predict every failure.
  • **NAS** provides file access through protocols such as SMB or NFS; **SAN** provides block storage. Neither architecture alone guarantees availability. Design redundant paths, access controls, monitoring and recovery according to workload needs.
  • A **business impact analysis** identifies critical services and dependencies. **RTO** limits recovery time; **RPO** limits acceptable data loss. Business continuity guides IT recovery; SLAs define agreed service levels, responsibilities and measurable targets.

Physical and organizational safeguards

  • An **access vestibule or mantrap** uses interlocking doors to control entry. Locks and badges restrict access; **CCTV** supports monitoring and historical review. Protect recording access, coverage and retention.
  • Protect cabling, network closets and equipment from unauthorized physical access. Copper taps can intercept signals; electromagnetic emissions present a different exposure. Physical protection complements encrypted communications.
  • **Supplier management** reviews contractual risks and support commitments. Service requests follow defined fulfillment procedures; repeatable low-risk changes can be preauthorized as standard changes with documented controls.
  • Recognize the roles of **NIST** in security guidance and cryptographic standards, **IETF** in internet protocols and **IEEE** in networking standards. **ICSA Labs** is associated with security-product testing; it is distinct from those standards bodies.
  • **Copyright** concerns protected expression; **patents** concern qualifying inventions; **trademarks** identify commercial origin; **trade secrets** depend on maintaining secrecy. These are distinct from technical controls that protect source code or access.
  • Computer-misuse, identity-fraud and communications-privacy rules address different conduct. Follow approved procedures for monitoring, disclosure and evidence collection; involve legal specialists for authority, contractual obligations and jurisdiction-specific requirements.