Army top brass vows to thwart all threats to country’s security