A finance officer receives a voice message in the chief executive's voice, asking for an urgent payment to a new supplier and giving a mobile number for questions.
Ransomware, zero-day attacks and AI threats
Some attacks get ahead of the defender in ways that patching and strong ciphers alone cannot stop. Ransomware turns good encryption against its victim. A zero-day attack uses a flaw that nobody has fixed. Artificial intelligence can be fooled, poisoned or used to fake a voice. No background beyond the earlier cryptography is assumed. A security manager must know which defences still work in each case, and which decisions belong to senior management.
By the end of this unit you will be able to:
- Explain how ransomware uses hybrid encryption and why the files cannot be decrypted without the attacker's key
- Choose the ransomware defences that work: offline backups, segmentation and isolation
- Explain the legal and practical case against paying a ransom, and who decides
- Tell apart a zero-day vulnerability, a zero-day exploit and a zero-day attack, and choose defences when no patch exists
- Tell apart evasion, data poisoning, model poisoning, prompt injection and deepfakes, and attacks that extract data or the model itself
Monday morning at a dental practice
An illustrative example
Staff at a dental practice arrive to find that no patient record will open. Every file has a new ending, and a note on each screen demands payment in cryptocurrency within 72 hours. A second message says that patient records have also been copied, and will be published if the practice does not pay.
The practice backs up every night to a drive that stays plugged into the server. The practice manager wants to pay at once and get back to work.
What should happen first, and who should decide whether to pay?
Ransomware: cryptography used by the attacker
Ransomware is malicious software that the files on a device, making them and every system that relies on them unusable, and then demands payment for the key. The encryption is not a weak home-made . It is sound , used against the owner.
Most ransomware uses hybrid encryption: a fast symmetric cipher encrypts the files, and the attacker's public key encrypts the . One United States advisory describes a group pairing the ChaCha20 with RSA in exactly this way.
- The malware creates a fresh symmetric key on the victim's computer.
- It encrypts the files quickly with that key.
- It encrypts the symmetric key with the attacker's public key and deletes the unprotected copy.
- Only the attacker's private key, which never touches the victim's network, can recover the symmetric key.
Double extortion adds a second threat. Before encrypting, the attackers copy data out and threaten to publish it. Some groups now skip encryption and extort with stolen data alone. Backups restore files; they do nothing about a leak.
| Threat | What gives the attacker the lead | What still works |
|---|---|---|
| Ransomware | Sound encryption under a key only the attacker holds | Offline backups, segmentation, fast isolation |
| Zero-day attack | A flaw with no , unknown to the defender | Layered controls, , monitoring, quick patching once a fix exists |
| AI threats | Systems that learn from data, and media that can be faked | Clean training data, input controls, checks through a second channel |
Ransomware defences, and the decision to pay
- Offline, encrypted backups, tested by restoring from them. Attackers look for reachable backups and delete or encrypt them, so a drive left plugged in is lost with the server.
- Immutable storage, which cannot be changed or deleted for a set period, where it fits. It needs care: a wrong setting can be costly, and it may not meet every regulation.
- Segmentation: dividing the network so that an infection on one part cannot reach the rest.
- A practised response plan. The first step is to find which systems are affected and isolate them at once, if necessary by taking the network offline.
The United States government strongly discourages paying. A payment funds and encourages further attacks, and it gives no guarantee that the data comes back or that the attackers will not return. A payment that reaches a sanctioned person or country can break United States sanctions law. Liability is strict: it applies even to a payer who did not know.
Whether to pay is a business decision with legal consequences, so senior management sets the in advance, with legal advice and law enforcement involved. A technician does not decide it during the incident.
Common misconception
“Paying the ransom is the quickest way to recover.”
There is no guarantee of a working key, and paying does not undo a leak. Payment may break sanctions law and invites further attacks. Tested offline backups are the recovery plan.
Zero-day attacks: when no patch exists
A vulnerability is a flaw that an attacker can use. An exploit is the code or method that uses it. A zero-day attack exploits a vulnerability that was previously unknown, so the maker has had no days to fix it and no patch exists. The vulnerability, the exploit and the attack are all called zero-day until a fix is available.
Patching cannot help yet, so other controls carry the defence.
- Layers: , segmentation and allow-lists, so that one flaw does not open the whole network.
- Least privilege, so the exploited program can do little.
- Monitoring for unusual behaviour. Most security tools recognise attacks by a signature, a known pattern taken from earlier attacks, and an unknown attack has none yet.
- The maker's interim advice: switching off the affected feature or blocking a route to it.
- Fast patching once a fix appears. Flaws known to be used by attackers go first.
Common misconception
“A zero-day attack is one that happens on the day a vulnerability is announced.”
Zero-day refers to the days the defender has had to fix the flaw: none. The attack may run for months before anyone discovers the flaw.
Attacks on and with artificial intelligence
A machine learning model is a program that learns its behaviour from examples, its training data, rather than from rules written by hand. Adversarial AI is the deliberate manipulation of such a system, or its use as a weapon.
| Threat | What the attacker does | Defence |
|---|---|---|
| Evasion | Alters an input slightly, often invisibly to a person, so the model misclassifies it | Train on such inputs; do not rely on one model alone |
| Data poisoning | Inserts or alters training examples so the model learns the wrong behaviour | Control and check the sources of training data |
| Model poisoning | Changes the trained model itself to plant hidden behaviour | Obtain models from trusted sources; check their |
| Privacy attack | Queries a model to rebuild its training data, learn whether a person's record was used, or copy the model itself | Limit and watch queries; keep sensitive data out of training |
| Prompt injection | Hides instructions in text that a language model reads, such as a web page or document | Treat model output as untrusted; limit what the model may do |
| Deepfake | Uses AI to fake a real person's voice, face or video | Verify any request through a second channel already known |
Poisoning attacks happen while a model learns; evasion happens after, when it is in use. Prompt injection comes in two forms. In a direct attack the user types instructions meant to override the model's rules. In an indirect attack the instructions sit in a web page, email or document that the model is later asked to read, so the person using it never sees them.
A deepfake is audio, video or an image generated or altered by artificial intelligence to imitate a real person. Criminals already use cloned voices of senior people to ask for money or access. The defence is procedural: call the person back on a number already on record, never on one supplied in the message.
A question, worked through
The IT manager of a regional charity arrives at 7am to find two file servers encrypted and a ransom note on each. Other servers and laptops appear normal. Last night's backups sit on a storage system on the same network. The chief executive is on her way in and has asked for a recommendation on the immediate step.
What should the IT manager do FIRST?
Decide on your answer, then open the reasoning
- The question asks for the first step while the attack may still be spreading.
- Rule out c. Whether to negotiate or pay is senior management's decision under a policy, with legal advice, not the first technical step.
- Rule out d. Wiping destroys evidence of how the attackers got in and does not stop them reaching other machines.
- Between a and b: the backups sit on the same network and may be the next target. Restoring before the attackers are shut out risks reinfection.
- Isolation stops the spread and protects the backups. Option a is the answer.
Answer: A. Isolate the affected servers and any linked systems from the network
Choosing between good answers
- A ransomware scenario asks for the first action
- isolate the affected systems. Restore, investigate and decide on payment come after.
- A question asks who decides whether to pay a ransom
- senior management, under a policy set in advance, with legal advice. Not the security team on the day.
- A question asks which backup survives ransomware
- choose offline backups that have been tested. Backups reachable from the network can be encrypted too.
- A scenario describes a flaw with no patch being exploited
- it is a zero-day. Choose layered controls, least privilege and monitoring, not waiting for a patch.
- A scenario has a voice or video request from a senior person to move money
- verify through a second channel already known before acting. Suspect a deepfake.
Try it
Respond to an encrypted file server and see which step protects the backups and which decision goes to management.
Loading the preview.
Check your understanding
4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.
These questions are drafts that no named reviewer has approved yet.
Question 1 of 4
What to remember
- Ransomware encrypts files with a symmetric key and locks that key with the attacker's public key. Without the attacker's private key the files stay locked.
- Double extortion adds theft and a threat to publish. Backups recover files; they do not stop a leak.
- Offline, tested backups, segmentation and fast isolation defeat ransomware. Paying is discouraged, may breach sanctions, and is a decision for senior management.
- A zero-day attack exploits a flaw with no patch. Layered controls, least privilege and monitoring carry the defence.
- AI threats include evasion, data and model poisoning, privacy attacks, prompt injection and deepfakes. Verify unusual requests through a second, known channel.
Say it from memory
How does ransomware use cryptography, and what defences and decisions does it call for?
It encrypts files with a symmetric key and encrypts that key with the attacker's public key, so only the attacker can recover them. Double extortion adds stolen data and a threat to publish. Defences: offline, tested backups, segmentation, and isolating affected systems first. Paying is discouraged, unguaranteed and may breach sanctions; senior management decides the policy.
Why can backups alone not answer double extortion?
Before encrypting, the attackers copy data out and threaten to publish it. Some groups skip encryption and extort with stolen data alone. Backups restore files; they do nothing about a leak.
How does direct prompt injection differ from indirect, and when do poisoning and evasion happen?
In a direct attack the user types instructions meant to override the model's rules. In an indirect attack the instructions sit in a web page, email or document the model is later asked to read, so the person using it never sees them. Poisoning happens while a model learns; evasion happens after, when it is in use.
Sources
- #StopRansomware Guide, Cybersecurity and Infrastructure Security Agency (CISA), with the Joint Ransomware Task ForceRansomware as malware that encrypts files and makes systems unusable, double extortion and extortion by data theft alone, offline encrypted and tested backups, the cautions on immutable storage, segmentation, and the first response step of finding and isolating affected systems.
- #StopRansomware: Akira Ransomware (AA24-109A), Cybersecurity and Infrastructure Security Agency (CISA), with FBI and partnersA ransomware group's hybrid encryption combining the ChaCha20 stream cipher with RSA, and its double-extortion model.
- Updated Advisory on Potential Sanctions Risks for Facilitating Ransomware Payments, US Department of the Treasury, Office of Foreign Assets Control (OFAC)The US government strongly discouraging ransom payments, payments encouraging further attacks with no guarantee of regaining data, and civil penalties for sanctions violations on strict liability.
- Zero day attack (NIST CSRC Glossary), National Institute of Standards and TechnologyA zero-day attack as one that exploits a previously unknown hardware, firmware or software vulnerability.
- CISA Known Exploited Vulnerabilities Catalog, CISAVulnerabilities known to be exploited by attackers as a priority input to patching.
- NIST AI 100-2 E2025: Adversarial Machine Learning, A Taxonomy and Terminology of Attacks and Mitigations, National Institute of Standards and TechnologyEvasion attacks with adversarial examples, data poisoning and model poisoning during training, privacy attacks (data reconstruction, membership inference, model extraction) through query access, and indirect prompt injection through resources a generative model reads.
- NIST AI 100-4: Reducing Risks Posed by Synthetic Content, National Institute of Standards and TechnologySynthetic content as images, video, audio and text significantly altered or generated by algorithms, including AI.
- Senior US Officials Impersonated in Malicious Messaging Campaign (Public Service Announcement), Federal Bureau of Investigation, Internet Crime Complaint Center (IC3)Criminals using AI-generated voice messages to impersonate senior officials, and the advice to verify by independently finding the person's number and calling them.