A security researcher has developed a phishing technique that uses Microsoft WebView2 features to steal a victim’s login credentials and cookies. This can potentially bypass two-step verification.
Once the victim has logged in, whether or not after applying two-step verification, the attacker can copy cookies stored by the installed browser. A malicious hacker can then use these authentication cookies for their own session, so that the website thinks it recognizes the attacker as a legitimate user. Stolen cookies including login data can, for example, be imported into a new session via the Chrome extension EditThisCookie.
According to the security researcher, the vulnerability is based on social engineering† the victim must initially run the WebView2 executable before a login attempt at a legitimate website can be monitored. Microsoft emphasizes in a response to Bleeping Computer therefore, users should never launch or install applications if they come from an untrustworthy source.
The software giant also states that users should always have antivirus software such as Microsoft Defender on to prevent installation of rogue applications. Ghacks concluded incidentally, Defender did not stop the installation of the security researcher’s demo application, but only issued a warning.