Why cybersecurity methodologies fail scrutiny
Doctoral research in cybersecurity spans machine learning for detection, software and systems security, cyber-physical systems, privacy, human factors and policy. Across these areas, theses are rarely criticised for lacking technical sophistication. They are criticised when the research question, the design, the data, the analysis and the validation do not support one another, so that the evidence cannot carry the claim the thesis makes.
The problem is not new. More than fifteen years ago, Sommer and Paxson (2010) argued that machine learning was used far less successfully in operational intrusion detection than in other fields, partly because evaluations did not reflect the realities of operational networks. Recent work led or co-authored by UK researchers shows that similar weaknesses remain common in leading venues (Arp et al., 2022; Pendlebury et al., 2019). The good news for a doctoral researcher is that these weaknesses are now well described, so they can be checked for and repaired.
A useful way to see the whole design is as a chain in which each link must justify the next. The sections below work along this chain.
- 1Research problem
- 2Research question
- 3Design and method
- 4Data
- 5Analysis
- 6Validation
- 7Contribution
What UK-based research shows about methodological flaws
Several influential studies of research quality in security have been written by researchers at UK universities. Together they identify the flaws an examiner is most likely to probe.
| Study and UK affiliation | What was examined | Main methodological finding |
|---|---|---|
| Pendlebury et al. (2019); King's College London and Royal Holloway | Three Android malware classifiers on about 129,000 applications spanning three years | Published F1 scores of up to 0.99 were inflated by spatial bias (unrealistic class mix) and temporal bias (training on data from after the test period) |
| Arp et al. (2022); co-authors at King's College London, Royal Holloway and UCL | 30 machine-learning papers from top security conferences over ten years | Ten recurring pitfalls, from sampling bias and data snooping to inappropriate baselines and lab-only evaluation |
| Thomas et al. (2017); University of Cambridge | More than 20 peer-reviewed papers using data obtained by illicit means | Ethical issues were handled inconsistently; benefits and harms were often not identified and few papers recorded ethics board approval |
| Adams and Sasse (1999); University College London | Password practices, using 139 questionnaire responses and 30 interviews analysed with grounded theory | Insecure behaviour reflected security mechanisms that clashed with work practices, not simply careless users |
Pendlebury et al. (2019) showed that the way training and test sets are drawn can matter more than the choice of algorithm. When test data did not reflect the realistic proportion of malware, or when the classifier was trained on samples from after the period it was tested on, performance looked far better than it would in deployment. They proposed explicit space and time constraints on experimental design and released the TESSERACT framework so that others could apply them.
Arp et al. (2022) generalised the lesson. Reviewing 30 papers, they found pitfalls at every stage, from data collection to deployment: data snooping was present in 17 of the papers and lab-only evaluation in 14. Their recommendations are now a standard checklist for any thesis that uses machine learning for security. Leakage is not confined to security: Kapoor and Narayanan (2023) documented it across many fields of machine-learning-based science and argued that it is a major cause of irreproducible results.
Two further strands matter for UK doctoral researchers. Human-centred security has a strong UK tradition: Adams and Sasse (1999) used questionnaires and interviews to explain why users circumvent password policies, showing that some security questions can only be answered with social-science methods. And Thomas et al. (2017), at the Cambridge Cybercrime Centre, showed that research on leaked, scraped or otherwise illicitly obtained data needs a documented ethical justification, not an assumption that public availability makes use acceptable.
The national context reinforces these priorities. The National Cyber Security Centre (NCSC) and EPSRC jointly recognise 21 universities as Academic Centres of Excellence in Cyber Security Research (National Cyber Security Centre, 2024). The NCSC research problem book sets out problems it considers in need of multidisciplinary effort over the next decade, including data-driven security assessments, meaningful security measures, eliminating phishing threats and security in operational technology (National Cyber Security Centre, 2023). Doctoral training reflects the same breadth: the EPSRC Centre for Doctoral Training in Cyber Security for the Everyday at Royal Holloway, for example, recruits from technical and social disciplines and spends the first year on multidisciplinary training (Royal Holloway, University of London, n.d.). A UK examiner will therefore expect your method to be chosen for the question, not by habit of discipline.
Correction 1 and 2: sharpen the question, then justify the method
Many flawed designs begin with a question framed as a technical action ("to build a deep-learning intrusion detector") rather than a problem ("can a detector trained on one network maintain a low false-alarm rate on another?"). The second form tells you what data, comparison and evidence would answer it. Linking the question to a recognised problem, such as those in the NCSC problem book (National Cyber Security Centre, 2023), also makes the contribution easier to argue.
State a threat model before choosing a method. Say who the adversary is, what they know, what they can control and what counts as success for them. Without it, a detector cannot be judged, because an attacker who adapts to the defence is a different problem from one who does not; Arp et al. (2022) list an inappropriate threat model as one of the ten pitfalls.
Then match the method to the question, a principle that applies in any field (Creswell & Creswell, 2023; Saunders et al., 2023). A claim about detection performance needs a controlled experiment with credible baselines. A claim that software is free of a class of vulnerability may need testing, fuzzing or formal verification. A question about organisational cyber risk may need modelling or case studies, and a question about why staff fall for phishing needs surveys, interviews or ethically approved simulations. These approaches answer different questions rather than competing on a single scale, and mixed designs are justified when the question has both technical and human parts (Adams & Sasse, 1999).
Correction 3: repair the design and the data
Data problems are the most common reason security results fail to generalise. Ring et al. (2019) surveyed network-based intrusion detection datasets and found that they differ widely in realism, labelling, attack coverage and documentation, so the choice of dataset is itself a methodological decision that needs justification.
| Pitfall | How it shows up in a thesis | Correction |
|---|---|---|
| Sampling bias | Test data with an unrealistic share of attacks or one environment only | Report the class mix; test at realistic ratios; add data from a second environment |
| Data snooping and temporal leakage | Random split of time-ordered data; features computed on the full dataset | Split by time; fit preprocessing on training data only (Pendlebury et al., 2019) |
| Label inaccuracy | Labels taken from one tool or from dataset metadata without checking | Describe how labels were produced and audit a sample |
| Inappropriate baseline | Comparison only with weak or older methods | Include simple and current state-of-the-art baselines on the same data |
| Inappropriate measures and base-rate fallacy | Accuracy on imbalanced data; no false-positive rate | Report precision, recall, F1 and false-positive rate at realistic base rates |
| Lab-only evaluation | All results from one testbed or simulation | Validate on an independent dataset or setting and discuss deployment limits |
Document provenance for every dataset: who collected it, when, in what environment, under what licence and with what known defects. Check for duplicated records, which can place near-identical samples in both training and test sets, and for concept drift, where the behaviour of attacks or benign traffic changes over time (Pendlebury et al., 2019). Define inclusion and exclusion criteria before you look at results.

Correction 4: validate and make results reproducible
A positive result from a single run on a single dataset is a starting point, not evidence of robustness. Repeat experiments with different random seeds and data splits, report the spread of results as well as the mean, and use an appropriate statistical comparison when you claim one method beats another. Then ask whether the difference matters in practice: an improvement that reduces false alarms by a handful a day in a security operations centre may matter more than a larger gain in a metric operators never see.
External validation is the strongest test. Evaluate on a dataset or environment that played no part in development, or on data collected later than the training data. Release code, configuration and, where ethics and licences allow, data or traces, so that others can reproduce the work; where data cannot be shared, explain why and describe them fully. Leakage checks belong in the methods, not in a footnote (Kapoor & Narayanan, 2023).
Correction 5: address ethics, law and contribution
Security research can harm people and systems even when no participant is recruited. Scanning networks, testing exploits, crawling underground forums or analysing leaked databases each raise questions about consent, harm and legality. Thomas et al. (2017) propose that researchers identify stakeholders, harms and benefits explicitly, apply safeguards such as secure storage and controlled sharing, and justify the public interest of the work, building on the principles of the Menlo Report. Use that structure in your ethics application and in the thesis.
In the UK, unauthorised access to computer material is an offence under section 1 of the Computer Misuse Act 1990, and there has been sustained debate about whether legitimate security researchers need a statutory defence; at the time of the 2022 parliamentary debate, the Home Office was still considering responses to its 2021 consultation (Sutherland & Barber, 2022). Obtain written authorisation for any testing of systems you do not own, agree a disclosure route for vulnerabilities you find, and seek your university's ethics and legal advice early. If your work involves sensitive technologies or international partners, read the Trusted Research guidance published by the NCSC and the National Protective Security Authority (National Cyber Security Centre, 2025).
Finally, state the contribution in terms the evidence can support. Originality may lie in a new detection technique, but equally in a dataset, a benchmark, an evaluation framework, an empirical finding about how organisations or users behave, or a theoretical model. A thesis that shows, with sound evidence, that an accepted method fails under realistic conditions makes a genuine contribution.
Worked example: repairing an intrusion detection design
Illustrative example (hypothetical). A doctoral researcher proposes a deep-learning intrusion detector and reports 97% accuracy on a public benchmark, using a random 80/20 split. In supervision she is asked what the false-positive rate is, whether the benchmark resembles her target network and whether a simpler model would do as well. She repairs the design in four steps.
- Question. She reframes the aim as: does the detector keep a false-positive rate low enough for analysts to use when moved from the benchmark to a different network?
- Data. She replaces the random split with a time-based split, removes duplicate flows and adds a second dataset collected in a different environment (Ring et al., 2019).
- Baselines and metrics. She compares her model with a tuned gradient-boosting model and a published deep-learning detector, reporting precision, recall, F1 and false-positive rate over five runs.
- Validation. On the second dataset her model's F1 falls from 95.2% to 81%, while the baseline falls from 92.8% to 80%. Her contribution becomes an honest account of transfer, with an analysis of which features fail to generalise.
The headline number is lower, but the thesis is far stronger, because every claim is now supported by the design. This is the pattern Arp et al. (2022) and Pendlebury et al. (2019) recommend.
Common mistakes and a quick self-check
- Choosing the algorithm before the question and the threat model.
- Relying on one public benchmark and generalising to all networks.
- Splitting time-ordered data at random, or tuning on the test set.
- Reporting accuracy alone on imbalanced data.
- Comparing only against weak or outdated baselines.
- Treating ethics approval as unnecessary because no humans were recruited.
- Claiming a contribution the evidence does not reach.
| Question to ask of your design | Yes / not yet |
|---|---|
| Is the research problem clear and the question specific and answerable? | |
| Is the threat model stated, and does the design test it? | |
| Is each method justified by the question rather than by popularity? | |
| Are datasets documented, representative and checked for duplicates, bias and leakage? | |
| Are baselines credible and metrics suited to imbalance and false alarms? | |
| Are results repeated, reported with variability and validated externally? | |
| Are ethical, legal and disclosure issues addressed and approved? | |
| Does the evidence support the contribution you claim? |
If several answers are "not yet", the remedy is rarely a new thesis. Most repairs strengthen the links between gap, question, design, data, validation and contribution. For the same lens applied to a published study, see the critical review of digital twin intrusion detection for SCADA; for other stages of a UK doctorate, see strengthening a research proposal, common mistakes in an AI-in-healthcare dissertation and the United Kingdom page.
Key takeaways
- UK-led studies show that dataset bias, temporal leakage and lab-only evaluation commonly inflate security results (Pendlebury et al., 2019; Arp et al., 2022).
- Start from a specific problem and an explicit threat model, then choose a method that can answer the question (National Cyber Security Centre, 2023; Creswell & Creswell, 2023).
- Document dataset provenance, split time-ordered data by time and report metrics suited to imbalance and false alarms (Ring et al., 2019; Kapoor & Narayanan, 2023).
- Validate on independent data, repeat experiments and release enough material for others to reproduce the work.
- Plan ethics and legal safeguards early, including authorisation, disclosure and Trusted Research guidance (Thomas et al., 2017; Sutherland & Barber, 2022; National Cyber Security Centre, 2025).
