LoneWolf is correct I think - it's no longer nation states but a war of ideas (or fanatics...)
nation states try and use the perpetrators - as the US did in Afghanistan against Russia - but you don't control them................... they go their own way and it can often rebound on you