Best way to find out who's living in the attic?

Nighttime noises can also be flying squirrels (if native to your area), since they are nocturnal. I trapped six in my crawl space the night after I had my roof replaced because they could no longer get out how ever they had been getting in, and were creating a ruckus.