YourNextCert™ with Shubham Sharma

Chapter 16

Managing Security Operations

Day-to-day security operations: least privilege and segregation of duties, privileged accounts, SLAs, personnel safety, asset and media management, cloud models, configuration, change, patch and vulnerability management.

Status
In progress
Last updated

Video

The video for this chapter is not available yet.

Exam domains and objectives covered

Domain 2: Asset Security Main domain

  • 2.3 Provision information and assets securely

Domain 3: Security Architecture and Engineering

  • 3.1 Research, implement and manage engineering processes using secure design principles
  • 3.5 Assess and mitigate the vulnerabilities of security architectures, designs, and solution elements

Domain 7: Security Operations

  • 7.3 Perform configuration management (CM) (e.g., provisioning, baselining, automation)
  • 7.4 Apply foundational security operations concepts
  • 7.5 Apply resource protection
  • 7.8 Implement and support patch and vulnerability management
  • 7.9 Understand and participate in change management processes
  • 7.15 Address personnel safety and security concerns

Domain 8: Software Development Security

  • 8.4 Assess security impact of acquired software

Objectives are numbered as in the official ISC2® CISSP exam outline.

Learning objectives

By the end of this chapter you should be able to:

  • Distinguish need to know from least privilege and apply both to users, services and administrators
  • Use segregation of duties, two-person control, split knowledge, job rotation and mandatory vacations against fraud
  • Manage and monitor privileged accounts, and set expectations with SLAs and MOUs
  • Put personnel safety first: duress systems, travel risks, emergency management and awareness training
  • Inventory tangible and intangible assets and protect media throughout its life cycle
  • Compare SaaS, PaaS, IaaS and serverless, the cloud deployment models and who is responsible for what
  • Run configuration, change, patch and vulnerability management as connected processes

Key topics

  • Need to know and least privilege
  • Segregation of duties
  • Two-person control and split knowledge
  • Privileged account management
  • Job rotation and mandatory vacations
  • SLAs and MOUs
  • Personnel safety and duress
  • Asset inventory
  • Media management and MTTF
  • Cloud service and deployment models
  • Scalability and elasticity
  • Baselines and imaging
  • Change management
  • Patch and vulnerability management

Chapter notes

Chapter overview

Security operations is where policy meets daily reality. This chapter gathers the foundational practices that prevent incidents and limit damage when they happen: controlling privilege, protecting people and assets, using cloud services responsibly, and keeping systems consistently configured and patched. Doing these things routinely, and checking that they are done, is how senior management shows due care and due diligence.

Key concepts

Need to know and least privilege

The two are related but not identical:

  • Need to know is about which information someone may see. A security clearance says a person could be trusted with data at a given level; need to know decides whether they actually get access to a particular item. A database administrator may maintain a server without needing to read the records in it.
  • Least privilege is about what a subject can do: the minimum rights and permissions needed for the job, covering data (read, write, create, delete) and system actions (logging on to servers, installing software). It depends on clear job descriptions.

Least privilege applies to more than people. Service accounts and applications should run with only the rights they need; a compromised service running as an administrator hands the attacker administrator rights. Everyday users shouldn’t log on as administrators, because any malware they run inherits their privileges.

Separating and sharing duties

  • Segregation (separation) of duties (SoD): split a sensitive process, such as approving and paying invoices, so no one person controls it end to end. Fraud then requires collusion, which is harder and riskier. Splitting security administration across several people stops any one of them disabling the controls.
  • Two-person control: two people must act together for a critical task, such as two keys or two approvals.
  • Split knowledge: the information needed for an operation (for example, an emergency password or a key) is divided so no single person holds all of it.
  • Job rotation: moving people between roles provides cross-training and peer review, and the successor may spot fraud.
  • Mandatory vacations: one or two weeks away while someone else does the job. Hidden irregularities tend to surface.

Job rotation and mandatory vacations both deter (people know someone will look) and detect (someone does look).

Privileged account management

Privileged accounts include local and domain administrators, root and sudo users, and anyone with elevated rights such as help desk staff who can reset passwords. Privileged account (or access) management (PAM) restricts these accounts and watches how they’re used:

  • Just-in-time elevation grants rights only on request and only for a short period, after which the ticket expires. Stolen credentials or tickets quickly become useless.
  • Monitoring privileged actions (creating accounts, changing firewall rules or routes, clearing logs, running scripts, scheduling tasks) deters insiders and spots attackers, who almost always escalate privileges. A SIEM can alert on suspicious script activity.
  • Even trusted staff can turn into disgruntled insiders, so monitoring complements preventive controls such as least privilege.

SLAs and MOUs

A service-level agreement (SLA) sets measurable performance expectations with an outside provider, such as availability or maximum downtime, usually with financial penalties if they’re missed. Know your requirements before you sign. A memorandum of understanding (MOU) records an intention to work together; it’s less formal and carries no monetary penalties.

Personnel safety and security

People can’t be replaced, so their safety outranks protecting assets. An electronic lock on a data centre exit should fail safe (unlock) when power fails, even if that weakens asset protection.

  • Duress: lone workers such as night guards need a way to raise a silent alarm, such as a panic button, a special code on a cipher lock, or a code word that confirms all is well. If the person omits the code word, the monitoring centre sends help.
  • Travel: carry as little sensitive data as possible and encrypt what you must take; keep devices under physical control; consider clean loaner devices that are wiped and reimaged on return; avoid free Wi-Fi, which may be an on-path trap; use a VPN or your own hotspot; and verify unexpected visitors to hotel rooms.
  • Emergency management: plans for natural and human-made disasters, built around protecting people.
  • Training and awareness should cover safety topics alongside insider threats (warning signs and how to report them), social media oversharing that fuels social engineering, and 2FA/MFA fatigue: users bombarded with push prompts may approve one just to stop them, or try to avoid MFA altogether.

Provisioning and managing assets

Identifying an asset’s owner identifies who is accountable for protecting it. Owners delegate daily tasks, such as backups and access control, to custodians.

Asset type Examples How it’s tracked
Tangible: hardware Servers, laptops, network gear, portable media Inventory databases with bar codes or RFID tags (RFID costs more but speeds counts); sanitise before disposal
Tangible: software Operating systems, applications, licence keys Licence compliance, protecting keys from leaks, scanning for unauthorised software
Intangible Patents, trademarks, copyrights, reputation and goodwill Valued by senior management (for example from revenue earned), reviewed regularly, renewal fees tracked

A configuration management system can double as a hardware inventory check, because it contacts each device it manages.

Media management and protection

Media is anything that holds data: tapes, disks, SSDs, USB drives, optical discs, memory cards, mobile devices and paper. Proper marking, handling, storage and destruction protects all three parts of the CIA triad.

  • Store sensitive media in access-controlled locations with temperature and humidity control.
  • Control USB use technically (block, log or allow only approved encrypted drives), because USB brings malware in and lets data walk out.
  • Keep at least two backup copies, one onsite and one offsite; encrypt backups; protect media in transit and keep it away from magnetic fields, dust and temperature extremes.
  • Retire media when errors appear or it reaches its expected life. MTTF (mean time to failure) applies to items you replace rather than repair; MTBF (mean time between failures) applies to items you repair.
  • Destroy media according to the classification of its data. Degaussing doesn’t work on SSDs, and their built-in erase commands may miss areas, so SSDs are often physically destroyed.
  • Data needs protection both at rest and in transit.

Cloud and managed services

Cloud resources sit outside your direct control, so define requirements before you use them. Encrypt sensitive data in transit and at rest, preferably with customer-managed keys: this limits insider risk at the provider and enables cryptographic erase (destroying the keys makes the data unrecoverable).

Model Provider manages Customer manages
SaaS Nearly everything: infrastructure, platform and application Their data, user access and the configuration options offered
PaaS Hardware, operating systems and runtime The applications they deploy and some settings
IaaS Physical infrastructure and virtualisation Operating systems, patching, applications and data
Serverless (FaaS) Servers, runtime and scaling Individual function code and data

Serverless differs from PaaS because functions run only when triggered and then stop, so you pay for execution rather than an always-on platform. Each function scales independently.

Deployment models (from NIST’s cloud definition): public (shared, provider-hosted), private (one organisation, on-premises or dedicated), community (organisations with shared needs) and hybrid (two or more clouds linked for portability). Anything as a service (XaaS) includes security as a service, delivered by managed (security) service providers (MSPs/MSSPs).

Scalability means adding capacity, often manually and sometimes with downtime. Elasticity means adding and removing resources automatically as demand changes. Services integration (iPaaS) joins on-premises and cloud components and breaks down data silos.

Configuration management

Configuration management (CM) keeps systems in a known, secure state from deployment onwards.

  • Provisioning: build systems hardened for their role, not with vendor defaults. Remove unused applications, disable unneeded services, close the ports they used, and change every default password.
  • Baselining: a baseline is the agreed starting configuration, typically a list of settings per system type (a file server’s differs from a desktop’s).
  • Imaging: build and thoroughly test a reference system, capture it as an image, and deploy copies. Images make builds fast and consistent and allow quick rebuilds. Protect the images themselves, because a tampered image spreads malware everywhere.
  • Automation: tools such as Group Policy or scripts apply extra settings to groups of systems after imaging.
  • Configuration documentation records each system’s owner, purpose and changes from the baseline. Make sure it’s still reachable during an outage.

Change management

Unauthorised or untested changes are a major cause of outages. Change management makes sure changes are reviewed for side effects and security impact before they reach production. A typical sequence:

  1. Request the change (often through a tracked online form).
  2. Review it, often at a change advisory board (CAB).
  3. Approve or reject it, sometimes requiring a rollback (back-out) plan.
  4. Test it, ideally outside production.
  5. Schedule and implement it at a time of least impact.
  6. Document it, updating the configuration records.

Emergency changes, made for example to contain an attack, still get documented and reviewed afterwards. Versioning labels releases (1.0, 1.1, 2.0) so changes can be tracked and reversed. Much of this practice comes from ITIL®, though you don’t need to adopt ITIL to use it.

Patch and vulnerability management

Everything with an operating system needs patching: servers and workstations, but also routers, firewalls, printers, embedded and IoT devices, and mobile devices (through MDM). Unpatched IoT devices have been enslaved into huge botnets.

Patch management steps: evaluate whether a patch applies, test it on non-production systems, approve it (usually through change management), deploy it (normally automated), then verify that systems really are patched. Vendors often release on a fixed monthly cycle (“Patch Tuesday”); attackers reverse-engineer patches quickly (“exploit Wednesday”), but most exploitation hits systems left unpatched for months.

Vulnerability management finds, evaluates and mitigates weaknesses through routine vulnerability scans and periodic vulnerability assessments (which add reviews and audits). Scans also check that patching works, so keep the patching and checking roles separate. Not every finding gets fixed: management may accept a risk (for example when a patch breaks an application), and whatever remains is residual risk, owned by management. Findings are identified using CVE identifiers, a dictionary maintained by MITRE.

Exam tips

  • Segregation of duties prevents fraud; job rotation and mandatory vacations deter and detect it.
  • In IaaS you patch the operating system; in SaaS the provider does.
  • Unauthorised changes are a leading cause of outages, so change management is a security control.
  • Vulnerability scans verify that patch management is working.
  • Duress signals and personnel safety always outrank protecting assets.
  • A clearance alone never grants access; need to know is still required.
  • Under the shared responsibility model, data and access management stay with the customer in every model.

Common traps

  • Need to know vs least privilege: need to know limits what you may see; least privilege limits what you may do.
  • Two-person control vs split knowledge: two-person control needs two people present to act; split knowledge divides the secret itself.
  • SLA vs MOU: only the SLA normally carries penalties.
  • MTTF vs MTBF: MTTF for items you throw away when they fail, MTBF for items you repair.
  • Scalability vs elasticity: elasticity is automatic and works in both directions.
  • Serverless vs PaaS: PaaS hosts an always-running platform; serverless runs code only on demand.
  • Change vs configuration management: configuration management defines and keeps the secure state; change management controls movement away from it.
  • Patch verification: deploying a patch isn’t the last step. Auditing or scanning to confirm it is.
  • Degaussing SSDs: it doesn’t work; destroy them or rely on cryptographic erase.

Quick revision

  • Need to know + least privilege limit access; apply them to service accounts as well as people.
  • SoD forces collusion; two-person control and split knowledge protect critical actions; rotation and vacations surface fraud.
  • PAM: just-in-time elevation plus monitoring of privileged activity.
  • SLAs have measurable targets and penalties; MOUs don’t.
  • Safety first: fail-safe exits, duress codes, travel precautions, emergency plans, awareness of insider threats, social media and MFA fatigue.
  • Inventory hardware, software and intangible assets; owners are accountable, custodians operate.
  • Protect media in storage, transit and disposal; SSDs are destroyed, not degaussed.
  • Provider responsibility: SaaS most, PaaS less, IaaS least; serverless runs code on demand.
  • Public, private, community and hybrid clouds; customer-managed keys enable cryptographic erase.
  • CM: harden, baseline, image, automate, document.
  • Change: request, review, approve, test, schedule/implement, document; keep a rollback plan.
  • Patches: evaluate, test, approve, deploy, verify; scans and assessments confirm the result.

Key terms

Term Meaning
Need to know Access to specific information only when the job requires it, regardless of clearance
Least privilege Granting the minimum rights and permissions required to perform a task
Segregation of duties Dividing a sensitive process among people so no individual controls all of it
Collusion Two or more people cooperating to commit an unauthorised act
Split knowledge Dividing the information needed for an operation so no single person has all of it
Just-in-time administration Temporary, on-request elevation of privilege that expires automatically
Service-level agreement A contract setting measurable service targets and penalties for missing them
Duress system A covert way for a person under threat to signal for help
Intangible asset A non-physical asset such as a patent, trademark, copyright or reputation
MTTF / MTBF Expected time until a non-repairable item fails / expected time between failures of a repairable item
Cryptographic erase Making encrypted data unrecoverable by destroying the keys
Shared responsibility model The split of security and maintenance duties between cloud provider and customer
Elasticity Automatic addition and removal of resources in response to demand
Baseline The approved starting configuration for a type of system
Change advisory board The group that reviews and approves proposed changes
Rollback plan Steps to return a system to its previous state if a change fails
Residual risk The risk that remains after controls have been applied or a risk has been accepted
CVE The standard identifier scheme for publicly known vulnerabilities

Sources