Simple Steganography (CTF Learn)
Forensics
Think the flag is somewhere in there. Would you help me find it? hint-â Steghide Might be Helpfullâ
Donât forget we always work inside VMs .
So weâll upload the file there and then :
We took the download link and used wget to download the :
I always change the names to something that is closest to what we do, so I changed the name of the file to the name of the task that we are doing now , Now letâs get started :
Here we define the file type , There are a lot of interesting things :
I decided to use exif and exiftool, but nothing new :
It seems like strings didnât work this time :
The appearance of the word (myadmin) caught my attention in every way.
I went back and found keywords, but why?
Binwalk didnât work either :
I used foremost :
Letâs break down the options youâve provided:
-v: This stands for verbose mode, which means the command will provide more detailed output about its operations.
-q: This stands for quiet mode, which typically suppresses normal output, and only error messages or important information are displayed.
i Minionsl.jpeg: This specifies the input file or device from which foremost should recover data. In this case, itâs looking for data in the file named âMinionsl.jpeg.â
It seems that the matter is related to the audit file. Inside the image, after all this research, it appears that the private key to open this file is (myadmin).
Well we have to use Google, it has been discontinued .
After a lot of searching I found a tool called steghide, I installed it and thenâŚ
We used help :
Letâs break down the options youâve provided:
steghideâââextract -sf Minionsl.jpeg -p myadmin\ âââextract: This option specifies that you want to extract (uncover) hidden data from the specified file.
-sf Minionsl.jpeg: This option specifies the source file from which you want to extract the hidden data. In this case, itâs âMinionsl.jpeg.â
-p myadmin: This option is used to provide the passphrase or password that was used during the embedding process. The passphrase is necessary to successfully extract the hidden data.
So, the command is instructing steghide to extract hidden data from the âMinionsl.jpegâ file using the passphrase âmyadmin.â Keep in mind that the success of the extraction depends on using the correct passphrase that was used during the embedding process.
Here I used https://cyberchef.org/Â , I didnât know what to use so I used migic:
Well it looks like Base64Â :
To make it more clear, I used the command :
Here is the flag\ See you soon in other reportsâŚ.!!
Abdelwahab_Shandy
AS_Cyber