← Course index

CSC 574 / Fall 2026

Computer & Network Security

Threat models, authentication, secure channels, network attacks, and system defenses.

01 / Topic atlas

Build the mental model

Original study notes synthesized from Fall 2026 slides, lecture transcripts, and published learning goals.

Security is a chain of models. Begin with assets and participants, state which components are trusted, grant the adversary concrete capabilities, and define the failure. Cryptography then supplies narrow guarantees; authentication binds identities; authorization constrains actions; network and operating-system controls limit where an attacker can move.

The network-security arc follows identifiers and channels. ARP, DNS, BGP, and certificates each bind one name or route to another. Attacks appear when those bindings are unauthenticated, stale, overly trusted, or checked in the wrong context. TLS protects a connection, while firewalls, VPNs, and intrusion detection shape or observe broader traffic.

The later systems and application lectures shift from protocols to boundaries: access-control matrices, process isolation, memory corruption, dependency trust, browser origins, and injection. A secure channel can still carry a malicious request; the application must preserve meaning across every parser and privilege boundary.

01
Protect the right thing

Security models & the CIA triad

A security model identifies assets, participants, trust, adversaries, threats, and acceptable outcomes. Confidentiality, integrity, and availability are goals—not a complete design by themselves.

  • Trusted means relied upon; trustworthy means deserving that reliance.
  • A threat is a potential cause of harm; an attack is an attempt to realize it.
  • Adequate protection balances expected risk and defense cost.
02
Primitives need composition

Encryption, hashes & authentication

Encryption protects confidentiality, hashes support integrity mechanisms, and MACs authenticate data shared between key holders. Authenticated encryption combines confidentiality and integrity under one construction.

  • Nonce or IV reuse can destroy confidentiality.
  • Collision resistance differs from preimage resistance.
  • Encrypt-then-MAC verifies a ciphertext before decryption.
03
Who are you—and what may you do?

Authentication, authorization & identity

Identification states an identity, authentication verifies a claim, and authorization decides permitted actions. Secure protocols add freshness to stop replay and bind credentials to the intended context.

  • Password salts defeat precomputed hash tables, not online guessing.
  • OIDC adds an identity layer where OAuth 2.0 delegates authorization.
  • Passkeys use origin-bound public-key credentials to resist phishing.
04
Identifiers are claims

Network attacks & defensive boundaries

ARP spoofing, source-address spoofing, scanning, flooding, and reset attacks exploit assumptions in protocol identifiers or state. Defenses combine filtering, authentication, segmentation, and monitoring.

  • A SYN flood consumes half-open connection state.
  • ARP lacks authentication on a conventional local network.
  • Firewalls enforce policy; intrusion detection provides evidence and alerts.
05
A secure channel over an insecure network

TLS handshakes & certificates

TLS negotiates algorithms, authenticates the server with a certificate, derives fresh traffic keys, and protects application data. TLS 1.3 removes legacy choices and encrypts more of the handshake.

  • A certificate binds a public key to a named subject under an issuer’s signature.
  • Ephemeral Diffie–Hellman supports forward secrecy.
  • Finished messages authenticate the handshake transcript.
06
Assume inputs are hostile

Systems, software & web security

Memory bugs, injection, broken access control, unsafe dependencies, and browser trust mistakes cross abstraction boundaries. Least privilege, isolation, safe APIs, and explicit output encoding reduce impact.

  • Access checks belong server-side on every protected object.
  • Context-specific output encoding prevents script injection.
  • Supply-chain controls protect build inputs, artifacts, and update channels.
07
Secure the bindings

Routing & DNS security

Routing decides where traffic travels; DNS decides which names become addresses. Prefix hijacks, route leaks, cache poisoning, and malicious delegation exploit trust in distributed control information. Defenses validate origin or data, constrain policy, and monitor unexpected changes.

  • RPKI helps validate whether an autonomous system may originate a prefix.
  • DNSSEC authenticates DNS data, not the honesty or availability of the named service.
  • Resolvers need unpredictable query identifiers and ports to make blind poisoning harder.
08
Constrain and observe traffic

VPNs, firewalls & intrusion detection

A VPN creates a protected tunnel across an untrusted network. Firewalls enforce traffic policy at boundaries or hosts. Intrusion detection examines events for signatures or anomalies; prevention adds blocking but raises the cost of false positives.

  • Tunnel mode wraps an entire packet; transport mode protects its payload.
  • Stateful firewalls reason about connection state rather than isolated packets.
  • An IDS alert is evidence to investigate, not proof that a compromise occurred.
09
Who may do what?

Access-control models

Access control maps subjects, objects, and operations to decisions. DAC delegates control to owners, MAC applies centrally defined labels, RBAC groups permissions by organizational role, and ABAC evaluates attributes and context.

  • Complete mediation requires checking every protected access.
  • Least privilege limits both accidental damage and post-compromise reach.
  • Confused-deputy problems arise when a privileged service uses authority on an attacker-chosen target.
10
Isolation is a security primitive

Operating-system boundaries

Processes, virtual memory, privilege levels, system calls, and capabilities separate code with different authority. Sandboxes and containers narrow resources, while mandatory controls and secure boot protect broader trust chains.

  • User/kernel transitions place sensitive operations behind a checked interface.
  • Memory safety and control-flow defenses reduce exploitability but do not repair flawed authorization.
  • Isolation strength depends on the shared kernel and configured escape surface.
11
From bug to exploit

Software vulnerabilities & mitigations

An exploit turns a reachable bug into a security-relevant primitive such as memory disclosure, control-flow redirection, or arbitrary write. Attackers chain primitives; defenders remove the bug, reduce reachability, randomize targets, and constrain the compromised process.

  • A crash demonstrates a bug, not necessarily a useful exploit.
  • ASLR, NX, stack canaries, and CFI raise different barriers.
  • Input validation must be paired with safe parsing and context-specific output handling.
12
Trust the path to production

Software supply-chain security

Builds inherit risk from source repositories, maintainers, dependencies, CI workers, package registries, signing keys, and update channels. Provenance and reproducible processes make artifacts traceable; dependency pinning and review reduce uncontrolled change.

  • An SBOM inventories components but does not prove they are safe.
  • Artifact signatures protect integrity only if signing keys and verification policy are secure.
  • Build isolation limits credential theft and cross-project contamination.
13
Encrypted does not mean safe

Origins, browser policy & injection

The browser’s same-origin policy isolates documents by scheme, host, and port. CORS lets servers opt into selected cross-origin reads. Injection occurs when attacker-controlled data crosses into code or markup without preserving its intended data context.

  • TLS protects traffic in transit but cannot make application logic trustworthy.
  • CORS is enforced by browsers; it is not server-side authorization.
  • Parameterized queries and context-specific output encoding preserve the data/code boundary.
14
Requests carry ambient authority

XSS, CSRF & broken access control

XSS executes attacker-controlled script in a trusted origin. CSRF causes a browser to send an unwanted authenticated request. Broken access control lets a caller reach an object or action without an authoritative server-side decision.

  • SameSite cookies and anti-CSRF tokens bind state-changing requests to intended flows.
  • Content Security Policy reduces script execution paths but is defense in depth.
  • Every object reference needs a server-side authorization check.
15
Evidence without harm

Security research & responsible measurement

Security studies must balance validity, reproducibility, participant risk, scanning impact, disclosure, and data minimization. Measurement infrastructure and intermediaries can reduce direct harm, but collection still needs a defensible threat and ethics model.

  • Minimize collection before deciding how to protect stored data.
  • Separate vulnerability confirmation from unnecessary exploitation.
  • Document limitations so observations are not generalized beyond the sample.

02 / Interactive model

Explore the security map

Select a node to trace how foundations, networks, systems, software, and applications depend on one another.

Start anywhere

One course, connected boundaries

Select a topic to see its role and its direct dependencies.

03 / Math sandbox

Choose a problem.
Change the evidence.

Every solver shows the equation, substituted values, units, and result. Calculations stay in the browser.

Worked result—

Select values to begin.

04 / Vocabulary

Language is infrastructure.

79 definitions are connected to the narrative above through hover and keyboard-focus tooltips.

01

confidentiality

Preventing unauthorized disclosure of information.

02

integrity

Preventing or detecting unauthorized modification or destruction.

03

availability

Ensuring authorized users can access a system or resource when needed.

04

threat model

A structured account of assets, adversaries, capabilities, trust, and security goals.

05

TCB

Trusted Computing Base: components whose correct behavior is critical to security.

06

authentication

Verifying a claimed identity or origin.

07

authorization

Deciding which actions an authenticated principal may perform.

08

salt

A unique, non-secret value mixed into password hashing to defeat precomputation.

09

forward secrecy

Protection of past session keys even if a long-term key is compromised later.

10

certificate

A signed statement binding identity information to a public key.

11

TLS

Transport Layer Security, a protocol providing authenticated, encrypted channels.

12

least privilege

Granting only the permissions needed for a task, for only as long as needed.

13

asset

Something of value that a security design intends to protect.

14

participant

A person, service, device, organization, or process represented in a security model.

15

adversary model

The capabilities, knowledge, access, and resource bounds granted to an attacker.

16

trust model

The components and relationships a security claim relies upon.

17

vulnerability

A weakness that may be exercised to violate a security property.

18

attack surface

The reachable interfaces and behaviors through which an adversary can interact with a system.

19

risk

A combination of likelihood and impact under stated assumptions.

20

defense in depth

Independent or overlapping controls intended to prevent one failure from becoming total compromise.

21

complete mediation

Checking authorization on every access to every protected object.

22

fail secure

Defaulting to a protected state when a component or decision process fails.

23

reference monitor

A tamper-resistant, always-invoked mechanism enforcing access decisions.

24

DAC

Discretionary access control, where object owners delegate permissions.

25

MAC model

Mandatory access control using centrally defined labels and policy.

26

RBAC

Role-based access control assigning permissions to roles and users to roles.

27

ABAC

Attribute-based access control evaluating subject, object, action, and environment attributes.

28

capability

An unforgeable token or reference granting authority to an object or operation.

29

confused deputy

A privileged program tricked into using its authority on an attacker-selected resource.

30

identification

Stating an identity without yet proving the claim.

31

credential

Evidence used by an authentication protocol.

32

MFA

Authentication using independent factors from more than one credential category.

33

password stretching

Deliberately expensive password derivation that raises offline guessing cost.

34

credential stuffing

Trying username/password pairs leaked from another service.

35

WebAuthn

A browser API for origin-bound public-key credentials and authenticators.

36

passkey

A WebAuthn credential designed for passwordless or password-replacing authentication.

37

session fixation

Forcing a victim to authenticate into a session identifier already known to the attacker.

38

replay attack

Reusing a previously valid protocol message in a new context.

39

reflection attack

Redirecting a challenge or response back to a participant to abuse symmetric protocol roles.

40

KDC

Key Distribution Center, the trusted authority issuing Kerberos ticket-granting material.

41

TGS

Ticket Granting Service, issuing service tickets from a valid ticket-granting ticket.

42

OAuth 2.0

A framework for delegated authorization to protected resources.

43

OIDC

OpenID Connect, an identity and authentication layer built on OAuth 2.0.

44

AEAD

Authenticated Encryption with Associated Data, protecting ciphertext integrity and bound cleartext metadata.

45

HMAC

A nested hash-based message authentication code.

46

PKI

Public Key Infrastructure: issuers, policies, certificates, and validation processes for key bindings.

47

certificate transparency

Public append-only logging used to expose misissued web certificates.

48

revocation

Invalidating a credential or certificate before its scheduled expiration.

49

SYN flood

A denial-of-service attack consuming connection state with many incomplete TCP handshakes.

50

port scan

A probe pattern used to infer reachable services and filtering behavior.

51

ARP spoofing

Sending forged local address-resolution mappings to redirect or intercept traffic.

52

BGP hijack

Announcing reachability for another network’s prefix to attract traffic.

53

route leak

Propagating a route beyond its intended policy scope.

54

RPKI

A certificate system supporting validation of authorized route origins.

55

DNS cache poisoning

Installing false DNS data in a resolver cache.

56

DNSSEC

Signed DNS data providing origin authentication and integrity for DNS records.

57

VPN

A protected logical network tunnel over another network.

58

firewall

A control that permits or denies traffic according to policy.

59

stateful inspection

Traffic filtering that tracks connection or protocol state.

60

IDS

Intrusion Detection System, producing alerts from observed host or network events.

61

signature detection

Matching activity against known malicious patterns.

62

anomaly detection

Flagging behavior that differs from a learned or specified baseline.

63

false positive

Benign activity incorrectly classified as malicious.

64

sandbox

An execution environment restricting code’s available resources and authority.

65

ASLR

Address Space Layout Randomization, varying memory locations to impede exploitation.

66

NX

A memory permission preventing data pages from executing as code.

67

stack canary

A value checked before function return to detect some stack overwrites.

68

CFI

Control-Flow Integrity, restricting indirect control transfers to permitted targets.

69

memory safety

Prevention of invalid memory accesses such as out-of-bounds and use-after-free operations.

70

SBOM

Software Bill of Materials: an inventory of components in an artifact.

71

provenance

Verifiable information about where and how a software artifact was produced.

72

same-origin policy

Browser isolation keyed primarily by scheme, host, and port.

73

CORS

HTTP headers through which a server permits selected browser cross-origin reads.

74

XSS

Cross-Site Scripting: attacker-controlled script executing in a trusted web origin.

75

CSRF

Cross-Site Request Forgery: causing a browser to submit an unwanted authenticated request.

76

SQL injection

Untrusted data changing the structure of a database query.

77

output encoding

Escaping data according to the syntax of its destination context.

78

CSP

Content Security Policy, a browser policy limiting resource and script execution sources.

79

ambient authority

Credentials or permissions automatically attached to an action without explicit designation.

05 / Retrieval practice

Generate a fresh set.

Questions and answer order shuffle each time. Explanations appear only after submission.

?

Your generated questions will appear here.