The Middle East has a history of radical groups taking advantage of ungoverned spaces.