Facebook has filed a lawsuit against a company that allegedly distributed malware and false advertisements for counterfeit goods and diets pills.