(Reuters) - BlackBerry Ltd U.S.-listed shares rose nearly 6 percent in premarket trading on Tuesday after the company said it would partner with Microsoft Corp (>> Microsoft Corporation) to provide security for flagship Office apps used by businesses.

The partnership comes at a time when companies are ramping up their cybersecurity capabilities after a wave of attacks on high-profile companies pointed to security flaws.

BlackBerry has focused on developing security software since it stopped making smartphones in 2016 after failing to compete with Android phones and Apple Inc iPhones.

As part of the partnership, the Canadian software maker's platform, BlackBerry Enterprise Bridge, will allow businesses to securely access Microsoft's apps such as Excel, Word and PowerPoint on smartphones.

Shares on the Toronto Stock Exchange do not trade before markets open.

(Reporting by Yashaswini Swamynathan in Bengaluru; Editing by Arun Koyyur)

Stocks treated in this article : Microsoft Corporation, Apple, BlackBerry Ltd, Alphabet