Justin Sullivan/Getty

Facebook and Twitter on Monday both disclosed crackdowns on fake accounts originating in China that were being used to target misinformation and propaganda at protesters in Hong Kong.

Facebook ( FB - Get Report) said it had "removed seven Pages, three Groups and five Facebook accounts" that it said were "involved in coordinated inauthentic behavior" on part of what it described as "small network" in China.

The individuals involved used fake accounts and other "deceptive tactics" to "manage Pages posting as news organizations," wrote Nathaniel Gleicher, head of cybersecurity policy for Facebook.

The group, which Facebook tied to individuals linked to the Chinese government, compared the Hong Kong protesters to ISIS fighters and "cockroaches," while accusing the protesters of overtly violent behavior, accompanied by photos of an injured police officer and nurse.

Twitter (TWTR - Get Report)  said it was suspending 936 accounts involved in a "significant state-backed information operation focused on the situation in Hong Kong" that it traced back to mainland China.

The objectionable tweets also featured similar themes aimed to discredit the protesters by using fake accounts.

"Specifically, we identified large clusters of accounts behaving in a coordinated manner to amplify messages related to the Hong Kong protests," Twitter said in a statement.

Facebook shares closed at $186.17, up 1.3%, while Twitter rose 2.8% to $41.70.