Notes / Module 10
Cybersecurity Principles, Practices & Processes
Module 10 organises everything in cybersecurity into one model, the cybersecurity cube: what you protect (goals), where the data is (states) and how you protect it (countermeasures). Expect to name all three dimensions and sort examples into them.
10.1The three dimensions of the cube
The cybersecurity cube has three dimensions. Any security question can be placed on it: which goal is at stake, which state is the data in, and which countermeasure addresses it.
| Dimension | What it answers | Its three parts |
|---|---|---|
| 1. Security principles | What are we protecting? | Confidentiality, integrity, availability |
| 2. Data states | Where is the data? | In transit, at rest (in storage), in process |
| 3. Countermeasures | What protects it? | Technology, policy and practices, people (education, training, awareness) |
- 1Security principles — the goalsconfidentiality · integrity · availability
- 2States of data — where it isat rest (storage) · in transit · in process
- 3Countermeasures — what protects ittechnology · policies & practices · people
10.1.2The CIA triad
The CIA triad is the three foundational principles of security. It lets a security expert prioritise actions when protecting a networked system.
- Confidentiality
- Prevents disclosure of information to unauthorised people, resources or processes.
- Integrity
- The accuracy, consistency and trustworthiness of data.
- Availability
- Information is accessible to authorised users when it is needed.
10.1.3Confidentiality and data privacy
Tokenization gives confidentiality without encryption. A random value with no mathematical relationship to the original replaces the data, and it isolates data elements from exposure to other data systems. Outside the system the token is meaningless. It can keep the data's type and length, which suits databases and card payment processing.
Rights management covers DRM and IRM. Both protect data from unauthorised access using encryption.
| Protects | How it works | |
|---|---|---|
| DRM (digital rights management) | Copyrighted media: music, films, books | Content is encrypted, so it cannot be copied without the decryption key. Only licensed parties get the key. |
| IRM (information rights management) | An organisation's email and files | The document owner or organisation controls and manages who can access a shared document. |
Sensitive information falls into three categories.
- Personal
- Anything traceable to an individual: medical records, credit card numbers, social security numbers.
- Business
- Anything that is a risk if the public or a competitor sees it: acquisition plans, customer information, trade secrets.
- Classified
- Belongs to a government body or similar: secret, confidential or restricted access.
Privacy enhancement technologies are anonymization, data minimization and tokenization. Data anonymization obscures private data stored in a clear format and turns it into irreversible anonymous information. Privacy laws control the appropriate use of data and access to data, and they protect you from an organisation that might want to share your sensitive data.
10.1.6Data integrity
Data integrity is the accuracy, consistency and trustworthiness of data across its entire lifecycle. Data goes through capture, storage, retrieval, update and transfer, and it must stay unaltered by unauthorised entities in all of them. Losing integrity can make a whole data resource unreliable or unusable.
- Hashing
- Data validation checks
- Data consistency checks
- Access controls
A data integrity system can use one or more of these methods. How much integrity matters depends on how the organisation uses its data: a bank rates it higher than a social media channel.
10.1.7Availability
Availability is keeping information accessible whenever it is needed. Cyberattacks and system failures can block access. DoS attacks threaten availability by stopping legitimate users from using information systems.
High availability uses system redundancy, system backups, increased system resiliency, equipment maintenance, OS and software updates and patches, and proactive plans for swift recovery from disasters.
| Measure | What it does |
|---|---|
| Equipment maintenance | Dramatically improves uptime: component replacement, cleaning, alignment. |
| Updates and patches | Correct errors and remove vulnerabilities. Apply on a regular schedule; subscribe to alerts for new releases. |
| Backup testing | Back up organisation, configuration and personal data, then test that the backups work and data can be recovered. |
| Disaster planning | Staff and customers know how to respond. The team practises response protocols and restoring critical systems. |
| New technology implementations | Keep evaluating new technologies to counter new threats. |
| Activity monitoring | Event logs, system alerts and access logs give real-time information and can identify attacks within seconds. |
| Availability testing | Find vulnerabilities in every system: port scans, vulnerability scans, penetration tests. |
10.2.2Data at rest
Data at rest is data in storage: no user or process is accessing, requesting or amending it. It can sit on a local device or be centralised on a network. Backup data also counts when it is not being written or in transit. Anything that is neither in transit nor in process is at rest.
| Storage | What it is |
|---|---|
| DAS (direct-attached storage) | Connected to one computer, e.g. a hard drive or USB flash drive. Not shared with other network computers by default. |
| RAID | Multiple drives combined in an array so the OS sees one disk. Gives better performance and fault tolerance. |
| NAS (network attached storage) | A storage device on the network. Authorised users store and retrieve data from a central location. Flexible and scalable. |
| SAN (storage area network) | A network-based storage system with high-speed interfaces. Many servers share one central disk repository. |
| Cloud | Remote space at a data centre provider, reachable from any computer with Internet access, usually by subscription. Google Drive, iCloud, Dropbox. |
- DAS is one of the hardest storage types to manage and control, and it is exposed to attacks on the local host. Limit the types of data kept on it.
- Network storage (RAID, SAN, NAS) gives more performance and redundancy, but it is more complex to configure and manage. It also holds more data, so a device failure puts more at risk. The challenges are configuring, testing and monitoring.
- NAS and SAN hold data in the stored state.
10.2.5Data in transit
Data in transit is data being transmitted: not at rest and not in use. Protecting it is one of the hardest jobs of a security professional.
| Method | Detail |
|---|---|
| Sneaker net | Removable media physically carried between computers. Organisations can never fully eliminate it. |
| Wired networks | Copper and fibre optic, across a LAN or a WAN. |
| Wireless networks | Radio waves. Replacing wired as they get faster. More guest and mobile devices on SOHO and enterprise networks widen the attack surface, and BYOD makes this grow. |
Both wired and wireless networks send packets: units of data travelling from a source to a destination. IP and HTTP define packet structure and format, and those standards are open and public.
| Goal | Threat | Countermeasure |
|---|---|---|
| Confidentiality | Criminals capture, save or steal data in transit | VPNs, SSL, IPsec and other encryption for transmission |
| Integrity | Criminals intercept and alter data in transit | Data integrity systems: hashing and data redundancy |
| Availability | A rogue device, e.g. a mobile device posing as a wireless access point, hijacks a connection and can delete data | Mutual authentication: the user authenticates to the server and the server to the user |
Worked example
Which countermeasure? Staff work from home two days a week
- 1The data crosses the Internet, so it is in transit.
- 2The goal is confidentiality while it is transmitted.
- 3Encrypt it: use a VPN (with SSL or IPsec).
10.2.7Data in process
Data in process is data during initial input, modification, computation or output: the state it is in when it is neither in transit nor at rest.
| Stage | What happens | How it goes wrong |
|---|---|---|
| Input | Data entry, scanned forms, file uploads, sensor data | Mislabelling, mismatched formats, entry errors, disconnected or faulty sensors |
| Modification | Any change to the original data: manual edits, programs, encoding, compression, encryption | Equipment failure or malicious code leaves data unreadable or unusable |
| Output | Data sent to printers, displays, speakers | Wrong data delimiters, incorrect communication configuration, misconfigured printers |
Data corruption is modification that makes data unreadable or unusable. If accounting files are corrupted with no manual error or failure point, suspect malicious code. Protecting data in process needs well-designed systems and policies on testing, maintenance and updates.
10.3Countermeasures: technology and awareness
Technology safeguards are software-based or hardware-based. Software safeguards protect operating systems, databases and services on workstations, portable devices and servers.
| Software safeguard | What it does |
|---|---|
| Software firewall | Controls remote access to a system. Usually built into the OS or bought from a third party. |
| Network and port scanner | Discovers and monitors open ports on a host or server. |
| Protocol analyser | Also called a signature analyser. Collects and examines network traffic to find performance problems and misconfigurations, establish baseline traffic and debug communication. |
| Vulnerability scanner | Assesses weaknesses on computers or networks. |
| Host-based IDS | Examines activity on the host only. Logs and raises alarms on unusual activity. Suits systems holding sensitive data or critical services. |
| Hardware safeguard | What it does |
|---|---|
| Firewall | Customisable rules for the traffic allowed into and out of a network. |
| Proxy server | Presents one organisation-wide IP address to the Internet. Acts for the client and can mask the true origin of a request. |
| Hardware-based access control | Biometric devices such as fingerprint or iris scanners confirm identity. |
| Network switch | A connection point whose features add to network security. |
Technology alone fails if people are untrained. A security awareness program should be part of onboarding, tied to job requirements or performance evaluations, and delivered through in-person sessions (using gamification and activities) and online modules. It is ongoing, because new threats keep appearing.
10.3.5Policies, standards, guidelines, procedures
A security policy sets security objectives, rules of behaviour and system requirements. A comprehensive policy:
- demonstrates the organisation's commitment to security
- sets the rules for expected behaviour
- ensures consistency in system operations and in hardware and software acquisition, use and maintenance
- defines the legal consequences of violations
- gives security staff the backing of management
| Policy type | Covers |
|---|---|
| Identification and authentication | Who may access network resources, and how users are verified. |
| Password | Minimum requirements and regular changes. |
| Acceptable use (AUP) | Acceptable resources and usage, and the ramifications of violation. One of the most common components; make it as explicit as possible. |
| Remote access | How remote users connect and what they can reach. |
| Network maintenance | OS and end-user application update procedures. |
| Incident handling | How security incidents are handled. |
| Document | Role | Password example |
|---|---|---|
| Policy | Objectives, behaviour rules, requirements | Passwords must meet minimum requirements and be changed regularly |
| Standard | Consistency in operations; the technologies and criteria to follow | At least eight upper and lower case alphanumeric characters with one special character, changed every 30 days, history of the last 12 |
| Guideline | Flexible suggestions, usually not mandatory | Turn a memorable phrase into a password by swapping letters for symbols |
| Procedure | Longer and more detailed, step by step | The steps to change your password |
Outside guidelines come from the NIST Computer Security Resource Center, the NSA Security Configuration Guides and the Common Criteria standard.
Check yourself
Answer these out loud, without scrolling up. Any you can't, reread that section — then let the deck mark you.
- 1.Name the three dimensions of the cybersecurity cube and the three parts of each.
- 2.How does tokenization protect confidentiality without encryption, and what are DRM and IRM each used for?
- 3.List the four methods used to ensure data integrity.
- 4.Name the five storage options for data at rest, and say how NAS differs from SAN.
- 5.Which countermeasure protects the availability of data in transit against a rogue access point?
- 6.Order policy, standard, guideline and procedure by what each does, with the password example for each.