some of it is done through the statistics sending it take to process certain files , avast because the heuristic is weak requires new signatures created to detect PUP.
malwarebytes use generic detections and other technologies in aggressively
http://news.softpedia.com/news/malwarebytes-anti-malware-to-integrate-junkware-removal-tool-485031.shtml