On this page
Artificial intelligence has moved from research papers into everyday security work in a very short time. Defenders use it to sort alerts, summarise incidents and spot anomalies. Attackers use it to write better phishing emails, clone voices and speed up reconnaissance. And organisations are deploying AI systems of their own that bring entirely new risks.
So is AI a friend or a foe to cybersecurity? The honest answer is both, and the organisations that do well will be the ones that use it deliberately on both fronts.
How defenders are using AI
Triage and prioritisation
Security operations teams face more alerts than they can investigate. Machine learning models and large language models can group related alerts, enrich them with context and suggest which deserve attention first. The analyst still decides, but spends less time on noise.
Detection of the unusual
Behavioural analytics learn what normal looks like for users, devices and workloads, then flag deviations: a service account suddenly reading thousands of records, a login at an unusual hour from a new country, a process spawning tools it never uses.
Faster investigation and reporting
Language models are effective at turning raw logs and timelines into readable summaries, drafting incident reports and explaining what a suspicious script does. This shortens the time from detection to decision.
Code and configuration review
AI assistants can highlight insecure patterns in code and infrastructure definitions during development, catching issues before they reach production.
How attackers are using AI
The same capabilities help adversaries.
- Phishing at scale and quality. Spelling mistakes and awkward phrasing used to be useful warning signs. Generated messages are fluent, personalised and produced in any language.
- Voice and video impersonation. Synthetic audio has been used to impersonate executives and request urgent payments. A familiar voice on a call is no longer proof of identity.
- Faster reconnaissance. Gathering information about an organisation and its people from public sources is quicker when a model can summarise it.
- Assistance with malware and exploitation. Models can help less skilled attackers adapt existing code, although safeguards and the need for real expertise still limit this.
The net effect is not entirely new attacks, but familiar attacks that are cheaper, faster and more convincing.
The risks of your own AI systems
As organisations adopt AI in products and internal tools, they inherit a new set of security questions:
- Prompt injection, where untrusted content manipulates a model into ignoring instructions or leaking data
- Data leakage, when confidential information is pasted into external tools or exposed through model responses
- Excessive agency, when an AI agent is given permissions to take actions without adequate checks
- Training data and supply chain, including poisoned data or untrusted third-party models
- Hallucination, where confident but wrong output is acted on without verification
Resources such as the OWASP Top 10 for Large Language Model Applications and the NIST AI Risk Management Framework are good starting points for understanding these risks.
Governance is catching up
Regulators and standards bodies are moving quickly. ISO/IEC 42001 provides a management system standard for AI, similar in structure to ISO 27001. The EU AI Act introduces obligations based on risk level. Many sector regulators have published expectations for model risk management. For most organisations, the practical first steps are the same:
- Inventory where AI is used, including third-party tools staff have adopted on their own.
- Classify use cases by risk, considering the data involved and the decisions made.
- Set clear rules for what data may be shared with which tools.
- Assign ownership for each AI system, with review before deployment.
- Test and monitor systems for security, accuracy and bias over time.
Using AI safely in security operations
If you are introducing AI into your own security programme:
- keep a human in the loop for decisions with real consequences, such as blocking accounts or isolating hosts
- validate output before acting on it, especially summaries of complex incidents
- limit data exposure by choosing tools with appropriate contractual and technical protections
- measure the benefit, for example time to triage or false positive rates, rather than assuming it
Updating defences for AI-enabled attacks
Some controls become more important as attacks improve:
- Verification procedures for payments and sensitive requests that do not rely on a voice or email alone, such as call-backs to known numbers
- Phishing-resistant MFA, which defeats credential phishing however convincing the email is
- Awareness training that reflects the new reality: polished messages and familiar voices can be fake
- Email authentication with SPF, DKIM and DMARC enforced
Friend, foe and responsibility
AI will not replace security teams, and it will not on its own make attackers unstoppable. It amplifies whoever uses it well. The organisations that benefit most will adopt it thoughtfully in defence, harden themselves against its use in attack, and govern their own AI systems with the same discipline they apply to everything else.
HabileSec helps organisations assess AI risk, prepare for ISO 42001 and secure AI-enabled products. Talk to our team.
