Predicting the Lifespans of Internet Services: Falling down the ML Rabbit Hole, and What We Learned From The Thud
Where
Ground Truth
BSides Las Vegas
Duration
38 min
Walks through failed machine learning attempts to predict how long internet services stay online, and the classifier that worked.
Summary
Ariana Mirian, a researcher at an internet scanning company, describes why hourly scan data was hard to trust. Many hosts are ephemeral, appearing and vanishing between checks, so the team set out to predict how long each service would stay up, which could guide how often it gets rescanned.
Regression failed first. Port, protocol and autonomous system are categorical, and one-hot encoding left very sparse matrices given roughly 40 ports, 300 protocols and 19,000 autonomous systems. Grouping autonomous systems helped little, R-squared stayed around 0.3 at best, and feature rankings changed from model to model. Seeing that most hosts lived long with a small short-lived tail, the team switched to classifying hosts as under or over 12 hours. Several classifiers agreed on feature importance, reaching about 87 percent accuracy and a 0.94 ROC AUC, with autonomous system ranked highest. Software attributes such as vendor and version ranked low next to network-level features.
The takeaways were as much about process as models. Experts from both networking and machine learning were needed, since dropping autonomous system was rejected on domain grounds. Reframing the question was worth more than tuning, and an actionable answer beat a publishable one. In the Q&A, the speaker explained that scanner speed was tuned against known-live hosts and that a one-hour gap was counted as a false negative, while retries were skipped in the experiment due to scan budget.
Related talks
Talks·30 min
Philippe Caturegli
Shows how leaked internal domain names can be registered to capture misdirected traffic from corporate networks.
Talks
Examines IPv6, the Y2K38 timestamp rollover and other technical failures that could cause widespread disruption.
Talks·21 min
Ian
Describes how volunteer IT teams restore connectivity to communities after disasters and how to join the ITDRC.


