Indian faces threat from inside, not outside: Former NSA