Missiles are turning into a hot commodity.

The U.S. government confirmed that North Korea fired a ballistic missile just before 10:45 AM EST Friday, upping the ante in a cold war with the country that has been heating up in recent months. 

While the missile, which flew for approximately 45 minutes, is a concern for governments from China to South Korea to Japan to the U.S., the test is a boon for those invested in defense stocks. 

Shares of The Boeing Co. (BA - Get Report) were down as $238.78 in morning trading Friday, but since the test, the aircraft maker's stock has pared its losses and was basically even at $240.85 in afternoon trading. 

Lockheed Martin Corp. (LMT - Get Report) shares also bounced back nicely from an early trading swoon, rising 0.2% to $288.73 in afternoon trading Friday. 

Missile-maker Raytheon Co. (RTN - Get Report) got the biggest bump from the missile test, rising 1.11% to $171.42, though volume was lighter than normal in afternoon trading. 

General Dynamics Corp. (GD - Get Report) , which makes combat vehicles and weapons systems, was up 1.6% on heavy volume to $196.91 Friday afternoon. 

More of What's Trending on TheStreet: