How to Invest in Cybersecurity
Short answer
You can invest in cybersecurity by buying the individual stocks that fit the thesis (CRWD, PANW, ZS, FTNT, NET), holding a broad tech ETF proxy like VGT or XLK, or building a focused cybersecurity basket in Walnut. The theme covers companies that protect networks, devices, identities, and cloud workloads from attack, increasingly through cloud-delivered platforms billed by subscription. Security spending is famously resilient because it is treated as non-discretionary, and a long-running shift toward platform consolidation favors the largest vendors that can sell many products at once.
How does the cybersecurity industry make money?
Most modern cybersecurity companies make money through recurring subscriptions to cloud-delivered software, which is what makes the cybersecurity theme attractive to investors. Instead of selling a one-time appliance, vendors charge an annual or monthly fee per user, per device, or per workload protected, and they expand revenue as customers adopt more modules. CRWD bills for endpoint and cloud protection delivered from its cloud, ZS bills for secure access to applications, and PANW sells a mix of network security plus a growing cloud and security-operations subscription business.
This subscription model gives the cybersecurity theme high revenue visibility and strong retention, because ripping out a security platform is risky and disruptive for a customer. Net revenue retention above 100 percent, where existing customers spend more each year, is common among the leaders. That recurring, sticky economics is a core reason the cybersecurity theme behaves like high-quality software rather than cyclical hardware.
Why is cybersecurity spending so resilient?
Cybersecurity spending is resilient because organizations treat it as non-discretionary. A successful breach can cost a company far more than its entire security budget through downtime, ransom, regulatory fines, and lost trust, so security is one of the last line items cut in a downturn. That defensive characteristic is central to the cybersecurity theme: it tends to hold up better than other software categories when IT budgets tighten, because the cost of not spending is so high.
The threat environment also keeps growing, which sustains the cybersecurity theme. More cloud adoption, more remote work, more connected devices, and now AI-assisted attacks all expand the surface that has to be defended. FTNT protects networks and the expanding edge, NET secures and accelerates web traffic at the network layer, and S (SentinelOne) brings AI-driven endpoint detection. As attacks evolve, defenders have to keep investing, which is the structural demand engine underneath the cybersecurity theme.
What is cybersecurity platform consolidation?
For years, companies bought dozens of separate security point products from different vendors, which was expensive to manage and left gaps between tools. The dominant trend in the cybersecurity theme now is consolidation: customers prefer to buy many capabilities from one platform vendor that integrates them, simplifying operations and improving coverage. This favors the largest players in the cybersecurity theme that can offer a broad suite, and it lets them cross-sell new modules into their existing base.
CRWD has expanded from endpoint into cloud, identity, and security operations on a single platform; PANW has pursued a deliberate platformization strategy across network, cloud, and operations; and ZS anchors the secure-access layer. Consolidation is why scale matters so much in the cybersecurity theme: the vendors that can land one product and expand into ten capture a disproportionate share of a customer's growing security budget. Smaller point-product vendors like S and NET compete by leading in a specific category and expanding outward.
What gets a stock into the Cybersecurity theme?
Majority of revenue from protecting digital systems: endpoint, network, cloud, identity, or application security, delivered largely through recurring subscription software.
What stocks are in the Cybersecurity theme?
Every public name that fits the Cybersecurity thesis, with the rationale for inclusion. Click any ticker for the full stock guide. The basket above starts equal-weighted; you set your own target weights inside Walnut.
CrowdStrike's Falcon platform leads cloud-delivered endpoint protection and has expanded into cloud, identity, and security operations.
Palo Alto Networks is the broadest security platform, pursuing consolidation across network, cloud, and security operations.
Zscaler anchors the zero-trust secure-access layer, replacing legacy network security with cloud-delivered connectivity.
Fortinet protects networks and the expanding edge with a large installed base and its own security silicon.
SentinelOne brings AI-driven autonomous endpoint detection and response, competing with CrowdStrike on the platform frontier.
Cloudflare secures and accelerates web traffic at the network layer and increasingly sells zero-trust and edge security.
How to invest in Cybersecurity
There are a few ways to get exposure to the cybersecurity theme, and Walnut is not an investment adviser, so this is descriptive. The most concentrated path is buying individual stocks that fit the thesis: platform leaders like CRWD, PANW, and ZS, network and edge security through FTNT, AI-driven endpoint through S, and network-layer security through NET. Picking single names lets you weight the segments of cybersecurity you find most compelling, such as endpoint versus network versus cloud, at the cost of more research and concentration in a handful of premium-valued software names. The passive route is broad technology ETFs: VGT and XLK hold the largest cybersecurity names but at small weights inside the wider tech sector, so the security exposure is diluted. There is no pure-play cybersecurity ETF in Walnut's valid proxy set as of early 2026, though dedicated security ETFs exist in the broader market.
The alternative is building a dedicated cybersecurity basket in Walnut. You describe the thesis to Walnut's AI assistant, for instance cybersecurity spanning endpoint, network, cloud, and identity, and the assistant proposes constituents and starting weights drawn from names like CRWD, PANW, ZS, FTNT, S, and NET, with the rationale for each. You review every constituent and weight, adjust anything you want, and fund the basket through your own connected broker. You approve every order before it is placed; Walnut never trades for you. The cybersecurity basket then tracks as a single performance line you can compare against VGT or XLK.
Which ETFs cover Cybersecurity?
If you want the theme as a single ticker rather than as a basket, these are the ETFs people most commonly use. Each has trade-offs (concentration, expense ratio, sector overlap) covered in the individual ETF guides.
Broad US technology sector in one ticker. Includes semiconductors, software, and IT services at the cheapest expense ratio in the category.
The S&P 500 technology sector. More concentrated at the top than VGT and uses a select-sector methodology.
The bottom line on Cybersecurity
Cybersecurity is one of the more durable software themes because security budgets are treated as non-discretionary and recurring subscription revenue makes the leaders predictable. The platform-consolidation trend favors scale players like CRWD, PANW, and ZS over point products. It fits a portfolio as a satellite tilt or a quality software sleeve, and a focused basket of pure-play leaders expresses it far more cleanly than VGT or XLK, where security is a small slice of broad tech.
FAQ
What is the cybersecurity investment theme?
+
Cybersecurity groups companies that protect networks, devices, identities, and cloud workloads from attack, mostly through cloud-delivered subscription software. Leaders include CRWD (endpoint and cloud), PANW (broad platform), ZS (secure access), FTNT (network and edge), S (AI endpoint), and NET (network layer). Resilient, non-discretionary budgets and a consolidation trend toward large platform vendors define the theme.
What are the best cybersecurity stocks?
+
Walnut isn't an investment adviser. The names most tied to the cybersecurity theme as of early 2026 are CRWD, PANW, and ZS among the platform leaders, FTNT in network and edge security, S in AI-driven endpoint, and NET at the network layer. Each leads in a different segment, which is why a basket spanning endpoint, network, cloud, and identity is a common way to express the theme.
Is there a cybersecurity ETF?
+
Dedicated cybersecurity ETFs exist in the broader market, but none is in Walnut's valid proxy set as of early 2026. The closest valid proxies are VGT and XLK, which hold the largest security names at small weights inside the wider tech sector, so the cybersecurity exposure is diluted. A focused Walnut basket of pure-play security leaders is far tighter on the thesis.
How do I invest in cybersecurity stocks?
+
Three approaches. (1) Buy VGT or XLK for diluted passive exposure through the largest names. (2) Buy the pure-plays directly (CRWD, PANW, ZS, FTNT, S, NET), choosing your segment mix. (3) Build a Walnut basket spanning endpoint, network, cloud, and identity, with weights you set. Walnut isn't an investment adviser; you review and approve every order before it's placed.
Why is cybersecurity spending considered resilient?
+
Organizations treat security as non-discretionary because a successful breach can cost far more than the entire security budget through downtime, ransom, fines, and lost trust. So it's one of the last line items cut in a downturn. Combined with a constantly growing threat surface from cloud, remote work, connected devices, and AI-assisted attacks, that resilience is a core reason the cybersecurity theme behaves like high-quality software.
What is CrowdStrike vs Palo Alto Networks?
+
CrowdStrike (CRWD) started in cloud-delivered endpoint protection with its Falcon platform and expanded into cloud, identity, and security operations. Palo Alto Networks (PANW) started in network security and pursued a deliberate platformization strategy spanning network, cloud, and operations. Within the cybersecurity theme both are platform-consolidation leaders, competing to be the single vendor a customer buys many security products from.
What is platform consolidation in cybersecurity?
+
Historically companies bought dozens of separate security point products, which was costly to manage and left gaps. Consolidation is the trend of buying many capabilities from one integrated platform vendor instead. It favors the largest players in the cybersecurity theme (CRWD, PANW, ZS) that can cross-sell modules into their existing base, capturing a growing share of each customer's security budget.
Are cybersecurity stocks a good investment in 2026?
+
Walnut isn't an investment adviser. Factually, security budgets have stayed resilient, recurring revenue gives the leaders high visibility, and the consolidation trend continues to favor scale players. The offset is valuation: CRWD, PANW, and ZS trade at premium software multiples, so meaningful growth is already priced in. Time horizon and what else you own matter more than any single entry point.
What are the risks of a cybersecurity basket?
+
Three main ones. (1) Valuation: the leaders trade at premium multiples, so growth disappointment can compress them sharply. (2) Correlation: a basket of CRWD, PANW, ZS, and S can move together as high-growth software, looking diversified but acting like one bet. (3) Competition and disruption: AI is reshaping both attacks and defenses, and a vendor that misreads it can lose share quickly. Walnut isn't an investment adviser.
Can I build a cybersecurity basket in Walnut?
+
Yes. Tell Walnut's AI assistant something like 'cybersecurity across endpoint, network, cloud, and identity' and it proposes a 5-7 stock basket anchored by CRWD, PANW, and ZS with adds like FTNT, S, and NET, and weights you set. You review the rationale and fund through your broker. The basket tracks as one performance line you can compare to VGT.
Build the Cybersecurity basket in Walnut
Walnut's AI assistant takes the thesis above, proposes 5 to 6 constituents with target weights, and lets you fund the basket through your existing broker. You approve every order; we never trade on your behalf.
Other themes
- AI infrastructure. Picks and shovels of the AI buildout: GPUs, networking, foundries, and the software platforms training the largest models.
- Data center power and cooling. The grid, switchgear, liquid cooling, and electrical contracting that AI data centers can't run without.
- Semiconductors. The full chip stack: designers, foundries, equipment makers, materials suppliers, and packaging specialists.
- Defense and modernization. Software, sensors, and specialty materials at the center of US and allied defense buildouts.
- Critical materials. Rare earths, specialty metals, and strategic materials at the center of supply chain reshoring.
Walnut is informational, not investment advice. Theme membership is descriptive, not prescriptive; nothing on this page should be read as a recommendation. Always verify current financials and your own circumstances before investing.