The human element of security includes people making mistakes, purposeful stealing of data or damage due to unauthorised use of accounts. In most systems there are lots of files logging activity such as login, web access, ip addresses, files and databases accessed. This data can be used to help'detect out of band' conditions that can trigger security alerts.
Machine Learning thrives on data. It is very important to understand the nature of underlying data on top of which the machine learning model is required to be built. Given a dataset, one of the first thing you would normally do is try to understand the nature and variety of data present in the dataset. This usually becomes the first stepping stone of creating a powerful and robust machine learning model. Statistics is a distant cousin of machine learning which also deals with data.