There won’t be a lot of detail you will get here sadly, as most of this is proprietary, and people will always try to find ways around the detection. Suffice it to say, if you want your account to remain safe, it is best to not install these things.
https://us.forums.blizzard.com/en/wow/t/policy-update-for-input-broadcasting-software/707426