Lesson 2 of 3 Security Operations Foundations

Foundational Security Operations Concepts

A small set of principles governs how operations staff are given and use access. This lesson covers need to know and least privilege, segregation of duties, privileged account management, job rotation and service-level agreements, all within defence in depth.

Learning outcomes

After completing this lesson, you will be able to:

  • Explain need to know, least privilege and segregation of duties in operations.
  • Describe privileged account management, job rotation and SLAs.

Need to know, least privilege and segregation of duties

Need to know restricts access to information required for a specific task, even for people whose clearance would otherwise allow it. Least privilege restricts rights and permissions to the minimum the job requires. Together they limit both accidental and malicious damage.

Segregation of duties (SoD) splits critical tasks so that no single person can complete them, such as separating security administration from system administration or requiring one person to request and another to approve access. Two-person control (dual control) requires two people to act together for highly sensitive operations, and split knowledge gives each person only part of a secret. SoD forces collusion for fraud to succeed.

In security operations these principles apply to the operators themselves. A security operations analyst needs to read alerts and investigate, but not to change firewall rules or delete logs; a backup operator needs to run backups and restores, but not to read the payroll data inside them. Separating the administration of the logging system from the administration of the systems being logged means that an administrator who misuses their access cannot also erase the evidence. These principles are part of defence in depth: each one limits the damage if another control fails or a trusted person goes wrong.

Scenario questions

Applying the principles to operators

Exam skills 7.4.1 · 7.4.2

Apply need to know, least privilege and SoD to security operations staff.

Log in to try this activity Interactive activities are free with an account.

Privileged account management and job rotation

Privileged accounts, such as domain administrators, root and cloud administrators, are the attacker's main target. Privileged access management (PAM) tools vault and rotate their credentials, grant just-in-time elevation with approval, broker and record privileged sessions and alert on unusual use. Administrators use separate privileged accounts, MFA and hardened administrative workstations, and the number of privileged accounts is kept to a minimum.

Job rotation moves people between roles so that others may notice irregularities, and spreads knowledge so that the organisation does not depend on one person. Mandatory vacations serve the same detective purpose. Both are detective controls against fraud.

The following diagram shows a privileged session controlled by PAM.

A privileged session controlled by privileged access management. The administrator signs in to the PAM system with their own account and MFA and requests time-limited access with a change ticket; after approval, PAM opens a recorded session with a credential the administrator never sees, and rotates it afterwards. Every action is tied to a person, a reason and a recording.
PAM is privileged access management.
Select all that apply

Privileged access management

Exam skills 7.4.3 · 7.4.4

Identify the capabilities and practices that control privileged accounts.

Log in to try this activity Interactive activities are free with an account.
Worked example

A privileged session through PAM

An administrator needs to change a production database. How does a PAM system control the session from request to completion?

The administrator logs on to the PAM portal with their own account and MFA, requests access to the database server for two hours and states the change ticket number. After approval, the PAM system opens a session to the server using a privileged credential the administrator never sees, records the session and, when the time expires or the session ends, rotates the credential.

Every privileged action is now tied to a person, a reason and a recording, and a stolen administrator password is useless because it changes after each use.

Service-level agreements

A service-level agreement (SLA) defines the service a provider commits to: availability targets, response and resolution times, support hours, security requirements such as breach notification times, and remedies such as service credits when targets are missed. Operational level agreements (OLAs) define commitments between internal teams, and memoranda of understanding record less formal arrangements. SLAs must be measurable, monitored and reviewed.

Availability targets sound similar but differ greatly in practice. A monthly availability of 99.9% allows about 43 minutes of downtime in a 30-day month, while 99.99% allows about 4 minutes. The SLA must also define how availability is measured, whether planned maintenance counts, and what happens when the target is missed. For security operations, useful SLA terms include the time within which a provider must notify the customer of a security incident, the time to apply critical patches and the time to respond to a high-severity alert.

An OLA supports the SLA from inside. If the organisation promises customers four-hour restoration of a service, the internal teams it depends on, such as the network and database teams, need OLAs that commit them to responding fast enough for the overall promise to be met.

Fill in the value

Availability arithmetic

Exam skills 7.4.5

Translate availability targets into allowed downtime for a 30-day month.

Log in to try this activity Interactive activities are free with an account.
Worked example

Shared administrator accounts

Five database administrators share one administrator account whose password is written in a team document. A table containing payment data was deleted, and nobody can say who did it. Which controls address this?

Shared credentials destroy accountability. Each administrator needs an individual privileged account with MFA, checked out through a PAM vault with session recording, so every action is attributable. Least privilege should limit destructive rights, and dangerous operations such as dropping payment tables can require two-person approval.

Check yourself

Are job rotation and mandatory vacations preventive or detective controls?

Show answer

Detective: they help uncover fraud and irregularities.

Exam Tips

Remember for the exam

  • Clearance is not need to know.
  • Job rotation and mandatory vacations are detective controls.
  • Shared privileged accounts destroy accountability.
  • SLAs must be measurable and include security terms.