NSA: Dozens of attacks prevented