Insights into user behavior in dealing with internet attacks