When a group of people work together as a team, in unity for the common good, they are seen to be Collaborating.
Co-operating people collaborate.
When a group of people work together as a team, in unity against the common good, they are seen to conspire, collude, connive or contrive.
I conspire when I plan an illegal action with another.
I collude when I actively participate in an illegal action with another.
I connive when I passively participate in an illegal action with another.
I contrive when I invent an illegal action with another.
Whether others are working together for the common good, or against the common good, is a matter of opinion based on a subjective consensus view of what is good for common people.
It depends on whether one is working for the good of common people or just for the benefit of a minority group.