Cyber Shadows: Neutralizing Security Threats with AI and Targeted Policy Measures