Artificial intelligence
Artificial intelligence
What is artificial intelligence and how do we use it?
A brief introduction to myself
I am Robin Kuller and have been a working student at suresecure since the beginning of June. When I applied for the German Scholarship, which is strongly supported by the Niederrhein University of Applied Sciences, I looked at the various partners of the university and came across suresecure for the first time. In the time I've been employed here, I've already learnt a lot. First and foremost, I have familiarised myself with Splunk and the Mitre Att&ck matrix. If I had any questions, I was always helped immediately and so I was able to quickly familiarise myself with the new working environment and become part of the team. But now let's get to the actual topic of this blog entry: artificial intelligence.
Siri, Alexa & Co are familiar to everyone
Artificial intelligence (AI) has long since become part of almost everyone's everyday life: be it Siri, Alexa or the daily weather report. Artificial intelligence is used in many areas these days. Nevertheless, many people do not realise what AI actually means, let alone how it works. In this blog post, I will roughly explain the most important terms and look at how we use AI to ensure greater security.
What does artificial intelligence actually mean?
To answer this question, you first need to realise what the term "intelligence" actually means. Once you think about it, you quickly realise that a clear and simple definition is hardly possible. One of the reasons for this is that humans have not yet fully understood how the brain works. The first question to ask is what characteristics make humans intelligent in the first place.
Humans are considered intelligent because, unlike machines, they have a number of talents and abilities that they have learnt over time. Learning itself is the first major pillar of intelligence. With the help of this ability, humans have learnt to plan, prove, draw conclusions and grasp and assess new situations - to name just a few examples.
From this, the following definition of AI can be derived:
The research field of artificial intelligence investigates computational methods that can perceive something, draw conclusions from it and act accordingly.
Today's approaches in this field of research include the idea of "synthesis before analysis". The aim is to better understand human intelligence through the development and improvement of AI systems. On the other hand, biology is being used as a model. The human brain is taken as a model, whereby it is assumed that intelligence is created through the interaction of many simple processes. These processes allude to the billions of neurones in the brain. If you connect many of these simple processes together in layers, you get what is known as a neural network. This term takes us into the field of machine learning.
How does machine learning work?
How do you teach a computer, i.e. a machine, to learn something? In machine learning, an IT system is taught to recognise regularities or patterns contained in a data set and to use the knowledge gained to evaluate new data for the system.
A neural network (NN) can be seen as a "black box" that receives input data (e.g. sensor data from a car), performs certain calculations and outputs results at the end (e.g. the correct steering of the car). In detail, as already mentioned, it usually consists of several layers of neurons. In IT, a neuron describes a simple process that receives input, calculates a new result from it and outputs this in turn. Only neurons from two neighbouring layers are connected to each other. These connections each have a weighting that changes in the course of the learning process in order to produce the best possible results at the end. There are many more customisation options with NN, which will not be discussed in detail here as this would go beyond the scope of this article.
Once a neural network has been created, machine learning proceeds as follows: You generate or already have an underlying data set consisting of images, numerical parameter lists or voice recordings, for example. Obtaining suitable data sets is usually the biggest problem with machine learning. The data is often not available in sufficient quantities and sometimes the quality of the data is not good enough for the process (e.g. heavily pixelated images). If you have a qualitatively and quantitatively sufficient data set, you divide it into training and test data.

The training data is then used to train the neural network, as the name suggests. Training can take place in different ways. The simplest type of training is supervised training. Here, there is a corresponding solution data set for the data set, also known as "ground truth", in which the correct results are entered. Once all the training data has been run through, the test data is used to check whether and, above all, how well the system can recognise the learned properties in previously unfamiliar data. After each run, the outputs of the NN are compared with the "ground truth" and the weighting of the connections between the neurons in the neural network is adjusted on the basis of differences and matches. In this way, the network tries to achieve a better result in the next run.
After a certain amount of time, the NN has developed to such an extent that it can recognise certain properties in the data well. If it also achieves good results, the neural network can now be used in the specific area or developed further in other directions.
An example
To illustrate what has been described, the whole thing is explained using an example with pictures of dogs and cats. The input for the neural network consists of various photos of dogs or cats. The "ground truth" describes for each photo whether it is a dog or a cat. Some of the photos are now used as a training data set. The neural network tries to decide which animal it is based on the characteristics it recognises in the photos. Recognised characteristics can be very abstract - in this case, for example, the color of the fur, the size of the teeth or the shape of the ears. Once the training data has been processed, the test data is then used to check how well the network can categorise the photos. Depending on how high the hit rate is, the weighted connections between the neurons are adjusted after each run. If the hit rate is above a certain percentage, the learning process stops and you have a trained and ready-to-use neural network that can assign photos of dogs and cats to the respective category.
How does suresecure use AI to make the world safer?
In IT security, it is usually not a matter of simple distinctions such as between animal images. In fact, there is usually not even a predefined data set to train an AI.
Our vision: Making the digital world safer
Suspicious data traffic, system-wide undetected installations and downloads or hard-to-identify phishing emails. In many cases, such incidents remain undetected despite anti-virus programmes. These incidents strongly indicate that someone is trying to gain undetected access to the network or has already done so! If this is the case, it is only a matter of time before the systems fail and production comes to a standstill. But with the protection provided by the AI we use, the worst can be prevented.
We can detect these incidents and many more with the help of so-called "outlier detection" and take countermeasures before the final attack occurs. To be able to recognise outliers in the first place, the artificial intelligence must be given data to learn from. As already mentioned, this is not available as a finished data set. A different technique is used here: In order to obtain data for recognising characteristics, the normal operation of a company is observed by the AI in order to be able to track standard file and mail traffic or login behaviour, for example. This observation of day-to-day business is also known as "behaviour monitoring". With the information gained from this, the AI can recognise irregularities should any occur. A notification is sent to us and the respective company as a result of a detection. With the help of the notification, measures can be agreed and implemented in good time.
To illustrate this process once again, here is an example:
A company works a 5-day week and the average number of emails received between 7 am and 6 pm is 200. The AI, which has learned the normal behaviour, would not send a notification if 220 emails were received on a Tuesday. This would be within a certain "margin", which is adjusted by the AI depending on the normal value.
Now, on a Sunday at 3 a.m., 40 emails with the same sender are sent at short intervals to all of the company's employees. The AI recognises the significant deviation from the usual number of emails and sends a notification to suresecure and the company concerned. After a brief analysis, it becomes clear that the ominous emails are part of a large-scale phishing attack on the company. Thanks to the AI detection, this was recognised in good time and measures were initiated.
Conclusion:
When used correctly, artificial intelligence is extremely versatile, can simplify many work processes and is a valuable tool, especially for securing IT systems.
