grey hat
noun
A hacker whose activities are neither clearly legal (white hat) nor illegal (black hat). Hacking is often called "grey hat" when it happens in circumstances where law is unsettled or unclear.