Artificial intelligence is something we only hear about in science fiction movies. If we see what happens in real life, however, we realize how much it is already present all around us, especially in the field of cybersecurity. We decided to interview Alberto Perini, an expert in cybersecurity and digital solutions, to address these topics in detail.

Alberto Perini for Rawfish

About Alberto Perini

Alberto Perini is a cyber security expert, currently working as CISO of an international financial group and a system integrator based in Milan. He is also the founder of the cyber news platform Cyber Ducks (https://cyberducks.it/en/).

Passionate about innovative technologies and artificial intelligence, he has been gaining extensive experience in the world of digital investigation and threat intelligence, directing an R&D team in a project for the development of face recognition technology for IT security solutions, and also participating in the development of the innovative start-up.

He has collaborated with leading figures in cyber security in the international arena, cooperating with research and development teams of various Italian universities for the creation of technologies dedicated to the security of the IoT world, with the use of models such as the blockchain.

His knowledge ranges from process management to threat analysis, and the management and creation of SOC and Compliance teams, in addition to cyber threat intelligence activities.

He is also a profound connoisseur of cyber security technologies and players, and the current market, having managed important national and international security projects for system integrators.

Alberto kindly gave his availability to answer some of our questions about the exciting topic of cyber security, and its applications in modern scenarios.

Rawfish Cybersecurity

How can AI be used to detect fraudulent patterns in the field of cyber security?

For some years, artificial intelligence has played an important role in combating cybercrime and is increasingly representing a focal point in cyber security tools, to increase responsiveness in identifying new threats. The identification by machine learning and AI algorithms makes it possible to understand anomalous behaviours within the network of a company, based on the knowledge acquired during the training phase in which the algorithms are trained and normalized to the environment. This means that following normal operations or activities and in case of anomalous behaviours, such as sub-processes or child-process, calls to libraries or simply a behaviour at a time of the day which is different from the usual one, operations are activated to report the possibility of a threat or intrusion. Normally the attack path is a piece of predetermined and cognitive baggage of the systems that use it to compare these behaviours.

For example, AI algorithms are adopted to understand the attack path that criminals exploit and use to achieve their goals by emulating MITER ATTACK. The replication of the techniques of reconnaissance and access execution etc. allow the AI to be predictive and also calculate a potential risk, based on internal configurations and the update and patching of the systems adopted, establishing a risk score.

The features of AI are identified in a better speed of identification of threats, and predictability (due to the Bayesian conditional probability calculation) that provides a model to understand the meaning of large amounts of data.

The understanding of the network and user behaviour and the subsequent analysis takes place following the generation of a defined matrix of the status of the devices that are included in the network, exploiting the Bayesian predictive model by adapting to the new information and data the AI algorithm can identify data revealing potential attacks.

On the other side of the fence, artificial intelligence (AI) can also be used to launch sophisticated attacks and improve malware evasion against antivirus systems. This is done by imitating legitimate traffic on a network and trying to evade the security protections present within it. There are AI-based applications and malware, which increase speed and adaptability within the network environment, even surpassing Virtual Machines or sandboxes. The power they have to adapt to changes and integrate with the functioning of normal nodes and patterns makes them one of the biggest problems for cybersecurity experts.

How can AI prevent malware and spyware attacks?

Thanks to the ability to understand and analyse Malware indicators, a properly powered and trained system will be able to learn the new indicators and recognize Malware regardless of their signature, or if this is already known, by acquiring the patterns of each user and technology within the organization, to recognize the subtle deviations that identify an emerging threat.

This is exactly what we identify as Deep Learning, deep learning is nothing more than a learning technique in which artificial neural networks are exposed to vast amounts of data so that they can learn to perform tasks.

Thanks to this mechanism, AI can “learn” to recognize malicious behaviours and identify them.

For example, there is a detection solution that uses AI and that simulates the human immune system: this technology uses unsupervised machine learning to build a dynamic understanding of the “normal” for each organization it protects. Rather than relying on rules, signatures or sample data, the immune system learns from the ever-changing digital environment, forming a tailored, multidimensional understanding of each user, device, and all the complex relationships between them.

Rawfish Cybersecurity

How are 5g and blockchain integrated to improve cyber security?

The blockchain plays and will play an increasingly important role in a world where devices will communicate directly with each other. This fits perfectly into the basic IoT functions and architecture. The distributed nature of the blockchain allows users of 5G IoT networks to interact and transact (store and retrieve data), ensuring the provenance and authenticity of the data, accountability, immutability and non-repudiation for each user. blockchain can therefore help alleviate the security, privacy and scalability issues associated with the IoT, creating trust, cost reduction and acceleration of transactions. Without relying on central participants, blockchain, therefore, allows users of 5G and IoT networks to interact and transact (by storing and retrieving data), guaranteeing the origin and authenticity of the data, responsibility, immutability and non-repudiation.

blockchain can therefore help alleviate the security problems, from privacy to scalability associated with 5G communications, creating trust and cost reduction and acceleration of transactions: providing reliable cooperation between heterogeneous devices is vital for 5G mobile networks. In this regard, the blockchain with its immutable and decentralized transaction allows for massive and distributed communication with high security and reliability. Furthermore, network slicing associated with other emerging technologies such as cloud, edge computing communications, SDN, NFV and D2D are key drivers for future 5G networks and services.

A large blockchain, with its innovative concepts of decentralized operation, can provide a high level of data privacy, security, transparency and immutability, allowing the storage of heterogeneous 5G data. One of the characteristics of the blockchain is immutability or the ability to keep transaction data immutable over time; technically the transactions are marked by a timestamp which is verified by the blockchain and included in a block that is cryptographically protected by a hashing process. This mechanism links multiple blocks together and creates a chronological chain, in particular, the new block hashing process always contains metadata of the hash value of the previous block, which makes the data in the chain highly unalterable. This blockchain property supports secure data storage and sharing in 5G scenarios, i.e. secure spectrum sharing, of D2D communication. To summarize the purpose is to provide high security in decentralized ledgers for the 5G networks involved, helping to secure 5G networks by providing distributed trust models with access via authentication, which in turn allows systems to protect themselves and ensure privacy. By storing information on data or a computer network, data compromise becomes much more difficult for hackers, furthermore, smart contracts, as trusted third parties, potentially support 5G services, through authentication and user verification. and the conservation of 5G resources against attacks. The blockchain can provide several security features such as immutability, decentralization, transparency and privacy, all of which allow to efficiently address the security problems of current 5G networks, therefore, the main feature of the blockchain, is the ability to support 5G network security and management.

What does it mean to minimize the surface of the attack?

Minimizing the surfaces of attack means reducing exposure, and, consequently, the risk of hacking. For these reasons it is necessary to understand the network security environment with a surface of attack analysis, allowing to identify immediate risks and potential future risks.

The surface of attack includes all access points, including every terminal, but it also includes paths for data to and from applications, along with code that protects those critical paths, including passwords, encryption, and more.

In the risk assessment, the analysis also involves objectives that have the greatest number and types of users with the highest level of vulnerability. These areas should be addressed first, to ensure that people have access rights and block unsecured areas to deal with unauthorized or unusual traffic.

Using a firewall and preventing ports from remaining open unnecessarily is a good way to make it much more difficult for criminals and hackers to access. Another trick could be to isolate the networks, whenever possible: it often happens that many internal networks have no reason to remain connected.

Most systems become more complex over time, and, in the case of IT environments, this greater complexity means greater vulnerability and this may lead to more governance errors of technical nature, with superfluous rules for a function or groups of rules that are too permissive or they have no real impact on business operations.

One of the main reasons why new vulnerabilities continually occur is because hackers exploit previous versions of software that have yet to be updated. Breaches tend to be more successful when they exploit failed updates, for this reason, to minimize access to the surface of attack, it is important to automatically update software.

Another factor that is often exploited in attacks and that causes an increase in the surface of attack is the human factor that increases the chance to suffer from malicious action, many companies are putting a lot of effort into awareness campaigns to be able to prepare employees to be more ready against actions of phishing and social engineering.

The human factor is still a sore point since the gap is still evident and the ability to identify malicious emails or actions is still weak. Artificial intelligence can provide good help with tampering with these attempts.

What are the trends to follow for cybersecurity in the near future?

Cyber security is going through a period of transition, an increase in the exposure of vulnerabilities following the large amount of data produced by the devices in corporate networks, but also due to the increase in IoT sensors, which control equipment in smart cities, with the task of providing updates and information in real-time. All this requires support in the analysis of the data collected, and future trends in the field of cyber security are determined by the increasing presence of artificial intelligence. From machine learning to deep learning, almost 80% of the technologies we know today, dedicated to the protection of data infrastructures will be managed by AI.

But there are other growth trends, such as the blockchain-based cloud and the protection of mobile devices (smartphones), which are currently slightly outside the focus of cyber security and companies but play an increasingly important role, given that with smartphones we can manage all our applications, data and even our cars.

What are the most typical attacks, and how can we defend ourselves?

If we should identify the most used attacks today, we can list the following as currently the most common

Phishing and spear-phishing attacks.

Drive-by attacks.

Password attacks.

SQL injection attacks.

Cross-site scripting (XSS) attacks.

Eavesdropping attacks.

Denial-of-service (DoS) and distributed denial-of-service (DDoS) attacks.

Man-in-the-middle (MitM) attacks.

 

Most of today’s attacks are carried out with common phishing vectors using social engineering as a tool to target the weak spot of the system: human vulnerability. Advanced Persistent Threat (APT) is a type of passive cyber attack, which allows hackers to gain access to a PC or network for a long period, with the intent of collecting information. An example of APT is the Flame malware, discovered by the Iranian National Computer Emergency Response Team which in 2012 infected over a thousand computers in the Middle East and North Africa.

Ransomware is a specific type of malware that collects and encrypts data and devices over a network, user access is restored only if the hacker’s requests are met, most often it means paying for some kind of ransom. Finally, social engineering techniques turn out to be one of the most powerful weapons available to hackers and criminals will use them more and more during their attacks, such as download and drive-by attacks.

How are these systems less vulnerable to phishing and other cyber-attacks?

Unfortunately, phishing as we said will also represent an increasing threat in the near future, with a distributed use in all attacks, due to the lack of culture and knowledge on the part of users and of what are the dynamics that exploit the trust of the human being and the individual to carry out the attacks. The challenge for companies is to provide their employees with the necessary culture for a confrontation that has just begun. For many people, cyber security seems to be so distant from their work and private life dynamics, and this creates a lack of knowledge of hacking operations and rules. Fortunately, today companies and users have different levels of protection that intervene as a result of errors, from endpoints to the network to AI, IAM, honeypots, with all these precautions the criminals will be forced to use the trust of users, looking for the internal flaws and using the information available on the network in social networks, on company websites, to create credible and exploitable stories to prepare ad hoc attacks.

Will the use of AI become inevitable over time?

As already mentioned, AI will take over in various IT contexts and cyber security will certainly play a fundamental role, its future presence will be essential, and will always be perfected and effective, for without it it will be impossible to identify the attack patterns. The growing amount of attacks, which cross our networks, require a trained and trainable system that identifies the patterns of the attackers and their behaviours.

The AI will recognize the attacks used by hackers and how they will be managed, following the procedures used by hackers, to achieve the objectives of the devices and data.

A study examined companies from 22 countries including Italy and highlighted the weaknesses of smart cities, where the lack of adequate technological governance emerges. Despite the exponential growth of cyber attacks of different kinds, there is still a lack of a specific reference figure expert in cybersecurity. The lack of adequate key figures and specific governance also leads to the lack of appropriate preventive assessments, so much so that less than 20% of cities, for example, assess privacy risks before implementing new technologies. But one of the biggest problems, which emerged and which concerns the majority of smart cities is the adoption of adequate measures to ensure that the digital services and technologies implemented are truly accessible to all, especially to vulnerable categories such as the elderly or people who are physically challenged. In this sense, connectivity is also a big problem, in recent times the pandemic, with the development of smart working, has helped to highlight how widespread connectivity is still missing in many areas. And smart cities are no exception, from which one would expect policies aimed at enhancing and guaranteeing access to the network by all citizens.

Smart cities are based on the Internet of Things and on data, which after being collected must be managed. In this sense, tools such as artificial intelligence and machine learning will prove to be particularly useful for analysing and providing useful information to meet the needs of citizens. Thus AI, machine learning and deep learning will find more and more use also in the field of cybersecurity in defence of IT infrastructures, the new scenario of the Internet of Thing, therefore, sees an increasing number of devices connected to the network, appliances, home automation, medical devices, company machinery, cars, thanks also to the 5G connection system that implements connection speed and power. However, this increases the surface of the attack and exposes critical and private infrastructures to more hacker incursions. When we talk about smart cities we are talking about these cities, particularly advanced in terms of technology, to provide useful services to citizens and improve their quality of life. Just think of the exponential increase in the urban population in recent decades with the consequent increase in demand for primary services such as health, education or transport; All with the lowest environmental impact possible. In short, the challenge is demanding.

Rawfish Artificial intelligence

How vulnerable is the internet of things to attacks?

Regarding the vulnerabilities of IoT sensors, we can say that as it is given them little protection, the IoT has many weaknesses due to the meagre security control at the time of the creation of the device, the lack of standards increases the exposure to risk and the lack of physical hardening remains one of the biggest concerns for devices within the Internet of Things. Most of these are deployed over a remote connection and there is no way to adequately protect devices that are constantly exposed to the larger physical surface of attack. For example, hackers could access memory cards and read their contents by accessing private data and information allowing them to access other systems. The lack of encryption and access controls before data is entered into the IoT ecosystem is an information-exposing weakness and it is important to ensure the secure transfer of data through robust network security management tools, such as firewalls and security controls.

What risks come from bots?

A deeply felt problem is represented by botnets which constitute a series of devices connected to the internet created to steal data, compromise networks and send spam. Botnets contain malware that allows the attacker to access the IoT device and its connection to infiltrate an organization’s network, becoming a major threat to businesses. The problem is felt most in household appliances that were not initially safely manufactured. This also includes home devices, that are constantly transforming and adapting; finally, we can say that monitoring changes and practices related to threats is necessary to avoid attacks.

An attacker can infect an IoT device with malware through an unsecured port via an IoT botnet used to initiate massive cyber attacks. IoT botnets are often used for Distributed Denial-of-Service (DDoS) attacks to overload a target’s network traffic.

As a countermeasure we find network segmentation that can block potentially compromised IoT devices to protect the network, while IT administrators can monitor network activity to detect botnets, monitoring the planning of the entire life cycle of the device, including the end of life.

The threats that AI represents within the IoT are becoming more and more relevant, now hackers can create AI-based tools that are faster, easier to scale, and more efficient than humans to carry out their attacks. This poses a serious threat to the IoT ecosystem.