NATO develops technology to help catch terrorists