Grey hat

Definition
A grey hat is a "hacker[] [who] often want[s] to support the wider community, making cyberspace more secure by using their skills against wrong-doers.

Overview
"As they are doing it without proper authorisation and generally without the consent of the targets of their actions, their behaviour can sometimes be regarded as criminal; however, the grey hats justify their activities with the higher good they want to achieve."