Media_Repair, file repair for STOP/DJVU (MP3, MP4, 3GP)

Media_Repair description

This is the best. very small in size but delivers better than Wondershare video repair or Stellar video repair. Thank you very much. – Youtube

I am currently not looking into more STOP/DJVU related cases & also the tool will not repair video larger than 600MB or so.

I have tested and can confirm Wondershare Video Repair Software can help you repair STOP/DJVU ransomware corrupted files too.

Freeware video repair / audio repair. Media_Repair will attempt to repair files encrypted by STOP/DJVU ransomware variants by making the non-encrypted part of the file playable again. Media_Repair does not decrypt files. Media_Repair currently supports following video and audio file types:

  • WAV*
  • MP3
  • MP4*
  • M4V*
  • MOV*
  • 3GP*

* reference file required

For most file types Media_Repair requires a reference file: This is an INTACT file created on the same device or using the same software. Ideally this reference file matches the settings that were used to create the ‘patient’ file as closely as possible. Media_Repair is the ONLY tool the authoritative STOP/DJVU Decrypter FAQ vets for in case decryption fails or isn’t possible.

Media_Repair can not repair all files! Video that was optimized for internet streaming (fast start) can not be repaired at this time!

Due to limited testing (I have only so many STOP/DJVU affected files), current version should be considered beta!

See bottom page for FAQ and known issues. Before asking please check if it’s about anything that is addressed in the FAQ or known issue section. Thank you!

What about JPEG?

I am asked a lot if I can add JPEG, and the answer is no. Due to how JPEG is encoded, basically data depends on previous data, automated repair isn’t possible. As the start of the JPEG data is lost, the data we do have is a continuation of this lost data. Repair is possible to some degree, but it requires the human eye. My generic JPEG Repair software can help you repair JPEGs affected by STOP/DJVU, but it’s manual process and has to be done file by file. Example repair using JPEG-Repair. JPEG-Repair is shareware (not free):

Alternatively you can scan the drive using JpegDigger. STOP/DJVU (all variants) open victim file > encrypt data > save encrypted data to new file > delete original file. Depending on specific circumstances some of those original files may be recoverable. JpegDigger users reported success rates upto 20-30% of original JPEGs recovered. JpegDigger also scans for NEF (Nikon), CR2 (Canon), ORF (Olympus), RW2 (Panasonic-Lumix), ARW (Sony), DNG (from a Leica Q2), Canon CR3 and Fuji RAF and extracts JPEGs from them. The RAW photos, seen their size have a high chance of being at least partially overwritten so recovery of the entire original file is very unlikely.

Using Media_Repair

Use drop down box to select a file type.

Now browse to folder containing your STOP/DJVU encrypted or the reference file. You can either use a patient file or reference file to test if this particular video type can be repaired by Media_Repair or not.

Click to verify selected video file is candidate for repair. You can either use the reference file or a corrupt file. If Media_Repair reports it can try repairing the file it is not a guarantee the file will actually be repaired. If it can be repaired depends in several factors such as the reference file being a good match and the size of the patient file. If it tells you it can not repair the file though it’s pretty much a guarantee the repair will fail.

In case Media_Repair tells you “I can not repair this file”, I may still be able to repair your video manually but this is not a free service.

Click to make the currently selected file, reference file that will be used to repair affected file(s).

Once you have confirmed your video files are candidates for repair, and you have selected a reference file, browse to the folder containing the patient file(s).

Click to start repair.

Click to cancel repair.

This video shows a short instruction too:

F.A.Q.

These may look like open doors waiting to be kicked, but it is really the type of questions I receive. Please use common sense; if the file type requires a reference file and you don’t have one, there is nothing I can do about that.

It does not work! Are there alternatives?

Yes, though not free. I have had luck with repairing various videos using Wondershare Video Repair. It is NOT free but the trial can play 30 seconds of video if successfully repaired. You can download the trial version here. In my tests it went like this:

  • First you need to rename the encrypted files. If your encypted file’s name is for example myvideo.mp4.lokd then you need to remove the ‘lokd’ extension.
  • First attempt will fail but the tool now allows you to select a reference file.
  • Pick an intact video shot with the same camera. If you need to repair more videos from the same camera tick the box ‘use this for all files’.
  • Repair the videos. Trial allows you to play the first 30 seconds to check the repaired file.

I do not have a reference file!

I can not help with that. If affected files were shot with device X or created by software Y, try creating a reference file.

I don’t know the settings used to create the corrupt file!

Neither do I. Experiment with different settings. Create different reference files and try.

Repair fails, now what?

You can try an alternative tool. I have tested Wondershare Video Repair software with STOP/DJVU affected files and it works too (will require a reference file)!

Will you support this file type in the future?

Can’t tell. As simple as the tool may look, a lot of research goes into each file type supported.

Tool says I can not repair the video created by this device! What can I do?

Let me explain the origin of this problem. A video file consists of various parts called ‘atoms’. The tool needs the ‘moov atom’ to be present in the corrupt file. This atom is like an index that is pointing to chunks of actual encoded video data. According to the MP4 specs, this atom can be anywhere within the MP4 file. If it’s close to the start of the file, which it sometimes is when the video is optimized for web streaming (fast-start) it will be encrypted by the ransomware. Media_Repair requires the moov atom and can not work with the encrypted moov atom.

If we break MP4 (and MOV, 3GP etc. also) into it’s simplest form we need an ‘ftyp atom’ (the header), an ‘mdat atom’ (the video and audio data) and a ‘moov atom’ (the index).

The moov atom contains absolute offsets to movie ‘chunks’, so while recording, what you normally see is chunks keep being added while the atom is being updated As such the moov atom keeps growing so the mdat atom would need to be moved all the time. And as the mdat is moved, the entire moov atom would require updating to reflect the move of mdat. So normally order is ftyp – mdat – moov.

However, to optimize MP4 video for the web, certain tools place the moov atom before the mdat to accommodate faster indexing of the file. So order is now ftyp – moov – mdat. Since ftyp is small, STOP/DJVU ransomware overwrites or better said, encrypts the moov atom in this case.

Bottom line is, that Media_Repair can not repair these. No use in sending these to me, unless you want me to repair them manually. In which case I will quote you a price per file.

Part of the video / audio is missing in repaired file!

Indeed. It is missing as the encrypted portion of a file can not be recovered. So repair isn’t ideal.

Does it work if my files were encrypted with an ONLINE key?

Online key, offline, it does not matter because the software does not decrypt files. It tries to repair the non-encrypted part of the file. The key is only relevant for decryption, it’s about the location of the key. Again, Media_Repair does not decrypt the file, so it does not need this key and doesn’t care whether it is online or offline.

Does it work with extension .abcd or .efgh (whatever extension)?

Yes. As long as it is a STOP/DJVU variant. The tool does not care about the exact variant or extension. Do not ask me if you have some newly discovered .abcd extension, just try it.

 

Known issues

06/23/2020 Repair will fail with large video files. I was too focused on the method and layout of these files and testing is easier on smaller files. I simply overlooked larger files and the issues that accompany them. I am working on a fix.

 

 

46 thoughts on “Media_Repair, file repair for STOP/DJVU (MP3, MP4, 3GP)

  1. Jacky Khoo

    I get an error saying that “this version has expired”, no more support it?

    Reply
      1. Joe

        Please, try to recompile it. I tried to use the program but a ”This version is expired” error shows up…

        Reply
  2. rui

    Hi Joep,

    When i try to open mediarepair.exe, I get an error saying that “this version has expired”.
    How can I open it?
    Thanks

    Reply
  3. madhan

    I tried opening the tool, It says ” This version is expired”. I can able to open it yesterday. What might be the reason?

    Reply
  4. Lukhmanul Hakeem

    Hai, Thank you media repair and disk tuna. my video files encrypted ransomware .fdcv . your media repair helped me to recover files below 1 Gb larger files are not working with this tool. let me know weather large mp4 files works with wondershare or stellar. or is there any option in media repair tool. please help. thank you.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *