Blog articleResearch writingComputer science

Ransomware as a PhD research area: how attacks work, what has changed since 2019 and open problems

Ransomware has moved from a nuisance to one of the main threats facing organisations. This article explains how attacks work, what earlier cases teach, and which research problems remain open for a doctoral project, with the evaluation pitfalls to avoid.

What you will learn

  • Describe the stages of a ransomware attack and the points where defence is possible
  • Explain why ransomware remains a leading threat in current threat assessments
  • Identify open research problems in detection, resilience, human factors and policy
  • Avoid common evaluation pitfalls in machine-learning detection studies
  • Frame a feasible and ethical doctoral research question on ransomware

What you will unlearn

  • Paying the ransom restores the data.Payment does not guarantee a working decryption key and may fund further attacks; tested backups and incident response matter more.
  • Ransomware is mainly a problem of clever malware.Most attacks depend on ordinary weaknesses such as phishing, exposed services and unpatched systems, so organisational factors matter as much as code.
  • A detector with 99% accuracy in the lab is ready for deployment.Results from random splits of old samples often collapse on newer malware, so evaluation must respect time and realistic class balance.

Skills you will practise

  • Threat modelling
  • Framing security research questions
  • Evaluating ML detectors
  • Criminological theory
  • Research ethics for security studies
  • Policy analysis

What ransomware is and how an attack unfolds

Ransomware is malicious software that denies a victim access to data or systems, usually by encrypting files, and demands payment for their release. Early variants simply locked the screen; crypto-ransomware encrypts documents, images, databases and backups that it can reach. Many families have appeared since the early 2010s, from CryptoLocker and Locky to WannaCry, and the names matter less than the shared pattern.

A typical attack passes through several stages: initial access, often through a phishing email, stolen credentials or an unpatched internet-facing service; spread within the network; disabling of defences and backups; and encryption, followed by a ransom demand, usually in cryptocurrency and with a deadline. Many current operations also copy data before encrypting it and threaten to publish it, so that backups alone no longer remove the pressure to pay. Each stage is a point where prevention, detection or recovery can intervene, and each is a possible research focus.

Ransomware attack illustration
Figure 1. Ransomware attack illustration.

What earlier cases teach

Ransomware is older than the internet economy. The AIDS Trojan of 1989, distributed on floppy disks, hid and encrypted file names and demanded payment by post. Its weak, symmetric scheme could be reversed, which is why later criminals adopted strong public-key cryptography and anonymous payment.

The WannaCry outbreak of May 2017 showed what happens when ransomware spreads by itself. It exploited a vulnerability in an outdated version of a Windows file-sharing protocol and moved between unpatched machines without user action, affecting organisations in many countries, including hospitals in the UK National Health Service. Attacks on city governments in the United States in 2018 and 2019, including Baltimore, showed that refusing to pay can still bring long and costly recovery when systems and backups are not prepared.

The common lessons are about systems rather than code: patching, network segmentation, offline backups that are tested, and plans for running services while systems are down. These lessons point to research questions about why organisations fail to apply known controls, not only about better detectors.

What has changed since 2019

Ransomware remains a leading threat. The European Union Agency for Cybersecurity ranked threats against availability, together with ransomware, at the top of its threat landscape for July 2023 to June 2024 (ENISA, 2024). Regulation has also moved. In the EU financial sector, the Digital Operational Resilience Act sets requirements for managing ICT risk and reporting major incidents (European Parliament & Council of the European Union, 2022), and the Cyber Resilience Act requires manufacturers of products with digital elements to handle vulnerabilities and provide security updates (European Parliament & Council of the European Union, 2024). National research agendas, such as the UK National Cyber Security Centre's problem book, list open problems that can help position a doctoral question (National Cyber Security Centre, 2023).

Ransomware attack illustration
Figure 2. Ransomware attack illustration.

Open problems for doctoral research

Research directions in ransomware
DirectionExample questionTypical methods
DetectionCan behaviour-based detection catch new ransomware families early without excessive false alarms?Dynamic analysis, ML classifiers with time-aware evaluation (Pendlebury et al., 2019)
Resilience and recoveryWhich backup and segmentation practices shorten recovery in public services?Case studies, incident data, simulation
Human and organisational factorsWhy do organisations delay patching known vulnerabilities?Surveys, interviews, mixed methods
CriminologyWhich targets are attacked, and does guardianship reduce victimisation?Routine activity theory, victimisation data (Leukfeldt & Yar, 2016; Ahmad & Thurasamy, 2022)
Policy and regulationHow do incident reporting duties change organisational preparation?Document analysis, comparative policy study (European Parliament & Council of the European Union, 2022; European Parliament & Council of the European Union, 2024)

Criminological work offers a useful counterweight to purely technical framing. Routine activity theory explains crime as the meeting of a motivated offender and a suitable target without a capable guardian; tests on cybercrime have found that online visibility predicts victimisation more consistently than technical guardianship (Leukfeldt & Yar, 2016), and national-level predictors differ by type of malicious activity (Kigerl, 2021).

Evaluating detection research honestly

Many proposals aim to detect ransomware with machine learning. The field has well-documented pitfalls. Random train-test splits let a model learn from samples that appeared after the test samples, which overstates how it would perform on new families; Pendlebury et al. (2019) showed that such spatial and temporal bias can inflate results substantially. Arp et al. (2022) catalogue further pitfalls, including sampling bias, label inaccuracy, unrealistic class balance and lab-only evaluation, and Sommer and Paxson (2010) explain why anomaly detection in security is harder than in other domains. Leakage between training and test data is a general risk in machine-learning-based science (Kapoor & Narayanan, 2023).

Ethics matters as much as statistics. Running live ransomware requires an isolated environment, approval from your institution and care with any data that could identify victims. Studies with organisations or victims need informed consent and secure handling of incident details.

Report enough for others to judge and repeat the work: where samples came from and when they were first seen, how benign software was chosen, how labels were assigned, which features were used, and how results change over time. Sharing code, and data where licences and safety allow, strengthens the claim.

Framing a feasible doctoral question

Ransomware is a broad threat, and a thesis cannot address all of it. A workable question names one stage of the attack, one setting and one kind of contribution. "How can ransomware be stopped?" is a field, not a question. "Does monitoring of file-renaming behaviour detect encryption by recent ransomware families within the first hundred files on a typical office workstation?" is a question, because it fixes the stage (encryption), the setting (office workstations) and the measure (files lost before detection).

  1. Choose the stage: initial access, spread, encryption, extortion or recovery.
  2. Choose the setting: hospitals, local government, small firms, universities or cloud services, each with different constraints and data.
  3. Choose the contribution: a new technique, an evaluation of existing ones, an explanation of organisational behaviour, or an analysis of policy.
  4. Check data access early. Malware samples, incident records and interviews with victims each need permissions, and some may be impossible to obtain within a doctoral timetable.
  5. Write down what result would count as failure. A question that no result could answer negatively is not yet a research question.

For a researcher, each item is also a question: how quickly do organisations patch, which backups survive an attack, and what stops known good practice from being followed.

Worked example (illustrative)

A hypothetical doctoral project asks whether file-system behaviour can detect ransomware encryption early enough to limit damage. The researcher collects samples with known first-seen dates, trains on earlier families and tests on later ones (Pendlebury et al., 2019), reports false-positive rates on realistic workloads such as backups and compression, and measures how many files are lost before detection. A second strand interviews IT managers in public bodies about whether such a detector would fit their operations. The thesis states clearly that the lab results show feasibility, not deployment performance (Arp et al., 2022).

Common mistakes in ransomware research proposals

  • Repeating dramatic figures from news reports without an official or peer-reviewed source.
  • Treating ransomware as a purely technical problem and ignoring organisational and criminological factors.
  • Evaluating detectors on random splits of old datasets (Pendlebury et al., 2019; Arp et al., 2022).
  • Recommending prevention steps without asking why organisations fail to apply them.
  • Starting experiments with live malware before ethics approval and a safe environment are in place.

For more topics in this field, see cybersecurity dissertation topics and criminology dissertation topics; for a worked literature review on the human side of security, see individual behaviour as a cybersecurity risk.

Key takeaways

Your next step

Want to apply this to your own study?

  1. 1Tell us your topic, data and deadline
  2. 2A subject mentor reviews your work with you
  3. 3You get a plan and a quote
PhD topic selection

References

  1. Ahmad, R., & Thurasamy, R. (2022). A systematic literature review of routine activity theory's applicability in cybercrimes. Journal of Cyber Security and Mobility, 11(3), 405–432. https://doi.org/10.13052/jcsm2245-1439.1133
  2. Arp, D., Quiring, E., Pendlebury, F., Warnecke, A., Pierazzi, F., Wressnegger, C., Cavallaro, L., & Rieck, K. (2022). Dos and don'ts of machine learning in computer security. In Proceedings of the 31st USENIX Security Symposium (pp. 3971–3988). USENIX Association. https://www.usenix.org/conference/usenixsecurity22/presentation/arp
  3. European Parliament & Council of the European Union. (2022). Regulation (EU) 2022/2554 of 14 December 2022 on digital operational resilience for the financial sector. Official Journal of the European Union, L 333, 1–79. https://eur-lex.europa.eu/eli/reg/2022/2554/oj
  4. European Parliament & Council of the European Union. (2024). Regulation (EU) 2024/2847 on horizontal cybersecurity requirements for products with digital elements (Cyber Resilience Act). European Commission. Retrieved October 4, 2026, from https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act
  5. European Union Agency for Cybersecurity. (2024). ENISA threat landscape 2024. ENISA. https://doi.org/10.2824/0710888
  6. Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 100804. https://doi.org/10.1016/j.patter.2023.100804
  7. Kigerl, A. (2021). Routine activity theory and malware, fraud, and spam at the national level. Crime, Law and Social Change, 76, 109–130. https://doi.org/10.1007/s10611-021-09957-y
  8. Leukfeldt, E. R., & Yar, M. (2016). Applying routine activity theory to cybercrime: A theoretical and empirical analysis. Deviant Behavior, 37(3), 263–280. https://doi.org/10.1080/01639625.2015.1012409
  9. National Cyber Security Centre. (2023). The NCSC research problem book (Version 1.1, reviewed 2024). NCSC. https://www.ncsc.gov.uk/collection/problem-book
  10. Pendlebury, F., Pierazzi, F., Jordaney, R., Kinder, J., & Cavallaro, L. (2019). TESSERACT: Eliminating experimental bias in malware classification across space and time. In Proceedings of the 28th USENIX Security Symposium (pp. 729–746). USENIX Association. https://www.usenix.org/conference/usenixsecurity19/presentation/pendlebury
  11. Sommer, R., & Paxson, V. (2010). Outside the closed world: On using machine learning for network intrusion detection. In 2010 IEEE Symposium on Security and Privacy (pp. 305–316). IEEE. https://www.icsi.berkeley.edu/icsi/publication_details?n=2818

How to cite this article

Choose your referencing style, then copy. Check your university's or journal's guide for local variations.

PhD Research Lab Academy. (2019, October 14). Ransomware as a PhD research area: how attacks work, what has changed since 2019 and open problems. PhD Research Lab. https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks/

PhD Research Lab Academy. “Ransomware as a PhD Research Area: How Attacks Work, What Has Changed Since 2019 and Open Problems.” PhD Research Lab, 14 Oct. 2019, www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks. Accessed [access date].

PhD Research Lab Academy (2019) Ransomware as a PhD research area: how attacks work, what has changed since 2019 and open problems. PhD Research Lab. Available at: https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks/ (Accessed: [access date]).

PhD Research Lab Academy. “Ransomware as a PhD Research Area: How Attacks Work, What Has Changed Since 2019 and Open Problems.” PhD Research Lab. October 14, 2019. https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks.

PhD Research Lab Academy, ‘Ransomware as a PhD Research Area: How Attacks Work, What Has Changed Since 2019 and Open Problems’ (PhD Research Lab, 14 October 2019) <https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks> accessed [access date].

PhD Research Lab Academy. Ransomware as a PhD research area: how attacks work, what has changed since 2019 and open problems [Internet]. PhD Research Lab; 2019 Oct 14 [cited [access date]]. Available from: https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks/

PhD Research Lab Academy, “Ransomware as a PhD research area: how attacks work, what has changed since 2019 and open problems,” PhD Research Lab, Oct. 14, 2019. [Online]. Available: https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks. [Accessed: [access date]].

@online{the_cyber_security_alerts_ransomware_attacks_2019,
  author = {{PhD Research Lab Academy}},
  title = {{Ransomware as a PhD research area: how attacks work, what has changed since 2019 and open problems}},
  organization = {PhD Research Lab},
  date = {2019-10-14},
  url = {https://www.phdassistance.com/blog/the-cyber-security-alerts-ransomware-attacks},
  urldate = {[access date]}
}

This article is for learning. Use it to understand the method and cite the original sources above in your own work; do not copy or submit it as your own.

Ransomware as a PhD research areaNeed help applying it to your study?
PhD topic selection