A newly proposed statistical framework for analyzing cybersecurity incident logs demonstrated in a methodological proof of concept that explicit diagnostic safeguards can stop analysts from mistaking weak or mechanically generated patterns for genuine security risks. Developed by Katherine Delgado-Paucar, Javier Linkolk López-Gonzales, and colleagues at Universidad Peruana Unión and Universidad Nacional José Faustino Sánchez Carrión in Peru, and published in Frontiers in Artificial Intelligence, the quantitative, non-experimental study evaluated a reproducible Knowledge Discovery in Databases workflow implemented inside an interactive R Shiny web application. When tested on 100,000 synthetic cybersecurity incidents aggregated into 8,229 analytical cells, the framework faithfully reported weak cluster separation, underdispersed incident counts, and model associations largely driven by how derived indicators were constructed. Rather than manufacturing artificial risk tiers, the pipeline’s built-in diagnostics showed why statistical decision-support tools require routine sensitivity checks before guiding security reviews.
As organizations expand their use of cloud services, Internet of Things devices, artificial intelligence, and cyber-physical systems, threats including ransomware, phishing, advanced persistent threats, distributed denial-of-service attacks, and zero-day exploits increasingly challenge operational continuity and governance. Many institutions adopt international standards such as ISO/IEC 27001, the NIST Cybersecurity Framework 2.0, and MITRE ATT&CK to structure security controls, yet adopting a standard does not automatically quantify whether those controls work effectively. While data mining and machine learning are widely deployed to detect intrusions and classify threats from security information and event management logs, previous literature cited by the authors, including a systematic review of 125 autonomous-navigation studies, found that measurable evaluation of defense effectiveness remains scarce.
To address those limitations, the team organized its statistical pipeline around the five stages of the Knowledge Discovery in Databases process: selection, pre-processing, transformation, data mining, and interpretation. Because real organizational incident logs are rarely shareable due to confidentiality restrictions, the researchers deliberately demonstrated the workflow on a public synthetic dataset available on Kaggle, the Cybersecurity Incident Dataset compiled by Habeeb in 2024, containing 100,000 simulated incident records timestamped between 2023 and 2024 under open database licenses. All 100,000 records were retained without removal during pre-processing. Twelve of the 15 available variables were selected for analysis, capturing attack type, target system, binary incident outcome, timestamp, volume of compromised data in gigabytes, attack duration in minutes, incident severity on a 1-to-10 scale, security tools used, response time in minutes, mitigation method, country, and industrial sector. Attacker and target IP addresses were excluded as identifiers, and user role was excluded because it describes the involved user rather than the incident itself.
During pre-processing and transformation, records were aggregated by year, month, country, industry, and attack type into 8,229 observed cells out of 8,320 possible combinations, representing 98.9% of the grid; because zero-count cells were not generated, subsequent count modeling was conditional on at least one incident. For each cell, the pipeline computed incident frequency, mean severity, mean attack duration, mean response time, attack success rate, and three formula-based indicators. A resilience index combined min-max rescaled mean response time and attack duration on a reversed 0-to-100 scale so higher scores reflect faster containment, with operational cut-offs used only for visualization. Exploratory analysis confirmed homogeneous synthetic distributions: each of eight attack types represented 12.4% to 12.6% of records, success rates hovered near 50%, mean severity remained close to 5.5, and mean response time stayed near 90 minutes.
Multivariate screening across seven standardized cell-level variables, namely incident frequency, economic impact, mean severity, mean response time, mean attack duration, attack success rate, and resilience index, revealed two strongly linked pairs and near-zero correlations elsewhere, from -0.01 to 0.03. Incident frequency correlated strongly with total economic impact at 0.83, economic impact correlated moderately with mean severity at 0.31, and the resilience index correlated negatively with mean attack duration at -0.86 and mean response time at -0.52. In principal component analysis, the first two components explained 28.75% and 27.14% of total variance, or 55.89% combined, while the first four reached 84.48%, surpassing the 80% retention threshold. Sensitivity checks showed those leading axes reflected indicator construction rather than latent incident behavior. Because the resilience index is an exact linear combination of response time and duration, removing it left a volume-and-impact axis explaining 31.7% of variance and a weaker containment axis at 17.1%; removing total impact as well flattened all eigenvalues to between 0.96 and 1.04, with each component explaining 19.2% to 20.8% of variance.
Applying K-Means clustering with Euclidean distance, 25 random initializations, and a fixed random seed to the same seven standardized variables yielded three exploratory profiles, selected jointly from elbow curves across one to eight clusters and mean silhouette scores across two to eight clusters. Profile 1 grouped 3,379 cells, or 41.06%, characterized by higher incident volume and estimated impact; Profile 2 encompassed 2,345 cells, or 28.50%, with shorter attacks and faster responses; and Profile 3 contained 2,505 cells, or 30.44%, with longer, slower-contained incidents and lower resilience. Projected onto the first two principal components, the three groups overlapped continuously. Validity diagnostics confirmed weak separation: although three clusters achieved the highest silhouette score of 0.185 on the initial 400-cell selection subsample, repeating selection across 100 independent 400-cell subsamples produced a mean of 0.172 with a standard deviation of 0.011, and the exact silhouette across all 8,229 cells was 0.169. Falling below the conventional 0.25 threshold for substantial structure, the profiles were treated strictly as descriptive partitions rather than validated risk categories.
To model cell-level incident counts using year, industrial sector, attack type, log total impact, mean severity, success rate, and resilience index, the framework first tested a log-link Poisson model. That check uncovered marked underdispersion, with a Pearson dispersion ratio of 0.353, prompting a quasi-Poisson specification that scales variance while preserving the mean structure. Holding other covariates constant, log total impact was strongly associated with expected incident frequency, showing an incidence rate ratio of 2.110 (95% confidence interval 2.091 to 2.129), whereas mean severity showed a negative association at 0.870 (95% confidence interval 0.866 to 0.874). Only cross-site scripting differed statistically among attack types at 0.981, a 1.9% difference deemed practically negligible, while sectors, success rate, year, and resilience index were non-significant. In-sample observed and fitted counts aligned closely, with a squared correlation of 0.805 and a mean absolute error of 1.54 incidents per cell.
Three sensitivity analyses revealed that this strong fit was largely aggregation-driven because total impact sums across every incident in a cell, scaling mechanically with the count response. Replacing log total impact with log mean impact eliminated that correlation (0.006 versus 0.834) and reversed the dispersion diagnosis to overdispersion at a Pearson ratio of 1.554, selecting a negative binomial model. Under mean impact, in-sample fit dropped from 0.805 to 0.020, mean absolute error rose to 3.35 incidents per cell, and the impact association weakened to an incidence rate ratio of 1.282 (95% confidence interval 1.241 to 1.326). By contrast, a Conway-Maxwell-Poisson model using the original covariates outperformed the Poisson reference on AIC (34,100 versus 37,785) and matched all 19 quasi-Poisson coefficients in direction and significance. Yet priority tertiles shifted sharply across impact definitions: fitted frequencies correlated at Spearman 0.43, and only 48.9% of cells kept their tier (Cohen’s kappa 0.23).
To make these diagnostics accessible without programming, the authors packaged the entire workflow, including schema validation, exploratory dashboards, principal component plots, cluster projections, model diagnostics, and exploratory review priorities, into an open-source R Shiny application built in R 4.5.3. Fixed random seeds, locked analytical procedures, programmatic exports, and a companion replication function support traceability, with source code published on GitHub. The researchers note that while synthetic records produced underdispersion, real organizational logs are more often overdispersed because actual incidents cluster across time and assets; because the same dispersion test automatically selects the appropriate count family in either direction, the pipeline transfers without altering its logic. For security managers, the tool complements ISO/IEC 27001 and NIST CSF 2.0 compliance reviews by turning routine ticketing or monitoring logs into structured evidence while signaling how much confidence each pattern deserves.
The authors emphasize clear boundaries on what this proof of concept establishes. Because the evaluation relied exclusively on synthetic data, it demonstrates methodological feasibility rather than assessing any organization’s security posture. The economic-impact proxy omits indirect costs such as operational disruption, regulatory penalties, and reputational harm, and because derived indicators drove the main multivariate and count-model patterns, the researchers recommend using non-derived variables for principal component analysis and exploring direct incident-level modeling. Real-world deployments should also include zero-count cells and exposure offsets, such as asset or user counts, to estimate rates rather than raw totals. Finally, because the dataset lacks explicit policy variables and follows a non-experimental design, all findings reflect statistical associations rather than causal policy effects; validating the framework on real, longitudinal organizational records remains the necessary next step.
Subject of Research: Reproducible KDD-based statistical framework for cybersecurity incident analysis and decision support
Article Title: A KDD-based statistical framework for interpretable cybersecurity incident analysis and decision support
Article References: Delgado-Paucar, K., Rodriguez-Baca, L. S., Cruzado, C. F., Ramirez, E. T. S., & López-Gonzales, J. L. (2026). A KDD-based statistical framework for interpretable cybersecurity incident analysis and decision support. Frontiers in Artificial Intelligence, 9, Article 2013039. https://doi.org/10.3389/frai.2026.2013039
Image Credits: AI Generated
DOI: 10.3389/frai.2026.2013039
Keywords: cybersecurity incident analysis, Knowledge Discovery in Databases, decision support systems, principal component analysis, K-Means clustering, quasi-Poisson regression, Conway-Maxwell-Poisson model, negative binomial model, dispersion diagnostics, silhouette coefficient, sensitivity analysis, R Shiny, synthetic incident data, ISO/IEC 27001, NIST Cybersecurity Framework 2.0, incident resilience index, reproducible statistical workflow
News Source: Hailey Crawford. (December 2, 2026). Statistical framework flags weak and artificial patterns in synthetic cybersecurity data. Scienmag.



