I haven't been banned yet so I haven't had the opportunity to test it but it's super simple to change your HWID, a quick Google search will give you a couple results. Have your friend try that out on a new account.
It's most certainly not an IP ban because that would actually be stupid, so the only other thing besides an account ban would be a HWID.