The New York terror attack is part of a trend that’s getting more difficult to combat