CCDs can detect single photons. It isn't much of a challenge. I would be suspicious that the surrounding apparatus is Photoshopped in from a separate exposure.
The latter made lighting the shot in a controlled fashion a bit easier than if I had used continuous sources – you'd be looking at using a torch with a bunch of filters or a computer monitor on the lowest brightness otherwise.