How to avoid these kind of attacks? I normally don't backup my files.
...Back up your files man... It is a must. If you are dealing with BTC and you don't have your wallet backed up on several USB's or have your private keys stored in a saftey box.. you shouldn't be in BTC.