At a guess I would say it was real.
One of my many C130 flights was over/through cloud with the ramp open. Unfortunately I did not have my camera wioth me on that occasion but our passage through the clouds was very similar. I can only assume that the much larger and heavier C17 would have a more stunning effect.