AIWiki
Malaysia
Back to all articles
Applicationscybersecuritythreat-detectionSOC

AI in Cybersecurity

4 min readUpdated October 2026
AI in Cybersecurity
Type
Application domain
Used by
Defenders and attackers
Key techniques
Anomaly detection, NLP phishing, alert triage, adversarial ML
Emerged
Mid-2010s (defence); 2022+ (generative attacks)
Related
Adversarial machine learning, AI red teaming, AI guardrails
AI in cybersecurity refers to the use of machine-learning and generative models to defend computer systems — and, increasingly, to attack them. Defenders apply it to spot intrusions, triage alerts and automate response; attackers apply it to generate convincing phishing, mutate malware and scale social engineering. The result is an arms race in which both sides draw on the same class of technology.

History and Background

Machine learning entered security products in the 2010s primarily as anomaly detection: baselines of "normal" network traffic, endpoint behaviour and login patterns, with deviations flagged as suspicious. Classical models — decision trees, gradient boosting, clustering — powered early user-and-entity behaviour analytics and spam filters, while deep learning improved malware classification by learning directly from raw file bytes or API call sequences.[1]

The arrival of large language models in 2022–2023 changed the balance. Generative AI lowered the cost of producing grammatical, context-aware phishing emails, of cloning voice and video for business email compromise, and of polymorphic malicious code that rewrites itself at runtime. Security researchers documented malware strains such as LAMEHUG and PROMPTFLUX that call LLM APIs during execution to regenerate their own payloads, defeating signature-based tools.[2] Defenders adopted the same models for reading logs, writing detection rules and summarising incidents — turning the security operations centre (SOC) from a queue of raw alerts into a ranked shortlist.

Key Concepts

  • Dual use. Every defensive capability has an offensive mirror: language models write both detection rules and phishing lures; code models both review patches and discover vulnerabilities.[1]
  • Alert triage. A modern SOC receives thousands of alerts per day. AI agents cluster, enrich and rank them so analysts investigate true positives instead of noise — the single highest-value defensive use of AI today.[2]
  • Adversarial machine learning. Models are themselves attack targets. Evasion attacks perturb inputs so a classifier judges malware benign; data poisoning corrupts training data; model extraction steals a model through repeated queries. Defending models is now a discipline of its own.[3]
  • AI red teaming. Before deployment, organisations probe their own systems with automated attacks — prompt injection, jailbreaks, agent tool misuse — to find failures early. Frameworks such as the NIST AI Risk Management Framework and ISO/IEC 42001 formalise parts of this process.
  • Generative social engineering. Deepfake audio and video calls, and phishing written in a target's own idiom and tone, erode the human layer that security training assumed was stable.[2]

Applications and Impact

AI is now embedded in endpoint detection and response, security information and event management (SIEM), identity analytics and fraud scoring. IBM's annual breach research has consistently found that organisations using security AI and automation extensively detect and contain breaches far faster than those that do not, with materially lower average breach costs.[3] Banks use it for real-time transaction fraud detection; cloud providers use it for spam, abuse and credential-stuffing defence.

On the offensive side, the measurable shift is scale and personalisation: campaigns that once required a human writer per target can now be generated per victim from public data, in multiple languages, at negligible cost. Industry reporting suggests an AI-assisted component in a large and growing share of attacks, primarily phishing and reconnaissance.[2]

>See Also

🇲🇾Malaysian Context

🇲🇾 Relevance to Malaysia: Malaysia's threat surface is growing alongside its data-centre boom, and AI is central to both sides of it. Local SOC telemetry for 2025 recorded 5.77 million compromised credentials, over 44,500 exposed Malaysian domains and thousands of escalated incidents, with attackers using NLP to craft localised "Manglish" phishing lures and AI-generated voice to impersonate executives in business email compromise.[4] National capacity is coordinated through MyCERT and CyberSecurity Malaysia, the National Cyber Security Agency (NACSA) and the National AI Office (NAIO), while MDEC and the Malaysia Digital framework promote AI-security skills. Under the Personal Data Protection Act 2010 (PDPA), organisations deploying AI-driven monitoring must still justify data collection and purpose limitation — automated surveillance is not exempt from consent rules. Malaysia's shortage of cybersecurity staff makes AI-assisted triage especially valuable: it multiplies a small analyst team rather than replacing it, and SMEs gain enterprise-grade detection through managed SOC services.[5]

References

  1. ↑CrowdStrike. AI-powered cyberattacks: types and mitigation. https://www.crowdstrike.com/en-us/cybersecurity-101/cyberattacks/ai-powered-cyberattacks/
  2. ↑Simply Data. Malaysia Cybersecurity Threat Report 2025. https://www.simplydata.com.my/malaysia-cybersecurity-threat-report-2025/
  3. ↑IBM. Cost of a Data Breach Report. https://www.ibm.com/reports/data-breach
  4. ↑MyCERT. Cyber Incident Quarterly Summary Reports. https://www.mycert.org.my/
  5. ↑CyberSecurity Malaysia. Official website. https://www.cybersecurity.my/