i get where you are coming from, but you are not quite understanding.
my reply was initially to a comment which seemed to have refereed to the process of reverse engineering software. it is possible to do this and learn more about how you can actually detect its usage. HOWEVER, software protected by copyright would be stated as such by any Terms and Conditions. heck, even the Terms and Conditions can be protected by copyright and is in SOME SENSE just as good as copyright law in of itself. almost all software that is accompanied by Terms and Conditions is protected against reverse engineering. if SE reverse engineers the software, then that would totally make them the offenders. in the end two key factors come into play that would decide if the bot owner(s) could actually do something. and that is going to depend the originating country of the copyright and the country in which the copyright was infringed upon. of course, assuming the bot owner(s) actually have the resources for a lawsuit, they would still need to provide proof of infringement. but then, even if the bot owner(s) win, there is a strong possibility SE will counter.
as far as cheating/hacking goes... depending on what the user does to achieve their goal, Square Enix may not actually be able to do anything beyond a ban. for example, a macro recorder. distributing such software for such purposes also does not infringe upon copyright. that is, as long as nothing is modified or injected. the software is also not allowed to read from a protected address space. depending on what is done, one would be merely breaking a rule and not any actual law.
as far as your darknet thing behind some ToS thing goes... yes, this is actually a thing. again, it depends on what is happening in what country. if some darknet out there happens to be selling American social security numbers, which is also an actual thing, the first approach would have to be diplomatic. if diplomacy fails then the only remaining option is likely war. this is assuming the country in question is not part of the UN. this is like saying parents aren't allow to serve their underagebrats*cough* kids any alcohol. depending on where you live there are actual allowances for underage drinking. even though federal law overrides state law, these exceptions still exist. hell... in some cases such as this, not even federal law can do a damn thing to the family. for example, in matters of religion.
in the end... there are a TON of ins-and-outs and other nuances dealing with what we are talking about. there are literally hundreds of different scenarios for just one possible incident. there will always be a to-and-fro and a fro-and-to process. one scenario in one location of the world may have merit whereas in another part of the world it may have no merit at all.