Where EPP provides mostly signature-based detection and prevention, Next Generation Endpoint Protection with Automated Response is focused on logging Endpoint Observables and Indicators combined with Behavioral and Anomaly-Based Analysis.
Malware may evade detection by automated scans. EDR products aim not to prevent initial execution but to:
Tools like Sysinternals are used when symptoms are identified but the AV scanner or EPP agent does not report an infection. Further analysis of the host for malware uses advanced tools. Indicators include:
A technique that isolates an untrusted host, app, script, or file in a segregated environment to conduct tests.
An analytics-driven Next-Gen Antivirus product is likely to combine with the perimeter and local security offered by Next-Gen Firewalls.
An embedded system is a complete system designed to perform a specific, dedicated function within a Static Environment (whereas a PC is a Dynamic Environment).
| Feature | Desktop PC Architecture | Embedded System Architecture |
|---|---|---|
| Components | Generalized CPU, processors, controllers, I/O, system memory linked via Motherboard. | System on Chip (SoC) design where all components are on a single processor DIE or microchip. |
| Efficiency | High compute resource usage. | Microchip packaging is space and power efficient (e.g., Raspberry Pi, Arduino). |
| Specialization | General purpose. | Application-Specific Integrated Circuits (ASICs) or Microcontrollers. |
There is a need for closer integration with IT networks using standardized communication technology.
Operational Technology (OT) Networks: Refers to cabled networks for industrial applications.
Use Serial Data protocols or Industrial Ethernet.
Optimized for real-time deterministic transfers.
Layer 2 Switching: Ethernet switching performs Layer 2 switching only.
Cellular Networks: Facilitate long-distance communications.
Baseband Radio: Managed by a baseband processor acting as a cellular modem.
Narrow Band-IoT (NB-IoT): A low-power version of 4G LTE.
LTE Machine Type Communication (LTE-M): Compatible with 5G networks and does not interfere with 5G signaling. Use 5G tower relays.
Microwave Radio Networks: Cellular networks are essentially microwave radio networks.
LTE-based Cellular Radio uses a SIM (Subscriber Identity Module) as an identifier.
Wireless communication protocols used in creating Mesh Topologies with low power/low data rate requirements.
Describes a global network of appliances and devices equipped with sensors, software, and network connectivity.
Building Automation Systems (BAS): A specialized system for facility automation. Refers to the use of embedded systems or IoT devices for:
Physical Access Controls (PACS): Electronic locking, alarms, and metal detectors.
HVAC Systems.
Fire Suppression.
Elevators and Escalators.
Typical Vulnerabilities:
Memory vulnerabilities (e.g., Buffer Overflow).
Use of plaintext crypto keys/credentials within application code.
Code injection via UI interfaces used to configure the system.
Automobiles / Unmanned Aerial Vehicles (UAV): Contain sophisticated electronics to control engines, power systems, braking/landing, stability, and suspension.
Electronic Control Unit (ECU): Connected via CAN bus.
Controller Area Network (CAN) Bus: A serial communication bus for ECUs.
Functions similarly to Ethernet.
ECUs transmit broadcast messages to all other ECUs on the same bus with no concept of Message Authentication, Integrity checks, or Source Addressing.
Onboard Diagnostics Module (OBD-II): A principal external interface and an ECU.
Vulnerabilities:
Breaching physical security.
Remote access of CAN bus via cellular features or navigation/entertainment systems.
Onboard WiFi broadens the attack surface.
An array of systems (e.g., infusion pumps, monitors) potentially vulnerable to:
Use of unsecure communication protocols.
Use of unsupported versions of OS.
High availability costs (updating software is disruptive to patient services).
Goals of Attacks:
Describes the way employees are provided with management software designed to apply security policies to mobile devices and applications.
Bring Your Own Device (BYOD):
Mobile device is owned by the employee.
Visibility: The challenge of identifying and managing devices used for corporate apps in the enterprise.
Mobile device must meet profile and requirements.
Installation of corporate apps.
Some level of oversight and auditing.
Management: Two main functions: Mobile Device Management (MDM) and Mobile Application Management (MAM).
MDM: Sets device policies for authentication and connectivity. MDM can also allow device resets and remote wipes.
MAM: Sets policies for apps that can process corporate data; prevents data transfer to personal apps on same device.
Poses the most difficulty for security framework managers.
Choose Your Own Device (CYOD): Similar to COPE.
Employees are given a choice of device from a list such as configured by Enterprise Managers/Container.
Corporate Owned, Business Only (COBO):
Device is the property of the company/organization.
May only be used for company business workflow.
Corporate Owned, Personally-Enabled (COPE):
Device remains the property of the company.
Subject to Acceptable Use Policies (AUP); personal web browsing.
Employees may use it to access personal email and social media.
Management software logs the use of a device.
Virtualization / Virtual Desktop Infrastructure (VDI):
VDI as a means of provisioning an OS desktop to interchangeable hardware.
The hardware must be capable of running a VDI client viewer or have browser support for a clientless HTML5 solution. Can be accessed via a mobile device/smartphone.
Mitigates security concerns about BYOD as corporate data and apps are segmented from the other apps on the device.
VDI allows client device to access a VM.
Corporate data is stored and processed on the VDI; less chance of compromise.
Visibility across PC, laptop, smartphone, and tablet. Core functionality of UEM/EMM acts similarly to the concept of Network Access Control (NAC) solutions. Examples: Air-watch.com, Microsoft Intune, Symantec/Broadcom, Citrix Endpoint Management.
Access control implemented by configuring screen lock.
Enrolling devices into corporate network via management software (EMM/UEM).
UEM/EMM suites set device policies for authentication and authorization.
Automation strategies for resiliency, disaster recovery, incident response, and development are at the heart of secure network administration and operations.
Targets vulnerabilities in operating system or application software.
A software process must have privileges to read/write data and execute functions. A process may run using a system account, a logged-on user account, or a nominated administrator account.
An overflow attack works against the way a process performs memory management. The threat actor submits input that is too large to be stored in a variable assigned by the application code/script.
Buffer Overflow: Attacker passes data that deliberately overfills the buffer (memory area for expected data).
Stack Overflow: A stack is an area of memory used by program subroutines. It includes a Return Address (the location of the program that called the subroutine). An attacker can use a buffer overflow to change the Return Address, allowing them to run arbitrary code.
Integer Overflow: Integers have fixed lower and upper bounds. An integer overflow attack causes the software to calculate a value that exceeds these bounds. This may cause a positive number to become negative.
Example: Used where software calculates buffer size; if the attacker makes the buffer smaller than it should be, they may launch a buffer overflow attack.
Detection: Ideally identified by Network IDS or Endpoint Protection agents. Unsuccessful attempts may be revealed through unexplained crashes or error messages.
Web apps expose many interfaces to public networks, making them common targets.
name=value pairs, delimited by ? and separated by &.?, #, [ ], &) or unsafe characters (e.g., null string, carriage return) in a URL.Replay Attack: Works by guessing or sniffing a session token (cookie) and resubmitting it to re-establish a session.
Session Hijacking: Sniffing network traffic to obtain session cookies (common on unsecured/public Wi-Fi).
Countermeasures:
Encrypt cookies during transmission.
Delete cookies from client cache when session terminates.
Deliver a new cookie with each session.
Use non-predictable algorithms for session tokens.
Cookies: Can be Non-persistent (Session) (deleted when browser closes) or Persistent (stored in local cache until expiration).
Cross-Site Request Forgery (CSRF/XSRF): Forces an authenticated user to execute unwanted actions on a web app. It targets state-changing requests (changing passwords, initiating transfers).
Confused Deputy: The target site assumes the browser is authorized because of a valid session cookie and accepts malicious input as genuine.
Clickjacking (UI Redress): An adversary uses transparent or opaque layers to trick a user into clicking a button/link on another page while they think they are clicking the top-level page.
Defending against Clickjacking:
Set auth cookies with SameSite=Strict.
Use HTTP Response Headers like Content Security Policy (CSP) or X-Frame-Options to prevent the site from being opened in a frame.
Websites depend on scripting to deliver dynamic pages. XSS exploits a browser's likelihood to trust scripts that appear to come from a site the user has chosen to visit. Malicious scripts are injected into benign, trusted sites. XSS inserts a malicious script that appears to be part of the trusted site.
A flaw that allows these attacks to succeed occurs anywhere a web app uses input from a user within the output it generates without validating or encoding it.
[!NOTE] Session Replay, CSRF, and XSS (Reflected and DOM) are client-side attacks; they execute arbitrary code on the browser client agent. A server-side attack causes the backend server to run a script or respond to a query in a way not authorized by the application server design.
Injection attacks exploit some unsecure way in which an app processes requests and queries.
Main DB operations performed by SQL statements include SELECT, INSERT, DELETE, and UPDATE.
LDAP uses queries to read and write to a network directory database.
(name=value) attribute pairs delimited by parentheses and logical operators (& for AND, | for OR). Unsanitized input can bypass access controls.XML is used by apps for authentication, authorization, data exchange, and uploading.
An injection attack performed against a web server. The attacker submits a request for a file outside the web server's root directory by submitting a path to navigate to the parent directory (../).
../ becomes %2e%2e%2f).Attempts to cause the server to run OS shell commands and return the output to the browser.
SSRF causes a server application to process an arbitrary request that targets another service on behalf of the attacker, either on the same host or a different one.
Exploitation: Exploits a lack of authentication on internal servers and services (implicit trust) and weak input validation.
Mechanisms:
Targets specific parsing mechanisms in standard libraries (Apache, IIS).
Uses XML injection to exploit parsing weaknesses.
Uses HTTP request splitting via CRLF injection to trick servers into performing multiple requests.
Target: Often targets cloud infrastructure where the web server is the public-facing component of a multi-layer processing chain (middleware, DB).
Privilege: Unlike CSRF (which uses client privileges), an SSRF exploit manipulated request is made with the server's privilege level.
A primary vector for attacking applications is to exploit faulty/poorly coded input validation.
Coding methods to sanitize output created from user input. Strings are re-encoded safely for the context being used (HTML, JavaScript, PHP, SQL, etc.). This ensures characters that would facilitate script injection (XSS) are rendered safe.
Programs must be able to handle errors and exceptions gracefully.
Any fault that allows privileged information (tokens, passwords, API secrets, personal data) to be read without appropriate access control.
Client-Side: Validation performed locally on the user's browser.
Issue: Vulnerable to malware interfering with the validation process. Relying on client-side validation only is poor programming practice.
Server-Side: Validation performed remotely on the server.
Issue: Can be time-consuming due to multiple transactions between server and client.
Special attention must be paid to secure cookies and HTTP response header security.
Cookies can be a vector for session hijacking. Key parameters include:
Security options based on the response header returned by a server:
Performed against the source code before it is packaged as an executable.
Testing the application under real-world conditions while it is running.
Fuzzing: A means of testing an application by providing large amounts of deliberately malformed/random input and recording the responses.
Types of Fuzzers:
Protocol: Transmits manipulated packets to the app.
Application UI: Identifies input streams (boxes, command line switches).
File Format: Attempts to open manipulated files.
Generation: "Dumb" (semi-random) vs. "Smart" (crafted based on known exploits/escaped characters).
Stress Testing: Form of testing to reveal the robustness of an app under extreme performance scenarios.
Scripts can be used to return critical security assessments and data analysis to configure hosts. It is important to ensure that only validated code can be executed by identifying malicious code in scripts and macros.
Automation means that each configuration or build task is performed by a block of code. A script will use the following standard elements:
Scripting makes use of domain-specific languages (SQL, XML, Regex) and orchestration tools. Orchestration manages multiple automation scripts and configuration data to provision a service.
Standard syntax constrains the way sections of code are laid out in blocks, including branching and looping constructions.
Python: An interpreted language executed within the context of a binary Python process.
In Windows, a script (.py) can be called via python.exe (with command window) or pythonw.exe (without command window).
Python scripts can be compiled to standalone Windows executables using the .py2exe extension; these should be digitally signed for integrity.
PowerShell: The preferred method for Windows administration tasks (.ps1). It has become a primary toolkit for Windows attackers. Commands can be executed at a prompt or run as a script on any PowerShell-enabled host.
Bash, GoLang, Ruby, Java: Other common languages used for automation and administration.
The process of determining what additional software or scripts may be installed on a client or server host beyond its baseline to prevent the use of unauthorized software.
Indicators of malicious code execution may be caught by endpoint protection software or discovered after the fact in OS logs.
Credential Dumping: Malware may try to access the SAM database on a local workstation or sniff credentials held in memory by the lsass.exe system process.
Persistence: Allows an adversary a backdoor that survives restarts or log-offs.
Methods: Autorun keys in the Registry, adding Scheduled Tasks/Cron Jobs, or using WMI (Windows Management Instrumentation) events.
Lateral Movement / Insider Attack: Using a compromised foothold to execute processes remotely on other connected hosts. Tools like psexec (Sysinternals) or PowerShell are common.
Numerous frameworks leverage PowerShell, such as PowerShell Empire, PowerSploit, Metasploit, and Mimikatz.
Invoke-Expression (IEX), Start-Process, New-Object (to inject methods), New-Service, or Create-Thread.DownloadString or DownloadFile.-NoProfile, or calling code as a Base64 encoded string.Distinguishing malicious behavior from legitimate administration is essential.
Exploits of Linux systems often depend on weak configurations.
whoami, ifconfig, ip, or route.wget or curl.crontab entries.sudo or changing firewall rules (iptables).pty module in Python to manage a pseudo-terminal).A document macro is a sequence of actions performed in the context of a word processor or spreadsheet.
A specific type of on-path attack where the web browser is compromised (e.g., via malicious scripts or plug-ins), intercepting API calls between the browser process and the site in use.
A DevSecOps culture gives project teams a broad range of Development, Security, and Operations expertise and deployment. Ensure ability to support the creation and use of secure Development and Staging Environments.
Automation: Completion of Administrative tasks without Human Intervention. Security is a key component.
Manual Configuration introduces a lot of scope for making errors like Uncertainty of Best practice, and lack of Documentation, leading to discrepancies in the way instances and services are configured. This can lead to problems in maintaining, updating, and securing cloud infrastructure. Automation provides better Scalability and Elasticity.
The Software Development Life Cycle (SDLC) divides the creation and maintenance of software into discrete phases.
To meet demands of lifecycle and Quality Assurance, code is passed through several different environments:
diff command.The use of Development Life Cycles models and QA/QC processes extends past development and testing to the deployment and maintenance of an application or script-based automation task.
In the Agile Development Model, development and provisioning tasks are conceived as continuous.
Continuous Integration (CI): The principle that developers should "commit" and test updates often and more frequently. CI aims to detect and resolve coding conflicts from multiple developers earlier; it's easier to diagnose one or two conflicts or build errors than diagnosing dozens of them. Use of Automated test suite to validate each build quickly.
Continuous Delivery: While CI is about managing code in development, Continuous Delivery is about testing all of the infrastructure that supports the app, including networking, database functionality, client software, etc., so it is ready for production.
Continuous Deployment: Where Continuous Delivery tests an app version and its supporting infrastructure; Continuous Deployment is the separate process of actually making changes to the production environment to support the new app version.
Continuous Monitoring: Automated solution to detect service failure and security incidents. It is important to observe the failover/redundant components to ensure they are Recovery Ready.
To automate the Courses of Action that a monitoring system takes, this capability is provided by Security Orchestration, Automation, and Response (SOAR) management software.
Continuous Validation: An application model is a statement of the requirements driving the software development project. The requirement model is tested using processes of Verification and Validation (V&V).
Verification: A compliance testing process to ensure that product/system meets its goals.
Validation: A process of determining whether the application is fit for purpose (i.e., design goals meet user requirements).
Feedback from Continuous Delivery and Deployment must be monitored and evaluated to ensure design goals continue to meet user and security requirements and there is no drift from the Secure Configuration Baseline.
DevSecOps Security Integration Points:
Software Diversity can either refer to Obfuscation techniques used offensively to make code difficult to detect as malicious and avoid signature detection, or used defensively to make it harder to Reverse Engineer or analyze the code to discover weaknesses.
Security By Diversity (Not Obscurity) works on the principle that attacks are harder to develop against non-standard environments (Poly-culture environment). Using a wider range of development tools, OS/App vendors, and versions can make attack strategies difficult to research.
Note: This sort of complexity will tend to lead to greater incidence of Configuration Errors or lack of unfamiliar technical mastery.
A lack of Oversight in security procedures of cloud providers can dramatically increase the risk to an organization. A Cloud Deployment Model changes how the service is owned and provisioned.
The breadth of knowledge and configuration required for specialized security makes it unlikely that one individual will handle all tasks. Security support is categorized into three deployment models:
Flexibility is a key advantage of Cloud Computing.
Cloud services are differentiated based on the level of complexity and pre-configuration provided (XaaS - Anything as a Service):
The key security consideration is the Shared Responsibility Modelβidentifying "Security of the cloud" (CSP manages) vs. "Security in the cloud" (User manages).
| Responsibility | IaaS | PaaS | SaaS |
|---|---|---|---|
| Account / ID / Access Management | User | User | User |
| Data Security (CIA Triad) | User | User / CSP / Both | User |
| Data Privacy | User | User / CSP / Both | User |
| Application Code / Config | User | User / CSP / Both | CSP |
| Virtual Network / Firewall | User | User / CSP / Both | CSP |
| Middleware Code / Config | User | CSP | CSP |
| Virtual Guest OS | User | CSP | CSP |
| Virtualization Layer | CSP | CSP | CSP |
| Hardware Layer | CSP | CSP | CSP |
Key Insight: Security OF the cloud = CSP manages infrastructure. Security IN the cloud = Customer manages data/access.
Note: Specific terms must be set out in a Contract or Service Level Agreement (SLA).
Virtualization allows multiple Operating Systems to be installed and run simultaneously on a single host computer.
A virtualization implementation that separates the personal computing environment from a user's physical PC.
Container Virtualization dispenses with a hypervisor and enforces resource separation at the Operating System level.
VM Escape: An attack where malware in a guest OS interacts directly with the hypervisor/host kernel to "jump" to another guest OS.
Timing Attack: Used by malware to detect if it is running in a virtual environment.
VM Sprawl: A vulnerability where the provisioning/deprovisioning of virtual assets is not properly managed, leading to undocumented and unpatched systems.
VMLCM (Virtual Machine Life Cycle Management): Software used to enforce sprawl avoidance and provide a centralized dashboard.
VPC (Virtual Private Cloud): A private network segment within a public cloud.
Transit Gateway: A virtual appliance router used to facilitate connections between VPC subnets and VPN gateways (simplifies mesh topologies).
Public vs. Private Subnets:
Public: Requires an Internet Gateway and a Default Route. Uses 1:1 NAT for external communication.
Private: No direct internet route; may use a NAT Gateway for one-way external access.
Endpoints:
Gateway Endpoint: Configured as a "Route" to cloud services (e.g., S3).
Interface Endpoint: Uses PrivateLink to allow private access to services via a private IP address within the subnet.
Dynamic Routing: Azure Route Server uses BGP (Border Gateway Protocol) to exchange routing information between NVAs (Network Virtual Appliances) and Virtual Networks.
This summary integrates every detail from your notes, ensuring no conceptsβfrom the "implicit deny" logic of security groups to the specific planes of SDNβare omitted.
Cloud firewalls utilize inbound and outbound filtering rules to manage traffic across accounts, VPCs, and subnets to enforce network segmentation.
Security Groups provide a stateful filtering layer, meaning they track connection states and automatically allow "related" traffic back through.
Filtering decisions are made based on headers and payloads at different layers:
A CASB is enterprise management software that mediates access between users and cloud services to provide visibility and control.
Combines traditional SWG (proxy/DLP/IDS) with CASB functionality into a wholly cloud-hosted platform. This supports the Secure Access Service Edge (SASE) architecture.
IaC uses virtualization and orchestration to rapidly provision/deprovision resources, treating infrastructure like software.
[Image comparing SOAP vs REST API architecture]
Eliminates dedicated server instances in favor of centralized runtime containers managed by the CSP (e.g., AWS Lambda, Azure Functions).
Decouples network logic from physical hardware through three planes:
Designed to reduce latency and bandwidth for IoT and Industrial sensors.
Security risk and shared duties must be defined in legal contracts:
Below is a strict OCR-corrected, normalized, and structurally reconstructed version of the text you provided. No new concepts were added, none removed, and no simplification or expansion was performed. All corrections are limited to OCR repair, capitalization normalization, spelling correction, and structural formatting consistent with CompTIA Security+ terminology.
The architecture further supports rapid deployment of provisioning where SDN addresses secure network build solutions.
Virtual networking using general-purpose VMs and containers, supported by SBY, supports assessment by incident response teams.
This is called Network Functions Virtualization (NFV).
xAPI is used for reporting configuration and state data. This saves network and security administrators time and supports automated monitoring, detection, and alerting of appliance and settings.
The complexity of configuring each appliance at proportional scale limits visibility in real-time collection aggregation and policy enforcement.
SDN plays a crucial role in reporting data about:
SDV supports Zero Trust design and SOAR processes.
It also allows fully automated deployment of networking where accounts participate in the network.
SDV helps security data collection by gathering statistics and then applying a classification scheme to detect baseline traffic deviation.
From a high-level perspective of network flow and endpoints, SDV provides a robust ability to detect anomalies and user account behaviors that may not be possible with traditional appliances.
An increasing amount of cloud processing takes place with data generated by Internet of Things (IoT) devices and sensors.
Industrial processes and even home automation are availability-focused; service interruption in Operational Technology (OT) networks can be physically dangerous.
There is a strong requirement to retrieve and analyze IoT data at low latency.
By Cisco:
Processing is moved to the network edge of IoT devices and data centers to reduce latency.
Key concepts:
Edge devices are those that collect data for their operation. The importance of latency becomes apparent considering edge devices performing self-learning.
Edge gateways perform some pre-processing of data from edge devices to enable prioritization. They also perform wired/wireless connectivity to transfer data from storage and processing networks.
By placing fog node processing resources close to the physical location of IoT sensors:
In security terms, fog nodes or edge gateway layers represent high-value targets for:
Fog nodes can be incorporated as a data-processing layer positioned close to edge gateways, assisting with prioritization of critical data transmission and transfer.
One can outsource virtually any service capability to a third party, but one cannot outsource legal responsibility for their actions.
Any security breach in their organization is effectively a breach in yours.
Issues of security risk, awareness, shared duties, and contractual responsibilities can be set out in a formal legal agreement.
The key types of agreements:
Non-Disclosure Agreement (NDA) Legal basis for protecting information assets. Legal consequences of contract breaches.
Service Level Agreement (SLA) Sets out detailed terms under which a service is provided.
The following terms were corrected based on strongest contextual probability but should be verified against the original notes:
Below is a strict OCR-corrected, normalized, and structurally reconstructed version of your provided notes. I have not added, removed, simplified, summarized, or extended any content. All changes are limited to OCR correction, capitalization normalization, spelling repair, heading/bullet reconstruction, and structural alignment consistent with CompTIA Security+ (SY0-series) terminology.
Where wording was ambiguous, I preserved the original meaning and flagged uncertainty explicitly.
Explain privacy and data protection concepts.
A detailed understanding of privacy and data sensitivity concepts will help you operate within an overall data governance team.
Data security and privacy are areas where policies and procedures are as important as technical controls in ensuring compliance.
These must be expressed in agreements with external partners, suppliers, customers, and contractors.
The value of information assets can be thought of in terms of how a compromise of the data security attributes would impact the organization.
Data must be securely kept within a processing and storage system that enforces the CIA attributes.
A data governance framework describes the security controls applied to protect data and information used at each stage of its lifecycle, managing availability, usability, and security within an organization.
Responsible for maintaining control of information assets.
Privacy is a data governance requirement that arises when collecting and processing personal data.
Security focuses on the attributes of the processing system, whereas privacy requires policies to:
The above-mentioned roles may be performed by one individual.
An information lifecycle model identifies discrete steps to assist security and privacy policy design.
Most models use these steps:
CREATION / COLLECTION
DISTRIBUTION / USE
RETENTION
DISPOSAL
A company or organization can be both a controller and processor, but tasks may be delegated across departments.
The Data Owner may take responsibility for lawful performance of controller and processor functions.
Personal data is any information about an identifiable individual, known as the data subject.
Schemas tag and label data assets so they can be managed through the information lifecycle.
Decision trees apply appropriate tags based on confidentiality required by data governance.
PUBLIC / UNCLASSIFIED
CONFIDENTIAL / SECRET / CLASSIFIED
CRITICAL / TOP SECRET
PHI may be:
Reputational damage from PHI breaches is severe. PHI is extremely sensitive and cannot be changed after breach.
PCI-DSS defines safe handling and storage of this data. CVV must never be transmitted to merchants.
As defined by EU GDPR, includes:
Data Owners must be aware of legal and regulatory issues affecting collection and processing.
Informed consent requires that data is:
This statement is the Privacy Notice.
Data collected under consent cannot be reused without separate consent.
Purpose limitation restricts data owner ability to transfer data to third parties.
Processes designed to:
Data sovereignty imposes jurisdiction-specific requirements on where data is stored and processed.
Geographic access requirements include:
Refers to backing up and archiving information assets to comply with business policies and legal requirements.
Retention may be legally mandated for specific periods (e.g., financial records, logs).
Storage limitation principles may prevent retaining personal data longer than necessary, complicating backups and archives.
Notifications may be required to:
Occurs when confidential or private data is:
A data breach involves corporate or intellectual property. A privacy breach involves personal or sensitive data.
Requirements include:
β Uncertainty Flag: Original text states βGDPR uses 12hrs notificationβ β preserved contextually but likely 72 hours per GDPR. Flagged for verification.
All personal data breaches and most IP breaches must be escalated to senior decision makers.
Do not remediate breaches without escalation and notification.
Unauthorized copying or transfer of data from a private network to an external network.
Occurs via:
DATA AT REST
DATA IN TRANSIT / MOTION
DATA IN USE / PROCESSING
Software solutions that detect and prevent unauthorized storage or transmission of sensitive data.
Components:
Supports:
Vendors include:
Only necessary and sufficient data collected for stated purpose.
Removing identifying information before distribution.
Replacing identifiers; reversible with separate key storage.
Permanent removal of identifiers (difficult to ensure utility).
Irreversible redaction or substitution.
Replacing data with tokens; reversible via secure vault.
Generalizing values (e.g., age ranges).
Used for:
PERFORMING INCIDENT RESPONSE
Incident Response means investigating the alerts captured by the monitoring systems and issues reported by teams. A very critical security function for a security professional.
β’ Ensure to summarize the phases of incident handling. β’ Utilize appropriate data sources to assist an investigation. β’ Apply mitigation techniques to secure the environment after an event. β’ Effective incident response is governed by formal policies and procedures, setting out roles and responsibilities for an IR team.
PREPARATION
Incident Response policy sets the resources, processes, and guidelines for dealing with security incidents. A vital task to mitigating risk incident impact, as well as controlling the immediate specific threat to security. Effective incident response preserves organizational reputation.
NIST Computer Security Incident Handling Guide, Special Publication 800-61, sets out principal stages and an incident response lifecycle. A well-defined lifecycle consists of multiple phases.
PHASES OF INCIDENT RESPONSE LIFECYCLE
β’ Preparation β’ Identification β’ Containment β’ Eradication β’ Recovery β’ Post-Incident Activity
Preparation: β’ Make the system resilient to attack in the first place. β’ Hardening the system. β’ Creating policies and procedures. β’ Setting up consistent lines of communication. β’ Creating the required resources and procedures.
Identification: β’ Derived from information in alerts and report logs. β’ Determining if an incident has taken place. β’ Assess how severe it might be (triage). β’ Notify stakeholders.
Containment: β’ Limit the scope and magnitude of the incident. β’ The principal aim is to secure data while limiting immediate impact on customers and business operations.
Eradication: β’ After the incident is contained, remove the cause. β’ Restore affected systems to a secure state. β’ Apply secure configuration settings. β’ Install patches and updates.
Recovery: β’ Reintegrating sanitized systems and networks back into business process workflows. β’ Restore data. β’ Prevent recurrence of the attack.
Lessons Learned / Post-Incident Activity: β’ Analyze the incident and responses. β’ Identify whether procedures or systems could be improved. β’ Imperative to document the incident. β’ Output feeds back into a new preparation cycle.
Incident Response often requires coordinated action and authorization from several departments, adding further levels of complexity. Team members should be rotated periodically to reduce the possibility of insider infiltration.
One challenge is defining and categorizing types of incidents. An incident is generally described as an event where security is breached or there is an attempted breach. NIST describes an incident as: βAn act of violating an explicit or implied security policy.β
TRIAGE
To manage incidents, develop methods of reporting, categorizing, and prioritizing. Some troubleshooting support incidents can be logged similarly. A dedicated team serves as a single point of contact for notifications.
Security incident response teams include: β’ SIRT β Security Incident Response Team β’ CERT β Computer Emergency Response Team β’ CIRT β Computer Incident Response Team β’ SOC-based Incident Response Teams
These teams require a mixture of trained senior decision-makers who can authorize actions for serious incidents, and administrators and technicians who handle minor incidents. For major incidents, expertise from other business divisions may be required.
Key Supporting Functions: β’ Legal β Evaluate IR from a compliance and regulatory perspective; liaison with law enforcement; impacts on employees. β’ Human Resources β Contracts, employee monitoring rights, mediation of negative impacts. β’ Marketing / PR β Managing publicity from serious incidents effectively.
Availability: IR teams require 24/7 availability, which is expensive; some organizations outsource to third-party incident response providers. External agents may deal more effectively with insider threats.
IR POLICIES & COMMUNICATIONS
IR policies define clear lines of communication: β’ Reporting incidents β’ Notifying affected parties β’ Preventing inadvertent release of information
Trusted parties authorized to handle incidents must be identified. Status and event details should be circulated on a need-to-know basis.
Stakeholders may include authorities and affected parties. Consider obligations to report attacks promptly. Maintain a document listing internal contacts for notification and collaboration. Consider monitoring and PR impact of incidents. Demonstrate to customers that systems have improved.
Out-of-Band Communications: β’ Communication methods that cannot be intercepted by adversaries. β’ Do not alert adversaries to detection and remediation actions. β’ Do not use compromised communication channels. β’ Use separate systems for file/data exchange. β’ Use digital signatures and encryption keys. β’ End-to-end encryption or off-the-record (OTR) systems. β’ Ensure email systems support message encryption (S/MIME, PGP). β’ Do not release privileged information to untrusted parties.
Incident Response fits into overall Enterprise Risk Management (ERM) and cybersecurity resilience.
INCIDENT RESPONSE PLAN
Defines procedures, contacts, and resources available for various incident categories. IR teams develop profiles and scenarios of typical incidents. These guide prioritization and remediation.
Playbooks: β’ Checklists of actions to detect and respond to specific incidents. β’ Runbooks β SOAR-integrated operational procedures.
Incident categories and definitions ensure shared understanding among response team members. Definitions may vary by industry.
INCIDENT PRIORITIZATION FACTORS
β’ Data Integrity β Value of data at risk. β’ Downtime β Degree of business disruption. β’ Asset Inventory and Risk Assessment. β’ Incidents may degrade or interrupt availability. β’ Scope β Number of systems affected (not always priority indicator). β’ Publicity β Short-term IR costs and lost opportunities. β’ Economic Impact β Long-term reputational damage. β’ Detection Time β Speed of detection and response. β’ Recovery Time β Length of remediation and restoration.
Extended recovery periods can reduce alertness and control effectiveness.
THREAT INTELLIGENCE & FRAMEWORKS
Effective Incident Response depends on threat intelligence and threat research.
LOCKHEED MARTIN CYBER KILL CHAIN
MITRE ATT&CK Framework: β’ Database of known TTPs. β’ Techniques tagged with unique IDs. β’ Free resource (attack.mitre.org). β’ Enables comparison of adversary behaviors. β’ Analysts interpret attack lifecycle contextually.
DIAMOND MODEL OF INTRUSION ANALYSIS
Analyzes intrusion events via relationships between: β’ Adversary β’ Capability β’ Infrastructure β’ Victim
Each feature assigned a confidence level.
IR EXERCISES & TRAINING
β’ Tabletop exercises β’ Walkthroughs β’ Simulations β’ Red Team vs Blue Team
Exercises develop competencies and identify deficiencies. Incident Response, Disaster Recovery, and Business Continuity training may overlap.
DIGITAL FORENSICS
Techniques to collect and preserve evidence demonstrating no tampering or manipulation. Forensic procedures are detailed and time-consuming, while IR is usually urgent. If forensic collection is required, it must be specified early.
Retention Policy: Important for retrospective incident handling and threat hunting. Defines how long logs and data are retained. Without retention, later investigations may be impossible.
UTILIZING APPROPRIATE DATA SOURCES
Incident identification involves prioritizing and investigating urgent alerts. Process includes collating: β’ Log files β’ Error messages β’ IDS alerts β’ Firewall alerts
Establish baselines to identify anomalies. Determine whether events are incidents or precursors.
Reporting Channels: β’ Automated systems β’ Manual or physical inspection β’ Confidential employee reporting β’ Vendor and third-party intelligence feeds
FIRST RESPONDER
First person or team to arrive at incident scene. Analyzes event, determines legitimacy, and initiates response. Training and awareness reduce false positives and negatives.
SIEM β SECURITY INFORMATION AND EVENT MANAGEMENT
SIEM parses network traffic and logs from multiple sources. Normalizes data into standard fields. Runs correlation rules to detect incidents. Supports AI-assisted analysis and anomaly detection. Implements retention policies. Provides dashboards for analysts and managers.
Correlation: Interpreting relationships between data points to identify significant events.
Correlation Rule Outcomes: β’ Log Only β Event recorded. β’ Alert β Listed for analyst review. β’ Alarm β Automatically classified as critical.
Challenges: β’ Tuning sensitivity to reduce false positives and negatives. β’ False Negative β Missed event. β’ False Positive β Incorrect alert.
TREND ANALYSIS
Detecting patterns over time. Requires visualization tools.
Types: β’ Frequency-based β’ Volume-based β’ Statistical deviation β’ Bandwidth analysis
LOGGING PLATFORMS
β’ Syslog β UDP port 514, RFC 5424. β’ Rsyslog β TCP support, secure connections. β’ Syslog-NG β Advanced filtering. β’ Journald / journalctl β systemd logging. β’ NXLog β Windows log collection.
SYSTEM & NETWORK LOGS
Windows Event Log Categories: β’ Security β’ Application β’ System β’ Setup β’ Forwarded Events
Authentication Logs record login attempts. Vulnerability Scan Output identifies unpatched vulnerabilities.
NETWORK DATA SOURCES
β’ Protocol Analyzers (Packet Capture) β’ Retrospective Network Analysis (RNA) β’ Flow Collectors β NetFlow / IPFIX
APPLICATION & SERVICE LOGS
β’ DNS logs β’ VoIP / SIP / RTP logs β’ Web server HTTP access logs β’ Common Log Format (CLF) and W3C Extended
HTTP Status Codes: β’ 400 range β Client errors β’ 500 range β Server errors
MEMORY & EMAIL METADATA
β’ Dump files β System memory images. β’ Email headers β Sender, recipient, routing servers. β’ Metadata supports timeline reconstruction.
FILE & MOBILE METADATA
β’ File attributes and permissions. β’ Linux ls command for metadata. β’ Mobile CDRs β Calls, SMS, duration, towers. β’ Retention governed by law.
Incident Response is a highly pressured activity, with the conflicting challenges of eliminating the intrusion without disrupting business workflows. Incidents cover a wide range of scenarios, technologies, and motivations.
Key questions facing the IR team include:
Many complex issues arise once an incident has been identified:
Containment techniques are classified as:
Isolation involves removing an affected component.
Segmentation is a means of achieving isolation from a larger environment or from a group of hosts using network architecture.
Advanced segmentation techniques:
Analysis of an attack should identify the vector exploited by the attacker. This analysis is used to identify configuration changes that block that attack vector.
Incident eradication alone is not sufficient. Recovery focuses on restoration of capabilities and services.
Apply strict egress (outgoing traffic) filtering rules to prevent malware from communicating with C2 servers.
DLP mediates the copying of tagged data to restrict transfer to authorized media and services.
Attack considerations:
Compromise of a private key or the ability to present spoofed certificates is a severe security vulnerability.
Required actions:
Intrusions may reveal:
MDM templates must be reviewed and corrected.
Endpoint security breaches require analysis of multiple vectors:
Consider adopting a deny-unless-authorized (least privilege) model.
If further evidence is required:
User and Entity Behavior Analytics (UEBA):
Risks:
Mitigation:
Automation: executing a single action
Orchestration: coordinating multiple automated and manual actions into a complex workflow
SOAR characteristics:
Capabilities:
Digital forensics is the process of gathering and submitting computer evidence acceptable to a court of law.
Characteristics:
E-discovery tools assist in:
From most volatile to least volatile:
Data acquisition is the process of obtaining a forensically sound copy of data.
Principles:
Methods:
Linux tools:
dddcflddChallenges:
Mitigations:
PERFORMING INCIDENT RESPONSE
Incident Response means investigating the alerts captured by the monitoring systems and issues reported by teams. A very critical security function for a security professional.
β’ Ensure to summarize the phases of incident handling. β’ Utilize appropriate data sources to assist an investigation. β’ Apply mitigation techniques to secure the environment after an event. β’ Effective incident response is governed by formal policies and procedures, setting out roles and responsibilities for an IR team.
PREPARATION
Incident Response policy sets the resources, processes, and guidelines for dealing with security incidents. A vital task to mitigating risk incident impact, as well as controlling the immediate specific threat to security. Effective incident response preserves organizational reputation.
NIST Computer Security Incident Handling Guide, Special Publication 800β61, sets out principal stages and an incident response lifecycle. A wellβdefined lifecycle consists of multiple phases.
PHASES OF INCIDENT RESPONSE LIFECYCLE
β’ Preparation β’ Identification β’ Containment β’ Eradication β’ Recovery β’ PostβIncident Activity
Preparation: β’ Make the system resilient to attack in the first place. β’ Hardening the system. β’ Creating policies and procedures. β’ Setting up consistent lines of communication. β’ Creating the required resources and procedures.
Identification: β’ Derived from information in alerts and report logs. β’ Determining if an incident has taken place. β’ Assess how severe it might be (triage). β’ Notify stakeholders.
Containment: β’ Limit the scope and magnitude of the incident. β’ The principal aim is to secure data while limiting immediate impact on customers and business operations.
Eradication: β’ After the incident is contained, remove the cause. β’ Restore affected systems to a secure state. β’ Apply secure configuration settings. β’ Install patches and updates.
Recovery: β’ Reintegrating sanitized systems and networks back into business process workflows. β’ Restore data. β’ Prevent recurrence of the attack.
Lessons Learned / PostβIncident Activity: β’ Analyze the incident and responses. β’ Identify whether procedures or systems could be improved. β’ Imperative to document the incident. β’ Output feeds back into a new preparation cycle.
Incident Response often requires coordinated action and authorization from several departments, adding further levels of complexity. Team members should be rotated periodically to reduce the possibility of insider infiltration.
One challenge is defining and categorizing types of incidents. An incident is generally described as an event where security is breached or there is an attempted breach. NIST describes an incident as: βAn act of violating an explicit or implied security policy.β
TRIAGE
To manage incidents, develop methods of reporting, categorizing, and prioritizing. Some troubleshooting support incidents can be logged similarly. A dedicated team serves as a single point of contact for notifications.
Security incident response teams include: β’ SIRT β Security Incident Response Team β’ CERT β Computer Emergency Response Team β’ CIRT β Computer Incident Response Team β’ SOCβbased Incident Response Teams
These teams require a mixture of trained senior decisionβmakers who can authorize actions for serious incidents, and administrators and technicians who handle minor incidents. For major incidents, expertise from other business divisions may be required.
Key Supporting Functions: β’ Legal β Evaluate IR from a compliance and regulatory perspective; liaison with law enforcement; impacts on employees. β’ Human Resources β Contracts, employee monitoring rights, mediation of negative impacts. β’ Marketing / PR β Managing publicity from serious incidents effectively.
Availability: IR teams require 24/7 availability, which is expensive; some organizations outsource to thirdβparty incident response providers. External agents may deal more effectively with insider threats.
IR POLICIES & COMMUNICATIONS
IR policies define clear lines of communication: β’ Reporting incidents β’ Notifying affected parties β’ Preventing inadvertent release of information
Trusted parties authorized to handle incidents must be identified. Status and event details should be circulated on a needβtoβknow basis.
Stakeholders may include authorities and affected parties. Consider obligations to report attacks promptly. Maintain a document listing internal contacts for notification and collaboration. Consider monitoring and PR impact of incidents. Demonstrate to customers that systems have improved.
OutβofβBand Communications: β’ Communication methods that cannot be intercepted by adversaries. β’ Do not alert adversaries to detection and remediation actions. β’ Do not use compromised communication channels. β’ Use separate systems for file/data exchange. β’ Use digital signatures and encryption keys. β’ Endβtoβend encryption or offβtheβrecord (OTR) systems. β’ Ensure email systems support message encryption (S/MIME, PGP). β’ Do not release privileged information to untrusted parties.
Incident Response fits into overall Enterprise Risk Management (ERM) and cybersecurity resilience.
INCIDENT RESPONSE PLAN
Defines procedures, contacts, and resources available for various incident categories. IR teams develop profiles and scenarios of typical incidents. These guide prioritization and remediation.
Playbooks: β’ Checklists of actions to detect and respond to specific incidents. β’ Runbooks β SOARβintegrated operational procedures.
Incident categories and definitions ensure shared understanding among response team members. Definitions may vary by industry.
INCIDENT PRIORITIZATION FACTORS
β’ Data Integrity β Value of data at risk. β’ Downtime β Degree of business disruption. β’ Asset Inventory and Risk Assessment. β’ Incidents may degrade or interrupt availability. β’ Scope β Number of systems affected (not always priority indicator). β’ Publicity β Shortβterm IR costs and lost opportunities. β’ Economic Impact β Longβterm reputational damage. β’ Detection Time β Speed of detection and response. β’ Recovery Time β Length of remediation and restoration.
Extended recovery periods can reduce alertness and control effectiveness.
THREAT INTELLIGENCE & FRAMEWORKS
Effective Incident Response depends on threat intelligence and threat research.
LOCKHEED MARTIN CYBER KILL CHAIN
MITRE ATT&CK Framework: β’ Database of known TTPs. β’ Techniques tagged with unique IDs. β’ Free resource (attack.mitre.org). β’ Enables comparison of adversary behaviors. β’ Analysts interpret attack lifecycle contextually.
DIAMOND MODEL OF INTRUSION ANALYSIS
Analyzes intrusion events via relationships between: β’ Adversary β’ Capability β’ Infrastructure β’ Victim
Each feature assigned a confidence level.
IR EXERCISES & TRAINING
β’ Tabletop exercises β’ Walkthroughs β’ Simulations β’ Red Team vs Blue Team
Exercises develop competencies and identify deficiencies. Incident Response, Disaster Recovery, and Business Continuity training may overlap.
DIGITAL FORENSICS
Techniques to collect and preserve evidence demonstrating no tampering or manipulation. Forensic procedures are detailed and timeβconsuming, while IR is usually urgent. If forensic collection is required, it must be specified early.
Retention Policy: Important for retrospective incident handling and threat hunting. Defines how long logs and data are retained. Without retention, later investigations may be impossible.
UTILIZING APPROPRIATE DATA SOURCES
Incident identification involves prioritizing and investigating urgent alerts. Process includes collating: β’ Log files β’ Error messages β’ IDS alerts β’ Firewall alerts
Establish baselines to identify anomalies. Determine whether events are incidents or precursors.
Reporting Channels: β’ Automated systems β’ Manual or physical inspection β’ Confidential employee reporting β’ Vendor and thirdβparty intelligence feeds
FIRST RESPONDER
First person or team to arrive at incident scene. Analyzes event, determines legitimacy, and initiates response. Training and awareness reduce false positives and negatives.
SIEM β SECURITY INFORMATION AND EVENT MANAGEMENT
SIEM parses network traffic and logs from multiple sources. Normalizes data into standard fields. Runs correlation rules to detect incidents. Supports AIβassisted analysis and anomaly detection. Implements retention policies. Provides dashboards for analysts and managers.
Correlation: Interpreting relationships between data points to identify significant events.
Correlation Rule Outcomes: β’ Log Only β Event recorded. β’ Alert β Listed for analyst review. β’ Alarm β Automatically classified as critical.
Challenges: β’ Tuning sensitivity to reduce false positives and negatives. β’ False Negative β Missed event. β’ False Positive β Incorrect alert.
TREND ANALYSIS
Detecting patterns over time. Requires visualization tools.
Types: β’ Frequencyβbased β’ Volumeβbased β’ Statistical deviation β’ Bandwidth analysis
LOGGING PLATFORMS
β’ Syslog β UDP port 514, RFC 5424. β’ Rsyslog β TCP support, secure connections. β’ SyslogβNG β Advanced filtering. β’ Journald / journalctl β systemd logging. β’ NXLog β Windows log collection.
SYSTEM & NETWORK LOGS
Windows Event Log Categories: β’ Security β’ Application β’ System β’ Setup β’ Forwarded Events
Authentication Logs record login attempts. Vulnerability Scan Output identifies unpatched vulnerabilities.
NETWORK DATA SOURCES
β’ Protocol Analyzers (Packet Capture) β’ Retrospective Network Analysis (RNA) β’ Flow Collectors β NetFlow / IPFIX
APPLICATION & SERVICE LOGS
β’ DNS logs β’ VoIP / SIP / RTP logs β’ Web server HTTP access logs β’ Common Log Format (CLF) and W3C Extended
HTTP Status Codes: β’ 400 range β Client errors β’ 500 range β Server errors
MEMORY & EMAIL METADATA
β’ Dump files β System memory images. β’ Email headers β Sender, recipient, routing servers. β’ Metadata supports timeline reconstruction.
FILE & MOBILE METADATA
β’ File attributes and permissions. β’ Linux ls command for metadata. β’ Mobile CDRs β Calls, SMS, duration, towers. β’ Retention governed by law.
Do not delete content for the sake of visual cleanliness or flow. Technical density is preferred over brevity.
One of the key properties of a resilient system is High Availability. A corollary of this property is Downtime.
MTTR (Mean Time to Repair) is a measurable downtime metric expressing the cumulative availability requirements for a particular box or module.
For a critical system, availability will be described as:
Downtime is calculated from the sum of scheduled service intervals plus unplanned outages over a period.
High availability also means a system is able to cope with rapid growth in demand (scalability / elasticity).
A system that can experience failures yet continue to provide the same (or nearly the same) level of service is said to be Fault Tolerant, often achieved by provisioning redundancy for critical components and eliminating Single Points of Failure (SPOF).
A redundant component is one that is not essential to normal operation but allows recovery from failure of another component.
Examples:
While backup provides data integrity, restoring from backup requires:
Disk redundancy ensures continued operation even if one or more storage devices fail.
RAID mirroring and parity implement replication plus storage efficiency.
Storage systems configured as RAID use multiple disks acting as backups for each other to increase reliability and fault tolerance.
The RAID Advisory Board defines RAID levels (0β6), each providing different fault tolerance characteristics.
Nested RAID improves performance and redundancy.
Where RAID provides redundancy for storage devices, Multipath focuses on bus connections between SAN servers and storage devices, provisioning controllers and cabling to ensure failover paths.
Data replication maintains exact copies of data at multiple geographic locations.
Geographic dispersal protects against natural disasters.
Replication types:
Cloud providers commonly implement geo-redundancy across regions.
No cybersecurity program is complete without tested backup and restore systems for critical data and configurations.
Every Business Continuity and Disaster Recovery Plan relies on backups.
Data retention is determined by how often media sets are overwritten.
Recovery objectives:
Trade-offs exist between backup time and restore time.
Snapshots are point-in-time copies maintained by the file system.
Image backups duplicate an OS installation including software, settings, and data.
Configuration management ensures ICT infrastructure components remain in a controlled and trusted state.
Formal process for requesting, approving, and documenting changes.
Tracks all organizational assets using inventories.
Attributes include:
Consistent naming improves automation, error detection, and management.
Provides centralized management of IP address allocation.
Security policies define responsibilities to protect the CIA triad.
Defines permitted and prohibited system use.
Defines conditions for employee-owned devices.
Prevents unauthorized transfer of sensitive data.
Restrict access using least privilege and enforce security controls.
CYBERSECURITY RESILIENCE
How to Implement Redundancy Strategies
One of the key properties of a resilient system is High Availability. A corollary of this property is Downtime.
MTTR - Maximum Tolerable Downtime metric expresses the crucial availability requirement for a particular business function.
For a critical system, availability will be described as 2-nines (99%) up to 5-nines (99.999%) or 6-nines (99.9999%).
Downtime is calculated from the sum of scheduled service intervals plus unplanned outages over a period.
High Availability also means if a system is able to cope with rapid growth in demand - Scalability or Elasticity.
A system that can experience failures yet continue to provide the same (or nearly the same) level of service is said to be Fault Tolerant; often achieved by provisioning redundancy for critical components and SPOF (Single Points of Failure).
A Redundant Component is one that is not essential to the normal function of a system but that allows a system to recover from the failure of another component.
POWER REDUNDANCY β Dual power supplies, battery backups, uninterruptible power supplies (UPS)
NETWORK REDUNDANCY β Network Interface Card (NIC) Teaming & Switching/Routing; Load Balancers
DISK REDUNDANCY β While backup provides integrity for when a disk fails, to restore from backup will require installing a new storage unit, restoring the data, and testing the system configuration, all too slow.
Disk redundancy ensures that a server can continue to operate if one, or possibly more, storage devices fail.
RAID Mirroring is primarily implements replication across storage devices.
A storage system configured as a RAID has multiple disks act as backups for each other to increase reliability and fault tolerance. PROPRIETARY RAID solutions exist.
The RAID Advisory Board defines RAID levels, numbered from 0-6, representing corresponding to specific type of fault tolerance:
LEVEL 0 β Refers to striping without parity (equilibrium). Data is written in blocks across several disks simultaneously but with no redundancy. Improves performance, but if 1 disk fails, whole volume data becomes corrupt.
LEVEL 1 β Mirroring means that data is written to two disks simultaneously, providing redundancy. Main drawback is that storage efficiency is only 50%.
LEVEL 5 β This allows the volume to continue if one disk is lost. Better storage efficiency. Striping with parity means that data is written across 3 or more disks.
LEVEL 6 β Striping with double parity, allows the volume to continue when 2 devices have been lost.
NESTED RAID β Supports the failure of more than one disk to improve performance. In a nested RAID, generally improves performance or redundancy.
STRIPING β Divide data into blocks and spread it across multiple disks simultaneously
MIRRORING β Duplicating data across multiple disks
PARITY β Storing additional info to reconstruct data in event of disk failure
Where RAID provides redundancy for storage devices, Multipath is focused on the bus connections between the SAN server and the storage devices (RAID array); provisioning controllers and cabling so that what has failover connections to storage media.
Multipath I/O ensures that there is a controller failover between multiple host paths to servers.
Redundancy can be provided within SANs, and replication can also take place between SANs using WAN links.
Data Replication β Terminology that maintains exact copies of data at more than one geolocation (site). Useful if one site becomes unavailable.
Database β DB can be replicated between multi-servers/sites. Important to maintain consistency between replicas - DB Integrity.
Virtual Machine β The same VM instance may need to be deployed in multiple locations. This can be achieved by replicating the VM's disk image and configuration settings.
Geographic Dispersal β Refers to a resiliency mechanism where data storage resources are replicated between physically distant sites to protect against natural disaster; also described as geo-redundant solution.
SYNCHRONOUS Replication is designed to write data to all replicas simultaneously; all replicas have same data at all times. Synchronous is a good choice for a solution that requires data in multiple locations to be consistent.
ASYNCHRONOUS Replication writes data to the primary storage site first, then copies data to the replicas at scheduled intervals.
Many geo-redundant replication services rely on asynchronous replication due to the distances between data centers in multiple regions. Cost is one of the big drivers of cloud services, where local to geographic redundancy are built into the platform (i.e. if you trust your CSP to operate effectively).
For example, in the cloud, geo-redundancy replicates data or services between data centers physically located in 2 different regions. Disasters that can occur at regional level should not impact availability across all regions.
No cybersecurity program is complete without an effective and tested system for backing up and restoring critical data and system configurations. Select appropriate backup types and media for different scenarios.
Explain how non-persistence can achieve more secure systems
Every Business Continuity and Disaster Recovery plan makes use of backups. Data retention needs to be considered.
Data Retention is determined by how often the target media sets are re-written or overwritten.
SHORT-TERM - Files that change frequently might need retaining for version control. Important in recovery.
LONG-TERM - May be moved to archive storage. Data need to be stored to meet legal requirements/industry standards.
Any data that must be retained in a particular version past the oldest media sets should be moved to archive storage.
Backups are kept to certain points in time. Storage Management routines reduce the amount of data occupying backup storage media while giving adequate coverage of the required recovery window. What is determined by the Recovery Point Objective (RPO); which is determined through business continuity planning along with MTD, WRT, RTO.
Advanced Backup Software can prevent media sets from being overwritten in line with specified retention policy.
Windows supports a file archive attribute to determine new files to include or files modified since last backup.
Linux doesn't support an archive attribute; rather a date/time stamp is used to determine whether file has been modified or not.
| Backup Type | Description | Backup Time | Restore Time | Archive Attribute |
|---|---|---|---|---|
| FULL BACKUP | All selected data regardless of when it was previously backed up | High | Low | Archive Attribute - Cleared |
| INCREMENTAL BACKUP | New files & files modified since previous backup | Low | High | Archive Attribute - Cleared |
| DIFFERENTIAL BACKUP | All new & modified files since the last full backup | Moderate | Moderate | Archive Attribute - NOT Cleared |
Factors determining use of backup method include the time it takes to restore from backup vs time to backup.
Assuming a backup is performed every working day, an Incremental Backup only includes files changed during that day, while Differential Backup includes all files changed since last full backup (i.e. maybe days ago).
Incremental Backups - Selected files that have changed since last full or incremental backup are backed up (whichever was most recent) - Increasing Volume
Differential Backups - Selected files that have changed since last full backup are backed up (meaning multiple backups) - Increasing Backup Volume
Incremental backups save backup time but can be more time consuming when the system must be restored. The system must be restored from the last full backup tape set and then from each incremental backup tape set that has subsequently occurred.
A Differential backup system only requires 2 tape sets when restoration is required: One holding the last full backup and one holding the differential backup.
Do not combine I & D backups; use full backups interspersed with either Incremental or Differential backup but not both.
Copy Backups - Are made as clones/images, outside the tape rotation system; do not affect archive attribute.
SNAPSHOTS - A point-in-time copy of data maintained by the file system; a means of getting around the problem of open files and running line processes where data is being used and modified all the time.
In Windows, snapshots are provided for on NTFS volumes by the Volume Shadow Copy Service (VSS) which makes snapshot backups of files even if they are open; used for backup/system restore/previous version features.
VIRTUAL MACHINE MANAGERS (VMM) usually take snapshot or cloned copies of virtual machines.
Image Backup - Images are duplicates of an OS installation (including installed software, settings and data) stored on removable media; typically used for deploying baseline configured OS installation to multiple PCs.
Imaging - Copying the structure and contents of a physical hard disk device or logical volume to a single file. Allows systems to be re-deployed quickly without having to reinstall 3rd party software, patches, configurations.
A data backup has the same level of confidentiality and integrity requirements as its source data; it also has its own availability requirement. Backup media is physically secured by restricting access to a part of organization building.
Plan for events that could compromise both the live data and the backup set, leaving the organization without a data backup.
Online Backup System is instantly available to perform a backup or restore operation without an admin having to transport or connect a device.
Offline Backup is disconnected from the host and must be connected manually by admin.
Online backup system is faster, but less secure than the offline backup system. Consider the case of Crypto-Ransomware for instance.
Distance Consideration is a calculation of how far offsite the backup needs to be kept (located).
On one hand, the media must be kept far away enough not to be damaged by the disaster, but media access should not slow down a recovery.
Without a network that can support the required bandwidth, the offsite media must be physically brought onsite. The latest backup performed and then removed to offsite storage again. High bandwidth Internet and high capacity cloud storage providers have made offsite solutions easier.
The 3-2-1 Rule states that you should have:
1. DISK - Removable HDD and SSD - Excellent low-cost option for SOHO (Small Office/Home Office) network backup
2. NETWORK ATTACHED STORAGE (NAS) - Over common network protocol (i.e. SMB, FTP), accessed via an IP address
3. TAPE - Magnetic tape media provides robust, high-speed, high-capacity backup storage
4. SANs & CLOUD STORAGE - Direct Attached Storage (DAS) usually over Serial Attached SCSI (SAS)
SANs is a network dedicated to data storage, consisting of storage devices and servers connected to switches via Host Bus Adapter. Where NAS uses file-level access to storage, a SAN is based on block-level addressing.
A SAN can incorporate RAID arrays or tape systems within the storage network.
SAN can achieve offsite storage through data replication.
A concept that dictates the sequence in which systems must be brought back online during a disaster recovery. If systems are brought back online in an uncontrolled way, there is serious risk of causing additional power problems or of causing problems in network/OS/app layers because dependencies between different applications or servers have not been properly met.
1. Power Infrastructure
2. Network Architecture
3. Network Security Appliances
4. Critical Network Servers
5. Back-End & Middleware
6. Front-End Applications
7. Client Workstations
NON-PERSISTENCE - The property by which a computing environment is discarded once finished with a task.
Means that any given instance is completely static in terms of processing function.
Data is separated from the instance so that it can be swapped out for a "new copy" without suffering any configuration problems.
SNAPSHOT/REVERT TO KNOWN STATE - A saved system state that can be reapplied to the instance
LIVE BOOT MEDIA - Instance that boots from read-only storage (flash memory) to memory rather than being installed on a local read/write hard disk
AUTOMATED SYSTEM FOR BACKUPS - Use different types of mastery instructions to provision a new/replace an instance
MASTER IMAGE - Faster than using template; involves more work in keeping up-to-date images
TEMPLATE BUILD - Rather than storing a master image, the software may build to provision an instance according to the template build instructions
An automated solution for Incident Response Plan (IRP) and Disaster Recovery Plan (DRP) will have a dashboard of key indicators to evaluate metrics such as:
A process that ensures that a recovery solution is working at each layer:
Effective site management and cybersecurity resilience depends on:
Crucial that documentation is kept up to date, else future IRP and DRP responses suffer confusion and errors.
Defense in Depth and Control Diversity are crucial in designing resilient systems.
Deception and Disruption Tactics help to increase the cost of attacks and so deter them.
Defense in Depth Principles:
Network Properties
The process through which an organization's information systems components are kept in a controlled state/trusted state.
CHANGE CONTROL & CHANGE MANAGEMENT reduces the risk that changes to these components could cause service disruption. A process through which changes to the configuration of information systems are implemented as part of controlled systems.
Tracks all the organization's critical systems, components, devices and other objects of value in an inventory. An asset management database can be configured to store as much or as little info as deemed necessary:
Tangible Assets can be identified using:
As well as an ID attribute, location is a function of tangible digital assets that can be recorded using attribute tags and fields.
Applying consistent names and labels to assets and digital resources/identities within a configuration management system for hardware assets and digital assets (i.e. accounts and VM instances) makes the environment more consistent.
This means that errors are easier to spot and that it is easier to automate through scripting.
The naming strategy should allow admins to identify the type and function of any particular resource and location at any point in the CMS (Configuration Management System) or network directory.
Change control and defined procedures for requesting, recording and approving changes within an overall configuration management system.
The documentation of IP address space division into subnets.
Using consistent addressing methodology makes it easier to:
IP Schema should identify IP addresses reserved for manual/static allocation and DHCP address pools.
Software suites consolidating management of multiple DHCP and DNS services to provide oversight into IP address allocation across an enterprise network.
The cabling, switches, routers, security appliances, servers and clients that make up a local network must all be located within a site. Managing a site so that the network is highly available and secure involves creating policies and best practices, supported by documentation.
Site management can also ensure the management of:
Explain how configuration management documentation, written policies and best practices are used to manage and troubleshoot networks
Explain organizational documentation and policies
Operating plans, procedures and configuration management are means of identifying and documenting all the infrastructure devices installed at a site.
ITIL (Information Technology Infrastructure Library) is a popular documentation of good practice activities and processes for delivering IT services.
Under ITIL, configuration management is implemented using the following elements:
i. Service Assets - Objects, processes or people that contribute to the delivery of an IT service; identified by label and defined by their attributes
ii. Configuration Item [CI] - An asset that requires specific management procedures for it to be used to deliver the service
iii. Baseline - Documents the approved/authorized state of a CI
iv. Configuration Management System [CMS] - The tools and database that collect, store, manage, update and present information
A documented change management process minimizes the risk of unscheduled downtime by implementing changes in a planned and controlled way.
Need for change is often described as:
In a formal change management process, the reasons for change and the procedure for implementing the change is captured in a Request for Change [RFC] document, submitted for approval through a Change Advisory Board [CAB].
A Standard Operating Procedure [SOP] sets out the principal goals and considerations, such as:
SOP identifies lines of responsibility, authority and authorization for performing it. SOP contains detailed steps for completing a task in an approved way or these steps may be presented as work instructions.
CRUCIAL TO HAVE AN INVENTORY OF TANGIBLE AND INTANGIBLE ASSETS
An Audit Report focuses on identifying and recording assets (or CIs). An asset management database can be configured to store as much or as little info as deemed necessary:
Assessment Reports evaluate the configuration and deployment of those assets (i.e. deviation from baseline). The report will make recommendations where the network is not meeting goals for performance or security.
Audit and assessment reports are often contracted to third parties and are driven by regulatory/compliance demands.
One of the functions of auditing and assessment is to manage System Life Cycle Roadmap, which refers to the controlled acquisition, deployment, use and decommissioning of assets/configuration items.
Audit and assessment reports can identify assets that are no longer fully supported by the vendor or meet requirements.
Assets and CI documentation makes significant use of diagrams; the best way to capture the complex relationships between network elements. A basic distinction exists between physical and logical network diagrams.
i. FLOOR PLAN - A detailed diagram of cable wiring and port locations
ii. WIRING DIAGRAM (PIN-OUT) - Shows detailed info about the termination of twisted pairs in an RJ-45/RJ-48C jack or Insulation Displacement Connector (IDC); also documents how fiber-optic strands are terminated. Ensure to use same wiring standard consistently throughout the network.
iii. DISTRIBUTION FRAME - A port location diagram identifies how wall ports located in work areas are connected to ports in a distribution frame (patch panel) from the patch panel ports to the switch ports.
Main Distribution Frame (MDF) - The location for core/central internal switching and terminating trunk lines from multiple IDFs. The MDF also serves as the location for termination of external WAN circuits.
Intermediate Distribution Frame (IDF) - IDF provides termination for access layer switches that serve a given area (i.e. a single floor). Each IDF has a trunk link to the MDF. Ensure they are clearly labeled.
In addition to having a diagram, a photo (visual reference) of the current setup is very useful.
In order for a physical diagram to make any sense, there must be a system of labeling in place for identifying these assets. A typical naming convention is for alpha-numeric identifiers for various sites.
Example: CB01-014-201
Structured cable patch cords should be labeled at both ends to fully identify its circuit.
SITE SURVEY REPORT - This overlays a floor plan/blueprint with graphics showing signal strength and channel utilization at different points in the building. Important for wireless deployments.
Specially configured steel shelving system for patch panels, switches, routers and servers. Racks are standard widths fitting appliances using standard height multiples of 1.75" called unit (U).
A Rack Diagram records the position of each appliance in the rack. Obtaining a stencil that represents vendor equipment from their websites or a collection such as VISIO CAFE.com.
Recording key configuration info, service tags, port ID and links for each item using labels is crucial.
Use of representative icons/pictures/drawings of actual product models.
In contrast to blueprint diagrams drawn to an accurate scale, a Schematic is a simplified and abstract representation of a system.
In terms of topology, a schematic diagram can show general placement of equipment, CIs and ports without trying to capture the exact position or relative size of any one element. It can also be used to represent the logical structure of the network in terms of zones/areas/subnets.
Resist the urge to represent too much in a single diagram when creating schematics.
1. PHYSICAL LAYER - Asset IDs, cable links - Use color coding or line styles to represent the cable type
2. DATA LINK LAYER (Layer 2) - Show interconnections between devices with asset ID, configuration IP/MAC of the appliance
3. LOGICAL (IP/Layer 3) - Use IP address of routers, firewalls, VPN, proxy interfaces and links showing the IP network and netmask, VLAN ID and DHCP scopes (subnets). Link layer protocols and bandwidth.
4. APPLICATION LAYER - Use server instances, TCP/UDP ports in use, configuration info and performance baselines at this level
Security response plans and procedures establish what to do when certain types of events occur, aiming to anticipate adverse events and effects so that impacts can be minimized.
A Incident Response Plan sets out the procedures, plans, tools, methods of communication and guidance for dealing with security incidents.
One of the most difficult areas of security to plan for and implement because it can be incompatible, also requiring coordinated action and authorization from several different departments, admins/managers, adds further level of complexity.
Immediate Aim - To protect data, minimize impacts and reestablish a secure working system
Evidence Preservation - Important to preserve evidence of the incident with the aim of prosecuting threat actors. Forensic evidence collection can interfere with reestablishing availability.
Follow-Up/Lessons Learned - Analysis will attempt to prevent reoccurrence of similar incidents.
Addresses large-scale incidents rather than individual security incidents. Such incidents threaten the performance or security of a whole site.
A collection of processes and resources that enable an organization to maintain normal business operations in the face of adverse events.
Business Impact Analysis (BIA) - Identifies mission essential and primary business functions and the risks that would arise if the organization cannot fulfill them.
IT Contingency Plan (ITCP) - Ensures that these functions (mission essential) are supported by resilient IT systems, working to identify and mitigate all single points of failure from a process or function.
Mission Essential Function (MEF) - Means an organization must be able to perform the function as close to continually as possible, and MEF is a priority.
Planning for disaster and designing systems for high availability is critical to supporting these mission essential functions.
The plans used to minimize the risk of site-wide availability problems are referred to as BUSINESS CONTINUITY, while the plans used to mitigate these issues if they do occur are called DISASTER RECOVERY.
One of the key properties of a resilient IT system is Availability.
Availability - Percentage of time that the system is online, measured over a certain time period
Downtime - The corollary of availability; percentage of time during which the system is unavailable
Maximum Tolerable Downtime (MTD) - Metric states the requirement for a business function.
Where downtime is calculated from the sum of:
High availability is implemented as 24x7 or 24x365.
For a critical system, availability will be described as:
A system where there is almost no scheduled downtime and outages are extremely rare are referred to as CONTINUOUS AVAILABILITY.
Required when there is more than just a commercial imperative but a danger of injury or loss of life associated with system failure.
Examples: IT networks supporting:
The MTD metric sets the upper limit on the amount of recovery time that system and asset owners have to resume operations. Additional metrics can be used to govern recovery operations: RTO + WRT + RPO
The period following a disaster that an individual IT system may remain offline.
Represents the maximum amount of time allowed to identify the problem and perform recovery (restore from backup or switch to alternative processing/backup system).
Following systems recovery, there may be additional work to reintegrate different systems, test overall functionality, brief system users on changes or different working practices so that the mission essential function is fully active.
The amount of data loss that a system can sustain, measured in time units.
Example: If a database is destroyed by a virus with an RPO of 24 hours, means that the data can be recovered from a backup copy to a point not more than 24 hours before the database was affected.
Diagram Reference: Backup recovery time, mission essential function time frame, redundant backup
Business Impact Analysis informs risk assessment by documenting IT workflows that run the business and critical assets and systems that support them. Key metrics quantify how much downtime these systems can withstand.
BIA is the process of assessing what losses might occur for a range of threat scenarios (i.e. hacks).
The likelihood of an attack can be assessed on an annualized basis to determine annualized impact in terms of costs. This provides information required to assess whether a security control to be deployed is worth the investment.
Continuity of Operations Planning (COOP) - Some sort of activities undertaken by a government agency.
BIA identifies risk by documenting workflows, while Business Continuity Planning (BCP) identifies controls and processes that enable an organization to maintain critical workflows amidst adverse event or incident.
Read Network Availability Concepts - Look first page of MTD/RTO/WRT diagram
A Mission Essential Function can't be deferred and must perform without disruption as continually as possible; restored first.
Primary Business Function (PBF) - Functions that act as support for the business or workflow but are themselves referred to as dependencies.
For MEF, it's important to reduce the number of dependencies on components.
Means compiling an inventory of business processes and assets that support them:
People - Employees, visitors, suppliers
Procedures - Supply chains, critical procedures, standard operating procedures
Tangible Assets - Buildings, furniture, machinery, ICT
Intangible Assets - Ideas, reputation, brand, market share
Dependencies are identified by performing a Business Process Analysis (BPA) for each function. BPA identifies the following factors:
INPUTS - Sources of critical data/info for performing the function; staff and other resources supporting function
HARDWARE - Particular server/data center that performs processing
PROCESS - Flow step-by-step description of how a function is performed
OUTPUTS - The data/resources produced by the function
Reducing dependencies means that a system design can ideally eliminate the sort of weakness that emanates from these devices becoming Single Points of Failure (SPOF).
A component that causes a complete interruption of service if it fails, or an asset that causes the entire workflow to fail if it's damaged or unavailable.
SPOF can be mitigated by provisioning redundant components.
Can help determine when and how much redundancy is required:
MTTF - Mean Time To Failure (used for non-repairable assets)
MTBF - Mean Time Between Failures (used for replaceable assets)
MTTR - Mean Time To Repair/Recover (used for replaceable assets)
A site risk assessment evaluates exposure to the following types of risk factors:
Risk from Disaster - Events occur naturally or from person-made causes
Risk from Disruption to Utilities - Such risks are higher in geographically isolated sites
Risk to Health & Safety - From on-premises electromechanical systems or chemicals units
Continuity planning ensures that there is a processing redundancy supporting the workflow where failover is possible.
NIST RMF & ISO 31K - Risk Management Framework
These regulatory and framework compliance requirements are often formalized. Overall framework as a Risk & Control Self Assessment (RCSA), if there is handled by third party or regulator it's Risk Control Assessment (RCA).
Risk Management is a process for identifying, assessing and mitigating vulnerabilities and threats to the essential functions that a business must perform to serve its customers.
The process is performed over 5 phases:
Identify mission essential functions and critical systems including:
Identify vulnerabilities for each function or workflow
Identify threats for each function or workflow
Likelihood & Impact of Security Incident
"Impact is the severity of the risk if realized as a security incident."
Analyzed using qualitative and quantitative statistics.
Analyze business impacts, likelihood and impact of that security incident on critical functions or threat.
Likelihood of a vulnerability being actuated as a security incident.
For each risk, identify possible countermeasures and deploy additional security controls.
RCSA is an internal process undertaken by stakeholders to identify, foster and effectiveness of security controls to mitigate those risks.
The process of identifying risks, analyzing risk, developing a response and risk assessments and strategy for them and mitigating their future impacts.
Site-Specific Risk Assessment
EXTERNAL - i.e. natural disasters, external threat actors
INTERNAL RISK - Comes from organization's owned and managed assets and workflows; can be malicious and accidental/non-malicious
MULTIPARTY RISK - Where an adverse event impacts multiple organizations
INTELLECTUAL PROPERTY (IP) - Data of commercial value that is owned by the organization; copyrighted material, patents, designs
IP Theft - Such IP data is of high economic importance to an organization and if exfiltrated, it loses its commercial value
SOFTWARE COMPLIANCE/LICENSING - Breaking the terms of End User License Agreement (EULA) that imposes conditions on installation of the software/app can expose the IP owner to fines
LEGACY SYSTEMS - Are a source of risk because they no longer receive security updates and low performance
Method of performing risk analysis. Aims to assign concrete values to each risk factor.
Single Loss Expectancy (SLE) - Amount that would be lost in a single occurrence of the risk factor
Exposure Factor (EF) - The percent of an asset's value that would be lost during a security incident or disaster scenario
Annualized Loss Expectancy (ALE) - Total cost of a risk factor to an organization on an annual basis
Annualized Rate of Occurrence (ARO) - Probability/likelihood of a risk as a number of times per year a particular loss is expected to occur
Formula: ALE = (Asset Value) Γ EF Γ ARO
Asset Value is not solely referred to its material value:
Return on Security Investment (ROSI) - [(ALE - ALEm) - Cost of Solution] / Cost of Solution
Disadvantages of Quantitative:
Avoids complexity of quantitative approach.
This approach seeks out people's opinions of which risk factors are significant. Assets and risks are placed in categories:
Risk Categories:
Heat Map/Traffic Light Approach - For each risk, a simple RED, YELLOW, GREEN indicator can be put into each column to represent:
FIPS 199 - Describes how to apply security categorizations into business based on the impact that a breach of security attribute (CIA Triad) will have on an organization as a whole.
NIST describes how to apply security categorizations to information systems.
Potential Impacts Classified As:
Risk Mitigation & Remediation is the overall process of reducing exposure to or the effects/impacts of risk factors to that within an organization's risk appetite.
Inherent Risk - Level of risk before any type of mitigation has been attempted.
Impossible to eliminate risk entirely. You must balance cost of the control with cost associated with the risk.
Aim is to mitigate risk factors to a level of risk an organization can afford.
The overall status of risk management is referred to as RISK POSTURE.
Risk posture shows which risk response options can be identified and prioritized.
Regulatory Requirements - To deploy security controls and make demonstrable efforts to reduce risk. Various legislation and regulation (i.e. SOX, HIPAA, GLBA, PCI DSS) mandate risk controls.
High Value Assets - Regardless of the likelihood of the threat
Threats with High Likelihood - With high Annualized Rate of Occurrence (ARO)
Procedures, Equipment, Software - That increases the likelihood of threats
The response of deploying security controls to reduce the likelihood and/or impact of a threat scenario; thus make a risk incident less likely or less costly.
Practice of ceasing or stopping activity that is risk-bearing. Not a credible option for high value assets, regardless of the likelihood of the threat.
Assigning risk to a 3rd party like an insurance company.
Contract with a supplier that defines liabilities - NIST SP 800-37
Contract with a 3rd party (MSP) that defines roles - Shared Responsibility
Risk to organization reputation remains; however, legal liabilities or fines (financial) are transferred.
Means that no countermeasures are put in place either because the level of risk does not justify the cost of control implementation or there would be unavoidable delay before countermeasures are deployed.
Control Risk - Risk that arises when a control does not provide the level of mitigation that was expected; a measure of how much less effective a security control has become over time.
Control risk refers to a security control that was never effective in mitigating inherent risk.
This illustrates the point that risk management is an ongoing process, requiring continual re-assessments and re-prioritization of assets.
Residual Risk is likelihood and impact after mitigation.
Factors determining the selection of security controls in terms of what level of residual risk is tolerable:
Risk Appetite - An overall budget
Risk Acceptance (Tolerance) - Has scope of a simple system
ROSI Metric - Can be calculated as Return on Security Investment:
Ensure that business stakeholders understand risk scenario, articulated in such a way that the cause, effect/impact of each risk scenario can clearly be understood by the owner of the asset (subject matter expert).
A document highlighting the results of risk assessments in an easily comprehensible format (i.e. Risk Matrix/Heat Map).
Purpose: For management/technicians to understand risks associated with the workflows and systems they manage.
Contains:
They are also depicted as scatterplot graphs where impact and likelihood are each on axis and the plot points are risk items.
In terms of business continuity, a Disaster is an event that would threaten mission essential functions.
An Incident, on the other hand, represents an event where a privacy/security is breached, or there is an attempted breach.
Disaster response involves many of the same principles and procedures as incident response on a larger scale.
1. INTERNAL - Disaster caused by malicious activity or by accident by an employee/contractor
2. EXTERNAL - Caused by threat actors with no privileged access; impacts organization through wider social impacts; disruption of public services or impacts to supply chain
3. PERSON-MADE - i.e. Human agency is primary cause
4. ENVIRONMENTAL (NATURAL) - Disaster events
A documented and resourced plan showing actions and responsibilities to be used in response to critical incidents.
Describes specific procedures to follow to recover a system/site to a working state following a disaster-level event.
1. Identify Scenarios for Disasters & Options for Protecting Systems
Plans need to account for risks and cost. The business case is made by comparing the cost of recovery measures vs. cost of downtime. Recovery plan should not generally exceed the downtime cost.
2. Identify Tasks, Resources, Responsibilities for Responding to a Disaster
3. Train Staff in the Disaster Planning Procedures & How to React Well to Change
DRP should identify stakeholders (regulatory, regulatory, customers, team members) with impacts to life and safety.
Difficult to evaluate how effective or functional a recovery plan is due to extreme rare cases of disaster-level events.
WALKTHROUGHS, SEMINARS, WORKSHOPS - Provide basic awareness training for DRP team members. Doesn't provide practical evidence of things that could go wrong or estimate time to fix.
TABLE TOP EXERCISES - Simulate procedures as they would in a disaster, without creating disaster conditions. Mock actor-based sessions; employees can validate DRP by performing scenario-based activity in a simulated interactive environment.
FUNCTIONAL EXERCISES - Action-based sessions that reflect real situations; exercises are held on-site to use real equipment and real personnel as much as possible.
FULL SCALE EXERCISES - As realistic as possible disaster simulation.
Disaster recovery requires considerable resources, such as shifting processing to an alternate secondary site.
The outputs of risk assessments and business impact analysis will identify vulnerable business processes. To reduce the risks in these processes, you can make the IT systems and other business systems that support them resilient to failure by installing and configuring systems that provide redundancy.
A Recovery/Spare Site is another location that can provide the same (or similar) level of service.
A disaster or systems failure at one site will cause service to failover to the alternate processing site.
Disaster recovery planning must demonstrate:
HOT SITE - Can handle failover almost immediately if site is already within organization ownership and ready to deploy. Hot site consists of a building with fully operational equipment, kept up-to-date with live data set.
WARM SITE - Could be similar to hot site, but with requirement that latest data set will need to be loaded.
COLD SITE - Takes longer to setup; consists of empty building with a lease agreement in place to install equipment.
RECIPROCAL ARRANGEMENTS - Providing redundancy is expensive, especially during nation-wide emergency. A cost-effective option is for businesses to enter into reciprocal arrangements providing mutual support to one another.
CLOUD SITE - The most cost-effective solution; processing and data storage to cloud operators, which should be able to maintain service to redundancy so that geographic disaster in one area does not disrupt service operation. Because the cloud will be supported by datacenters in a different geographic region.
Reliability of an individual site doesn't solely depend on IT systems. A site must be provisioned with:
HVAC (Heating, Ventilation, Air Conditioning) - Building control systems maintain optimum working environment and mitigate the loss of availability through mechanical issues with equipment or system components.
Basic elements of fire safety includes:
Fire suppression works based on removing any of the elements in the Fire Triangle: [Heat, Oxygen, Fuel]
Portable fire extinguishers come in different types designed for fighting a particular class of fire. Notably, Class C Extinguishers are gas-based and can be used where risk of electric shock makes others unsuitable.
WET-PIPE SPRINKLERS - Work automatically, triggered by heat, discharging water held at high pressure in pipes; with risk of burst pipes and accidental triggering. Several alternatives include:
DRY PIPE - Used in cold climates (i.e. data centers) where freezing is possible; water only enters when it's triggered.
PRE-ACTION - The system only fills with water when an alarm is triggered; sprinkles when heat rises. Provides protection against accidental discharge and burst pipes; gives time to manually contain the fire.
HALON - Gas-based systems have advantages of not short circuiting electrical systems and leaves no residue.
CLEAN AGENT - Alternatives to Halon; however, not being environmentally damaging. These gases both deplete the concentration of oxygen in an area and have a cooling effect. These gases are toxic to humans.
Power management means deploying systems to ensure that equipment is protected against events such as:
And that network operations can either continue uninterrupted or be recovered quickly.
1. POWER DISTRIBUTION UNITS (PDUs)
This unit has circuitry to "clean" the power signal, providing protection against spikes, surges and brownouts and can integrate with an uninterruptible power supply.
On a smaller scale, PDUs are also available as "strip" sockets that can take a higher load. Such sockets are oriented to allow for different cabling and layout options, plus also often support remote power monitoring functions (i.e. reporting load status, switching power to a socket on/off, or in a particular sequence).
2. BATTERY BACKUPS & UNINTERRUPTIBLE POWER SUPPLIES (UPS)
In its simplest form, UPS comprises a bank of batteries and their charging circuit plus an inverter to generate AC voltage from DC voltage supplied by batteries.
UPS provides a temporary power source in the event of a blackout, protecting against read/write operations (cache) at the time of the power loss.
A network link is often a critical single point of failure. Routers and switches can provide multiple paths through a network to prevent overdependence on single critical nodes. A load balancer can switch client traffic to alternative processing nodes, reducing bottlenecks and allowing for failover services.
Simply means that a network node has more than one physical link to another node.
A default feature in full and partial mesh internetworks, where routers can select alternative paths through the network if a link is unavailable. Multipathing can be used anywhere link redundancy is required.
SAN MULTIPATHING - In a SAN, a server uses shared storage accessed over a network link; means that the server has at least 2 SAN controllers each with a dedicated network link to the storage network.
MULTIPLE ISP - If an organization depends on a single ISP for Internet access, that circuit represents a critical single point of failure. Even if there are multiple circuits to the same ISP, problems within that ISP's routing or DNS could result in a loss of connectivity. Contracting with multiple ISPs and routing policies to forward traffic over multiple external circuits provides fault tolerance and load balancing. This fault tolerance is reduced if both ISP's links use the same entrance facility/demarcation point. Ensure that the ISPs are operating separate infrastructure and not using peering arrangements. A physical disaster event is likely to affect both sets of cables.
DIVERSE PATHS - Refers to provisioning links over separate cable conduits that are physically distant from one another. Another option is to provision cellular links as a backup; likely reducing bandwidth.
LINK AGGREGATION - Means combining 2 or more separate cabled links between a host and access switch into a single logical channel.
From the Host Endpoint, this is referred to as NIC Teaming.
At the Switch End, it can be called Port Aggregation or EtherChannel (Cisco).
Link aggregation can also be used in an uplink between 2 switches, 2 routers, or a switch and a router.
Link aggregation can also provide a cost-effective redundancy; if 1 link is broken, connection is maintained.
The runtime allowed by a UPS should be sufficient to failover to an alternate power source.
If there is no secondary power site, a UPS will at least allow an admin to shut down appliances properly.
A UPS is always required to protect against any interruption. A backup generator can't be brought online fast enough to respond to a power failure.
Alternative emerging technologies try to use all battery resources in a datacenter as a microgrid for power storage. Such ability to use renewable power is a strong factor in determining the best site for a datacenter.
All business continuity and disaster recovery planning involves use of backups. The execution and frequency of backups must be carefully planned and guided by policies.
In network management, backup policies are less focused on data stored on servers and more on swiftly restoring faulty switches, routers, firewalls and load balancers.
Each device should have a documented baseline configuration. The deployment process should be capable of applying this configuration to a replacement device or restoring a faulty device.
Distinction Between Startup/Persistent & Running Configurations - During complication, in most cases these should be similar. It's possible that a configuration oversight left a valid running configuration that was never saved as startup configuration. Regular audits should be used to detect and remediate such differences. Most devices support version history of configuration enabling a rollback to change.
An appliance may also support 2 backup modes:
STATE/BARE METAL - A snapshot-type image of the whole system, deployed to any device of same model.
CONFIGURATION FILE - A copy of the configuration data in a structured format (XML). This file can be used in 2-stage restore where the OS/firmware image is applied first and restoration of configuration by importing backup file.
A network appliance may also hold state info that has not been written to a log and that will not be captured by a backup configuration file only. Some devices might log state data to an internal database that can be backed up periodically. In other cases, this info needs to be preserved, or configure to log data to a remote server.
IEEE 802.3ad/802.3ax Standard - By the other. Link aggregation is typically implemented using IEEE 802.3ad/802.3ax standard.
LAG (Link Aggregation Group) - 802.3ad bonded interfaces are described as Link Aggregation Group.
LACP (Link Aggregation Control Protocol) - A defined Link Aggregation Control Protocol is used to detect configuration errors and recover from the failure of one of the physical links.
Is deployed as a hardware appliance or software instance to distribute client requests across server nodes in a pool or farm. It can be used in any situation where you have multiple servers providing the same function.
LBs are placed in front of the server network and distribute requests from client network or Internet to the application servers. The LB service address is advertised to the client as a Virtual Server.
Used to:
LB selects a web server instance. A persistence mechanism can keep client connected to the same server if available.
Client VIRTUAL SERVER IP
10.0.0.1 203.0.113.1
10.1.0.2
10.1.0.3 LOAD BALANCER
β
Forward Requests FIREWALL
β
Web Servers
Layer 4 Switch LB - Basic load balancers make forwarding decisions on IP address and TCP/UDP headers.
Layer 7 Switch LB - Complex modern LBs make forwarding decisions based on application-level data (i.e. a request for a particular URL or data types). This requires complex logic and processing power of modern appliance.
Multilayer Switches - Appliances can perform switch-like forwarding at layer 3, 4, and 7 are collectively referred to as multilayer switches.
Where a load balancer distributes traffic between independent processing nodes, clustering allows multiple redundant processing nodes that share data with one another to accept connections.
Hence, if one node in the cluster stops working, connections can failover to a working node.
To clients, the cluster appears to be a single server. Unlike load balancing with a single appliance, the public IP used to access the service is shared between instances in the cluster. This is referred to as Virtual IP/Shared/Floating Address.
Nodes in the cluster are connected by internal IPs.
The instances are configured with a private connection, on which each is addressed by its Real IP Address.
This connection runs some type of redundancy protocol such as Common Address Redundancy Protocol that enables the active node to own the virtual IP and respond to connections and also a Heartbeat mechanism to allow failover to the passive node if the active one should suffer a fault.
ACTIVE-ACTIVE CLUSTERING - Means that both nodes are processing connections concurrently. This allows usage of maximum capacity from available hardware while all nodes are functional. In the event of a failover, the workload of the failed node is immediately and transparently shifted onto the remaining node.
ACTIVE-PASSIVE - The advantage of active-passive configuration is that performance is not adversely affected during failover.
Client Requests
β
VIRTUAL SERVER
VIRTUAL IP Address: 203.0.113.1
LB Config as Active/Passive
Active Redundant LB Passive Redundant LB
VIP: 203.0.113.1 VIP: 203.0.113.1
Internal IP: 172.16.0.1 Internal IP: 172.16.0.2
β β
CLUSTER PROTOCOLS
β
10.0.0.1 10.0.0.2 10.1.0.3
Web Server Web Server Web Server
LAN end systems are typically served by a single router configured as the default gateway. Due to degree of complexity in host's routing algorithm, configuring multiple default gateways for fault tolerance to an end system host is impractical.
To address this problem, various types of First Hop Redundancy Protocols (FHRP) have been developed, allowing multiple physical router appliances to act as the same logical router, providing failover.
This allows multiple physical routers to serve as a single default gateway for a subnet.
To do this, each router must have an interface connected to the subnet with its own MAC and IP address. In addition, they also need to be configured to share a common virtual IP and MAC address.
They communicate amongst themselves using IP multicasts and choose an Active Router based on configured priorities.
The active router responds to any traffic sent to the virtual IP. Router with next highest priority is chosen as the Standby Router (monitors the status of the active router and takes over the role of the active router).
If the active router becomes unavailable, also triggers the selection of a new standby router from the group.
Similar to HSRP; different in terminology and packet formats.
Active Router known as Master Router.
No specific standby router; all other routers known as Backup Routers.
In the event of a failure, a new master router is selected based on priority from the group.
One advantage of VRRP over HSRP: Doesn't require each router interface to be assigned a unique IP address. It's possible to configure VRRP routers to use only the virtual IP address, useful on subnets where address pools are low.
NETWORK HARDENING TECHNIQUES NOTES
Effective network security design requires an understanding of how threat actors can compromise defenses.
Threat Research provides analysis of threat actors' Tactics, Techniques & Procedures (TTPs).
The goals of most types of adversaries will be to:
Enumeration or information gathering attacks. This allows the threat actors to discover the topology and general configuration of the network and security systems. Can be done by social engineering or fingerprinting.
Fingerprinting via port scan allows a threat actor to identify device, OS types and versions; using such information to further probe for known vulnerabilities.
This term covers a wide range of identity disguise attacks in which source of network info is forged to appear legitimate. Social engineering techniques (i.e. phishing and pharming), as well as abusing the way a protocol works or network packets are constructed to inject false or modified data onto the network [ARP and DNS].
This causes a service at a given host to fail or become unavailable to legitimate users.
Resource Exhaustion DoS Attacks - Focus on overloading a system by using up CPU, RAM, memory space, or bandwidth.
DoS attacks may also be the precursor to a spoofing or data exfiltration attack or diverting attention and resources.
A specific type of spoofing attack where a threat actor compromises the connection btw 2 hosts and transparently intercepts and relays all communications between them; with opportunity to modify traffic.
Threat actors exploit a host's ability to arbitrarily select any MAC and/or IP address and attempt to spoof its value of a valid MAC/IP address to try to circumvent an ACL list or impersonate a legitimate server instance.
To mitigate against duplicate addresses on the network, the threat actor must normally disable the legitimate host. IP spoofing is used in DoS attacks to mask the origin of the attacker.
Works by broadcasting unsolicited ARP reply packets, known as Gratuitous ARP Response, with a source address that spoofs a legitimate host or router interface.
Because ARP has no security mechanism, all devices in the same broadcast domain as the rogue host trust the communication and update their IP-to-MAC cache table with the spoofed address.
Endless broadcasts of ARP replies overwhelms the legitimate interface at the usual target (the subnet's gateway).
If attack is successful, traffic is routed to the attacker's interface, performing an on-path attack to monitor, comment, or modify packets, or perform DoS by not forwarding the packets.
ARP poisoning can be difficult to detect without close network monitoring through attempts at ARP poisoning are likely to cause sporadic communication difficulties (i.e. unreachable default gateway).
Detection: Perform network captures, examining ARP packets and local ARP caches for multiple IP:MAC address mappings.
While IPv6 doesn't use ARP, it is also vulnerable to layer 2 spoofing of the unencrypted Neighbor Discovery protocol used.
DHCP communications can be used without authentication, so hosts generally trust the first offer packet it receives.
An on-path attack can be launched by threat actor exploiting this to set his/her machine as the subnet's default gateway or DNS resolver.
Prevention:
This attack compromises the name resolution protocol process. Typically, the actor will replace the valid IP address for a trusted website with the attacker's IP address; thereby intercepting all the packets directed to the website and either forwarding them to the real site or directing all traffic for a particular FQDN to an invalid IP address (a black hole).
This is achieved by:
DNS Server Cache Poisoning is another redirection attack, but instead of subverting the name service used by the client, it aims to corrupt the records held by the DNS server itself. This can be carried out by misconfiguration or auxiliary DNS server.
This attack is designed to send traffic to a VLAN other than the one the host system is in.
This exploits the native VLAN feature of 802.1Q tagging ID. The actor, using a device placed in the native VLAN, crafts a frame with 2 VLAN tag headers.
The 1st trunk switch to inspect the frame strips the first (outer) header, and the frame gets forwarded to the target VLAN. Such an attack performs a one-way host attack against the target VLAN.
Double Tagging Mitigation: Can be mitigated by ensuring that the native VLAN uses a different ID to any user accessible VLAN, or setting the native VLAN to an unused VLAN ID.
A VLAN hopping attack can also be launched by attaching a device that emulates the operation of a switch to the network and negotiating the creation of a trunk port.
As a trunk port, the attacker's device will receive all inter-VLAN traffic.
Mitigation: Such attack is mitigated by ensuring that ports allowed to be used as trunks are pre-determined in the switch's configuration and access ports are not permitted to auto-configure as trunk ports.
Attacker on VLAN 10
β
TRUNK β VLAN 10 Switch
β
[Eth Header | 802.1Q Tag #10 | 802.1Q Tag #20 | Data]
β
VLAN 20 Switch β Victim on VLAN 20
WiFi networks open several avenues for threat actors to gain unauthorized network access.
A Rogue AP is one installed on the network without authorization, whether with malicious intent or not.
A malicious user can set up an AP with something as basic as a smartphone with tethering capabilities. If connected to a LAN without security, an unauthorized AP creates a back door through which to attack the network.
A rogue AP masquerading as a legitimate one is called an Evil Twin.
An evil twin might advertise a similar network name (SSID) to the legitimate one. Also, the evil twin might spoof the SSID and BSSID (MAC) of an authorized AP and then the actor might use some DoS technique to overpower the legitimate AP.
After successful DoS attack, users are forced to disconnect and manually attempt to reconnect; some or all users may associate with the evil twin AP and submit the network credentials for authentication.
Evil twins can execute an on-path attack to snoop on connections established with servers/websites.
Mitigation Against Rogue AP:
Use of an evil twin may be coupled with a De-Authentication Attack.
This sends a stream of management frames to cause a client to de-authenticate from an AP. This might allow the attacker to:
The attack works against both WEP and WPA.
Mitigation: If the WiFi infrastructure supports Management Frame Protection (MFP / 802.11w), both the AP and clients must be configured to support MFP.
A Distributed DoS (DDoS) attack is launched simultaneously by multiple hosts with aim ranging from bandwidth consumption to resource exhaustion on hosts processing legitimate requests.
The delays in processing could potentially crash the host system completely.
A SYN Flood Attack works by withholding the requesting client's ACK packet during TCP 3-way handshake.
The actor uses a spoofed IP thereby misdirecting the server's SYN/ACK packet. A server can maintain a queue of pending connections. If ACK response is not received, it resends the SYN/ACK packet a number of times before timing out and giving up on the connection.
The DoS attack quickly fills up the pending connection queue meaning that the server is unable to respond to genuine traffic.
A more powerful TCP SYN flood attack is a type of Distributed Reflection DoS (DRDoS) or Amplification Attack.
Here, the attacker spoofs the victim's IP and attempts to open connections with multiple random servers. The servers direct their SYN/ACK response to the victim server, rapidly consuming the victim's available bandwidth.
This sort of technique can be used to bombard a victim network with responses to bogus DNS queries. Though a DNS request query is small, the response contains lot of info hence overwhelming the bandwidth of victim network.
A group of compromised hosts that can be used to launch DoS/DDoS attacks.
A threat actor first compromises 1 or 2 machines to use as Handlers, which are then used to compromise 100s/1000s/millions of Zombie hosts with DoS tools.
To compromise a host, the actor installs malware opening a remote backdoor connection. The attacker uses the malware to install Bots and trigger the zombies to launch the attack simultaneously.
The network established through the handlers and the bots is called a Command & Control (C&C/C2) Network.
Network appliances use minimal resources to process ordinary data traffic, which is often processed by a dedicated hardware chip and does not require the general purpose CPU.
Conversely, control data and management traffic requires software-based processing and is punted to the CPU pipeline, consuming memory resources and processor time.
Control Plane - Comprises traffic that keeps the network operational:
Management Plane - Comprises traffic that allows remote administration and monitoring of the network appliances directly to the appliance loopback address:
The network must always allow sufficient bandwidth and CPU/memory resources for control and management traffic. If the traffic is blocked, the ability of the network to function is disrupted.
Worms, malware, or malicious reconnaissance tools may attempt to masquerade as high-priority traffic of multiple different types. This places unusually high demands on the routers and switches that process control plane traffic, affecting a DoS attack on the other functions they have to perform. Also described as a Route Processor (RP) Attack.
Can be performed against both routers and switches.
Such attack can be threatened by misconfiguration.
A Control Plane Policing Policy is designed to mitigate the risk from route processor vulnerabilities and attacks.
Such policies can use ACLs to allow/deny certain traffic from certain sources and apply rate-limiting if a source threatens to overwhelm the route processor.
Malware - MALICIOUs SOFTware: Can be defined simply as software that does something bad from the perspective of the system owner. Classification of malware definitions overlap or are blurred.
1. BASED ON THE VECTOR - The vector is the method by which the malware executes on a computer and potentially spreads to other network hosts (i.e. TROJAN, VIRUS, WORM, Potentially Unwanted Programs/Applications [PUPs/PUAs]).
2. BASED ON DEGREE OF INSTALLATION - How the malware establishes persistence on the system.
3. BASED ON PAYLOAD DELIVERED BY THE MALWARE - The payload is an action performed by the malware other than simply replicating or persisting on a host (i.e. Spyware, ROOTKIT, Remote Access Trojan, Backdoor, Ransomware).
Malware of this nature spread without any authorization from the user by being concealed within the executable code of another process.
Worms are viruses that can move from system to system without human intervention.
Malware concealed within an installer package for software that appears legitimate, and doesn't seek any type of consent for installation and it's actively designed to operate secretly.
Potentially Unwanted Programs & Potentially Unwanted Applications - Software installed alongside a package selected by the user or perhaps bundled with a new computer system or firmware.
Unlike trojan, its presence is not automatically regarded as malicious. It may have been installed without active consent or consent from a purposefully confusing license agreement - A GRAYWARE.
Type of malware with intentions to extort money from the victim. This may block access to the computer by installing a different shell program or browser window that is difficult to close. Relatively simple to fix.
The Crypto-Malware class of ransomware attempts to encrypt data files on any fixed, removable, and network drives.
A successful attack restricts user access to files without obtaining the private encryption key held by the attacker. Difficult to mitigate unless up-to-date backup files exist.
Password cracking software uses various methods to work out a plaintext string from a cryptographic hash.
The software matches the hash to those produced by ordinary words found in a dictionary database (.txt file).
The software tries to match the hash against one of every possible combination that could be used. Can be performed interactively or offline.
The risks posed by cracking software mean that it's more secure to use end-to-end encryption like IPsec or TLS. This means that all payload data is encrypted, and a network sniffer cannot recover password hashes.
A prerequisite of many types of attacks is to obtain information about the network and security system.
Social Engineering (or hacking the human) represents a collection of techniques and tricks designed to make victims reveal confidential information (i.e. impersonation).
For this to work, the approach must be persuasive and establish trust. Social engineering might also use intimidation or hoaxes as a means of obtaining information through fear.
A combination of social engineering and spoofing; it persuades or tricks the target into interacting with a malicious resource disguised as a legitimate trusted source.
A phishing message might try to convince the user to perform some action (i.e. installing disguised malware or allowing a remote connection by the attacker).
A threat actor may obtain confidential info by watching the victim type or write it. Despite the name, the attacker may not have to be in close proximity to the target (i.e. use of binoculars or CCTV).
TAILGATING - A means of entering a secure area without authorization by following closely behind the person that has access to the checkpoint.
PIGGYBACKING - A similar situation but means that the attacker enters a secure area with an employee's permission.
Alternatively, piggybacking may be a means for an insider threat actor to allow access to someone without recording it in the building's entry log.
Export and switch port security is an important network security control, providing defense in depth by preventing the attachment of unauthorized devices.
Configuring policies to ensure only authorized devices connect to the network, also ensure that those authorized devices are in a secure configuration and fully patched against vulnerabilities.
Ensuring that network hosts are put in a secure configuration before being granted access.
As part of defense in depth strategy, think about making each host and network device secure against tampering.
Network devices are not self-contained, running complex firmware and hosting numerous services to enable remote management and configuration. Deploying systems in a secure configuration is known as Device Hardening.
Enforce strict password requirements β Passwords for network systems must be highly resistant to cracking methods:
Means that a limited set of permissions are configured for different administrator groups. Separating permissions for configuring the system to those for configuring logging and auditing.
Such separation of duties reduces impacts from compromise of any single account, rather than 1 default admin with superuser/unrestricted access.
Reducing attack surface by disabling services or protocols, unused admin interfaces.
Important to understand which protocols are unsecure in terms of using unencrypted communication channels, particularly important when configuring a channel to authenticate. Unsecure protocols should be deprecated and secure protocols used instead.
Endpoint Security is a set of security procedures and technologies to restrict network access at a device level/endpoint level.
In contrast to the focus on perimeter security established by topologies (i.e. screened subnets) and technologies (i.e. Firewall).
Endpoint security is designed not to replace perimeter security but to supplement it, creating defense in depth.
To prevent the attachment of unauthorized client devices, a switch port can be disabled using the management software or isolated to a VLAN with no route to the network (Black Hole VLAN).
Alternatively, the patch cable can be physically removed from the port; this would introduce administrative overhead and scope for error, and it doesn't provide complete protection, as an attacker could unplug a device from an enabled port and connect their own hardware interface.
Configuring MAC filters on a switch means defining which MAC addresses are permitted to connect to a particular port.
This can be done by creating a list of valid MAC addresses or by specifying a limit to the number of permitted addresses and dropping any traffic from machines with network adapter IDs that try to connect.
If port security is enabled with a max of 2 MAC addresses, the switch will record the first 2 MAC addresses that connects to that port.
DAI (Dynamic ARP Inspection) prevents a host attached to an untrusted port from flooding the segment with gratuitous ARP replies.
ARP Inspection maintains a trusted database of IP:ARP mappings, ensuring that ARP packets are validly constructed and use valid IP addresses.
This configuration causes the switch to inspect DHCP traffic arriving on access ports to ensure that a host is not trying to spoof its MAC address. Also used to prevent rogue DHCP servers from operating on the network.
With DHCP snooping, only DHCP offers from ports configured as trusted are allowed.
ND Inspection & RA Guard perform similar functions to DAI and DHCP snooping for IPv6 networks.
These switch protections should be enabled to mitigate snooping and on-path attacks over IPv6 enabled networks.
To ensure only valid hosts are connecting to the network, Port Security refers to the 802.1x standard PNAC (Port-based Network Access Control) mechanism which means that the switch performs some sort of Extensible Authentication of the attached device before activating the port.
HOST = Supplicant
SWITCH = Authenticator (enabling the Extensible Authentication Protocol over LAN [EAPOL] only and waits for the device to supply authentication data, which it passes to the authentication server)
AAA SERVER = NAS/NAP (which checks credentials and grants/denies access to the supplicant)
If access is granted, the switch (NAS/NAP) will configure the port to use the appropriate VLAN and enable it for ordinary network traffic.
Unauthenticated hosts may be denied access or configured to a guest VLAN with only limited access to the rest of the network.
The Virtual LAN feature of managed Ethernet switches is typically deployed to enforce segmentation policies.
A VLAN isolates layer 2 broadcast traffic to switch ports that are configured with the same VLAN ID.
Each VLAN ID is mapped to a subnet, so any traffic forwarding between VLANs must be performed by a router (layer 3 switch).
PRIVATE VLANS
A PVLAN applies an additional layer of segmentation by restricting the ability of hosts within a VLAN to communicate directly with one another.
Common Use Case: This might be used by a hosting company to prevent web servers operated by different customers from being able to communicate. Isolating these server instances using PVLANs is simpler than creating multiple VLANs and subnets.
Similarly, ISPs use PVLANs to isolate subscriber traffic.
When configuring a PVLAN, the host VLAN is referred to as the Primary VLAN. The following types of ports can be configured:
PROMISCUOUS PORT - Can communicate with all ports in all domains within the PVLAN. Routed or DHCP traffic goes through this port.
ISOLATED PORT - Can only communicate with the promiscuous port only. This creates a subdomain of a single host only. The PVLAN can contain multiple isolated ports, but each is in its own subdomain.
COMMUNITY PORT - Can communicate with the promiscuous port and with other ports in the same community, creating a domain that can contain multiple hosts.
DEFAULT VLAN - The VLAN ID 1 is referred to as the default VLAN; this can't be changed. However, unless configured differently, all ports on a switch default to being in VLAN 1.
When implementing VLANs, you should avoid sending user data traffic over the default VLAN. It should remain unused or used for inter-switch protocol traffic where necessary (i.e. spanning tree traffic would be permitted to run over default VLAN).
Ensure that unused ports are not assigned to VLAN 1.
A Native VLAN is one into which any untagged traffic is put when receiving frames over a trunk port.
When a switch receives an untagged frame over a trunk, it assigns the frame to the native VLAN. Such untagged traffic might be derived from legacy devices that do not support 802.1Q encapsulated frames.
The native VLAN is initially set with the same VID as the default VLAN (1). You can and should change this to make the native VLAN use any suitable ID. This should not be the same as any VLAN used for any other data traffic. The same native VLAN ID should be configured for the trunk port on both switches.
Firewall ACLs are configured on the principle of Least Access. This is the same as the principle of least privilege. Only allow the minimum amount of traffic required for the operation of valid network services and no more.
The rules in a firewall's ACL are processed top-to-bottom. If traffic matches a rule that allows a packet, then it's allowed to pass. Consequently, the most specific rules are placed at the top.
The final/bottom default rule is typically to block any traffic that has not matched a rule β Implicit DENY.
If the firewall does not have a default implicit deny rule, an Explicit DENY ALL rule can be added manually.
Each rule can specify whether to block or allow traffic based on parameters, often referred to as Tuples.
If you think of each line of rule being like a row in a database, the parameters/tuples are the columns.
IPTABLES is a command utility provided by Linux distros that allows admins to edit the rules enforced by the Linux Kernel Firewall.
iptables works with different firewall chains which apply to different types of traffic passing through the system. The three main chains are INPUT, OUTPUT, and FORWARD.
INPUT - Affecting incoming connections (inbound connections)
OUTPUT - For outgoing connections (outbound connections)
FORWARD - For connections passing through the host rather than being delivered locally. This chain is used for configuring the host as a firewall.
Rules can be assigned to the firewall chains, or new chains can be created and then linked to the standard system chains to affect traffic flow.
To view the current status of the iptables and volume of traffic using the chains, use the command:
iptables -L -v
When you set least access rules (i.e. both INPUT and OUTPUT default policy is set to deny all), you must set both INPUT and OUTPUT rules to allow most types of client/server traffic.
The following features can be enabled to provision secure wireless network access:
PRESHARED KEYS (PSKs) - Group authentication; allows stations to connect to the network using a shared passphrase
EXTENSIBLE AUTHENTICATION PROTOCOL (EAP) - Allows a device authentication using digital certificates in WPA2/WPA3 Enterprise
CAPTIVE PORTAL - Login portal
MAC FILTERING - Restricting access based on MAC addresses
GEOFENCING - Ensuring that the stations are within a valid geographic area to access the network
ANTENNA PLACEMENT & POWER LEVELS - Presence of an unusually strong transmitter (>20dBm) might indicate the presence of an evil twin or rogue access point
WIRELESS CLIENT ISOLATION - Access point can be configured to prevent clients connected to the WLAN (considered to be in the same broadcast domain) from communicating with each other, by ensuring peer-to-peer traffic is dropped by the AP. Stations can only communicate via its gateway as allowed.
GUEST NETWORK ISOLATION - Guest network should have separate security and forwarding policies applied to it than the network that permits access to the corporate LAN. Permit Internet access, block local server access.
IoT devices might be present in dedicated embedded systems and smart buildings and individual smart devices in employee work spaces. Unmanaged access to these devices compose a security risk. So management and audit procedures:
Each type of OS and applications software has vulnerabilities that present exploit opportunities. Vendors try to patch vulnerabilities identified in a supported product through software and firmware updates.
There can never be a single comprehensive list of vulnerabilities for each OS/software, so you must stay up-to-date with the security system advisories posted on vendor websites and in other security reference sources.
Patch Management refers to the procedures put in place to manage the installation of updates.
Updating firmware is known as Flashing the Chip, generally done via a vendor-supplied setup program.
Important to make a backup of the system configuration before performing a firmware update or upgrade.
Once environment and compatibility checks have been completed and configuration backed up, the basic upgrade process is to copy the new system image to the appliance's flash memory. Next, a set of command sequences is run to replace the old image and load the new one at startup.
Most software and firmware version changes/updates are upward, toward newer versions.
DOWNGRADING (ROLLBACK) - Refers to reverting to a previous version of the software or firmware. This might be necessary to fix a problem caused by a recently upgraded or updated device or software.
When applying a patch/upgrade, it's common to make a configuration backup, in case settings must be reapplied after update.
When downgrading, a configuration backup might not work because it may feature settings not included in previous version.
HARDENING & SECURITY POLICIES NOTES
Security policy establishes a duty for each employee to ensure the CIA Triad of any data, assets or processing systems used as part of their job. Supplemented by numerous operational policies to govern specific areas of activity or configuration. HR communicates security policies to employees and enforces disciplinary measures including updates to the policies.
Onboarding - Process of welcoming a new employee (third party suppliers or contractors) to the organization.
BACKGROUND CHECK - Determines that a person is who they say they are
IDENTITY & ACCESS MANAGEMENT (IAM) - Creating an account; assign the appropriate privileges for new user access
ASSET ALLOCATION - Provision devices for the user or agree on the use of BYOD policy
TRAINING - Schedule appropriate security awareness and role-relevant training and certification
Offboarding - Process of ensuring that an employee leaves a company gracefully.
IDENTITY & ACCESS MANAGEMENT (IAM) - Disable the user account and privileges
RETRIEVE COMPANY ASSETS - Employees will need to confirm that they have not retained copies
RETURN PERSONAL ASSETS - Employee-owned devices need to be wiped of corporate data and applications
Usage policies set out rules for how users should interact with network systems and data.
Instructs users on best practice in choosing and maintaining network access credentials.
Password protection policies mitigate against the risk of attackers being able to compromise an account and use it to launch other attacks on the network. Alerting users to different types of social engineering and phishing attacks.
LENGTH - Longer pass/phrase might be used for critical systems with infrequent logons
COMPLEXITY - Varying the characters makes it more resistant to dictionary-based attacks
AGING AND HISTORY - Requiring a password be changed periodically; preventing reuse of previously used passwords
Acceptable Use Policy [AUP] sets out the permitted use of a product or service. It might also state explicitly prohibited uses. Such a policy might be used in different contexts.
BYOD Policies - A mobile deployment model describing the way employees are provided with smartphone, tablet devices and apps.
BYOD means that the mobile is owned by the employee and can be used on the corporate network as long as it meets certain specifications required by the organization.
The employee will have to agree to installation of corporate apps and some level of oversight and auditing.
Data Loss Prevention [DLP] - Theft or loss of confidential or personal data/info is referred to as Data Breach.
DLP products scan content in structured formats (i.e. databases with formal access control model) or unstructured formats (email, word processing documents); using some sort of algorithm (regex matching) to identify confidential or personal (sensitive) data.
Transfers of such content to removable media, by email, or cloud storage can then be blocked if it doesn't comply to a predefined policy; as well as being logged by the DLP software.
Use of remote access privileges must be governed by technical and policy controls.
The principal solution to such security problems is to educate remote users about security roles and their responsibilities. Enforcement can be provided by having remote devices audited periodically to ensure that:
Also wise to limit what remote users can access on the local network; to severely restrict the rights of remote computer accounts: LEAST PRIVILEGE PRINCIPLE.
PHYSICAL SECURITY METHODS NOTES
For a network to be secure, access to the building and certain areas must be controlled. Understanding of procedures and hardware that improve the physical security of site premises help reduce intrusion.
Where an area is controlled by being enclosed by walls or fencing, access is channeled through defined points of entry (i.e. doors, gates). These entry points can be protected by types of electronic lock listed below.
Deployed to enable users to authenticate quickly at access points.
A photographic ID badge showing name and access level with built-in integrated chip and data interface that stores user's key pair and digital certificate.
A Smart Card Badge is either:
An electronic lock may also be integrated with a biometric scanner. Actuated by human physical features:
Each user's biometric is recorded as a template and stored on an authentication server. To gain access, user's biometric is scanned again and compared to template.
Where one gateway leads to an enclosed space protected by another barrier.
The risk of tailgating or unauthorized access by more than one user can be mitigated using:
Installing equipment within secure cabinets or enclosures provides mitigation against insider attack or for attacks that have breached the perimeter security mechanisms.
It is also possible to provision lockable brackets and drawers to protect/isolate individual elements within a rack (i.e. some data centers may contain racks with equipment owned by different corporations [co-location]).
These racks are installed with cages so that technicians can only physically access the racks housing their own company's servers and appliances.
LOCKING CABINETS & BRACKETS - Provide secure storage for individual items like media with cryptographic keys
SMART LOCKERS - A cabinet that supports unlocking via a smart card or biometric reader
Detection-based controls provide an important additional layer of defense in the event that prevention-based controls fail to work.
Effective surveillance mechanisms ensure that attempts to penetrate barriers are detected. Surveillance focused on perimeter areas or within security zones performed by guards or video surveillance.
A security camera is either:
Cameras in a Closed-Circuit Television (CCTV) network are connected to a multiplexer via coax or twisted pair cabling.
The multiplexer can then display images on one or more screens, allowing the operator to control the frames and record images to tape or HDD.
Newer camera systems may be linked in an IP Network using regular network cabling. Small cameras can use PoE (Power over Ethernet), avoiding the need to provision a separate power circuit.
Radio Frequency ID [RFID] asset tracking tags allow electronic surveillance of movable assets.
The tags can be detected at entry/exit points to prevent theft. The tags are entered into a tracking database which also usually has a map of the coverage area so that particular assets can be located.
An audible alarm is an effective deterrent by causing the attacker to abandon an intrusion attempt.
A Circuit-based Alarm sounds when the circuit is opened/closed depending on the type of alarm.
A Closed Circuit Alarm is more secure because an open circuit alarm can be defeated by cutting the circuit.
A Motion-based Alarm is linked to a detector triggered by any movement within a relatively large area. Sensors in the detectors are either:
As well as protecting building areas, alarms can be installed on rack systems and appliance chassis.
A physically secure cable network is referred to as a Protected Distribution System (PDS).
A Hardened PDS is one where all cable is routed through sealed metal conduit and subject to periodic visual inspection.
Prevents network data cable tap via cable splice. Tamper detection alarm systems can be implemented within the cable conduit.
Physical security controls need to take account of the disposal phase of the system life cycle. Risks of leaking software licenses or configuration info to an attacker can be mitigated by ensuring that the built-in factory reset routine is invoked to wipe any custom configuration or modifications when decommissioning.
Factory Reset may leave data remnants.
Data Remnant Removal is critical to ensure that no data is recoverable from hard disk drives, flash storage, solid state drives, tape media, CD and DVD ROMs before they are disposed of or put to a different use.
Data remnants can be dealt with either by:
Methods of destroying media include:
Media Sanitizing refers to erasing data from magnetic drives before disposal or reuse.
OVERWRITING is a standard method of sanitizing performed using a drive's firmware tools or a utility format program.
The basic type of overwriting is called Zero (0) Filling (i.e. sets each memory bit to zero).
Regular single-pass zero filling can leave patterns that can be read by specialist tools. A more secure method is to:
The SATA and Serial Attached SCSI specs have included a Secure Erase command that can be invoked using a drive firmware utility or the hdparm Linux utility.
On HDDs, this performs a single-pass zero filling.
For SSD/hybrid/flash storage (i.e. USB thumb drives), overwriting is unreliable because the devices use wear-leveling routines to communicate which locations are available for use.
On SSDs, the Secure Erase (SE) command marks all blocks as empty. The drive firmware's auto garbage collector then performs the actual erase of each block over time. If this process is not completed, there is risk of remnant recovery by specialist tools.
HDDs and SSDs that are Self-Encrypting Drives (SED) support another option, invoking the SANITIZE command set in the SATA and SAS standards from 2012 to perform a Crypto Erase.
Also known as Instant Secure Erase (ISE).
With an SED, all data on the drive is encrypted with a Media Encryption Key (MEK). When the sanitize command is issued, the MEK is erased, rendering the data unrecoverable.
Untrained users represent a serious vulnerability, because they are susceptible to social engineering and malware attacks. They may be careless when handling sensitive or confidential data or allowing access to secure premises.
Appropriate security awareness training needs to be delivered to employees at all levels. There should be a system for identifying staff performing security-sensitive roles and grading the level of training and education required.
Note that in determining such training programs, focus on job roles rather than job titles, as employees may perform different roles and have different security training, education, and awareness needs.
Overview of the organization's security policies and penalties for non-compliance
Incident Identification and Reporting procedures
Site Security procedures, restrictions and advice, including:
Data Handling, including:
Password & Account Management plus security features of PC and mobile devices
Secure Use of Software and appropriate use of Internet access
Awareness of social engineering and malware threats:
Mission Essential Function (MEF) - Means an organization must be able to perform the function as close to continually as possible, and MEF is a priority.
Each IT asset is susceptible to faults [an event that causes a system or service to become unavailable].
Key Performance Indicators (KPIs) can be used to determine the reliability of each asset and assess whether MTD, RTO, RPO can be met.
Some of the main KPIs relating to IT component reliability are as follows:
Mean Time Between Failures (MTBF) - Represents the expected lifetime of a product.
The calculation for MTBF is the total operational time divided by the number of failures.
Example: 10 appliances run for 50 hours, with 2 failures:
Mean Time To Failure (MTTF) - Expresses a similar metric to MTBF for non-repairable components.
The calculation for MTTF is the total operational time divided by the number of devices.
Example: 2 hard drives installed in a RAID array, 1 failed after 10 years without replacement, and the second failed after 14 years:
MTTF/MTBF can be used to determine the amount of asset redundancy a system should have. A redundant system can failover to another asset if there is a fault and continue to operate normally.
Mean Time To Repair (MTTR) - A measure of the time taken to correct a fault so a failed system is restored to full operation.
MTTR is calculated as the total number of hours of unplanned maintenance divided by the number of failure incidents.
This average estimates whether RTO is achievable.
A system that can experience failures in individual components and sub-systems and continue to provide the same (or nearly the same) level of service is said to be FAULT TOLERANT.
This is achieved by provisioning redundancy for critical components to eliminate single points of failure.
A Redundant Failover Component is one that is not essential to the normal function of a system, but allows the system to recover from the failure of another vital component.
i. Network Links - Multiple paths between switches and routers provides auto failover for damaged cable/ports
ii. Uninterruptible Power Supplies (UPS) & Standby Power Supplies - Provide power protection
iii. Backup Strategies - Provide redundant protection of data
iv. Cluster Services - A means of ensuring that total failure of a server doesn't disrupt service
v. Redundant Spares - A fully redundant server configured with multiple components for each function. A faulty component will then automatically failover to the working spare.
ORGANIZATIONAL UNITS are handy for applying policies to users and computers, which include specific configurations that pertain to sets of users depending on their particular role in the organization.
SECURITY GROUPS are useful in granting permissions over resources (file objects, folders, hard disks, shared resources).
A single user can only be a member of a single OU at a time, else we risk applying two different policies to a single user. However, a user can be part of multiple security groups, which is needed to grant access to multiple resources.