Generative AI in Cybersecurity: A Dual-Use Problem

The model that writes a convincing phishing email for awareness training can write one for a real campaign. That dual use runs through my final CYSE 420 assignment.

What generative models add

Most security models are discriminative. They learn the line between malicious and benign. Generative models learn how the data itself is produced, so they can create new examples.

That matters because security data is lopsided. Real attacks are rare compared with normal traffic. A generative adversarial network (GAN) can produce synthetic attack traffic, giving a detector enough rare examples to learn from. Synthetic data can also stand in for real logs that are too sensitive to share.

The same idea works in reverse for detection. A model that learns what normal activity looks like can flag what doesn’t fit, even when no single rule is broken.

Testing our own models

Generative models can also craft adversarial inputs that push a classifier into mistakes. Defenders can use that to find evasion paths before an attacker does.

The other side

Each of these capabilities cuts both ways. Training data may include sensitive records covered by GDPR and CCPA. Skewed incident data produces skewed scenarios. And as defenders adopt these tools, attackers do too.

Two technical problems add to the risk. These models are hard to explain, and they’re hard to evaluate honestly.

The takeaway

Generative AI doesn’t favor defenders by default. Transparent design and honest validation are what keep it on the right side.

The full write-up is on my CYSE 420 course page.

CYSE420_Assignment08_Paper