Incidents of terrorism in Western countries increased 174% in 2016, according to a new report by UK insurance giant Aon. And, while individual acts of terrorism don't generally move the stock market for long, some industries tend to react in increasingly discernable ways, according to the analysis.

The number of people killed through acts of terrorism pales in comparison to other forms of violence and disease, but the psychological impact of terror is often devastating.

Increasingly, cybersecurity firms have rocketed on news of instability. An analysis done by CNBC this month showed companies such as Palo Alto Networks (PANW) , Symantec (SYMC) , and FireEye (FEYE) posting large gains even a month after the WannaCry cyberattack did damage to companies worldwide.

Other companies stand to gain too, primarily in the defense sector. Companies such as Lockheed Martin (LMT) , Boeing (BA) , and Raytheon (RTN) , which sell defense equipment to governments, may see increased sales as leaders increase spending on military supplies.

Surveillance companies such as Verint Systems (VRNT) , a New York-based software analysis firm that enables law enforcement agencies to conduct mass surveillance, are also poised to gain. Similarly, countries may up their purchases of biometrics equipment, which may prove to be a boon for companies such as Next Biometrics, which provides fingerprint sensor technology, and Analogic (ALOG) , a large manufacturer of airport X-rays.

Oil and gas companies such as British Petroleum (BP) Chevron (CVX) , and Exxon Mobil (XOM) tend to be most at risk of terror, the company found, with retail close behind.

Because rising rates of terrorism may cause leaders to adopt populist policies, companies that deal primarily in international trade are also at risk. This could suggest bad news for the remittance industry, with players such as MoneyGram International (MGI) and Western Union (WU) exposed to protectionist policies.

Outside of tech, luxury good providers may also see increased sales. In 1999, two researchers at the University of Pennsylvania found that consumers who are more concerned with their mortality may flock to expensive items such as Lexus cars owned by Toyota Motor (TM) and Rolex watches.

"By purchasing a high-status product, such as a luxury car or designer clothing, an individual may feel more valuable within the culture, thus relieving anxiety in response to threats to his mortality," the researchers write. 

Click here for the latest business headlines.

More from Markets

Nutrisystem Soars on Deal to Be Acquired by Tivity Health

Nutrisystem Soars on Deal to Be Acquired by Tivity Health

Economist Perspective: Can U.S. Dollar Keep Its Momentum in 2019?

Economist Perspective: Can U.S. Dollar Keep Its Momentum in 2019?

Monday Madness: Apple's Looking Pretty Bruised

Monday Madness: Apple's Looking Pretty Bruised

Stocks End Day in the Green as Dow, S&P Overcome Slow Starts

Stocks End Day in the Green as Dow, S&P Overcome Slow Starts

These Bank Stocks Could Be Oversold in the Market Wreckage

These Bank Stocks Could Be Oversold in the Market Wreckage