The instance of legal hacking among the options provided is:
Penetration testing for a company.
Penetration testing is a legal activity where ethical hackers are hired by a company to test its systems for vulnerabilities, ensuring that any security risks are identified and addressed.