Skip to content

Shield and Sword: How AI is Transforming Cyber Defence and Attacks

Artificial intelligence (AI) is transforming the  cybersecurity landscape at a remarkable pace, introducing both powerful new tools for defences and enabling increasingly complex threats.

Attackers, now equipped with sophisticated machine learning algorithms, are escalating their campaigns, compelling organisations—from banks and hospitals to public administrations—to rethink and reinforce their cybersecurity strategies. This fluid environment is best viewed as a double-edged sword: AI’s ability to both strengthen cyber protections and simultaneously presemt unprecedented threat vectors, particularly in advanced threat detection, automated responses and the emergence of AI-powered phishing and malware.

The Threat Landscape

AI has become integral to efforts aimed at detecting and preventing cyberattacks. Real-time analysis using AI-powered platforms now allows organisations to parse immense volumes of data, accurately identifying subtle patterns that betray harmful intrusions, anomalous behaviour, or brand-new strains of malware. For example, the EU Agency for Cybersecurity (ENISA) has championed the integration of advanced algorithms such as genetic anomaly detection to more efficiently classify malware and flag potential threats with fewer false positives. This proactive approach marks a significant shift away from traditional models where defenders reacted after the fact; European systems can now anticipate threats, significantly minimising the window of vulnerability. As stated in a recent European Defence Fund (EDF) report, “Artificial intelligence is revolutionising cybersecurity by enabling rapid detection and response to cyber threats,” reflecting the region’s consensus that AI is indispensable for modern digital defence.

AI also underpins a wave of automation in incident response. The volume and speed of cyber threats today frequently outstrip the capacity of manual intervention. In response, AI-powered platforms can instantly isolate affected files or devices, sever connections to malicious servers, and in some cases, automatically apply security patches. European Defence Fund initiatives support digital twin technology, where AI simulates operational environments to expose vulnerabilities to attack in a controlled setting before they can be exploited. This not only heightens security but also relieves overstretched IT teams, freeing them to focus on strategic planning and the next evolution of threats. Despina Spanou of the European Commission underscores the importance of trust in this equation, affirming, “There cannot be AI without cybersecurity if the technology is to expand and be beneficial for our society and the economy.”

Investing in Cyber Defence

Investment in homegrown AI-based cybersecurity is accelerating rapidly. The European Defence Fund is channelling resources into projects that build indigenous security platforms, digital twins, and quantum-secure communications, reinforcing resilience for both civil and military networks. Groundbreaking research consortia such as AI4CYBER and IRIS are developing trustworthy, explainable AI frameworks specifically tailored for sectors deemed critical: energy, healthcare, and finance among them. IRIS’s solutions, piloted in cities like Helsinki, Tallinn, and Barcelona, emphasise privacy, rapid detection, and collaborative mitigation; they also demonstrate how European priorities are rooted in a cross-border, collective response.

Meanwhile, AI is amplifying the potency and scope of phishing and social engineering. Historically, phishing has been one of the most successful and persistent forms of cyberattack, and now AI is taking these tactics to new levels. AI-generated phishing emails, created using powerful language models, are so compelling and linguistically sophisticated that click-through rates and user engagement have increased dramatically—recent studies suggest these attacks are as much as three and a half times more successful than traditional phishing. The daily deluge of phishing messages, estimated at more than three billion worldwide, sees a substantial share targeting individuals and institutions. In the UK alone, 83% of businesses that reported a cyberattack last year traced the breach back to phishing as the initial compromise. ENISA warns that adversaries now use AI to build detailed profiles on potential victims, pulling from social networks and public data, allowing for finely targeted and highly credible lures a world away from the crude email scams of the past. European Commissioner Thierry Breton cautions, “Cyber threats are evolving at a rapid pace and citizens’ behaviour can play a fundamental role in how we stay cyber secure – it is our shared responsibility.”

Equally concerning is the emergence of AI-written malware, a threat now confirmed by several European research initiatives. Generative AI provides would-be attackers with tools that automate the creation of custom malware and attack scripts, vastly lowering the barriers to entry for cybercriminals. This trend was made stark in recent French campaigns, where adversaries used generative AI to design malicious code and target credential theft. The international ramifications are significant, with Ukrainian officials linking recent AI-powered malware attacks on Europe’s defence infrastructure to sophisticated, state-backed actors. Patrick Schläpfer of the HP Security Lab summarises the new landscape: “The activity shows how GenAI is lowering the bar for cybercriminals to infect endpoints,” making it clear that the ability to launch damaging attacks now exists well beyond elite hacker communities.

A Collaborative Response

In responses, collaborative platforms such as IRIS foster partnerships between governmental cybersecurity authorities, municipalities, and incident response teams, acknowledging that digital threats rarely respect political boundaries. Education and awareness campaigns are another pillar of European resilience. The European Cybersecurity Month, for example, is dedicated to informing both citizens and organisations about the new forms of social engineering, phishing, and AI-enabled fraud. Juhan Lepassaar, Executive Director of ENISA, insists that “explaining how social engineering works in practice, creates awareness of potential traps,” underscoring the value of continuous education in the face of evolving tactics.

Regulatory vigilance and digital sovereignty are central to Europe’s strategy for adapting to AI threats. Policymakers prioritise privacy, transparency, and the accountability of AI systems, recognising that public trust is essential to the technology’s success. MEP Eva Kaili, a leading voice on science and technology, states, “Trust is one of the most important factors for the adoption of new technologies. Recent cases of deepfakes or manipulation of citizens’ data… foster distrust in technology; Europe must lead in a safe digital era without compromising privacy, especially in relation to AI, a technology that has exponential transformative powers.” Investments in foundational digital twins and homegrown AI tools do not just strengthen technical resilience; they reduce dependence on non-European technologies and foster strategic autonomy for the continent.

Ultimately, AI stands as neither an inherently benevolent nor purely malign force in cybersecurity; rather, it is a tool, wielded by attackers and defenders alike. As highlighted by the European Parliamentary Research Service, both sides of the digital arms race continue to innovate, pushing the boundaries of offence and defence. The onus is on all stakeholders—from governments to private enterprise—to stay ahead through resilience, collaboration, and education.

This comprehensive approach, built on investing in advanced detection, automating defensive responses, promoting cross-border collaboration, and embedding trust and transparency into regulation, offers a compelling, if uncertain, blueprint. The end goal is a digital landscape where security enables innovation and protects citizens. As Juhan Lepassaar says; “Cybersecurity is the foundation of trustworthy Artificial Intelligence solutions. It will serve as a springboard for the widespread secure deployment of AI across the EU.” In a world defined by the relentless evolution of cyber threats and defences, it is the determination to adapt, educate and regulate will decide the winners of this digital contest.