National Investigation Agency (NIA) has registered a case for investigation into an attack in the cockpit of a FlyDubai plane during a flight last month.