This meaning refers to someone who uses violence, threats, or intimidation in criminal activity.
The shopkeeper was threatened by a group of thugs.
Police arrested the thug after the attack.
This broader insulting use describes someone whose conduct is brutal, threatening, or uncivilized.
He behaved like a thug during the argument.
The manager was accused of hiring thugs to frighten protesters.