Cybersecurity stocks have outperformed broader tech markets in 2025, driven by rising global cyber threats and the rapid integration of artificial intelligence (AI) into security platforms. Following a wave of high-profile hacking incidents and geopolitical tensions, cybersecurity spending is now a top corporate priority. As of June 23, the Computer Software-Security group ranks 13th out of 197 tracked by Investor’s Business Daily (IBD), reflecting its growing relevance.
Wall Street analysts expect cybersecurity to remain resilient, even as other software segments face budget pressures. Jefferies analyst Joseph Gallo noted that cloud-based security vendors are particularly well-positioned, given the need for AI tools to run in the cloud. This was underscored by Google-parent Alphabet’s $32 billion acquisition of Wiz, a fast-growing cloud security firm, in March 2025.
Rising geopolitical tensions have further fueled cybersecurity demand. Reports indicate that state-backed hacking groups from over 20 countries, including China and Iran, are using generative AI to craft malicious code and identify targets. Concerns deepened after the U.S. joined Israel in military operations against Iran, sparking fears of retaliatory cyberattacks on American infrastructure and corporations.
Top Performers Lead Market Rally
Several cybersecurity stocks have delivered standout performances this year. Zscaler and Cloudflare have surged 67% and 66% respectively. Zscaler specializes in cloud-based web security gateways, while Cloudflare secures and accelerates internet traffic through its global network. CrowdStrike has gained 39%, Rubrik 31%, and Okta 26%, with CyberArk and Fortinet also showing solid gains.
These companies are part of the IBD 50 list of high-growth stocks. Zscaler’s strong financial performance boosted investor confidence, though Palo Alto Networks saw a dip following its latest earnings. Still, Palo Alto’s CEO Nikesh Arora remains focused on a “platformization” strategy—offering integrated cybersecurity services through a single platform. Analysts believe this approach may attract companies looking to consolidate vendors amid growing digital threats.
Artificial intelligence is playing a pivotal role in cybersecurity’s evolution. Generative AI is being deployed to automate threat detection, enhance response times, and reduce reliance on human engineers. Analysts say platform companies like CrowdStrike and Palo Alto are likely to benefit most from the rise of AI-driven “agents,” which also create new machine identities requiring protection, boosting the outlook for identity security providers like Okta and CyberArk.
Market Expands Amid New Entrants and Threats
Cyberattacks like the “Salt Typhoon” breach, which targeted U.S. telecom firms in 2024, and recent ransomware incidents involving MGM Resorts and UnitedHealth Group have further highlighted vulnerabilities. A TD Cowen survey revealed that 57% of companies plan to increase cybersecurity spending in 2025, with cloud security topping the list of priorities.
The sector is also attracting fresh competition. Startups like Snyk, Arctic Wolf, and Cato Networks are gaining traction, while Mastercard recently acquired threat intelligence firm Recorded Future for $2.65 billion. Meanwhile, IDC predicts the identity security market will double to $47.1 billion by 2028. Cloud security services like Cloud Native Application Protection Platforms (CNAPPs) are also set to grow from $7 billion to over $17 billion.
Despite rising competition from tech giants like Microsoft and Google, cybersecurity stocks remain strong performers, proving their critical role in a digital-first, high-risk global landscape.