TY - EJOU AU - Khan, Sohail AU - Syed, Toqeer Ali AU - Nauman, Mohammad AU - Jan, Salman AU - Lee, It Ee AU - Wali, Qamar TI - Negative-One-Day Malware Detection with Generative AI: A Stable Diffusion-Based Proactive Defense Framework T2 - Computers, Materials \& Continua PY - 2026 VL - 88 IS - 1 SN - 1546-2226 AB - The detection of zero-day malware represents one of the most significant challenges in contemporary cybersecurity. In this paper, we introduce a novel concept called “Negative-One-Day Malware Detection”, which aims to identify potentially malicious software before it is actually created by threat actors. Our approach leverages recent advancements in generative AI, specifically diffusion-based generative models, to generate and analyze potential future malware variants. By doing so, we can train detection systems to recognize these variants before they emerge in the wild, thereby closing the critical protection gap that currently exists between malware creation and detection. We demonstrate the effectiveness of our approach through extensive experimentation, showing that our framework can generate executable malware samples that combine characteristics from different families while exhibiting novel behaviors. These synthetically generated samples significantly improve the detection capabilities of security systems when incorporated into training data, providing a proactive rather than reactive approach to cybersecurity. KW - Adversarial machine learning; Generative AI; stable diffusion models; zero-day malware detection; negative-one-day malware detection; proactive cyber defense DO - 10.32604/cmc.2026.075265