LPI Security Essentials key terms
LPI Security Essentials · Get comfortable with the vocabulary.
- Confidentiality, Integrity, Availability (CIA) triad
- Related: Risk assessment, Least privilege
The three core goals of information security: keeping data readable only by authorized parties, keeping data accurate and unaltered, and keeping systems and data reachable when needed. Most controls are justified by one or more of these goals.
- Threat, vulnerability and risk
- Related: Risk assessment, Attack surface
A threat is anything that could cause harm, a vulnerability is a weakness that a threat could exploit, and risk is the likelihood and impact of that combination actually occurring. Distinguishing the three prevents misdirected spending on controls.
- Risk assessment
- Related: Threat, vulnerability and risk, Defense in depth
The process of identifying assets, listing the threats and vulnerabilities affecting them, and estimating likelihood and impact so controls can be prioritized. Results are usually recorded in a risk register with an owner and a treatment decision.
- Defense in depth
- Related: Least privilege, Attack surface
Layering independent controls so that failure of one does not expose the whole system, for example firewalls plus host hardening plus encryption plus monitoring. Attackers must then defeat several different mechanisms instead of a single barrier.
- Least privilege
- Related: Role-based access control, sudo
Granting each user, process, or service only the permissions needed for its task and no more. This limits the damage from mistakes, compromised accounts, and malicious insiders, and simplifies auditing of who can do what.
- Attack surface
- Related: Defense in depth, Service hardening
The sum of all points where an attacker could try to interact with a system: open ports, exposed services, user accounts, APIs, and installed software. Reducing it by removing unneeded components is a fundamental hardening step.
- Social engineering
- Related: Phishing, Multi-factor authentication
Manipulating people into revealing information or performing unsafe actions, often by impersonation, urgency, or authority. Technical controls help only partly, so awareness training and verification procedures are the main defenses.
- Phishing
- Related: Social engineering, Multi-factor authentication
A fraudulent message that impersonates a trusted party to trick the recipient into clicking a link, opening an attachment, or handing over credentials. Variants include spear phishing aimed at specific people and smishing sent by SMS.
- Malware types
- Related: Ransomware, Rootkit
Categories of hostile software such as viruses that infect files, worms that spread over networks, trojans disguised as useful programs, ransomware that encrypts data for extortion, and spyware that quietly collects information. Classification guides detection and response.
- Ransomware
- Related: Malware types, Backup and restore testing
Malware that encrypts or steals data and demands payment for restoration or non-disclosure. Reliable offline backups, patching, and segmentation are the practical defenses, since paying does not guarantee recovery.
- Rootkit
- Related: Malware types, Secure Boot
Software that hides an attacker's presence by modifying the kernel, bootloader, or system libraries so that normal tools no longer report its files and processes. Detection often requires offline scanning or reinstalling the system.
- Symmetric encryption
- Related: AES, Asymmetric encryption
Encryption where the same secret key both encrypts and decrypts data. It is fast and suits bulk data, but the key must be shared securely in advance, which is why it is often combined with asymmetric methods.
- Asymmetric encryption
- Related: Symmetric encryption, Digital signature, Public key infrastructure
Encryption using a key pair: a public key that anyone may know and a private key kept secret. It solves key distribution and enables digital signatures, but is much slower than symmetric ciphers, so it usually protects keys rather than bulk data.
- AES
- Related: Symmetric encryption, Block cipher mode of operation
The Advanced Encryption Standard, a symmetric block cipher with 128-bit blocks and key sizes of 128, 192, or 256 bits. It is the default choice for file, disk, and network encryption in modern Linux tooling.
- Block cipher mode of operation
- Related: AES, Hash function
A scheme for applying a block cipher to data longer than one block. Modes such as CBC need a random initialization vector, while authenticated modes like GCM also detect tampering, so they are preferred for new designs.
- Hash function
- Related: Salt, Digital signature
A one-way function that maps any input to a fixed-length digest, where small input changes produce very different outputs. Good cryptographic hashes resist finding two inputs with the same digest and are used for integrity checks and password storage.
- Salt
- Related: Hash function, Password hashing
A unique random value added to each password before hashing so identical passwords produce different stored values. Salting defeats precomputed lookup tables and hides when several accounts share the same password.
- Password hashing
- Related: Salt, Hash function
Storing only a slow, salted hash of a password instead of the password itself, using a deliberately expensive algorithm. The cost factor makes large-scale guessing impractical even if the stored hashes leak.
- Digital signature
- Related: Asymmetric encryption, Public key infrastructure
A value computed with a private key over a message or its hash, which anyone can verify with the matching public key. It provides integrity and proof of origin, and underpins package signing and certificate validation.
- Public key infrastructure
- Related: Digital signature, TLS
The system of certificate authorities, registration procedures, and revocation mechanisms that lets parties trust public keys they have not met before. Browsers and package managers rely on it to validate identities.
- TLS
- Related: Public key infrastructure, Certificate pinning
Transport Layer Security negotiates keys and encrypts traffic between a client and server, typically for HTTPS and mail submission. It authenticates the server with a certificate and, optionally, the client, and modern versions forbid weak legacy ciphers.
- Certificate pinning
- Related: TLS, Public key infrastructure
Restricting an application to accept only a specific expected certificate or public key rather than any certificate from a trusted authority. It narrows the impact of a mis-issued certificate but complicates rotation.
- Full disk encryption
- Related: Trusted Platform Module, File permissions
Encrypting an entire storage device so its contents are unreadable without the key, protecting data if a machine is lost or stolen. The key must be supplied at boot, for example by a passphrase or a TPM.
- Trusted Platform Module
- Related: Full disk encryption, Secure Boot
A hardware chip that stores keys and measurements securely and can seal data so it is released only when the boot state matches expectations. It supports disk encryption unlocking and hardware-backed key storage.
- Secure Boot
- Related: Rootkit, Trusted Platform Module
A firmware feature that verifies the signature of each boot component against trusted keys before executing it, blocking unauthorized bootloaders and some rootkits. Key management must be handled carefully to avoid locking out legitimate systems.
- File permissions
- Related: umask, sudo
The classic Unix permission bits that grant read, write, and execute rights separately to the file owner, its group, and everyone else. They are the first line of access control on files and directories.
- umask
- Related: File permissions
A per-process mask that removes permission bits from newly created files and directories, so defaults are less permissive than the maximum. A typical value of 022 yields files writable only by their owner.
- sudo
- Related: Least privilege, File permissions
A program that lets permitted users run specific commands as another user, usually root, after authenticating. Rules in its configuration file support fine-grained delegation, logging, and password-free operation for automation.
- Backup and restore testing
- Related: Ransomware
Making regular copies of data and periodically proving they can actually be restored. Untested backups often fail when needed, so restore drills, retention rules, and at least one offline copy are essential.
- Firewall
- Related: Network segmentation, Service hardening
A filter that permits or blocks network traffic according to rules about addresses, ports, and protocol state. Host firewalls protect a single machine, while network firewalls guard segments and are usually default-deny.
- Network segmentation
- Related: Firewall, Defense in depth
Dividing a network into zones with controlled traffic between them, so a compromise in one area cannot spread freely. It limits lateral movement and is often implemented with VLANs, subnets, and firewall rules.
- Service hardening
- Related: Attack surface, Firewall
Configuring a network service to expose only what is required: disabling unused features, running as an unprivileged user, restricting access, and keeping it patched. It reduces the attack surface of every listening daemon.
- Secure remote access
- Related: SSH key pair, Multi-factor authentication
Reaching a system over an untrusted network using an encrypted, authenticated channel such as SSH with keys instead of passwords. Disabling direct root login and limiting source addresses further reduce exposure.
- SSH key pair
- Related: Secure remote access, Asymmetric encryption
A public and private key used for passwordless, cryptographically strong SSH authentication. The public half is placed on the server, and the private half stays protected on the client, ideally with a passphrase.
- Intrusion detection and prevention
- Related: Logging and monitoring, Firewall
Systems that monitor traffic or host activity for signs of attack and either alert or actively block it. Signature-based detection catches known patterns, while anomaly-based detection flags deviations from normal behavior.
- Logging and monitoring
- Related: Intrusion detection and prevention, Risk assessment
Collecting events from systems and services and reviewing them for failures, anomalies, and policy violations. Centralized, time-synchronized logs with retention rules make investigations and compliance reporting feasible.
- Authentication, authorization and accounting
- Related: Multi-factor authentication, Role-based access control
The three access-control functions: proving who a subject is, deciding what it may do, and recording what it did. Keeping them distinct clarifies where failures occur and what evidence exists afterward.
- Multi-factor authentication
- Related: Social engineering, Authentication, authorization and accounting
Requiring two or more different evidence types, such as a password plus a one-time code or hardware token. It blocks most credential theft, though push fatigue and code interception mean some methods are weaker than others.
- Role-based access control
- Related: Least privilege, Authentication, authorization and accounting
Assigning permissions to roles rather than to individuals, then placing users in the roles their duties require. This keeps access reviews manageable and supports least privilege as staff change positions.
- Data minimization and privacy
- Related: Anonymization and pseudonymization
Collecting and keeping only the personal data actually needed for a stated purpose, and retaining it no longer than necessary. It reduces breach impact and supports legal obligations such as consent and access requests.
- Anonymization and pseudonymization
- Related: Data minimization and privacy
Pseudonymization replaces identifiers with substitutes so data can still be linked, while anonymization aims to make re-identification impossible. Pseudonymized data remains personal data, so privacy duties usually still apply.