Predicting offenders and victims and the timing of their offenses and damages has become a perennial challenge in global cyberspace. This study aimed to solve this challenge through analyses of routine chat times and online social networks. We sampled more than 550,000 online users over 6 months. We also used unsupervised and supervised machine learning to predict cyber offenders and victims and their offense and damage times, respectively. Our predictors, based on routine chat times and online social network inputs, identified future cyber offenders and victims within 2 months. Furthermore, we predicted the hours and days of their offenses and damages within a week. Extraction of routine chat times and online social networks from chat data can help predict future cyber offenders and victims. Our cyber offense and damage time predictor could help prevent future cyber offenses and damages and promote a safer cyberspace for everyone.