Permissibility Of Hacking
Than is it true that the bad intention makes the work haram ,,, It can be used for various good reasons and profitable things,
Yes the use of something for an immoral purpose is haram. If the same thing is used where there is no aspect of immorality then it is not haram.