There are certain ways where a transaction can be hacked or hijacked. There are malware that can change the pasted address so that is one of the proof that wallet tranfer can be hack or hijack. The best way to avoid this is to always double check the address that we pasted. Other than that, I do not think that there is another way of hacking or hijacking a transfer.
For the first one or about the malwares, make sure we already installed a strong anti-virus and then they must always be updated so that they can scan our devices for available malwares and other threats. Yet we must not be confident but we should always make it a practice to re-check the receivers address if it's a correct one or not.
To be able to do this in an efficient way, I check a few characters on the beginning and on the last part of a crypto wallet address. On the second one or about the private keys, make sure we avoid sites or transactions which requires us to paste our private keys because they are obviously a scam. We should also store our private keys offline. Transacting big amount is also fine as long as you know to your self that you are clean and free from illegal transactions in the past.
If anyone out there is still using Windows and they do not want to switch to Linux they need to make sure to download Windows from the official sources and obtain a legitimate license from Microsoft, avoid installing any pirated software and avoid clicking on any suspicious links as this can easily lead you to expose your computer to all kind of dangers, and when it comes to checking the address to which you want to send your coins I think it is not longer enough to check the first and last characters, and instead you should check the whole thing just to be sure you are not sending your coins to the wrong address.