which is why I am I want to know how that was possible and if this could be a real scenario. i had the wallet since 2017.
I guess anything is possible, especially on Windows systems that are susceptible to malware attacks. Personally, Ive had electrum as a hot wallet on my PC for years without any problems. Have you been able to scan the system with a good antivirus and antimalware program to see if it detects anything?
The funny thing is that Spybot, Avast and Windows Defender didnt notive anything wrong. Only malwarebytes was able to finde the malware. However, I am currently reinstalling my PC. So that should not be the problem anymore.
My wallet was also passwort protected which is why I am asking myself if malware just waits till the wallet has been opened.
However, if you have used a strong password to encrypt your wallet then the hacker can’t do anything with the encrypted file and he will have to wait for you till you open the wallet and type the password.
the most most disgusting about it may be the fact that someone "real" has been waited for the right moment to attack.