You searched for: “hybristophilia
In psychiatry, a sexual perversion in which sexual arousal is dependent upon the partner being a criminal or known to have committed some heinous act against another.

On rare occasions, its expression takes the form of inducing the sexual partner to commit a crime that is almost certain to lead to imprisonment.