India faces threat from inside, not outside: Former NSA