defense 2026

Automating Cloud Security and Forensics Through a Secure-by-Design Generative AI Framework

Dalal Alharthi , Ivan Roberto Kawaminami Garcia

0 citations

α

Published on arXiv

2604.03912

Prompt Injection

OWASP LLM Top 10 — LLM01

Key Finding

PromptShield achieves precision, recall, and F1 scores above 93% under adversarial prompt injection conditions while CIAF enhances ransomware detection accuracy in cloud logs

PromptShield

Novel technique introduced


As cloud environments become increasingly complex, cybersecurity and forensic investigations must evolve to meet emerging threats. Large Language Models (LLMs) have shown promise in automating log analysis and reasoning tasks, yet they remain vulnerable to prompt injection attacks and lack forensic rigor. To address these dual challenges, we propose a unified, secure-by-design GenAI framework that integrates PromptShield and the Cloud Investigation Automation Framework (CIAF). PromptShield proactively defends LLMs against adversarial prompts using ontology-driven validation that standardizes user inputs and mitigates manipulation. CIAF streamlines cloud forensic investigations through structured, ontology-based reasoning across all six phases of the forensic process. We evaluate our system on real-world datasets from AWS and Microsoft Azure, demonstrating substantial improvements in both LLM security and forensic accuracy. Experimental results show PromptShield boosts classification performance under attack conditions, achieving precision, recall, and F1 scores above 93%, while CIAF enhances ransomware detection accuracy in cloud logs using Likert-transformed performance features. Our integrated framework advances the automation, interpretability, and trustworthiness of cloud forensics and LLM-based systems, offering a scalable foundation for real-time, AI-driven incident response across diverse cloud infrastructures.


Key Contributions

  • PromptShield: ontology-driven prompt validation framework achieving 93%+ precision/recall/F1 against prompt injection attacks
  • CIAF: Cloud Investigation Automation Framework integrating structured forensic reasoning with LLM security
  • Real-world validation on AWS and Azure demonstrating improved forensic accuracy and LLM robustness in cloud incident response

🛡️ Threat Analysis


Details

Domains
nlp
Model Types
llm
Threat Tags
inference_time
Datasets
AWS logsMicrosoft Azure logs
Applications
cloud forensicsincident responselog analysis