Skip to content
academia.sh

Course Intermediate

Servers, Networking and Hardening

Published Updated

By the end of this course

Start course

01

Web Servers and Proxies

The layer a request passes through before it reaches the application: separating the static-serving, proxy, and load-distribution roles, upstream definition in a reverse proxy and the information header forwarding loses when it is done wrong, TLS termination and protocol selection, automatic certificate renewal and the window a failed renewal opens, the hit-and-freshness balance between the edge cache and the origin cache, and the cost of managing traffic with sidecar proxies.

  1. 01 Web Server Roles The surface the default installation of the static-serving, reverse-proxy, and load-distribution roles leaves open: a role-by-role count of eighteen items, merging the three roles into a single process raising fourteen unique items to seventeen and carrying the externally reachable item count from ten to seventeen, four hardening steps closing thirteen items against the four legitimate workflows they stop, and the four items left over that cannot be closed.
  2. 02 Reverse Proxy Configuration Counting the four pieces of information lost by passing a real request through a two-hop proxy chain: client address, protocol, server name, and the request's original path; the wrong decision each loss produces in the application (three members recorded under a single identity, an absolute link pointing at an internal address, a link that returns 404 once the prefix is stripped), the second hop erasing the first hop's forwarding, and the claimed-identity surface opened by trusting the forwarded header.
  3. 03 TLS Termination Comparing three options for where termination happens: the plaintext-leg count, certificate-location count, renewal-touch-point count, and the work the edge loses when terminating at the edge, at the proxy, and at the app; modeling protocol version and cipher suite as an item set, the twenty-eight items the default leaves open, and the device and read counts a restriction drops.
  4. 04 Certificate Automation Writing the renewal flow as a state machine and sweeping lifetime against threshold: the twelve unneeded renewals an early threshold produces, the thirty-eight-hour exposure window a late threshold leaves, five validation-failure attempts and the moment the alert must fire, and manual renewal getting forgotten on nine items over a three-year period, leaving seventeen hundred hours of exposure window.
  5. 05 Cache Server How the hit rate splits between the edge and the origin in a two-layer cache: splitting the edge into three nodes raising the requests reaching the app from fifty to one hundred forty-three and the origin cache bringing that back down to ten, invalidation's propagation window dropping from three hundred sixty seconds to eleven seconds, the freshness setting's effect on that window, and the shared-key surface opened when a personal response lands in the shared cache.
  6. 06 Service Mesh Comparing the same traffic rules applied in application code and in a sidecar proxy: the number of services touched and the annual work items when a rule changes, measuring a real sidecar hop, the hop and latency added to every request, sidecar memory and core consumption, the new surface items they introduce, and the break-even point in a three-service system where the cost outweighs the gain.

02

Domain and Email Records

Verifying the name and the sender: the zone file, record types, and the effect of time to live on the change window, sender verification through the sending policy and signature records, tightening the policy declaration in stages for non-compliant messages, and measuring reputation when delivery goes wrong.

  1. 01 DNS Management Counting the zone file as an inventory, the takeover surface dangling records leave behind, and measuring time to live as a decision: the propagation window, rollback speed, and query load.
  2. 02 Sender Verification Records Running the sender policy record and the signature record against a fictional set of messages: the counts of forged messages caught, forged messages that pass, and legitimate messages mistakenly dropped, and the surface opened by overly broad authorization.
  3. 03 Domain Policy Record Tightening the policy declaration for noncompliant messages in stages: the count of dropped legitimate messages and blocked forged messages at each stage, the report flow's rate of finding unauthorized senders, and the cost of rejecting outright.
  4. 04 Mail Delivery Issues Modeling deliverability as a ratio: counting bounced messages, complaints, sudden volume spikes, and missing verification records separately, and measuring how many periods blacklisting and recovery take.

03

Hardening and Backup

Closing the surface left open by default and proving the way back: a default-deny firewall policy, key-based remote access and the bastion host, a central secret store and the lifetime of a dynamic credential, the patch window and the effect of automation on the exposure window, backup scope, frequency, and retention, and the evidentiary value of the restore drill.

  1. 01 Firewall Configuration Open surface is counted item by item at the machine level: how many ports listen after install, how many zones can reach them, how many attempts stop once the switch to default-deny happens, how many legitimate flows close by mistake, and what stays open when the outbound direction is left unrestricted.
  2. 02 Remote Access Hardening The attempt surface of password-based access is counted over a period, the surface that closes and the surface that opens when switching to key-based access are measured separately, and adding a bastion host compares the number of directly reachable machines against the single target it gives rise to.
  3. 03 Secret Management Systems A secret's axis is lifetime: in a static secret the exposure window is infinite, in a credential with a defined lifetime the window is as long as the lifetime. Lifetime is scanned, renewal load and resilience to store outages are counted, and the central store's own access surface is worked out item by item.
  4. 04 Patch Management Splitting the exposure window between a vulnerability announcement and the patch being applied into four parts: comparing the average exposure window, outage count, and rollback count across five patch regimes; reading the day automatic patching buys in the same table as the untested-patch risk it produces; and naming the item that cannot be patched.
  5. 05 Backup Strategy Measuring the backup itself: counting the coverage gap item by item and naming the item that is not backed up, scanning frequency against the data-loss window and retention against the point you can go back to alongside storage cost, counting how many identities can read the backup copies, and showing the new single point the encryption key introduces.
  6. 06 Restore Drill Proving that the backup actually works: real files are backed up, deleted, and restored; being byte-for-byte identical is verified with a digest; five defects seen only through the drill are counted; restore duration is split into five components and compared against the recovery target; and drill frequency is scanned alongside the uncertainty that accumulates between drills.

Final exam

Servers, Networking and Hardening — Final Exam

In preparation

This course's question bank is not complete yet. The exam opens here automatically once enough questions are added.

Start typing to search.

↑↓ ↵ Esc navigate · open · close