A person who misuses moral protocols without possessing any bad intention like the black hat hackers, is referred to as a gray hat hacker. He may execute activities which might not be totally in compliance with the law but they often work with an honest intention.