SaveMyCert
Log in
5 of 5 free questions left today·for 10 a day
Security Operations

CySA+ System and Network Architecture: Logging, OS, Cloud, IAM, Encryption and OT

18 min readCS0-004 · Security OperationsUpdated

<p>System and network architecture in security operations is the set of design choices (how logs are collected and protected, how systems are hardened, where workloads run, how users and devices are given access, and how data is encrypted) that decides what a security operations center can see and defend. This lesson covers CompTIA CySA+ CS0-004 objective 1.1: logging, operating system concepts, cloud-native, virtualization, container and API architecture, mobile and endpoint management, ZTNA, SASE and hybrid cloud, IAM, encryption, data protection and critical infrastructure.</p>

What you’ll learn
  • Explain how log ingestion, audit configuration, integrity controls, time synchronization and retention determine what a SIEM can prove
  • Recognise hardened baselines, tampered critical files and abnormal Windows process trees
  • Compare the isolation and monitoring model of virtual machines, containers and serverless workloads, and preserve evidence from ephemeral containers
  • Describe what API gateways, MDM/UEM, ZTNA, SASE and hybrid-cloud control-plane logging each add to security operations
  • Distinguish PAM controls, SAML, OAuth 2.0, OIDC, Kerberos and FIDO2, and choose secure secrets management
  • Choose between encryption, tokenization, masking, hashing, classification and DLP for a data protection need
  • Explain why OT, ICS and SCADA environments prioritise safety and availability and rely on passive monitoring and segmentation

How do log ingestion and configuration decide what a SIEM can see?

A SIEM can only detect what reaches it as structured, searchable fields, so ingestion and configuration decide its visibility before any rule is written. Configuration is the source side: whether the system records the event at all, and with which details. Ingestion is the collection side: how events are transported, parsed and normalized into the SIEM's common schema.

Configuration: turn on the fields you need

Default audit settings often leave out the detail that hunting depends on. The classic Windows example is process creation (event 4688): enabling process creation auditing records that a program started, but the command line is written into the event only when the separate policy setting "Include command line in process creation events" is also enabled. PowerShell script block logging is a useful near-twin, but it records PowerShell code only, not the arguments of every process such as cmd.exe or rundll32.exe. The general rule: a missing detail is fixed by the specific setting that writes it, not by collecting more of something else.

Ingestion: parse and normalize

Onboarding a log source means more than events arriving on time. Each source needs a parser (connector, add-on or decoder) that maps its fields to the SIEM's normalized schema: source IP, destination, user, action, result. Without one, the values stay buried in an unstructured message field, the events are stored, and every correlation rule that keys on a field silently never fires. Agents, syslog forwarders and API pulls (common for SaaS and cloud sources) are the usual transport methods; transport should be encrypted (TLS) and reliable, but protecting or storing an event is a different job from turning it into fields.

SymptomLikely cause
Events never appear for a sourceCollection or transport: agent, forwarder, API credentials, firewall path
Events arrive but field-based rules never matchIngestion: missing or wrong parser, no normalization
Events arrive parsed but a needed detail is absentConfiguration: the audit setting that captures it is off
Events arrive out of order or offset by a fixed amountTime: clock drift or local-time stamps without an offset

How do you keep logs trustworthy: integrity, time synchronization and retention?

Logs are evidence only if they cannot be quietly altered, carry timestamps that line up across sources, and are kept long enough for the investigations and regulations that need them.

Integrity and security

An attacker with administrative rights on a host controls everything stored on that host: the local event log, a second disk, a nightly local copy. Clearing the Security log is a routine anti-forensics step. The protections that work move the evidence out of the attacker's reach:

  • Near-real-time forwarding to a collector or SIEM that the host's administrators do not control, so each event leaves before it can be cleared.
  • Immutable storage for the central copy: write-once (WORM) storage or a retention lock, so even a privileged user cannot delete or change logs during the retention period.
  • Hashing or signing of stored log files so tampering can be detected, plus access control and separate administration for the logging platform itself.

The principle: anything kept on the host stays under the control of whoever controls the host, so local measures alone cannot protect evidence from an administrator-level attacker.

Time synchronization

Correlation assumes every source stamps events with the same clock. Point all devices at a common, hierarchical NTP source; when clocks drift, the same session appears minutes apart in the firewall, proxy and domain controller logs and the order of events cannot be trusted. Two distinct time problems look different:

SymptomCauseFix
Offsets of varying size that grow over timeClock drift: no or broken NTPSynchronize to a common NTP hierarchy
A constant offset of a whole number of hours, sometimes changing at a daylight-saving boundaryTimestamps written in local time without a UTC offsetLog in UTC (or ISO 8601 with an explicit offset) so the SIEM can normalize

Time also matters to protocols. Kerberos authenticators carry timestamps that the KDC or service checks to block replay, and an Active Directory domain controller rejects clients whose clocks differ from its own by more than the maximum tolerance (five minutes by default). It logs event 4771 with failure code 0x25 (KRB_AP_ERR_SKEW); a wrong password shows 0x18 instead. When authentication failures and out-of-step log timestamps appear together on the same systems, check time synchronization first.

Retention

The minimum retention period for each log type is set by legal, regulatory and contractual requirements, and investigation needs may extend it. Operational factors such as storage cost shape how logs are stored, never how short a mandatory minimum can be. PCI DSS v4.0.1 (Requirement 10.5.1), for example, requires at least 12 months of audit log history with the most recent three months immediately available for analysis. The cost-efficient design is tiered: recent logs in fast, indexed ("hot") SIEM storage and older logs in cheaper archive storage that can be restored. Keeping everything hot meets the rule at higher cost; deleting after the hot period or archiving everything breaks one half of it.

Which operating system concepts matter to a SOC analyst: hardening, critical files and system processes?

Analysts use operating system knowledge to know what "normal" looks like: a hardened configuration to measure against, the files attackers tamper with, and the expected tree of core processes.

System hardening

Hardening reduces attack surface by applying least functionality: remove or disable unneeded services, ports, accounts and software, enforce secure authentication, permissions and logging settings, and patch. It starts from a documented baseline. CIS Benchmarks are consensus-developed, version-specific configuration guides for operating systems and applications that can be applied to a build image and audited automatically afterwards (DISA STIGs play the same role for US government systems). A hardening baseline answers "how should this system be configured?"; frameworks that score vulnerabilities, catalog attacker behaviour or rank application risks answer different questions.

File structure and critical files

FileWhat it doesWhat tampering looks like
hosts (C:\Windows\System32\drivers\etc\hosts, /etc/hosts)Static name-to-IP mappings consulted before DNSUnexpected entries that override name resolution for a single host
services (same Windows folder, /etc/services)Maps port numbers to service namesRarely relevant to redirection
SAM, SYSTEM, SECURITY, SOFTWARE hives (C:\Windows\System32\config\)Registry hives; SAM holds local account password hashesCopies of SAM and SYSTEM taken together allow offline hash extraction
/etc/passwdAccount list, world-readableA new account with UID 0 is a hidden root account
/etc/shadowPassword hashes, readable by root onlyUnexpected reads or edits
/etc/sudoers, cron files, startup and Run keysPrivilege delegation and scheduled or automatic executionPersistence and privilege escalation

An /etc/passwd entry has seven colon-separated fields: name, password placeholder, UID, GID, comment (GECOS), home directory and shell. The x in the second field only means the hash lives in /etc/shadow. The kernel grants superuser rights to any account whose UID is 0, so a line such as sysmaint:x:0:0:maintenance:/var/lib/sysmaint:/bin/sh that is not in the baseline is a full root login dressed as a service account. GID 0 is the root group, and the comment field has no security effect.

System processes

Malware often borrows the names of core Windows processes, so hunting rules check their parents, counts and paths. On a healthy Windows 10/11 or Server system:

  • smss.exe starts a child smss.exe per session, which launches csrss.exe and wininit.exe (session 0) or csrss.exe and winlogon.exe (user sessions) and then exits, so those processes normally show a parent that is no longer running.
  • wininit.exe starts services.exe (the Service Control Manager) and lsass.exe.
  • services.exe starts every svchost.exe, so a dozen or more of those is normal.
  • There is only ever one lsass.exe. A second instance, lsass.exe started by services.exe, services.exe started by winlogon.exe, or a core process running from outside System32 is a strong lead.

Behaviour that is normal by design should not alert on its own; a detection is only useful when it compares against the known-good baseline.

How do cloud-native, virtualization and container architectures change security monitoring?

Each architecture moves the isolation boundary and the place where evidence lives, so the SOC has to change where it collects telemetry and how it preserves evidence.

Virtual machinesContainersServerless / cloud native
Isolation boundaryEach VM runs its own guest OS and kernel behind a hypervisorIsolated processes (namespaces, cgroups) sharing the host kernelThe provider's platform; you never see the host
Escape riskAttacker must also break the hypervisor (VM escape)A kernel exploit or container escape reaches the host and its other containersHandled by the provider under shared responsibility
Where you monitorAgents (EDR) in the guest, hypervisor logsNode-level agents, orchestrator audit logs, central container logsProvider function, API and audit logs, configuration data
Evidence lifetimePersistent disks and snapshotsEphemeral: gone when the container is replacedEphemeral: only what the platform logs

Virtualization and containerization isolation

Separate VMs give stronger isolation than containers because each has its own kernel; controls that harden or verify a workload are valuable, but they do not add a kernel boundary. Where containers must stay, sandboxed runtimes add a kernel boundary without changing images or tooling: a micro-VM runtime (for example Kata Containers) gives each pod its own lightweight VM and guest kernel, and a user-space kernel (for example gVisor) intercepts the application's system calls. Kubernetes selects them per pod through a RuntimeClass. Hardening inside a container reduces what it can do, but unless a sandboxed runtime is used its system calls still reach the shared host kernel.

Containers are ephemeral

Containers are built from immutable images and replaced rather than repaired. Anything written to a container's own writable layer, logs included, disappears when an orchestrator replaces it. Applications should write to stdout/stderr (or use a logging sidecar) with a node-level agent shipping logs to a central platform. Collection has to be continuous and off the container, because a short-lived container may be gone before any later capture.

Memory and the container filesystem are lost the moment a compromised pod is deleted or restarted, so the evidence-friendly response is to take the pod out of service without killing it: change its labels so the Service and ReplicaSet no longer select it (the controller starts a clean replacement, so recovery is not delayed), quarantine it with a network policy, capture memory and filesystem, then delete it. Any action that terminates the container before capture loses the volatile evidence.

Cloud native and serverless

In function-as-a-service the provider runs the operating system and runtime, so host-based tools such as EDR agents and authenticated vulnerability scans have nothing to attach to. Visibility moves to the provider's function execution logs, control-plane (API) audit logs and configuration state, ingested into the SIEM. Monitoring has to follow the shared-responsibility line: the customer watches what the customer controls.

Why are APIs an attack surface, and what does an API gateway add?

APIs expose application functions and data directly to callers, so every endpoint is an entry point that must authenticate, authorize, limit and log each call. In a microservice estate where each service implements those controls its own way, enforcement is inconsistent and access logs are scattered.

An API gateway sits in front of the services as the single entry point and applies the same authentication and authorization checks (API keys, OAuth 2.0 tokens), quotas and rate limiting, and request logging to every call, without rewriting each service. It also gives the SOC one consistent source of API access logs.

ComponentMain job
API gatewayEnforce caller identity, authorization, quotas and rate limits; centralize API logging and routing
Web application firewall (with API rules)Inspect requests for attack patterns such as injection; not a per-API identity or quota enforcer
OpenAPI specification validated in CIDesign-time contract and testing; not a runtime control
Load balancerSpread traffic across instances

Gateways and WAFs are often deployed together; they answer different questions.

How do MDM and UEM manage mobile and endpoint devices?

Mobile device management (MDM) and its broader successor, unified endpoint management (UEM), enroll phones, tablets and laptops and push, enforce and report on security policy: passcodes, encryption, app allow lists, patch levels, certificate and Wi-Fi profiles, and remote lock or wipe. Non-compliant devices can be blocked from corporate resources.

  • Personal devices (BYOD): corporate apps and data go in a managed container or work profile. When the employee leaves, a selective (enterprise) wipe removes only that container and leaves personal photos, messages and apps alone.
  • Corporate-owned devices: a full remote wipe erases the device, and it runs when the device next checks in with the management service.
  • Lost or stolen devices: enforced full-disk encryption keeps data unreadable even if the drive is removed, and remote wipe erases it once the device comes online.

Match the control to the requirement: policies that restrict how a device is used are different from controls that protect or remove the data on it.

How do ZTNA, SASE and hybrid cloud change network architecture?

Modern network architecture assumes users, applications and data are spread across offices, homes and clouds, so access is decided per user, device and application rather than by being "inside" a network.

Zero trust network access (ZTNA)

A traditional remote-access VPN puts the user on the network, often with reach to whole subnets, so lateral movement is limited only by internal controls. ZTNA brokers each session to one named application after verifying identity and device posture, continuously and per connection. The applications accept connections only through the broker or its connector, so they are not exposed directly to the internet. The defining difference is the unit of access: a network for a VPN, a single application for ZTNA.

Secure access service edge (SASE)

SASE converges networking and security into one cloud-delivered service: SD-WAN for efficient branch connectivity and local internet breakout, plus security service edge (SSE) functions such as a secure web gateway (SWG), cloud access security broker (CASB), ZTNA and firewall as a service (FWaaS). Branch and remote users get the same policy wherever they connect, and branches stop backhauling internet traffic to headquarters.

OptionProvidesMissing on its own
SD-WANBranch connectivity, path selection, local breakoutCloud-delivered security policy
ZTNAPer-application private accessBranch networking, web filtering, CASB
Branch NGFWsLocal filteringOne policy for remote users from one service
SASEAll of the above, converged and cloud-delivered—

Hybrid cloud

In a hybrid environment, administrative actions in the cloud (creating access keys, changing security groups, launching resources) are API calls to the provider's control plane. They happen in the provider's platform rather than inside your hosts or networks, so host and network telemetry cannot see them. The SOC needs the provider's control-plane audit logs in the same SIEM as on-premises data, so it can correlate identity and configuration changes across both environments.

Which IAM concepts must a CySA+ analyst know: PAM, authentication methods and secrets management?

Identity and access management decides who can do what; for an analyst, the important parts are how privileged access is controlled, which protocols prove identity versus grant access, and how machine credentials are kept out of code.

Privileged access management (PAM)

PAM replaces standing privilege with controlled, observable elevation:

  • Just-in-time (JIT) elevation: time-limited group membership or rights granted on approval and removed afterwards, so administrators hold no standing privilege.
  • Credential vaulting with injection: the PAM platform injects the privileged credential into the session so the user never sees it, then rotates it. Any approach that shows the administrator the password lets it be reused outside the controlled session.
  • Session proxying and recording: privileged sessions run through a PAM proxy or jump host that records them. Authentication logs record that a session started, not the actions taken inside it.

Authentication and authorization methods

MethodWhat it isKey point
SAML 2.0XML-based federation for single sign-onIdentity provider sends a signed assertion to the service provider
OAuth 2.0Delegated authorization frameworkAccess token says what a client may do, not reliably who the user is
OpenID Connect (OIDC)Identity layer on OAuth 2.0Adds an ID token (signed JWT) carrying the user's identity and authentication details
KerberosTicket-based authentication in Active DirectoryTime-sensitive: clock skew beyond tolerance breaks sign-in
MFATwo or more factor types (know, have, are)Strength varies with the factor's phishing resistance
FIDO2 / WebAuthn (security keys, passkeys)Passwordless, public-key authenticationSigns a challenge bound to the site's origin, so a lookalike site gets nothing reusable

Signing users in by checking an OAuth access token alone is a known mistake; OIDC exists to provide the identity proof. SAML, OAuth 2.0, OIDC and WebAuthn all depend on TLS (HTTPS) to protect tokens in transit; Kerberos instead protects its tickets and authenticators with its own symmetric encryption. One-time codes (app or SMS) and simple push approvals can be relayed in real time by an adversary-in-the-middle phishing page, which is why phishing-resistant MFA means FIDO2-style origin binding.

Secrets management

Secrets (passwords, API keys, certificates, tokens) belong in a secrets vault that stores them centrally, controls and audits access, and serves them to applications at runtime, so nothing is hardcoded in code, configuration or Git history. Dynamic secrets go further: the vault creates a unique, short-lived database credential on request and revokes it when the lease expires, so a leaked credential is useful only briefly. The weakness of any static credential is its lifetime, and a secret protected by something stored beside it is not protected at all. A secret committed to Git must be revoked or rotated, not just deleted from the latest commit.

How do encryption and data protection techniques differ?

Encryption makes data unreadable without a key; data protection is the broader set of techniques (classification, DLP, tokenization, masking, hashing and encryption) chosen according to who must still use the data and how.

Encryption techniques

  • Symmetric encryption (for example AES) uses one shared key and is fast enough for bulk data. Asymmetric encryption (RSA, elliptic curve) uses a key pair and is used for key exchange, digital signatures and certificates. TLS uses both: asymmetric cryptography to authenticate and agree keys, symmetric ciphers for the session.
  • At rest vs in transit. TLS protects data on the wire. Full-disk encryption protects a powered-off or stolen drive, but decrypts transparently once the volume is mounted, so anyone who can query the running system reads plaintext, wherever the disk keys are kept and however often they rotate. Field-level (application-layer) encryption keeps a sensitive column as ciphertext to every query that cannot use the key, which protects against a compromised application account.
  • Forward secrecy. TLS 1.3 removed static RSA key exchange; every handshake uses ephemeral (EC)DHE. The server's long-term private key only signs the handshake, so a passive sensor holding a copy of it can no longer decrypt sessions. Inspection then requires terminating TLS inline (reverse proxy, load balancer or decrypting gateway) or exporting per-session keys from an endpoint. Key length does not matter here; the key-exchange design does.

Data protection techniques

TechniqueReversible?Best fit
Classificationn/a (a label)Decides which protections apply; does not itself limit what is shown
Data loss prevention (DLP)n/a (a control)Detects and blocks sensitive data leaving via email, web, endpoints or cloud
TokenizationOnly through the separate token vaultStable surrogate per value for linking records; removes systems that see only tokens from scope (for example PCI DSS)
MaskingDisplay-time (dynamic) masking leaves the stored value intactShow only part of a value, such as the last four card digits, to people who do not need all of it
EncryptionYes, by anyone with the keyConfidentiality at rest or in transit
HashingNo (one-way)Integrity checks and password storage; destroys the ability to use the original value

Choose by asking who needs the data and in what form: a consistent surrogate for linking, a partial view for people, full confidentiality for storage or transit, or a one-way check. Digital signatures prove origin and integrity but conceal nothing.

What makes OT, ICS and SCADA security different?

Operational technology (OT) is hardware and software that monitors and controls physical processes; industrial control systems (ICS) are the control systems within it, and SCADA (supervisory control and data acquisition) is the type of ICS that supervises geographically spread processes such as water, pipelines and power grids. Typical components are PLCs and RTUs at the process, HMIs for operators, and historians that store process data.

  • Safety and availability come first. IT security is often summarized as confidentiality, integrity, availability; OT generally reverses that order because downtime or a bad command can harm people, equipment or the environment. Patches that need a reboot wait for planned outages, with compensating controls (segmentation, monitoring) until then.
  • Fragile, long-lived devices. Controllers often run for decades and may fault when probed. Active scanning can stop a process, and anything that queries a device only learns what that device reports about itself.
  • Insecure protocols. Industrial protocols such as Modbus/TCP and DNP3 were originally designed without authentication (DNP3 later added Secure Authentication, but optional add-ons like it are rarely deployed), so anyone who can reach a PLC can often command it.
  • Passive monitoring. A sensor on a SPAN port or network tap that decodes industrial protocols (for example Modbus function codes) builds an asset inventory and learns normal traffic, then alerts on unusual commands without touching the devices. Passive network monitoring works because it does not depend on the devices themselves, which often log little.
  • Segmentation. The Purdue model separates enterprise IT (levels 4–5) from operations (level 3) and from supervisory and control levels (0–2), with an industrial DMZ between IT and OT so no traffic passes directly from the enterprise to controllers.

Tip. Questions on this objective are short scenarios that describe a SOC problem in logging, endpoint, cloud, identity, encryption or OT architecture and ask which concept, control or change BEST solves it. Distractors are usually real controls from the same family that fail on one stated constraint: a near-twin protocol, the wrong layer, a local fix for a remote problem, or a control that meets only part of the requirement. Expect to read an /etc/passwd line or a list of Windows processes, tell OAuth from OIDC, ZTNA from SASE, tokenization from masking and VMs from containers, and to apply the OT priority of safety and availability. Some items ask you to select two answers.

Key takeaways
  • A SIEM sees only what is configured at the source and parsed into normalized fields; events without a parser are stored but never match field-based rules.
  • Protect logs by forwarding them off the host in near real time and keeping the central copy on immutable storage; local copies are controlled by whoever owns the host.
  • Use one NTP hierarchy and log in UTC; Kerberos fails when clocks skew beyond the tolerance (event 4771, code 0x25).
  • Regulation and contracts set the minimum retention; hot plus archive tiers meet it at the lowest cost.
  • Harden from a consensus baseline such as a CIS Benchmark; know the hosts file, SAM, /etc/passwd (UID 0 means root) and /etc/shadow.
  • wininit.exe starts services.exe and the one lsass.exe; services.exe starts svchost.exe; orphaned csrss.exe and wininit.exe are normal.
  • Containers share the host kernel and are ephemeral: ship logs off them, add sandboxed runtimes for untrusted code, and pull a compromised pod out of service before capturing and deleting it.
  • Serverless and cloud control-plane activity are visible only through the provider's logs and APIs.
  • ZTNA grants per-application access after identity and posture checks; SASE converges SD-WAN with cloud-delivered SWG, CASB, ZTNA and FWaaS.
  • PAM means just-in-time elevation, injected vaulted credentials and recorded sessions; OIDC proves identity on top of OAuth 2.0; dynamic secrets limit how long a leak is useful.

Frequently asked questions

Why do SIEM correlation rules fail for a newly onboarded log source even though its events arrive?

Usually because the source has no parser mapping its data to the SIEM's normalized schema. The events are stored, but values such as source IP address and user name stay inside an unstructured message field, so rules that match on those fields never fire. Writing or fixing the parser fixes it.

What is the difference between OAuth 2.0 and OpenID Connect?

OAuth 2.0 is a delegated authorization framework: its access token tells an API what a client may do, not reliably who the user is. OpenID Connect is an identity layer built on OAuth 2.0 that adds an ID token, a signed JSON Web Token describing the authenticated user, so applications use OIDC for sign-in.

How does ZTNA differ from a VPN?

A remote-access VPN places the user on the internal network, often with access to whole subnets. Zero trust network access brokers each connection to one approved application after checking the user's identity and device posture, and the application is reachable only through the broker, so it is neither exposed to the internet nor open to lateral movement from the user's device.

Why are containers weaker isolation than virtual machines?

Containers are isolated processes that share the host's kernel, so a kernel vulnerability or container escape can reach the host and other containers. Each virtual machine runs its own guest kernel behind a hypervisor, so an attacker must also escape the hypervisor. Sandboxed container runtimes such as micro-VM or user-space-kernel runtimes add a kernel boundary for containers.

Why can't a passive sensor decrypt TLS 1.3 with the server's private key?

TLS 1.3 allows only ephemeral (EC)DHE key exchange, which provides forward secrecy. The server's long-term private key only signs the handshake and cannot be used to derive session keys, so inspection requires terminating TLS inline at a proxy or decrypting gateway, or exporting per-session keys from an endpoint.

What is the difference between tokenization and data masking?

Tokenization replaces the stored value with a surrogate token that can be reversed only through a separate token vault, so systems that hold only tokens can leave compliance scope and still link records. Masking hides part of a value, typically at display time, so a user sees for example only the last four digits while the original stays intact for authorized systems.

How long should a SOC keep logs?

At least as long as legal, regulatory and contractual requirements demand for each log type, extended where investigations need more. PCI DSS v4.0.1, for example, requires 12 months of audit log history with the most recent three months immediately available. Storage capacity and vendor defaults decide how logs are tiered, not the minimum period.

Why don't OT teams allow active vulnerability scanning of PLCs?

Many PLCs and other industrial devices are old and fragile, and active scans can fault them and stop a physical process, which in OT is a safety and availability incident. Passive monitoring of mirrored traffic with industrial-protocol decoding builds the inventory and detects unusual commands without touching the devices.

Source

This lesson covers the "Security Operations" domain of the official CS0-004 exam guide. Vendors revise their guides — check the source for the current version.

Test yourself on this topic
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?