In practice, other players report you. Repeated or serious rule-breaking that draws enough reports is what leads to a permanent ban rather than a temporary one.
It is worth saying plainly that this is not a goal worth pursuing — a permanent ban takes your account and everything on it with no appeal in most cases.