Here's a tip: whenever you send any amount, always check the prefix and suffix of the recipient address and confirm the address with the recipient before sending.
Check at least that the first four characters (prefix) and last four characters (suffix) of the copied address are correct and that it's the same address provided by the recipient.
Whenever possible, scan the QR code instead of pressing CTRL C + CTRL V.
Of course, this tip is mainly for your friend, since you seem to be a much more informed user than your friend.
Remember, the most recommended option is to purchase a hardware wallet, but even a hardware wallet won't protect you from this malware (which is basically a mini-keylogger, as it monitors the clipboard and acts upon identifying a Bitcoin address). Although, as Mia Chloe mentioned, there's no way to be 100% certain that there's worse malware that not only monitors Bitcoin addresses but also monitors private keys and BIP39 seeds.