CISA Encryption, PKI, Cloud, Virtualization, Mobile and IoT Security
Encryption, public key infrastructure (PKI), cloud and virtualization security, and mobile, wireless and IoT security are the logical controls that keep information confidential, intact and available as it moves across modern platforms, and in CISA section 5A, Information Asset Security and Control, the IS auditor evaluates whether they actually work. You will learn which cryptographic technique delivers which property (and why an HMAC cannot give nonrepudiation), the key management controls that decide whether encryption protects anything, how to match protection to data at rest, in transit and in staging, how a PKI is trusted and how certificates are revoked, how responsibility and accountability divide by cloud service model, how to rely on a provider's SOC 2 report and which contract clauses matter, where virtualization concentrates risk, and how mobile, wireless and IoT devices are controlled. Security frameworks, physical controls, identity and access management, network security and data loss prevention are covered in the previous lesson; security testing, monitoring and incident response in Security event management.
On this page10 sections
- Symmetric, asymmetric and hybrid encryption
- Hashing, message authentication codes and digital signatures
- Key management: where most encryption controls fail
- Protecting data at rest, in transit and in staging
- Public key infrastructure and certificate revocation
- Cloud shared responsibility and provider assurance reports
- Cloud contracts: audit rights, data location and exit
- Virtualization risks: hypervisors, inter-VM traffic and images
- Mobile devices and BYOD: MDM, containers and compliance
- Wireless networks and Internet-of-Things devices
- Choose between symmetric, asymmetric and hybrid encryption, and tell which key provides confidentiality and which provides origin and nonrepudiation
- Distinguish hashes, MACs and digital signatures by the integrity, origin and nonrepudiation each delivers
- Evaluate key management controls: separate key storage, segregation of key custodians, rotation, and escrow of encryption but not signing keys
- Match encryption to data at rest, in transit and in staging, and use crypto-erasure as evidence of sanitization
- Explain PKI roles, the certification practice statement, offline root CAs, and CRL versus online status checking
- Apply cloud shared responsibility by service model and rely correctly on SOC 2 reports, user entity controls and carve-outs
- Identify the main virtualization, mobile, wireless and IoT risks and the controls an IS auditor should recommend
Symmetric, asymmetric and hybrid encryption
Symmetric encryption uses one shared secret key to encrypt and decrypt, asymmetric (public key) encryption uses a mathematically linked key pair, and practical systems combine them: a fast symmetric cipher protects the data while public key methods deliver the symmetric key and sign the result. An IS auditor does not need the mathematics, but must recognise which technique delivers which property and where each one is weak.
| Symmetric (for example AES) | Asymmetric (for example RSA, elliptic curve) | |
|---|---|---|
| Keys | One secret key shared by sender and receiver | A public key anyone may hold and a private key only the owner holds |
| Speed | Fast; suited to large volumes and whole disks | Computationally expensive; unsuited to bulk data |
| Main problem | Key distribution: every party must receive the key secretly, and each pair of parties needs its own key, so the number of keys grows quickly with the number of parties (n(n-1)/2) | Trust in the public key: you must know it really belongs to the claimed owner (the job of PKI) |
| Typical use | Encrypting files, databases, transfers and sessions | Exchanging or wrapping symmetric keys, digital signatures, certificates |
Hybrid (envelope) encryption is the normal answer for large transfers: the sender generates a random symmetric session key, encrypts the data with it, then encrypts (wraps) that session key with the recipient's public key. Only the recipient's private key can unwrap it, so the session key never travels in clear text. Secure email and many file-transfer tools wrap the session key this way. Modern TLS (version 1.3) also relies on public key methods to set up the session key, but through key agreement (ephemeral Diffie-Hellman), so the recipient's public key never wraps the key itself.
Which key does what
- Confidentiality to one recipient: encrypt with the recipient's public key (directly, or by wrapping a session key). Only the recipient holds the matching private key.
- Origin and nonrepudiation: sign with the sender's private key. Only the sender holds it, and anyone can verify with the sender's public key.
- Both at once: wrap the session key with the recipient's public key and sign a hash with the sender's private key. Swapping either key breaks one of the two properties: wrapping with the sender's own public key means the recipient cannot decrypt, and a shared-key MAC in place of a signature gives no nonrepudiation.
Encrypting with the recipient's public key alone says nothing about who sent the message, because that key is public and anyone could have used it. When an auditor finds a scheme that only encrypts, the remaining exposure is usually authentication of the sender, not eavesdropping.
A common weakness is a sound cipher with an unsound key channel, such as a symmetric key emailed to a partner. The weakness is the channel, not the key, so every replacement key inherits it; wrapping the key with the partner's public key (or using an established key-exchange protocol) does.
Hashing, message authentication codes and digital signatures
A hash proves data has not changed, a message authentication code (MAC) proves it has not changed and came from someone holding a shared key, and a digital signature proves it has not changed and came from the one holder of a private key, which is what gives nonrepudiation. None of the three makes data unreadable; that is encryption's job.
| Technique | Key | Integrity | Origin | Nonrepudiation | Confidentiality |
|---|---|---|---|---|---|
| Hash (for example SHA-256) | None | Yes, if the reference hash is protected | No | No | No |
| MAC / HMAC | Shared secret | Yes | Yes, between the key holders | No: either key holder could have made it | No |
| Digital signature | Sender's private key | Yes | Yes | Yes, if only the signer ever held the key | No |
| Encryption to the recipient's public key | Recipient's public key | No | No | No | Yes |
Hash functions
A hash function maps any input to a fixed-length digest. It is one-way (the input cannot be recovered from the digest) and a one-bit change in the input produces a completely different digest. Recomputing a hash and comparing it with a trusted earlier value shows whether data changed; it cannot show who changed it or restore the original.
The value of a hash depends on where the reference copy lives. A checksum stored next to the file it protects can be replaced by whoever alters the file. Integrity evidence for logs or archives therefore needs the reference hashes recorded in a separately secured repository the custodians of the data cannot modify. This gives tamper evidence while leaving the data freely readable, which encryption would not.
On a channel an attacker can modify, a plain hash appended to a file only detects accidental corruption: the attacker changes the file and recomputes the hash, because no key is needed, and the choice of hash algorithm cannot change that. A MAC (commonly HMAC) mixes a secret key into the calculation, so only key holders can produce a valid value; a digital signature achieves the same with a private key.
How a digital signature works
Conceptually, using the RSA model (algorithms such as DSA and ECDSA compute and verify the signature differently, with the same result):
- The sender hashes the message.
- The sender encrypts (signs) the digest with its private key; the result is the signature.
- The receiver decrypts the signature with the sender's public key, hashes the received message and compares the two digests.
- A match proves the message is unaltered and was signed by the holder of the private key. The sender's certificate ties that public key to an identity.
Because an HMAC key is known to both parties, it cannot settle a dispute between them: the service could have produced any HMAC the customer could. Where a business needs to hold a party to a transaction, it needs signatures with keys only that party controls.
Key management: where most encryption controls fail
Encryption is only as strong as the management of its keys, so an IS auditor reviewing encryption spends most of the effort on the key life cycle: generation, distribution, storage, use, rotation, backup or escrow, revocation and destruction. Algorithm choice and key length rarely matter as much as who can reach the key.
What to look for
- Separate storage. Keys belong in a key management system or hardware security module (HSM) with its own access control and logging, not in a file or configuration on the server that holds the encrypted data. A key stored beside the data means one server compromise or one stolen backup image yields both.
- Segregation of duties. Encryption protects against people who can reach the data but not the key. If one database administrator can both run the database and retrieve its master key, encryption gives no protection against that person. The preventive fix is to separate the roles: key custodians have no database administration rights, and administrators cannot retrieve keys. Approval by a peer from the same team, or review after the fact, is weaker than keeping the roles apart.
- Generation and randomness. Keys should be generated by approved, well-seeded generators, ideally inside the HSM or the device that will use them.
- Rotation and cryptoperiods. Keys are replaced on a defined schedule and immediately on suspected compromise. Rotation limits how much data one key protects; it does not fix exposure in storage or distribution.
- Dual control and split knowledge for master keys and HSM administration, so no single person can extract or replace them.
- Destruction when a key's life ends, recorded so it can be evidenced (see crypto-erasure below).
Escrow: encryption keys yes, signing keys no
Keeping a recoverable copy of encryption keys is good practice: if an employee leaves or a key is lost, encrypted business data must still be readable. Keeping a copy of signing private keys destroys nonrepudiation, because anyone with access to the escrow could have produced a signature, so the signer can credibly deny it. The sound design separates the two key types: signing keys are generated on the user's own token or device and never copied, while encryption keys are escrowed under strong control. The existence of the copy is the problem, so no protection around it restores nonrepudiation.
Protecting data at rest, in transit and in staging
Data needs a protection matched to each state it passes through: in transit (crossing a network), at rest (on disks, backups and media) and in staging or processing (sitting in folders, queues or memory before and after a transfer). A control for one state does nothing for the others, so an auditor follows the data end to end rather than accepting "it's encrypted".
In transit
TLS (current versions) and VPN tunnels encrypt the session between two endpoints. Once data lands, the session protection ends. A file sent over TLS and then left for days in a staging folder that server administrators can open is exposed at rest, whatever protected the transfer. Access rules administered by the very people to be kept out cannot keep them out. Encrypting the staged files under a key held by the application or service, which the administrators cannot reach, is what protects them.
At rest: the layer decides who is kept out
| Layer | Protects against | Does not protect against |
|---|---|---|
| Full-disk / volume encryption | Lost or stolen devices and drives, discarded media | Anyone using the running, unlocked system |
| Transparent database encryption (TDE) | Stolen data files, backups and storage media | Authenticated database users, including DBAs: the database decrypts automatically for every session |
| Application-level (field) encryption or tokenization | Privileged database and storage administrators, plus everything above | Users of the application who are authorized to see the field |
So when administrators must not see sensitive fields such as card numbers, the data has to be encrypted or tokenized before it reaches the database, with keys managed outside their control. Strengthening TDE itself does not change the fact that the database returns clear text to every authenticated session.
Portable devices
For laptops and removable drives the control that keeps data confidential after loss is full-disk encryption with authentication before the operating system starts (pre-boot authentication, often with a TPM). Controls enforced only by the running operating system are bypassed by removing the drive, and controls that deter theft do nothing once the device is gone.
Crypto-erasure
Destroying the keys that protect encrypted data renders every copy unreadable, wherever it sits: replicas, versions, snapshots and backups. In a cloud service, where the customer cannot inspect or sanitize the provider's media, deleting customer-controlled key material (keys generated in, and never exported from, the customer's own key service) is the strongest evidence that the data can no longer be read. Evidence that covers only the copies the customer can see, or that rests on the provider's word, is weaker.
Public key infrastructure and certificate revocation
A public key infrastructure (PKI) is the set of roles, policies and systems that binds public keys to identities through certificates, so that relying parties can trust a key they did not exchange in person; an auditor judges a PKI by its documented practices, the protection of its CA keys and how fast it can withdraw trust.
Roles
| Component | Job |
|---|---|
| Certification authority (CA) | Issues, signs and revokes certificates; its own signing key is the root of trust |
| Registration authority (RA) | Verifies applicants' identity on the CA's behalf and passes approved requests to the CA; it does not sign certificates |
| Root and subordinate (issuing) CAs | The root certifies subordinates; subordinates issue end-entity certificates |
| Directory / repository | Publishes certificates and revocation information |
| Time-stamping authority | Attests that data existed at a given time (useful for long-term signature validity) |
| Certificate policy (CP) | States what a class of certificates may be used for and the rules that apply |
| Certification practice statement (CPS) | Describes how the CA actually operates: identity vetting, key generation and protection, issuance, revocation, audits |
Before relying on an external CA, an auditor starts with its CPS, because it sets out how applicants are vetted and keys are protected, then looks for independent audit evidence that the CA follows it.
Protecting the root
An online root that issues every certificate directly is a single point of failure: if it is compromised, every certificate loses its basis of trust and the whole PKI must be rebuilt. Good practice keeps the root CA offline (often powered down in a vault, keys in an HSM, ceremonies under dual control) and uses it only to certify subordinate issuing CAs. A compromised subordinate can then be revoked and replaced while other branches stay trusted.
Revocation: CRL and OCSP
A certificate's expiry date is not the whole story; a CA can withdraw it early, for example after key compromise or when the holder leaves. Relying parties learn of this from:
- Certificate revocation lists (CRLs): signed lists of revoked serial numbers published periodically. A relying party that downloads the list weekly will keep accepting a certificate revoked just after the last download, for up to a week.
- Online status checking (OCSP): the relying party asks the issuer for the certificate's status when it is presented, which closes the freshness gap. More frequent CRL downloads narrow the gap but do not remove it.
When a private key is lost or stolen, the first action is to request revocation of the certificate bound to it, so that relying parties checking status reject anything the thief signs. Until the certificate is revoked, signatures made with the stolen key still validate, so every other response comes after.
Cloud contracts: audit rights, data location and exit
A cloud contract is the customer's main control over a provider, and the clauses an IS auditor checks first are those that give continuing evidence about the provider's controls, fix where data lives, and let the organization leave with its data. Each clause addresses a specific risk, so the "best" clause depends on the risk named.
| Risk | Clause that addresses it |
|---|---|
| No ongoing evidence that controls operate | Right to audit, or a commitment to supply regular independent assurance reports (such as SOC 2 Type II) for the services used |
| Data held in the wrong jurisdiction | Stated locations for primary data and backups, replicas and support access, with notice before any change |
| Provider discontinues the service, is acquired or fails | Exit terms: return of all data in a usable, documented format within a defined period, transition assistance and confirmed deletion afterwards |
| Breaches discovered late | Security incident notification within an agreed time |
| Poor availability | Service levels with credits (compensation, not assurance) |
| Losses from outages or breaches | Liability terms and caps (allocation of loss, not control) |
An ISO/IEC 27001 certificate answers a different question from an assurance report: it attests that an information security management system exists and was found conforming at certification and surveillance audits for its stated scope; it does not report how specific controls operated over a period.
Data residency
Where a law requires personal data to stay in a country and the provider by default spreads data and backups across regions, the first step is to resolve the legal constraint: obtain contractual commitments on where primary and backup copies reside (and later verify them). Most residency rules concern where data is held, not only who can read it, so controls that protect confidentiality do not by themselves satisfy them.
The broader vendor-selection and contract management process (due diligence, ongoing monitoring of suppliers) is taught with IT vendor management; this lesson covers the clauses that matter specifically for cloud services.
Virtualization risks: hypervisors, inter-VM traffic and images
Virtualization concentrates risk in the hypervisor and its management console, because every guest depends on them for isolation, so the greatest single exposure in a virtual environment is compromise of hypervisor administration. Whoever controls the management console can start, stop, copy, reconfigure and reconnect every guest it manages.
Risks an auditor reviews
- Hypervisor and console access: few named administrators, strong (multi-factor) authentication, a separate management network, logging of console actions and timely hypervisor patching.
- Inter-VM traffic visibility: traffic between guests on the same host and the same virtual switch or segment is switched by the hypervisor and never reaches the physical network (traffic routed between segments by a physical router or firewall does leave the host). A network intrusion detection system on a physical switch port cannot see it. Virtual network monitoring or virtual firewalls are needed where guests of different trust levels talk to each other.
- Mixed trust zones: running development and production, or cardholder and general workloads, on the same host places systems of different trust levels side by side. Combined with blind inter-VM traffic, a compromised low-trust guest could attack a high-trust one unseen. Separate hosts or clusters per trust zone, or virtual segmentation with monitoring, address it.
- Snapshots and images: a VM snapshot or disk image captures the whole disk and sometimes memory, including database contents and credentials. An image kept where a broad group of staff can read it bypasses every access control inside the guest, including the database's. Images need the same classification and protection as the data inside them.
- VM sprawl: easy provisioning leaves idle, unpatched and unowned machines. Inventory, ownership and decommissioning keep it in check.
- Templates: hardened golden images should be maintained and refreshed so new guests start from a secure baseline.
Automatic movement of guests between hosts for load balancing is expected behaviour, not a finding, provided all hosts in the cluster share the same security configuration and trust zone.
Mobile devices and BYOD: MDM, containers and compliance
Mobile devices are protected through mobile device management (MDM): enrollment before access, enforced settings (passcode, encryption, OS version), separation of company data, remote or selective wipe, and continuous compliance checks that cut off devices that fall out of policy.
Corporate and personal devices
- Lost corporate device: the control that protects its data is a remote wipe through MDM. Controls that only delay access or help find the device leave the data in place.
- Bring your own device (BYOD): the organization cannot reasonably wipe an employee's whole phone, and the employee legitimately knows the passcode. Keeping company email and files in a managed container (or managed apps) lets the organization revoke access and selectively wipe its data on departure or loss while leaving personal content alone.
Point-in-time versus continuous compliance
A check made once, when a device is first registered, says nothing about its state a month later. Jailbreaking or rooting breaks a device's security model: other apps may read company data and management restrictions may be bypassed. Posture therefore has to be evaluated continuously and tied to access, so that the management or conditional-access service cuts off or quarantines a device automatically when it falls out of policy. Periodic checks leave a window between them.
Testing MDM coverage
To show that every device reaching company data is managed, the auditor needs a population drawn from the systems devices connect through, not from the management tool, and then compares it with the managed list. A tool's own reports can describe only devices it already knows about, so they cannot reveal the ones that never enrolled.
Wireless networks and Internet-of-Things devices
Wireless security rests on per-user enterprise authentication, isolation of untrusted (guest) traffic and detection of rogue access points, while IoT security rests on knowing which devices exist, removing default credentials and containing devices that cannot be patched.
Wireless controls
| Mode | How users authenticate | Removing one person's access |
|---|---|---|
| Personal (pre-shared key) | One password shared by everyone | Change the key and redistribute it to everyone else |
| Enterprise (802.1X with a RADIUS service) | Each user's or device's own credential, checked against the directory or certificates | Disable that user's account or certificate |
- Shared keys: a long-unchanged pre-shared key known to former employees cannot be withdrawn from individuals. Rotating it on every departure works but is costly and error-prone. Moving to 802.1X with individual directory accounts solves the root cause with the least ongoing effort, since joiner-leaver processes already maintain those accounts.
- Server certificate validation: in password-based 802.1X methods (such as PEAP), the device builds a protected tunnel to the authentication server and sends credentials inside it. If devices do not validate the server's certificate (trusted CA and expected server name), an attacker with a look-alike access point and its own server collects the credentials. Certificate-based device authentication (EAP-TLS) avoids passwords altogether.
- Rogue access points: an access point that someone connects to the internal network without authorization creates an uncontrolled entry to the internal network, usually without the organization's authentication or encryption. Wireless scanning or a wireless intrusion prevention system, plus port-level network access control, detect and block them.
- Guest networks: a separate SSID and password control who joins; isolation controls where traffic goes. Guest traffic should reach the internet only, through a separate VLAN or connection, never the internal network.
- Protocols: WPA3 is the current standard and WPA2 remains acceptable where properly configured, especially in Enterprise mode; WEP and WPA are obsolete. Hiding the SSID and MAC address filtering are weak controls: names are still discoverable and MAC addresses are easily spoofed.
Internet-of-Things devices
Cameras, badge readers, building sensors and plant equipment are often bought by facilities or operations teams outside IT, so many are unrecorded. An IoT risk assessment therefore starts with a complete inventory of connected devices and their owners; every later control depends on knowing that population.
- Default or shared credentials: a password identical on every unit is effectively public. The preventive control is a unique credential set on each device during installation, before it is reachable.
- Devices that cannot be patched: when firmware is fixed and credentials are hard-coded, controls go around the device: an isolated network segment allowing only the traffic the device needs to its management systems, until it can be replaced.
- Support life in procurement: the cheapest point to fix firmware support is before the contract is signed. Require security updates for the device's planned service life; anything done after deployment costs more or leaves more risk.
Network segmentation design, firewalls and network access control in general are taught in the network and end-point security lesson; this section covers how they apply to wireless and IoT.
Tip. Questions on this topic are written from the IS auditor's chair: which control best protects data in a described situation, what the greatest remaining risk is after a partial control, what to recommend or do first, and which evidence is most reliable. Expect scenarios on choosing and combining encryption techniques, hashes versus MACs versus signatures, key storage and segregation, escrow, TDE and staging folders, PKI design and revocation, cloud service models, SOC 2 reports with user entity controls or carve-outs, cloud contract clauses, hypervisor and snapshot exposure, BYOD containers and compliance, enterprise wireless, rogue and guest networks, and IoT devices with default credentials or no patches. Several options are usually defensible; the item turns on which one addresses the root cause or the stated constraint, preventive over detective, and the auditor's role.
- Use symmetric ciphers for bulk data and public key methods to deliver the symmetric key; encrypt to the recipient's public key for confidentiality and sign with the sender's private key for nonrepudiation.
- A hash detects change only if its reference copy is protected; a MAC adds a shared key; only a digital signature, with a key one party alone holds, gives nonrepudiation.
- Key management is where encryption fails: keys stored beside the data, or one person holding both data and key access, defeat any algorithm.
- Escrow encryption keys so data stays recoverable, but never keep copies of signing private keys.
- TLS protects only the session; TDE does not stop DBAs; full-disk encryption with pre-boot authentication protects lost devices; destroying customer-controlled keys is the strongest cloud sanitization evidence.
- Rely on a CA through its practice statement and audits; keep the root offline; revoke first when a private key is compromised; online status checks close the CRL freshness gap.
- Cloud responsibility for operating controls follows the service model, but accountability for the data stays with its owner; test CUECs yourself and get separate assurance for carved-out subservice organizations.
- Hypervisor console compromise has the widest impact; traffic between guests on the same virtual switch is invisible to physical-network IDS; production snapshots need the protection of the data inside them.
- MDM with containers, selective wipe and continuous compliance protects mobile data; test coverage from the population that actually connects.
- Use 802.1X with server certificate validation, isolate guest traffic and hunt rogue access points; for IoT, inventory first, remove default credentials and segment what cannot be patched.
Frequently asked questions
Why does a digital signature provide nonrepudiation when an HMAC does not?
A digital signature is made with the sender's private key, which only the sender holds, so a valid signature can be attributed to that sender alone. An HMAC is made with a secret key shared by both parties, so either of them could have produced it; it proves integrity and that a key holder created the message, but it cannot settle a dispute between the two key holders.
Why should signing keys not be escrowed when encryption keys are?
Escrowing encryption keys keeps encrypted business data recoverable if a key is lost or an employee leaves. Signing keys need the opposite property: nonrepudiation depends on only the signer ever holding the private key. If the organization keeps a copy, anyone with access to it could have produced a signature, so the signer can credibly deny it. Signing keys should be generated on the user's own token and never copied.
Does transparent database encryption stop database administrators from seeing sensitive data?
No. Transparent database encryption encrypts data files and backups, so stolen media are unreadable, but the database decrypts data automatically for every authenticated session, including administrators. Keeping fields such as card numbers from administrators requires encrypting or tokenizing them in the application, with keys the administrators cannot reach.
What is the difference between a CRL and OCSP?
A certificate revocation list (CRL) is a signed list of revoked certificate serial numbers that a certification authority publishes periodically and relying parties download, so a certificate revoked after the last download is still accepted until the next one. OCSP (Online Certificate Status Protocol) lets a relying party ask the issuer for a certificate's status at the moment it is presented, closing that freshness gap.
Who is accountable for data stored in a SaaS application?
The organization that owns the data. In software as a service the provider operates most controls, from facilities to the application, and the customer still manages user access and configuration, but accountability for protecting the data remains with the data owner. Contracts and assurance reports help the owner oversee the provider; they do not transfer accountability.
What are complementary user entity controls in a SOC 2 report?
Complementary user entity controls are controls that a service organization's report assumes its customers operate, such as reviewing their own users' access to the service. The provider's service commitments and system requirements are achieved only if those customer controls also work. The service auditor does not test them and the report's opinion does not cover them, so the customer's auditor must test them within the customer organization.
What is the biggest risk in a virtualized environment?
Compromise of the hypervisor or its management console, because every virtual machine depends on the hypervisor for isolation and the console can start, copy, reconfigure and reconnect all of them. Other significant risks are traffic between virtual machines that physical network monitoring cannot see, mixing trust levels on one host, poorly protected snapshots and VM sprawl.
How should an organization reduce the risk from IoT devices that cannot be patched?
Apply controls around the devices: place them on an isolated network segment that allows only the traffic they need to their management systems, replace default credentials where the device allows it, and plan replacement. The first step in any IoT review is a complete inventory of connected devices and their owners, and future purchases should require security updates for the device's planned service life.
Source
This lesson covers the "Protection of Information Assets" domain of the official CISA exam guide. Vendors revise their guides — check the source for the current version.
- ISACA CISA Exam Content Outline — ISACA
Sign up free to mark lessons complete, bookmark topics and track your exam readiness.