Praise be to Allaah.
We put this question to Shaykh Muhammad ibn Saalih al-‘Uthaymeen, may Allaah preserve him, who answered as follows:
“This is not haraam, and indeed it may be waajib (obligatory), because it is reducing the availability of these things.”
On that basis, is it permissible for him to accept payment for this?
“But the owner of the programs could go to someone else to get the protection of these programs.”
“This has nothing to do with anyone else. It’s OK if he does this work of making these protection programs.”
And he can accept payment for it?
“He can accept payment for it. And Allaah knows best..”