Yes - this is real! This time-lapse was caught on camera by a NASA satellite one million miles away from Earth.
Deep Space Climate Observatory (DSCOVR) is situated between the Earth and the sun. It's primary mission is to measure solar wind for the National Oceanic and Atmospheric Administration (NOAA). Space weather can impact satellite communications from space, as well as electrical grids back here on Earth.
The Earth Polychromatic Imaging Camera, nicknamed EPIC, on DSCOVR looks back towards Earth. Twice a year, the satellite will line up perfectly with the Earth and Moon, which will allow EPIC to capture images like this one.
These images were taken on July 16, 2015.The far side of the moon, never seen from Earth, is lit up as it moves between DSCOVR and Earth.