BlackBerry in February completed its acquisition of California-based Cylance, whose software uses machine learning to preempt security breaches.
In the first quarter, adjusted revenue from Cylance was $51 million, above the average analyst estimate of $48.8 million.
Waterloo, Ontario-based BlackBerry, once known for its phones, has pivoted to selling software such as those used in mobiles and by automakers, and more recently supplying technology to companies developing driverless cars.
BlackBerry's adjusted revenue rose 23 percent to $267 million in the quarter, beating estimates of $265 million, according to IBES data from Refinitiv.
The company's net loss narrowed to $35 million, or 9 cents per share, in the quarter ended May 31, from $60 million, or 11 cents per share, a year earlier.
Excluding one-time items, the company earned 1 cent per share, in line with analysts' estimates.
The company's U.S.-listed shares were volatile in premarket trading after reporting results. They were last up 1.2 percent at $8.39.
(Reporting by Debroop Roy in Bengaluru; Editing by Maju Samuel)