NEW YORK — Terrorism is a persistent and evolving global menace. No country is immune. Social media, encrypted communications and the dark web are being used to spread propaganda, radicalize new recruits and plan atrocities. The threat ranges from the crude tactics of lone actors to sophisticated coordinated attacks and the horrific prospect of terrorists using chemical, biological or radioactive weapons.