They randomly select IP numbers from Gnutella, BitTorrent, etc. and ask the police or ISP's (don't know which) for the persons that use the IP address.They can do that in the United States, they can't in my country, and I have no idea where this is allowed and where it's not.
I don't suppose he's tested them all.