Military history doesn't cover cyberwarfare. We're in uncharted territory here, and NK knows it wouldn't last long in a real war. So they want to get as close to war as they possibly can - classic brinksmanship tactics. But if the line is fuzzy and undefined, they're probably right to be cautious.