vice signalling

Etymology
By analogy to.

Noun

 * 1) The practice of expressing a particular opinion or performing a particular action that is immoral, hateful, or cruel, but popular with the (typically conservative) social group one is signalling to, to signal allegiance to or seek popularity with that group.

Alternative forms

 * vice-signalling