Giter Site home page Giter Site logo

Comments (5)

albmac avatar albmac commented on July 2, 2024

Unfortunately it is all done by eye right now, as explained in my tutorial.
I suppose one could take the thumbnail image, if uncorrupted, and use it as a reference for alignment.
But even in this case it would be a very difficult task, as MCU's can be color shifted in addition to position shifted.

from jpeg-decomp.

HanalogInstruments avatar HanalogInstruments commented on July 2, 2024

Hi,

These file encrypted 153605 bytes from ransomware so when i cut from offset 153605 of encrypted and paste it to the last FFDA+12 Bytes the alligment not correct so i have plan to made a automate process to correct the MCU and color of batch JPEG

image

Sample:

https://drive.google.com/drive/folders/1e_C2lzBIEFfbZkR4vvr9_Nkdul1P0C-E?usp=sharing

when patch the corrupt jpeg to reference file we have 3 issue:

  • wrong alligment like the image.jpg
  • the bottom have non data because the first data encrypted so image become gray so how we remove it by mcu
  • the color maybe wrong

If i remove byte from SOS of image the color when wrong and image fix alligment bit remove MCU is better

from jpeg-decomp.

albmac avatar albmac commented on July 2, 2024

You should not cut data arbitrarily; it's better to decompile the image and remove MCU's from the text file.
Still I don't know how all this could be automated; the eye and brain tell you where to cut.

from jpeg-decomp.

HanalogInstruments avatar HanalogInstruments commented on July 2, 2024

from jpeg-decomp.

albmac avatar albmac commented on July 2, 2024

As written in my tutorial, first decompile your image:
>jpeg-decomp -decode -fin image.jpg -fout image.txt
then load the image in JPEGsnoop and locate the MCU that you want to remove.
Go to the text file and remove or comment it.
Create a new image from the modified text file:
>jpeg-compiler -encode -fin image.txt -fout image.1.jpg

from jpeg-decomp.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.