Within days of the attack in May, North Korea fell under suspicion.
The White House did not immediately respond to a request for comment.
The accusation that the North Korean government was behind the so-called WannaCry attack comes as worries mount about North Korea's hacking capabilities and its nuclear weapons program.
The public condemnation will not include any indictments or name specific individuals, the official said.
North Korea's official Korean Central News Agency (KCNA) published Monday a commentary entitled "Trump Should Cool His Jets and Face Up to Reality". He noted that the Trump administration has banned the use of Kaspersky software from government systems over concerns that the software could abet Russian espionage, and that the government has also charged Iranian hackers who attacked U.S. companies such as HBO. Citing foreign media reports, including Newsweek's coverage of a poll that found almost two-thirds of USA citizens were against going to war with North Korea, the state-run outlet called on Trump and his administration to rescind their threat to forcefully disarm supreme leader Kim Jong Un's nuclear and ballistic arsenal, which has continued to grow despite increased US -led diplomatic, economic and military pressure. The attack forced the company to cancel the release of The Interview, a comedy about two reporters who were hired to assassinate Kim Jong-un.
Ryan Shazier at Heinz Field for Patriots-Steelers, crowd goes berserk
The team FaceTimed with Shazier from the locker room after clinching the AFC North title in a Week 14 win over the Ravens. Rob Gronkowski was his usual dominant self against the Steelers, finishing with nine catches for 168 yards.
Then-U.S. President Barack Obama condemned Pyongyang for the Sony hack, vowing at the time to "respond proportionally".
The malware spread to thousands of computers in over 150 countries, encrypting data and demanding BitCoin payments as ransom. The global shipper said in September it expected to sustain a $300 million profit hit as a result of the attack.
Bossert didn't say what specific actions the USA might take against North Korea, but he said it was important to call out the bad behavior. The senior administration official declined to comment about whether US intelligence was able to discern if the attack was deliberate.
While North Korea is the main focus of Bossert's claims in the Op-Ed, he does not forget to talk about alleged 2016 election meddling by Russian hackers or the US's issues with Iran either. Earlier this month, North Korea said it had successfully tested a breakthrough intercontinental ballistic missile that could place the entire USA mainland within range of its nuclear weapons.