Rabat - Morocco is preparing for the possibility that militants affiliated with terror group Islamic State in Libya might attempt to use hijacked civilian airplanes to mount attacks.