Is it permissible to offer a program on the internet for hacking computers, knowing that it is not permissible to use it to hack those who do not deserve it?
Electronic hacking is originally forbidden because it is an assault on people's privacy and possessions, and it involves spying and seeking out vulnerabilities. However, if the device contains something suspicious, corrupt, or harmful to Muslims, then it is permissible to hack it to protect the interests of Muslims and to thwart the plans of corrupt individuals. Selling or publishing programs used for hacking is forbidden if the seller knows that the buyer will use them for evil.
Summarized from the full answer at Ftawy · reviewed Sep 2, 2026
Read the full answer on Ftawyhttps://ftawy.com/en/questions/19877