The ongoing tension between North Korea and the U.S. has boosted defense stocks.

Defense and aerospace stocks were mixed early Friday morning with most trading slightly up after President Trump took to Twitter  (TWTR - Get Report) Friday morning to escalate the ongoing tensions between the U.S. and North Korea.

Military solutions are now fully in place, locked and loaded, should North Korea act unwisely. Hopefully Kim Jong Un will find another path!

— Donald J. Trump (@realDonaldTrump) August 11, 2017

Trump's latest tweet comes after a week of back-and-froth between Washington and Pyongyang. North Korea tested another of its long-range missiles, prompting Trump to warn of "fire and fury," which he later said could have been too soft a warning. North Korea retaliated, warning it would turn the U.S. mainland into a "theater of nuclear war" if provoked.

Shares of Raytheon Co (RTN - Get Report) traded up 0.42% to $178.36. The government defense contractor's stock has climber 25% this year.

Lockheed Martin Corp (LMT - Get Report) stock traded up 0.12% to $303.60. Shares of the Maryland-based aerospace and security company are up 21% so far this year.

Northrop Grumman Corp (NOC) shares were up 0.31% to $271.40. The Virginia-based global security company's stock has traded up 17% since the start of this year.

Stock of aerospace company Boeing Co (BA - Get Report) traded down 0.50% to $231.72 per share. The Dow's top performer is still up 49% for the year.

Shares of Florida-based government and commercial defense systems provider Harris Corp (HRS)  traded up 0.14% to $118.39 in morning trading Friday. Harris stock is up 15% in 2017.

Major indices opened higher Friday for the first time in three days. The Dow was up around 0.25% or 50 points, and the S&P 500 trended up about 0.20% or 5 points at Friday's open. 

More of What's Trending on TheStreet: