Security Analysis of SMS as a Second Factor of Authentication