If it’s a hack of any sort someone is taking their life in their hands because being caught tampering with any commercial airline systems could mean significantly jail time. Cleaning crews and other staff have enough time on the plane to do something… I’m thinking like an Adafruit Waveshield with a timer or something.
If it’s a ghost, it seems like a horny adolescent one.