AI can defend against internal threats by monitoring user behavior and identifying unusual usage patterns, such as unauthorized file access.