To me, if Iran or one of their allies did it, they would love to take credit for it as proof that not only is the U.S. vulnerable, it's vulnerable to them. I think that would give them credibility with their peers around the world show they can give the US a black eye.
But to your point if somebody like North Korea did it, they wouldn't brag about it but they'd be talking quietly to their friends and maybe even taking orders for the next target.