AP®︎ Cybersecurity: Unit 5 Flashcards

Master key terms and definitions for Unit 5 of AP Cybersecurity – Securing Applications and Data to help you prep for quizzes and the AP exam.


0%
100 cards total
100 not started
0 learning
0 almost done
0 mastered
Term

Unencrypted Files

Definition

Files with no cryptographic barrier; an adversary with access to the device or drive can read their contents even if operating-system permissions are bypassed

1 / 100
Unencrypted Files
Not Started

Files with no cryptographic barrier; an adversary with access to the device or drive can read their contents even if operating-system permissions are bypassed

5.1.A5.1.A.1
Standard User vs. Administrative User
Not Started

A standard user has limited permissions for routine tasks; an administrative user has elevated privileges to control settings and typically access any files or applications

5.1.A5.1.A.2
Elevated Privileges
Not Started

Permissions beyond those of a standard user that allow control of system settings, files, applications, or other protected resources

Weakly Configured Access Controls
Not Started

Permissions that allow more users or applications than necessary to view, edit, execute, or delete resources

5.1.A5.1.A.3
Application
Not Started

A program stored as executable data whose instructions a computer runs; it may run locally or on a server as a web application accessed over a network

5.1.B5.1.B.1
Data Validation
Not Started

Verifying before processing that input meets expected criteria such as type, format, length, range, or allowed characters

5.1.B5.1.B.2
Input Sanitization
Not Started

Removing unsafe content or rejecting input before processing so user data cannot become commands, executable code, or unauthorized file paths

5.5.B5.5.B.2
Injection Attack
Not Started

Supplying an unexpected character string that an application interprets as instructions, altering the program’s intended behavior

5.1.B5.1.B.2
Structured Query Language (SQL)
Not Started

A computer language used to request information from databases and create, change, or delete database entries

5.1.B5.1.B.3
SQL-Injection Attack
Not Started

Placing SQL commands or control characters in application input so a database query discloses, changes, adds, or deletes unintended data

5.1.B5.1.B.4
Hypertext Markup Language (HTML)
Not Started

The markup language used to describe the structure and content of web pages

5.1.B5.1.B.5
JavaScript
Not Started

A scripting language used for dynamic web content whose commands commonly execute in a website visitor’s browser

5.1.B5.1.B.5
Cross-Site Scripting (XSS) Attack
Not Started

Injecting malicious code into a website so that a visitor’s browser executes it in the website’s context

5.1.B5.1.B.6
Type I or Reflected XSS
Not Started

XSS in which malicious code in a crafted link or request is reflected by a vulnerable website and executed by the victim’s browser

5.1.B5.1.B.6
Type II or Stored XSS
Not Started

XSS in which malicious code is saved in website content and executed by the browsers of users who later view that content

5.1.B5.1.B.6
Buffer
Not Started

A designated section of computer memory with a fixed size for holding data such as application input

5.1.B5.1.B.7
Buffer-Overflow Attack
Not Started

Feeding more data into a buffer than it can hold, overwriting adjacent memory and potentially causing crashes or unauthorized code execution

5.1.B5.1.B.8
HTTP GET Request
Not Started

A request sent using Hypertext Transfer Protocol that asks a server for the resource identified by a URL or path

5.1.B5.1.B.9
Directory-Traversal Attack
Not Started

Modifying a URL or GET request, often with ../ parent-directory components, to access server files outside the intended directory

5.1.B5.1.B.10
Confidentiality, Integrity, and Availability (CIA)
Not Started

The three primary security goals: prevent unauthorized disclosure, prevent unauthorized alteration or destruction, and keep data and systems accessible when needed

High Data Risk
Not Started

Risk often involving highly sensitive or regulated data and a highly likely or easily performed exploit with severe consequences

5.1.C5.1.C.2
Moderate Data Risk
Not Started

Risk often involving sensitive data protected by encryption that is too weak or access controls that are not strict enough

5.1.C5.1.C.3
Low Data Risk
Not Started

Risk often involving less sensitive information with weak encryption or loose access controls and relatively limited likely harm

5.1.C5.1.C.4
Data at Rest
Not Started

Data saved on a drive or other storage medium rather than actively being transmitted or processed; it is protected with physical security, encryption, and access controls

5.2.A5.2.A.2
Data in Transit
Not Started

Data being sent between devices; protected through transmission-media security, encryption, and restrictions on senders and receivers

5.2.A5.2.A.2
Data in Use
Not Started

Data being processed by a person or software; it must be unencrypted for use, so access controls are especially important

5.2.A5.2.A.2
Data Classification
Not Started

Categorizing data by sensitivity, potential harm, regulatory requirements, and required handling so more sensitive data receive stronger protection and monitoring

5.2.A5.2.A.3
Personally Identifiable Information (PII)
Not Started

Data that allows a person to be identified, such as a name, address, biometric data, Social Security number, birth date, or email address

5.2.A5.2.A.4
Privacy Act of 1974
Not Started

A law associated in this course with protecting personally identifiable information

5.2.A5.2.A.4
Children’s Online Privacy Protection Act of 1998 (COPPA)
Not Started

A law protecting personal information collected online from children under age 13

5.2.A5.2.A.4
Protected Health Information (PHI)
Not Started

Data about an individual’s health, treatment, or health-care payment, such as test results, treatment records, and visit notes

5.2.A5.2.A.4
Health Insurance Portability and Accountability Act of 1996 (HIPAA)
Not Started

A law that includes protections for protected health information

5.2.A5.2.A.4
Payment Card Information (PCI)
Not Started

Data collected to process card payments, including the name, account number, expiration date, address, and CVV code

5.2.A5.2.A.4
Payment Card Industry Data Security Standard (PCI-DSS)
Not Started

The principal security standard for protecting payment card information

5.2.A5.2.A.4
Cryptography Policy
Not Started

An organizational policy defining approved encryption protocols and algorithms, key lengths, key generation, and key storage

5.2.B5.2.B.1
Web Application Security Policy
Not Started

A policy defining when web applications require security assessment, how assessments occur, and risk-based deadlines for remediation

5.2.B5.2.B.2
Access-Control Subject, Operation, and Object
Not Started

A subject is the user, service, process, or application requesting to perform an operation such as reading or modifying an object such as a file or application

5.2.C5.2.C.1
Role-Based Access Control (RBAC)
Not Started

An access model that assigns subjects to roles and gives permissions to those roles

5.2.C5.2.C.2
Rule-Based Access Control (RuBAC)
Not Started

An access model that evaluates stated rules and contextual conditions to allow or deny access, usually on top of another model

5.2.C5.2.C.3
Discretionary Access Control (DAC)
Not Started

An access model in which object owners choose other subjects’ permissions, subject to administrator or superuser overrides

5.2.C5.2.C.4
Mandatory Access Control (MAC)
Not Started

An access model using strict, centrally administered rules and externally assigned levels for subjects and objects

5.2.C5.2.C.5
Bell-LaPadula Model
Not Started

A mandatory access control model that protects confidentiality through ordered security levels for subjects and objects

5.2.C5.2.C.6
Simple Security Property
Not Started

Bell-LaPadula’s “no read up” rule: a subject may not read an object above its security level

5.2.C5.2.C.6
Star Security Property
Not Started

Bell-LaPadula’s “no write down” rule: a subject may not write to an object below its security level

5.2.C5.2.C.6
Write Up, Read Down (WURD)
Not Started

Bell-LaPadula’s permitted direction: subjects may write at their level or higher and read at their level or lower

5.2.C5.2.C.6
Principle of Least Privilege
Not Started

Give each entity exactly the access needed to perform its function and no more

5.2.C5.2.C.7
Authorization
Not Started

Granting an entity permission to have a particular type of access to a resource

5.2.D5.2.D.1
Linux Read, Write, and Execute Permissions
Not Started

r allows viewing a file, w allows changing it, and x allows running it; they always appear in rwx order

5.2.D5.2.D.2
Linux Owner, Group, and Others Permission Classes
Not Started

The three Linux permission classes, always ordered as file owner, file group, and all other users

5.2.D5.2.D.3
ls -l Command
Not Started

Displays a detailed file listing, including the conventional owner, group, and others permissions

5.2.D5.2.D.4
getfacl Command
Not Started

Displays additional file permissions when a plus sign after the conventional permissions indicates they exist

5.2.D5.2.D.4
chmod Command
Not Started

A Linux command that changes file permissions using numeric values or symbolic entities, operators, and permission letters

5.2.D5.2.D.6
chmod 750
Not Started

Gives the owner read, write, and execute permissions, the group read and execute permissions, and others no permissions

chmod 543
Not Started

Gives the owner read and execute permissions, the group read permission, and others write and execute permissions

chmod 777
Not Started

Gives the owner, group, and all other users read, write, and execute permissions

chmod Symbolic Method
Not Started

Use chmod with u, g, o, or a; + or -; and r, w, or x to add or remove named permissions, such as chmod ug+rx testfile

5.2.D5.2.D.7
chmod ug+rx testfile
Not Started

Adds read and execute permissions for the owner and group on testfile

Cryptography
Not Started

The use of algorithms and keys to hide information and allow it to be recovered with the correct key

5.3.A5.3.A.1
Encryption vs. Decryption
Not Started

Encryption transforms plaintext into ciphertext to hide information; decryption uses the correct key to reverse the transformation and recover the plaintext

5.3.A5.3.A.1
Plaintext vs. Ciphertext
Not Started

Plaintext is the original unencrypted data supplied to an encryption algorithm; ciphertext is the encrypted output and is ordinarily meaningless without the appropriate key

5.3.A5.3.A.2
Cryptographic Algorithm
Not Started

A defined process for encrypting and decrypting information

5.3.A5.3.A.1
Keyspace
Not Started

The number of possible keys an algorithm can use; a larger keyspace makes discovering the correct key by guessing take longer

5.3.A5.3.A.3
Symmetric Encryption (Symmetric-Key Encryption)
Not Started

Encryption that uses the same shared secret key to encrypt and decrypt information

5.3.A5.3.A.4
Asymmetric Encryption
Not Started

Encryption that uses two different related keys, one to encrypt information and the other to decrypt it

5.3.A5.3.A.4
Block Cipher (Block Encryption)
Not Started

Encryption that processes data in fixed-size chunks called blocks, producing an output block for each input block

5.3.A5.3.A.5
Stream Cipher (Stream Encryption)
Not Started

Encryption that handles input continuously and produces output one element, commonly one bit, at a time

5.3.A5.3.A.5
Advanced Encryption Standard (AES)
Not Started

The most common symmetric-key block cipher; it processes 128-bit blocks using 128-, 192-, or 256-bit keys

5.3.B5.3.B.2
OpenSSL AES-128-CBC File Encryption Command
Not Started

Openssl enc -aes-128-cbc -e -in test -k password -out test.enc

5.3.B5.3.B.4
OpenSSL AES-128-CBC File Decryption Command
Not Started

Openssl enc -aes-128-cbc -d -in test.enc -k password -out test

5.3.B5.3.B.4
Asymmetric Key Pair
Not Started

Two equal-length binary keys generated together as mathematical inverses, with either key’s operation reversible only by its partner

5.4.A5.4.A.2
Public Key vs. Private Key
Not Started

The public key is published and can encrypt confidential data for its owner; the private key is kept secret and decrypts data encrypted with the matching public key

5.4.A5.4.A.4
Asymmetric Encryption Workflow
Not Started

The receiver generates a key pair, protects the private key, and publishes the public key; the sender encrypts with the receiver’s public key, and the receiver decrypts with the matching private key

5.4.A5.4.A.4
Private-Key Compromise
Not Started

Exposure, theft, sharing, corruption, or loss of a private key requiring the old key pair to be retired and replaced

5.4.A5.4.A.3
Binary Keyspace Formula
Not Started

An n-bit binary key has 2^n possible values, and each additional bit doubles the keyspace

5.4.B5.4.B.1
Average Random Key-Guessing Effort
Not Started

An n-bit key requires 2^n / 2 = 2^(n−1) guesses on average when keys are tried without repetition

5.4.B5.4.B.2
Key Length
Not Started

The number of bits in a key; within the same algorithm, longer keys generally improve security but require more processing

5.4.B5.4.B.3
Key-Length Comparison
Not Started

Key lengths can be directly compared only within the same cryptographic algorithm, not across algorithms such as RSA and AES.

5.4.B5.4.B.5
RSA
Not Started

A common asymmetric algorithm based on mathematical relationships involving large numbers, used for encryption, signatures, and certificates

5.4.C5.4.C.1
Elliptic Curve Cryptography (ECC)
Not Started

Asymmetric cryptography based on mathematical relationships involving elliptic curves, supporting key pairs, signatures, and certificates

5.4.C5.4.C.1
Digital Signatures and Digital Certificates
Not Started

A digital signature uses a private key and matching public key to verify origin and integrity; a digital certificate associates an identity with a public key

5.4.C5.4.C.1
Secure by Design
Not Started

Building security into every phase of a product’s life cycle as a fundamental design principle rather than adding it after development

5.5.A5.5.A.1
Secure-By-Design Principles
Not Started

Producers should own customer security outcomes, communicate security issues and remediation with transparency and accountability, and provide leadership, authority, and resources for a security-first organization

5.5.A5.5.A.2
Secure by Default
Not Started

The principle that a product’s security features should be enabled in its initial configuration so it is secure out of the box

5.5.A5.5.A.3
Control Characters
Not Started

Characters that delimit or control parts of a processed expression, such as the single quote, double quote, and semicolon

5.5.B5.5.B.1
Accounting
Not Started

The process of recording and monitoring user activities, including who accessed data, when, and what operation was attempted or completed

5.6.A5.6.A.1
Log Analysis
Not Started

Reviewing recorded events for suspicious operations or deviations from normal time, location, device, file, or application access patterns

5.6.A5.6.A.1
Honeypot
Not Started

A monitored file containing fake valuable-looking data; attempted access triggers a high-confidence alert because no legitimate user should access it

5.6.A5.6.A.2
Cryptographic Hash Function
Not Started

A repeatable function that converts data into a hash or digest; the same input and algorithm produce the same output

5.6.D5.6.D.1
Data Loss Prevention (DLP)
Not Started

Monitoring of users’ data access, use, copying, and transmission across an organization to detect suspicious activity, with strong coverage at a higher cost

5.6.B5.6.B.1
Detective-Control Selection Criteria
Not Started

Choose controls according to cost, data or application sensitivity and criticality, and data classification or regulatory requirements

5.6.B
Real-Time vs. Retrospective Detection
Not Started

Real-time detection alerts while activity is occurring and enables prompt response; retrospective detection discovers an attack or change after it occurred

5.6.C5.6.C.2
False Negative
Not Started

A real attack that a detection method fails to identify, such as unchanged data being stolen or an adversary avoiding a honeypot

5.6.C5.6.C.3
File Integrity Verification by Hash
Not Started

Record a file’s hash as a baseline, hash the same file later with the same algorithm, and compare the full digests; a difference means the file was altered

5.6.D5.6.D.3
SHA-256 Hash Command — Windows PowerShell
Not Started

Get-FileHash testfile -Algorithm SHA256

5.6.D5.6.D.2
SHA-256 Hash Command — Bash
Not Started

Sha256sum testfile

5.6.D5.6.D.2
SHA-256 Hash Command — zsh
Not Started

Shasum -a 256 testfile

5.6.D5.6.D.2
SQL Injection Indicators
Not Started

SQL syntax in logged user input, especially quotes, OR 1=1, the comment marker --, or capitalized control words such as WHERE, IN, and FROM.

5.6.E5.6.E.1
Cross-Site Scripting (XSS) Indicators
Not Started

Suspicious HTML or JavaScript in logged user input, particularly <script>...</script> tags

5.6.E5.6.E.2
Buffer Overflow Indicators
Not Started

Unusually long URL, cookie, query string, or total request lengths in a web request

5.6.E5.6.E.3
Directory Traversal Indicators
Not Started

Sequences of ../ in an HTTP GET path, especially repeated sequences leading to files outside the intended web directory

5.6.E5.6.E.4