Just to put it in context, flight time of the bullet at that range was just under the 5.5 second mark. (I entered a 300gr Scenar with an BC of .795 at 2,750fps- certainly altitude plays an unknown role in ballistic calculation in this case, let's say 5,000'ASL. If the shots were fired over the 15,000ASL, they may have remained supersonic to target, which could certainly be possible in Afghanland)
Some figures:
a man typically walks around 3 mph, that calculates to 4.4fps, so in the flight time, the target could have been near 24.2 feet away if he'd starting walking as soon as the shot was fired (not that he had any idea- unlikely they ever heard the shot at 1.7 miles)
The earth had rotated near 8403 feet from the time the shot was fired until it hit the target (25K/24=1041.667mph=1527.778fps*5.5sec flight time). Depending on the direction of fire with regards to earths rotation, the Coriolis Effect comes into play and must be considered in the firing solution, so keep in mind, the shot was likely a two man deal with a spotter giving a firing solution. (I did know about Coriolis before seeing "Shooter" I've been shooting long range for about 12 years now)
So given these tidbits, the role of luck may have been less, since the shooter was doing far more than hitting the needle in a haystack. He put three bullets through the eye of the needle.