ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Extracting Hidden files from a JPG

    IT Discussion
    6
    11
    16.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      IRJ
      last edited by

      I have a JPG file that is unusally large, I did some checks according to this thread, and it appears there are indeed files hidden within this jpg. How can I extract the files out of there via terminal?

      https://superuser.com/questions/803225/how-to-find-detect-hidden-files-inside-jpeg-file

      1 Reply Last reply Reply Quote 2
      • S
        scottalanmiller
        last edited by

        Pretty cool.

        I 1 Reply Last reply Reply Quote 0
        • I
          IRJ @scottalanmiller
          last edited by

          @scottalanmiller said in Extracting Hidden files from a JPG:

          Pretty cool.

          That post shows how to find out if their is extra data, but I am unsure how to extract it 😕

          1 1 Reply Last reply Reply Quote 0
          • 1
            1337 @IRJ
            last edited by 1337

            It's not just jpeg files, it's in most, if not all, image formats.
            Ordinary files from a camera has metadata and several other blocks of info inside the jpeg, for instance preview images and whatnot.

            Tools like exiftool can be used to extract and write these.

            Just to clarify, you can hide anything kind of data inside the metadata. The format of the jpeg file is more like a file format with different blocks of info and some of that is the actual image information. Some of the other information is for instance the exif data which gives info on when the image was taken, which camera was used, exposure information. There are typically also color profiles inside the jpeg. They tell how the computer or printer should interpret the colors inside the image.

            S 1 Reply Last reply Reply Quote 0
            • S
              scottalanmiller @1337
              last edited by

              @Pete-S said in Extracting Hidden files from a JPG:

              It's not just jpeg files, it's in most, if not all, image formats.
              Ordinary files from a camera has metadata and several other blocks of info inside the jpeg, for instance preview images and whatnot.

              Tools like exiftool can be used to extract and write these.

              Just to clarify, you can hide anything kind of data inside the metadata. The format of the jpeg file is more like a file format with different blocks of info and some of that is the actual image information.

              Any file that has an internal stop code where you can just append anything you want and it gets ignored by apps using the original file.

              1 T 2 Replies Last reply Reply Quote 0
              • 1
                1337 @scottalanmiller
                last edited by

                @scottalanmiller said in Extracting Hidden files from a JPG:

                @Pete-S said in Extracting Hidden files from a JPG:

                It's not just jpeg files, it's in most, if not all, image formats.
                Ordinary files from a camera has metadata and several other blocks of info inside the jpeg, for instance preview images and whatnot.

                Tools like exiftool can be used to extract and write these.

                Just to clarify, you can hide anything kind of data inside the metadata. The format of the jpeg file is more like a file format with different blocks of info and some of that is the actual image information.

                Any file that has an internal stop code where you can just append anything you want and it gets ignored by apps using the original file.

                It's not exactly the same thing because the jpeg file format is made for this. It's not a hack, it's deliberate.

                1 Reply Last reply Reply Quote 0
                • I
                  IRJ
                  last edited by

                  I figured it out 🙂 . I was able to extract the jpg to IMG file. Then I was prompted for a password. I found that the password was actually in the hexdump of the JPG file.

                  00c50e0e-81ae-4388-b33b-a4e704d74ee8-image.png

                  J 1 Reply Last reply Reply Quote 2
                  • T
                    travisdh1 @scottalanmiller
                    last edited by

                    @scottalanmiller said in Extracting Hidden files from a JPG:

                    @Pete-S said in Extracting Hidden files from a JPG:

                    It's not just jpeg files, it's in most, if not all, image formats.
                    Ordinary files from a camera has metadata and several other blocks of info inside the jpeg, for instance preview images and whatnot.

                    Tools like exiftool can be used to extract and write these.

                    Just to clarify, you can hide anything kind of data inside the metadata. The format of the jpeg file is more like a file format with different blocks of info and some of that is the actual image information.

                    Any file that has an internal stop code where you can just append anything you want and it gets ignored by apps using the original file.

                    The compression algorithms are subject to this sort of thing as well. You can embed information within the pixel data. Much easier to just attach a file to the metadata tho.

                    1 Reply Last reply Reply Quote 1
                    • J
                      JaredBusch @IRJ
                      last edited by

                      @IRJ said in Extracting Hidden files from a JPG:

                      I figured it out 🙂 . I was able to extract the jpg to IMG file. Then I was prompted for a password. I found that the password was actually in the hexdump of the JPG file.

                      00c50e0e-81ae-4388-b33b-a4e704d74ee8-image.png

                      private key password too?

                      This a malicious payload for a crypto?

                      I 1 Reply Last reply Reply Quote 2
                      • I
                        IRJ @JaredBusch
                        last edited by IRJ

                        @JaredBusch said in Extracting Hidden files from a JPG:

                        @IRJ said in Extracting Hidden files from a JPG:

                        I figured it out 🙂 . I was able to extract the jpg to IMG file. Then I was prompted for a password. I found that the password was actually in the hexdump of the JPG file.

                        00c50e0e-81ae-4388-b33b-a4e704d74ee8-image.png

                        private key password too?

                        This a malicious payload for a crypto?

                        It was a challenge we had. First person to capture the flag got to keep contents of the wallet. I was first one to figure it out on our team.

                        It was only a few USD, but a fun little treasure

                        1 Reply Last reply Reply Quote 5
                        • S
                          Sassy70
                          last edited by

                          hello im new here but i have several images that are hidding a video in them if i post one can yall help me get the image extracted i elly need help

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          • First post
                            Last post