Facebook believes that the hackers who gained access to private information of some 30 million users on the site were spammers looking to make money through deceptive advertising, the Wall Street Journal reported on Wednesday.

The findings so far suggested that the hackers were not affiliated with a nation-state, the Journal said, citing sources familiar with Facebook's internal investigation.

Internal researchers believe that the people behind the attack are from a group of Facebook and Instagram spammers who present themselves as a digital marketing company, according to the WSJ. Their activities were previously known to the tech giant's security team, the newspaper added.

Facebook did not immediately respond to CNBC's request for comment, sent outside office hours.

Last Friday, the tech giant said that a hack in September allowed attackers to harvest millions of phone numbers and email addresses. It first disclosed the breach late last month.

The company said hackers used 400,000 accounts under their control to steal access tokens of around 30 million Facebook users. Access tokens are used to log into Facebook accounts without needing to type in a password.

Facebook's vice president of product management, Guy Rosen, said in a blog post that the company saw an "unusual spike of activity" that started on Sept. 14, which prompted an investigation. On Sept. 25, Facebook determined that the surge was actually an attack and moved to fix the vulnerability.