Have just learnt this technique. This is called - Reverse Mount! You mount your lens inside out on your camera..there are adapter rings available for this..but I did it very basic..held the lens by my hands ...
This mode is really very good for taking photos of stable subjects in macro mode...because the subject has to be very close to your lens if you are using 18-55mm.