Need help cleaning up filenames after ransomware attempt.

Page 1 of 2 12 LastLast

  1. Posts : 38
    Windows 10
       #1

    Need help cleaning up filenames after ransomware attempt.


    Dear Anyone.

    Windows 10, 64-bit here!

    So some Russian - I'll get onto how I know that - bunch tried to ransomware me. Took a lot of fighting with 2 antiviruses but I beat the virus - kinda! I've now got thousands of files with a double-extension .azqt on them, so if the file's supposed to be Fred.jpg, it's now Fred.jpg.azqt! I've proven - I THINK - that if the .azqt gets taken off, the file returns to normal - I've hand-taken the .azqt off a BUNCH of files and they've all worked immediately I've done that. (Except for a few .zips that stayed corrupted but they didn't matter and all the other ones I tried worked immediately afterwards.)

    Problem is - the AMOUNT of files!! There's thousands of them - I write music and a lot of them are patches from my music software (SOB!!) So they're not even in the same folder, they're in folders all over the place. BUT - lots of them are in groups in the same folder as they're patches for the same VST.

    Is there a commnd, or bit of software, I can order to 'delete .azqt off the end of all files and leave the rest of the file name including first extension intact'? So it'll go through my file system, just remove all the double-extensions (the azqts) and not touch the first extension? So all the 'fred.jpg.azqt's will go back to 'fred.jpg's? and so on? I mean if the ransomeware guys were going to decrypt all their encrypted files, they'd've had to have a batch-file-renamer of some kind, as that's obviously how they did the 'encryption'.

    How do I know they're Russian? Hokay, I know I should know the answer to this - everything in my Hotmail folder's now in Russian! All the headings, all the menu commands, everything. I can't change the language back because I can't read the instructions for HOW to change the language back - they're all in Russian! Tried reinstalling Firefox, didn't help. Even my PASSWORD'S in Russian - the only way I can get into my Hotmail account's via my tablet - I'm using my PC to type this - because I happened to be logged in already on the tablet. If I try to log in on the PC, I use the correct password - honest, it's correct! - and get a 'Password not recognised' - in Russian! Everything's in Russian on the tablet too so I can't even change the password there cos I can't read how to. (All the actual E_mails are still in English, as are their titles, it's just the website titles that are in Russian.)

    Anyone got any ideas on either of the above?

    Yours with 30,000 files to rename(!!!)

    Chris.
      My Computer


  2. Posts : 43,170
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    Hi, whilst you can use a recursive command e.g.

    How to rename multiple files in subfolders using Windows command prompt - DEV Community

    there are also (free) 3rd party renamers.

    Obviously you will create a full backup beforehand.

    Note: had you been using 3rd party disk imaging regularly and routinely as is so often advised here, you could simply have restored a disk image of relevant partitions (possibly after wiping your disks!) created before the ransomware attack.
      My Computers


  3. Posts : 38
    Windows 10
    Thread Starter
       #3

    Dear Dalchina. You are SOOO going to facepalm.....


    dalchina said:
    Hi, whilst you can use a recursive command e.g.

    How to rename multiple files in subfolders using Windows command prompt - DEV Community

    there are also (free) 3rd party renamers.

    Obviously you will create a full backup beforehand.

    Note: had you been using 3rd party disk imaging regularly and routinely as is so often advised here, you could simply have restored a disk image of relevant partitions (possibly after wiping your disks!) created before the ransomware attack.

    Dear Dalchina.

    This is where you tell me, in full luxuriant detail, how dumbass are the users you get on this site.

    I had everything backed up on an external hard drive, Drive E. Unfortunately, it got the backups too. I had never read anywhere that it wasn't safe to have the backup drive attached to the computer, so I'd always assumed a virus could only attack Drive C, not Drive Anything Else. I learned how incorrect that was when I went to get the backups.

    In self-defence, can you find ONE PLACE on this forum where it ACTUALLY SAYS not to keep the backup drive always attached to the PC? Cos I can't. I just thought everything NOT on drive C was safe whether or not the other drive was attached to the PC as an external drive. I now know it isn't. Exactly half the files I have to rename ARE the backupped files!

    Yours respectfully

    Chris
      My Computer


  4. Posts : 43,170
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Thank you for your reply. I hope the recursive command helps, should you wish to try that.

    I think you're right that there isn't a basic tutorial guide to bcakup strategy as such- the Tutorials section is focussed on how to use things in detail, rather than broader planning aspects of usage.

    In the various discussions on backup strategies I know I have several times - including recently- mentioned the risk posed by having backup storage media permanently connected. That may be for synchornised or scheduled backup for example.

    In considering a backup strategy you have to assess the risks. That includes physical risk- fire,theft, flood, posisbl impact of lightning/power outage etc which may result in the loss of backup media.

    In that context I have also mentioned ransomware on several occasions.

    It is also helpful to consider one feature Macrium Reflect (a disk imaging and backup tool often recommended here) offers in the paid version: Image Guardian.

    Image Guardian aims to protect image files created by MR from e.g. ransomware:
    Macrium Image Guardian

    Thus if the storage media containing those image files are attached to a system which is affected by ransomware, hopefully those files are not.

    Worth considering- or you could simply only connect backup disks when needed, or adopt a more complex mixed strategy of both online and offline backup storage.
      My Computers


  5. Posts : 1,223
    W10-Pro 22H2
       #5

    ulrichburke said:
    In self-defence, can you find ONE PLACE on this forum where it ACTUALLY SAYS not to keep the backup drive always attached to the PC?
    One of (I am sure) many: post5
    (and particularly relevant!). I wonder what made you think other drives/partitions were safe?
      My Computer


  6. Posts : 38
    Windows 10
    Thread Starter
       #6

    mngerhold said:
    One of (I am sure) many: post5
    (and particularly relevant!). I wonder what made you think other drives/partitions were safe?
    Dear Dalchina.

    Because I'd only ever read to keep things backed up on external hard drives, not to NOT keep the hard drives attached to the computer. So I totally believed stuff was safe as long as it wasn't on drive C, whether or not the drive it was on was attached to the computer. Without being told, why would I think they WEREN'T safe?

    Yours respectfully,

    Chris
      My Computer


  7. Posts : 43,170
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #7

    Thank you for your reply.

    If drives are attached to a desktop without a UPS/surge protection- they are naturally potentially exposed to risk in areas prone to lightning/power outages and surges.

    If someone steals your PC - and all your drives- they're gone.

    Those don't take too much thought.

    Anything attached to your PC by any means can be affected by rogue programs which can write to them,

    That's self-evident.
      My Computers


  8. Posts : 18,034
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #8

    Hello @ulrichburke,

    It is ALWAYS a good idea to detach ANY external drives or USB's if they are NOT being used. One excellent reason for this is if there was a power cut or power surge, which could NOT only affect the internal drives but also ANY attached drives. It is also a good idea if they are individually powered to save power and expense.

    I hope this helps.
      My Computer


  9. Posts : 38
    Windows 10
    Thread Starter
       #9

    dalchina said:
    Thank you for your reply.

    If drives are attached to a desktop without a UPS/surge protection- they are naturally potentially exposed to risk in areas prone to lightning/power outages and surges.

    If someone steals your PC - and all your drives- they're gone.

    Those don't take too much thought.

    Anything attached to your PC by any means can be affected by rogue programs which can write to them,

    That's self-evident.
    Dear Dalchina.

    This is going to sound equally dumbass but as I misunderstood one, I could well misunderstand this too....

    If the hard drives are in attached external caddies BUT THE CADDIES ARE NOT TURNED ON/POWERED UP can viruses still write to the drives, or only if the drives are powered up? Is it safe to have the external caddy attached but powered off?

    Yours respectfully,

    Chris.
      My Computer


  10. Posts : 43,170
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #10

    If they were not powered and could not be remotely powered up they would be safe.

    Anything the O/S can do could potentially be done by malware.

    However, if using synched or scheduled backups, turning the backup storage on or off would require very special thought so as to avoid malware being able to do that.

    Cloud backup is potentially also safer, as it should be significantly harder for ransomware to effect that for various reasons, but cloud backup is not ideal for everyone. Uploading significant amounts of data requires good upload speeds.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:57.
Find Us




Windows 10 Forums