Depends of your country, there's a lot of countries with interoperability exceptions to copyright, a lot of EU countries will fall in this category and it's totally legal in those countries to publish DRM hacks and publish software which circumvent such protections automatically.