It has been an excellent week for cybersecurity firm Palo Alto Networks (PANW) , with its stock ripping higher nearly 17.5%.

The Santa Clara, Calif.-based company's stronger-than-expected first-quarter earnings results have been the primary catalyst driving the shares higher. 

For the quarter, Palo Alto Networks reported that revenue rose 25% to $431.8 million, while billings gained 12% to $544.1 million. Adjusted earnings of $0.61 a share surged 33%, beating forecasts for $0.55 a share.

Sales of its subscription-based software and services offerings continue to be Palo Alto's biggest growth driver.

Making the cybersecurity firm's quarter that much more intriguing, however, was May 12's global ransomware attack, "WannaCry."

"WannaCry" was a global cyber attack, comprising over 400,000 machines, in 150 countries. The hack exploited a weakness in out-of-date  Microsoft (MSFT) Windows software.

The two first prominent infections began at the U.K.'s National Health Service (NHS) and Telefónica (TEF) , the largest telecom company in Spain.

"I think the WannaCry thing raised a lot of awareness and anxiety," Palo Alto Networks CEO Mark D. McLaughlin said.

"The other thing I think it highlighted for us, as well as opportunity, is the increasing need for platforms," he continued. "I think WannaCry was looked at primarily as, I think, an endpoint problem, but it's broader than that. Once it gets into an organization, it moves around. It has the ability to spread. So platforms like ours are uniquely able to handle that stuff."

For more on its first quarter and what its chart is telling investors, check out TheStreet's coverage of Palo Alto Networks: 

Top Earnings Takeaways for HP Enterprise, Palo Alto Networks, Box and Ciena

Here's What You Do After Watching Palo Alto Surge More Than 15% In a Day

 

More from Stocks

Bank of America Rips on Earnings Beat, But Analysts See Even More Gains Ahead

Bank of America Rips on Earnings Beat, But Analysts See Even More Gains Ahead

3 Reasons Why Netflix Bulls Are Getting Their Face Ripped Off After Earnings

3 Reasons Why Netflix Bulls Are Getting Their Face Ripped Off After Earnings

Stocks End Mixed as Dow Rises, S&P 500 and Nasdaq Slip

Stocks End Mixed as Dow Rises, S&P 500 and Nasdaq Slip

Action Alerts Plus is Picking Raytheon Over Other Defense Names

Action Alerts Plus is Picking Raytheon Over Other Defense Names

Should Tesla Actually Fire Elon Musk?

Should Tesla Actually Fire Elon Musk?