A personal application can contain information that matters deeply to its users: private notes, health observations, family details, photos, relationships, or shared plans. These records are valuable because they describe real people’s lives, not merely because they have monetary value.
Cyberattacks can put that information at risk in several very different ways. An attacker might steal an account password, compromise a phone, take over a service provider’s server, or copy an entire database. Those events do not give an attacker the same capabilities, and they do not have to lead to the same outcome.
Understanding the difference is essential when evaluating a privacy claim. In particular, end-to-end encryption and zero-access architecture can fundamentally change what an attacker gains from a server breach. They cannot, by themselves, guarantee that a device with authorized access will never be compromised.
This guide explains fifteen common attack techniques, threats, and security incidents, with a focus on the consequences for personal information.
What exactly is being attacked?
An application that stores or synchronizes personal information usually has several distinct security boundaries:
- The account: The credentials and sessions used to identify a person to the service.
- The device: The phone or computer where a user views information and where client-side encryption and decryption take place.
- The service: The servers that handle synchronization, account operations, and other functions.
- The communication: The network paths and protocols through which devices and servers exchange information.
- The data itself: The records, local copies, backups, and encrypted or unencrypted payloads that an attacker may try to steal, modify, or make unavailable.
An attacker who controls a synchronization server is not necessarily able to read a properly encrypted record. Conversely, an attacker who controls an authorized device may be able to see the record after that device decrypts it. The distinction follows from where plaintext and usable decryption keys actually exist.
A threat model makes these boundaries explicit and identifies which attacks a given architecture is designed to resist.
Account attacks
Account attacks target the credentials, login processes, and sessions used to access an application. They can let an adversary act as the account holder, even when the attacker has not compromised the service provider’s infrastructure.
Phishing
Definition
Phishing is an attempt to deceive a person into disclosing sensitive information, authorizing an unsafe action, or interacting with a malicious service by impersonating a trusted person, organization, or system.
Also known as: Phishing attack
Phishing exploits a person’s trust rather than attempting to mathematically break encryption. An attacker may impersonate an application provider, colleague, friend, or support representative to induce someone to reveal a password, approve a login, disclose a recovery secret, or open a malicious attachment.
Phishing can arrive through email, messages, websites, or voice communication. Its effectiveness often depends on whether the request appears plausible and urgent, not on the technical sophistication of the message.
For an encrypted personal application, the most serious consequences can extend beyond account access. A person tricked into revealing a private recovery secret, an encryption key, or an approval for a new trusted device may inadvertently grant an attacker the means to access content that the service’s servers themselves cannot decrypt.
Phishing-resistant authentication, such as properly implemented origin-bound passkeys, can reduce login-related risks. But no login mechanism alone prevents a person from being deceived into sharing a separate recovery secret or approving an unintended action.
Credential Stuffing
Definition
Credential stuffing is an automated login attack that tests username-and-password combinations obtained from other breaches against additional accounts and services.
Credential stuffing relies on a familiar problem: people sometimes reuse passwords across services. After one provider suffers a credential breach, an attacker tests exposed username-and-password pairs against unrelated services.
The attacker does not need to discover a new password. It is enough that a password used elsewhere still works.
Unique passwords, passkeys, and strong multi-factor authentication are important defenses, together with appropriate abuse detection and rate controls on the service. A compromised login can still be serious even when it does not automatically provide the encryption keys needed to read private content.
The OWASP Credential Stuffing Prevention Cheat Sheet distinguishes this technique from password spraying and conventional password guessing.
Password Spraying
Definition
Password spraying is a password-guessing attack in which an adversary tries one or a small number of common passwords against many different accounts.
Password spraying reverses the focus of repeated password guessing. Rather than testing many passwords against one account, the attacker tries a small set of common or likely passwords across many accounts.
Spreading attempts across accounts can make simple per-account failure limits less effective. An attacker may also exploit predictable passwords or passwords reused by many people within the same organization.
Password spraying and credential stuffing are both attacks on authentication, but they use different sources and patterns of guesses. Neither involves directly breaking the mathematical security of a modern encryption algorithm.
Brute-Force Attacks
Definition
A brute-force attack systematically tests candidate secrets, such as passwords or cryptographic keys, until a valid one is found. Its feasibility depends on the size and predictability of the search space and the defenses around the target.
Also known as: Brute-force attack, Password brute forcing
Brute force means systematically testing possibilities until a valid secret is found. In an account attack, this might mean guessing many passwords against a single login or trying candidates against a stolen password verifier.
Feasibility depends on the secret being attacked. Human-selected passwords are often short or predictable enough that guessing can be practical, especially when an attacker can make offline attempts against poorly protected password hashes.
Brute-forcing a strong cryptographic key is an entirely different problem. A uniformly random 256-bit symmetric key has such an enormous search space that exhaustive guessing is not a practical way to defeat properly implemented modern encryption with known classical computing techniques. Attackers therefore frequently target passwords, key handling, devices, or software vulnerabilities instead.
This distinction is important: a service account password, a password-derived key, and an independently generated 256-bit cryptographic key do not inherently have the same strength.
Account Takeover
Definition
Account takeover is the unauthorized control or use of another person's account, commonly after credentials, authentication factors, or active sessions have been stolen or misused.
Also known as: Account hijacking, ATO
Account takeover is a result, not one specific method of attack. It may follow phishing, credential stuffing, theft of a session token, or exploitation of an account-recovery process.
A stolen active session can sometimes be used even without knowing the account password. This is why multi-factor authentication is not a complete defense against every form of session hijacking. The OWASP Cookie Theft Mitigation Cheat Sheet discusses that distinction.
What account takeover exposes depends on the application architecture. In a conventional service, control of an account may lead directly to private records stored in readable form by the provider. In a zero-access system, account authentication and cryptographic access to protected content are distinct. Taking over a server-side account must not be assumed to provide the data-decryption keys.
This does not make account takeover harmless. An attacker might still disrupt a service, misuse account functions, access information that is not end-to-end encrypted, or attempt to exploit weak device enrollment and recovery mechanisms.
Device threats
The device is especially important in a client-side encrypted application. It is where private information becomes readable to the authorized user, making device security an essential part of the overall system.
Malware
Definition
Malware is software designed or used to perform malicious actions on a device or system, such as stealing information, altering behavior, spying on activity, or disrupting access.
Also known as: Malicious software
Malware can steal files, inspect information, interfere with applications, hijack sessions, or deny access to a system. It may reach a device through malicious downloads, exploited software vulnerabilities, compromised updates, or deceptive messages.
Its impact depends on the privileges it gains. Malware that cannot access an application’s protected storage has very different capabilities from code executing with the permissions of the app or operating system.
Encryption is exceptionally effective at protecting data from parties who lack the necessary keys. But malware running where an authorized application decrypts content may target the plaintext or keys after the legitimate decryption operation, rather than attacking the encryption algorithm.
Spyware
Definition
Spyware is malware or similarly intrusive software that covertly observes a user's device or activities and collects information without appropriate authorization.
Spyware focuses on observing a person’s activity and collecting information. Depending on its capabilities, it may monitor inputs, screen content, files, notifications, or other data available on the device.
For example, a secure notes application can keep synchronized copies unreadable to its provider, yet sophisticated spyware on an authorized phone may still observe the notes while the user reads them.
This is not a contradiction in the encryption guarantee. The device is an authorized endpoint, and the application must eventually display plaintext there. Defending that endpoint requires software security, appropriate permissions, timely updates, and protection against device compromise.
Device Compromise
Definition
Device compromise occurs when an unauthorized party gains sufficient access or control over a device to interfere with its operation, extract information, or act using its privileges.
Also known as: Compromised device, Endpoint compromise
Device compromise is the broader state in which an attacker obtains unauthorized access or control over an endpoint. Malware and spyware can cause it, but so can other failures, including insecure device management, theft of an unlocked device, or exploitation of operating-system vulnerabilities.
A compromised authorized device might expose local plaintext, accessible private keys, session credentials, or the ability to initiate apparently legitimate actions. A system using end-to-end encryption cannot treat such a device as an untrusted intermediary while simultaneously allowing it to decrypt the user’s information.
Measures such as device encryption, strong device authentication, trustworthy software distribution, and timely security updates help reduce this risk. Cryptographic access controls can limit what other devices or servers possess, but they cannot make an already compromised authorized endpoint intrinsically trustworthy.
Server and infrastructure threats
Servers and software supply chains are attractive targets because one successful intrusion may affect many users. The damage depends not only on how well the infrastructure is defended, but also on which secrets and readable data the infrastructure holds in the first place.
Server Compromise
Definition
Server compromise occurs when an attacker gains unauthorized access to or control over a server, potentially allowing the attacker to inspect available data, change behavior, steal accessible secrets, or interrupt services.
Also known as: Compromised server
A server compromise can give an attacker the ability to inspect server-accessible files and databases, extract credentials stored there, alter responses, or disrupt operations. In a conventional application that stores private records in plaintext or retains the keys to decrypt them, this can expose many users’ personal information at once.
A zero-access architecture changes that risk. When only authorized clients have usable content-decryption keys, copying the server’s encrypted records does not reveal their plaintext. This remains a meaningful protection even if the attacker has full access to the encrypted server-side database.
Active control is a different threat from passive theft. A malicious server could also withhold updates, replay material, manipulate account state, or try to substitute public keys during sharing. A secure design must authenticate relevant identities and key-establishment operations, rather than assuming that the server’s key directory is inherently trustworthy.
Server compromise may also expose operational metadata, account information, or other server-managed data that is outside the encrypted-content boundary. It can disrupt availability even when it cannot decrypt private data.
Insider Threats
Definition
An insider threat is a risk posed by someone with legitimate access to an organization or its systems who intentionally or unintentionally causes harm to information, services, or security.
Also known as: Insider threat
Insider threats arise from people who legitimately possess some level of access: employees, administrators, contractors, or other trusted operators. An insider might intentionally misuse privileges, make a security mistake, or inadvertently expose information.
Organizations can reduce this risk through least-privilege access, auditing, separation of duties, and secure operational processes. These measures remain important, but they are primarily about controlling what authorized personnel are permitted to do.
A cryptographic architecture can go one step further by ensuring that even a highly privileged server administrator never receives the keys required to decrypt private user content. This reduces the amount of sensitive information that an insider could access through their server privileges, without pretending that insider threats to infrastructure or availability cease to exist.
Supply-Chain Attacks
Definition
A supply-chain attack compromises a target indirectly by tampering with or exploiting software, components, build processes, service providers, or other dependencies the target relies upon.
Also known as: Software supply-chain attacks
A supply-chain attack reaches a target through something it depends on. This can include a malicious software dependency, compromised build infrastructure, a tampered update mechanism, or a trusted supplier that has itself been breached.
The danger is particularly important for privacy software. Users may correctly protect their private keys from the service’s servers, yet still depend on the authenticity and integrity of the application running on their own devices. A malicious update that executes inside a trusted client could undermine the very endpoint that holds those keys.
Supply-chain security therefore involves trustworthy dependencies, controlled releases, software-signing and distribution protections, and careful security review. It is a separate concern from protecting encrypted content after that content has reached an untrusted server.
The NIST glossary definition of supply-chain attack includes attacks throughout a product or service lifecycle, not only third-party library compromises.
Network attacks
A network can be observed or manipulated without either endpoint necessarily being compromised. Transport security and end-to-end security address different parts of this problem.
Man-in-the-Middle Attacks
Definition
A man-in-the-middle attack occurs when an adversary places itself between communicating parties to observe, intercept, relay, or alter their communication, often by undermining the parties' ability to authenticate whom they are communicating with.
Also known as: Man-in-the-middle attack, MITM attack, On-path attack
A man-in-the-middle attack, also called an on-path attack, places an adversary between communicating parties. Depending on the circumstances, the adversary might try to read traffic, inject or change messages, impersonate one party, or interfere with delivery.
Correctly authenticated TLS provides strong protection for communication between its own endpoints. However, TLS to an application server does not prevent that server from reading data it is authorized to decrypt. That requires a separate trust decision.
End-to-end encryption can protect user content through intermediate services when only the intended endpoints possess the necessary keys. Yet encryption alone does not authenticate the identity behind an untrusted public key. Robust protocols must bind keys to trusted identities and verify message authenticity.
Even when an intermediary cannot read or successfully alter protected content, it may still observe communication timing, frequency, and ciphertext sizes, or block messages. See Traffic Analysis for the privacy implications of those observable patterns.
Data threats and security incidents
The remaining terms describe what may happen to information once an attack succeeds. They are important, but they should not be confused with the techniques used to cause them.
Data Breach
Definition
A data breach is a security incident involving unauthorized access to, acquisition of, or disclosure of information, or a loss of control over protected data. The sensitivity of what is exposed depends on the data and its protections.
Also known as: Data security breach
A data breach concerns the loss of control over information through unauthorized access, acquisition, or disclosure. A breach might follow phishing, a server intrusion, misuse of insider privileges, or a compromised endpoint.
The nature of the exposed material matters. A copied database containing readable health records is not equivalent, in confidentiality impact, to a copied database containing only strongly encrypted records whose keys remain exclusively with authorized users. The latter may still expose operational metadata or other unprotected information, and its legal classification depends on applicable law and the incident’s circumstances.
It is therefore more useful to ask what was actually exposed and who can make sense of it than to assume that every database theft necessarily reveals all underlying personal content.
NIST’s glossary definition of a breach is broader than any single hacking technique and encompasses several ways protected information can leave authorized control.
Data Exfiltration
Definition
Data exfiltration is the unauthorized extraction or transfer of information from a system, whether the copied material is readable plaintext, encrypted content, or other sensitive information.
Also known as: Data theft
Data exfiltration is the unauthorized extraction or transfer of information from a system. For example, an intruder might copy a database, upload documents to an external destination, or steal accessible files from a compromised device.
Exfiltration tells us that information was taken, not whether it was readable. Copying opaque encrypted payloads without their keys is materially different from obtaining plaintext or usable private keys.
For that reason, a security assessment should distinguish the exfiltration of ciphertext, operational metadata, and decryption-capable secrets. Such distinctions determine whether the event threatens confidentiality immediately, could support later analysis, or may have relatively limited impact on the protected content.
Ransomware
Definition
Ransomware is malicious software used to deny access to files or systems, commonly by encrypting or locking them, and to demand payment or another concession; some attacks also involve stealing data for extortion.
Ransomware is primarily an attack on availability, frequently combined with theft and threatened disclosure. It can prevent access to files or systems by encrypting local files, locking resources, or otherwise disrupting operations. Some ransomware operators steal data before denying access and then use the possibility of disclosure for additional extortion.
Strong encryption in a privacy application does not automatically defend against ransomware. An attacker may encrypt or destroy files that were already securely encrypted by the application. Conventional file synchronization can then propagate those unwanted changes to other devices. This is why synchronization alone must not be mistaken for a recoverable backup.
Local-first applications may keep copies of useful data on more than one device, which can help when a particular device becomes unavailable. But the mere existence of another copy does not guarantee it is intact, recent, or recoverable.
Authenticated encryption can detect unauthorized ciphertext modification, but it cannot prevent every destructive action by a compromised authorized application. Independent, recoverable backups therefore remain essential even for encrypted, synchronized software.
The EU Agency for Cybersecurity (ENISA) recommends isolated backups and the 3-2-1 backup rule for ransomware resilience. Replication and cryptographic integrity can greatly improve recovery from a damaged replica, but they do not eliminate the need for protected recovery mechanisms.
How to reduce the risk to personal data
There is no single measure that defeats every cyberattack. Effective protection combines measures that address different trust boundaries.
For individual users, good starting points include unique account credentials or passkeys, appropriate multi-factor authentication, timely software and device updates, caution with unexpected requests, and access to reliable backups. These steps reduce risks associated with stolen accounts, compromised devices, and data loss.
For application developers, the architecture matters just as much as operational practices. Important design questions include:
- Does the service need to hold readable personal data? If not, client-side encryption can eliminate an entire category of server-side disclosure risk.
- Who controls the decryption keys? The answer should remain clear for backups, account recovery, additional devices, and shared groups.
- How are identities authenticated? Attackers must not be able to substitute recipient keys merely by controlling a network or directory server.
- What can a compromised server still observe or disrupt? Operational metadata and availability remain relevant even when private payloads are encrypted.
- How are trusted clients and recovery paths protected? Compromised devices and malicious software updates can bypass the confidentiality boundary that protects server-stored ciphertext.
This is the distinction between treating privacy as a provider’s behavioral promise and enforcing a substantial part of it through the system’s cryptographic architecture.
Cyberattacks against personal data and Nyskra
The consequences of an attack depend on which boundary is compromised. Nyskra Zero protects all synchronized and selectively shared personal-data payloads using XChaCha20-Poly1305 AEAD with 256-bit keys. Client-side end-to-end encryption and our zero-access architecture keep the keys for reading private content outside the independent control of the service. Theft of server-held ciphertext alone therefore does not automatically expose the private plaintext.
Nyskra also protects local application databases with 256-bit ChaCha20-Poly1305 authenticated encryption. That helps protect data at rest when the key remains inaccessible. It does not protect decrypted information from spyware or malware operating within an unlocked, authorized application. Phishing and compromise of identity or key material require separate defenses.
Authenticated encryption can detect tampering with protected ciphertext; it cannot stop an already-compromised authorized client from taking harmful actions within its permissions. Similarly, local replicas may improve resilience, but synchronization does not guarantee reliable recovery after accidental deletion or ransomware. Independent backups and secure recovery remain important.
Together, these layers protect private information at several points in the system, from local storage to encrypted synchronization. For a wider context, see ENISA Threat Landscape 2026 and Cryptographic Key Management.
Further reading
- OWASP: Credential Stuffing Prevention Cheat Sheet explains credential stuffing, password spraying, and brute-force authentication attacks.
- OWASP: Cookie Theft Mitigation Cheat Sheet explains why an authenticated session is itself a target.
- NIST: Breach and NIST: Cybersecurity Incident help distinguish the consequences of attacks from the techniques used.
- NIST: Supply-Chain Attack describes attacks through software, services, and other dependencies.
- ENISA: Ransomware - Publicly Reported Incidents Are Only the Tip of the Iceberg explains ransomware risks and recommends isolated backups and multiple independent copies.