Collect representative telemetry
Gather network, host and authentication logs with contextual features (timestamps, user, asset, severity). Ensure labels or post-incident annotations are stored for supervised evaluation.
Prioritise vulnerabilities. Rank alerts for review.
Vulnerability prioritisation systems use telemetry and risk signals to surface events that deserve analyst attention. Common objectives include ranking alerts so high-risk items are reviewed sooner, controlling false positives, and integrating analyst feedback to refine priorities.
Learning concept · Not a validated service
Vulnerability prioritisation systems use telemetry and risk signals to surface events that deserve analyst attention. Common objectives include ranking alerts so high-risk items are reviewed sooner, controlling false positives, and integrating analyst feedback to refine priorities.
A proposed application: surface and rank potentially exploitable events from network or host logs so human security analysts can triage them faster. The prototype code does not itself provide a deployable prioritisation service and should not be used to make automated blocking or escalation decisions without human oversight.
Gather network, host and authentication logs with contextual features (timestamps, user, asset, severity). Ensure labels or post-incident annotations are stored for supervised evaluation.
Fit an isolation-forest or similar detector to historical normal traffic to flag outliers, using only training data for unsupervised thresholds.
Measure precision at fixed recall and analyst time-to-triage; convert anomaly scores into a ranked queue rather than a binary block decision.
Expose alerts to analysts, collect corrections, and use them to tune thresholds, add supervised models, or adjust feature engineering.
The supplied starter creates synthetic numeric 'logs' (events_per_minute, failed_attempts, bytes_out_mb), concatenates normal and injected 'suspicious' rows, fits an sklearn IsolationForest, and prints alerts where the detector predicts anomalies (-1). It does not implement scoring, prioritisation logic, labelled vulnerability classification, nor integration with real security telemetry.
logs = pd.concat([normal, suspicious], ignore_index=True)
detector = IsolationForest(contamination=0.05, random_state=42)
logs["anomaly_score"] = detector.fit_predict(logs)
alerts = logs[logs["anomaly_score"] == -1]
The starter uses small, synthetic numeric data and an unsupervised IsolationForest to mark outliers; it does not implement a vulnerability-prioritisation ranking, use labelled CVE or incident data, nor test against real-world noisy telemetry. Results on the toy data do not validate production behaviour, and unsupervised outliers are not the same as verified vulnerabilities.
A proposed extension: combine anomaly scores with asset criticality, CVE exploitability scores and recent vulnerability scans to compute a ranked risk score for each alert, then expose a review queue for analysts to confirm or reprioritise.
This is a potential application pathway, not a delivered product. The supplied starter does not implement this service or validate it with real users.
Networkers Home runs this topic inside its Cybersecurity Course, with placement support and hands-on labs.