Monday, 22 January 2024

Steghide - A Beginners Tutorial




All of us want our sensitive information to be hidden from people and for that we perform different kinds of things like hide those files or lock them using different softwares. But even though we do that, those files  attractive people to itself as an object of security. Today I'm going to give you a slight introduction to what is called as Steganography. Its a practice of hiding an informational file within another file like you might have seen in movies an image has a secret message encoded in it. You can read more about Steganography from Wikipedia.


In this tutorial I'm going to use a tool called steghide, which is a simple to use Steganography tool and I'm running it on my Arch Linux. What I'm going to do is simply encode an image with a text file which contains some kind of information which I don't want other people to see. And at the end I'll show you how to decode that information back. So lets get started:


Requirements:

1. steghide
2. a text file
3. an image file

After you have installed steghide, fire up the terminal and type steghide




It will give you list of options that are available.


Now say I have a file with the name of myblogpassword.txt which contains the login password of my blog and I want to encode that file into an Image file with the name of arch.jpg so that I can hide my sensitive information from the preying eyes of my friends. In order to do that I'll type the following command in my terminal:


steghide embed -ef myblogpassword.txt -cf arch.jpg




here steghide is the name of the program

embed flag is used to specify to steghide that we want to embed one file into another file
-ef option is used to specify to steghide the name (and location, in case if its in some other directory) of the file that we want to embed inside of the another file, in our case its myblogpassword.txt
-cf option is used to specify the name (and location, in case if its in some other directory) of the file in which we want to embed our file, in our case its an image file named arch.jpg

After typing the above command and hitting enter it will prompt for a password. We can specify a password here in order to password protect our file so that when anyone tries to extract our embedded file, they'll have to supply a password in order to extract it. If you don't want to password protect it you can just simply hit enter.


Now myblogpassword.txt file is embedded inside of the image file arch.jpg. You'll see no changes in the image file except for its size. Now we can delete the plain password text file myblogpassword.txt.


In order to extract the embedded file from the cover file, I'll type following command in the terminal:


steghide extract -sf arch.jpg -xf myblogpass.txt




here steghide is again name of the program
extract flag specifies that we want to extract an embedded file from a stego file
-sf option specifies the name of the stego file or in other words the file in which we embedded another file, in our case here its the arch.jpg file
-xf option specifies the name of the file to which we want to write our embedded file, here it is myblogpass.txt
(remember you must specify the name of file with its location if its somewhere else than the current directory)

After typing the above command and hitting enter, it will prompt for a password. Supply the password if any or otherwise just simply hit enter. It will extract the embedded file to the file named myblogpass.txt. Voila! you got your file back but yes the image file still contains the embedded file.


That's it, very easy isn't it?


It was a pretty basic introduction you can look for other things like encrypting the file to be embedded before you embed it into another file and so on... enjoy
:)

Related links


  1. Android Hack Tools Github
  2. Pentest Tools
  3. Hack Tools 2019
  4. Hacker Tools Online
  5. Pentest Tools For Ubuntu
  6. Pentest Tools Free
  7. Hacking Tools 2020
  8. How To Install Pentest Tools In Ubuntu
  9. Pentest Tools Linux
  10. Pentest Tools Find Subdomains
  11. Hacking Tools 2019
  12. Hak5 Tools
  13. Hack And Tools
  14. Hacking Tools For Windows 7
  15. Hacker Tools Linux
  16. Hacker Tools Linux
  17. Nsa Hack Tools Download
  18. Pentest Tools Kali Linux
  19. Hack Tools Online
  20. Tools Used For Hacking
  21. Hack Tools For Pc
  22. Beginner Hacker Tools
  23. Bluetooth Hacking Tools Kali
  24. Hack Tools For Pc
  25. Pentest Tools For Windows
  26. Black Hat Hacker Tools
  27. Hacking Tools Kit
  28. Hack Rom Tools
  29. Hacker Security Tools
  30. Pentest Tools Download
  31. Hack Rom Tools
  32. Hacking Tools Windows 10
  33. Hack Tools For Games
  34. Hacker Security Tools
  35. Hacker Tools Free Download
  36. Hacker Tools Github
  37. Pentest Tools Framework
  38. Hacking Tools For Windows Free Download
  39. Hack Tools Pc
  40. Hacking Tools Download
  41. Hacking Tools For Windows 7
  42. Pentest Tools List
  43. Pentest Tools Tcp Port Scanner
  44. Hacker Tools 2019
  45. Computer Hacker
  46. How To Hack
  47. Pentest Tools
  48. Hack Rom Tools
  49. Hack Tools For Games
  50. Hacker Tools Free
  51. Pentest Tools Tcp Port Scanner
  52. Hacker Tools Windows
  53. Hack Tool Apk No Root
  54. Hack Tools
  55. Hacker Tools For Ios
  56. Pentest Tools Free
  57. Tools 4 Hack
  58. Pentest Recon Tools
  59. Hacker Hardware Tools
  60. Computer Hacker
  61. Hacking Tools Github
  62. Hackers Toolbox
  63. Black Hat Hacker Tools
  64. Hack Tools For Windows
  65. Pentest Automation Tools
  66. Hacker Tools List
  67. Hack Tools For Games
  68. Hack Tools Github
  69. Hacker Tools For Pc
  70. Hacking Tools Free Download
  71. Best Hacking Tools 2019
  72. Hacker Tools For Pc
  73. Hacking Tools Kit
  74. Pentest Tools For Ubuntu
  75. World No 1 Hacker Software
  76. Black Hat Hacker Tools
  77. Pentest Tools
  78. Pentest Tools Website
  79. Hacking Tools Kit
  80. Hacking Tools 2020
  81. Hacker Tools Linux
  82. Pentest Tools Url Fuzzer
  83. Hacker Techniques Tools And Incident Handling
  84. Pentest Tools For Ubuntu
  85. Computer Hacker
  86. Pentest Tools Find Subdomains
  87. Tools Used For Hacking
  88. Hacker Tools Free
  89. Hack Tools
  90. Github Hacking Tools
  91. Pentest Tools For Android
  92. Nsa Hack Tools
  93. Hack Tools Pc
  94. Hacking Tools Kit
  95. Hacking Tools 2020
  96. Pentest Reporting Tools
  97. Hacking Tools Windows 10
  98. Hack And Tools
  99. Hacking Tools Free Download
  100. Pentest Tools Download
  101. Hacker Tools 2019
  102. Hack Tools For Games
  103. Hacker Tools Hardware
  104. Hacking Tools Name
  105. Bluetooth Hacking Tools Kali
  106. Pentest Automation Tools
  107. Free Pentest Tools For Windows
  108. Hacker Tools
  109. Install Pentest Tools Ubuntu
  110. Hacking App
  111. Wifi Hacker Tools For Windows
  112. Hacker Tools For Mac
  113. Top Pentest Tools
  114. Hack Website Online Tool
  115. Pentest Tools Android
  116. Hack And Tools
  117. Github Hacking Tools
  118. Hacking Tools Software
  119. Pentest Tools Find Subdomains
  120. Nsa Hack Tools Download
  121. Pentest Tools Port Scanner
  122. Hacker Search Tools
  123. Install Pentest Tools Ubuntu
  124. Hacker Tools Apk
  125. What Are Hacking Tools
  126. Pentest Tools Open Source
  127. Hacking Tools For Games
  128. Hacker Tools Online
  129. Pentest Tools Bluekeep
  130. Hacker Tools Linux
  131. Free Pentest Tools For Windows
  132. Hacker Tools Free
  133. Hack Website Online Tool
  134. Pentest Tools Website
  135. Hacking Tools Mac
  136. Pentest Box Tools Download
  137. Hack Tools For Pc
  138. Pentest Tools Website
  139. Pentest Tools Linux
  140. Hacking Tools For Pc
  141. Growth Hacker Tools
  142. Hacking Tools
  143. Pentest Tools For Windows
  144. Computer Hacker
  145. What Are Hacking Tools
  146. Pentest Reporting Tools
  147. Hacks And Tools
  148. Pentest Tools Url Fuzzer
  149. Hacking Tools Pc
  150. Hacker Tools Free Download
  151. Pentest Tools List
  152. Pentest Tools Android
  153. Hacker Tools 2020
  154. Hacking Tools For Pc
  155. Pentest Tools Windows
  156. Hacking Tools Free Download
  157. Pentest Tools Online
  158. Hacker Tools Linux
  159. Hacker Tools For Windows
  160. Hak5 Tools
  161. Hacker Tools List
  162. Hacking App
  163. World No 1 Hacker Software
  164. Hacking Tools Online
  165. Pentest Tools Open Source
  166. Pentest Tools Nmap
  167. Pentest Tools For Android
  168. Hacking Tools For Kali Linux
  169. Pentest Tools Apk
  170. Hacker Tools Software
  171. Blackhat Hacker Tools
  172. New Hack Tools
  173. Android Hack Tools Github
  174. Hack Tools Download

0 comments:

Post a Comment