Princess of Persia

Life is unpredictable...It doesnt announce itself...It just happens...You cant control what happens...You can only live it...One moment at a time...And smile...For the moment...

Friday, August 28, 2020

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. Best Hacking Tools 2020
  2. Pentest Tools For Windows
  3. Hacking Tools Github
  4. Pentest Tools Url Fuzzer
  5. Hacking Tools For Kali Linux
  6. Game Hacking
  7. Hacking Tools 2020
  8. Pentest Tools
  9. Hack Tools For Games
  10. Hacker
  11. Hacking Tools For Windows 7
  12. Hacking Tools 2019
  13. Hacker Tools Apk Download
  14. Hacker Tools
  15. World No 1 Hacker Software
  16. Growth Hacker Tools
  17. How To Hack
  18. Hacking Tools Software
  19. Android Hack Tools Github
  20. Hacker
  21. Hack And Tools
  22. Hacker
  23. Hacking Tools For Pc
  24. Hacking Tools Kit
  25. Android Hack Tools Github
  26. Pentest Tools Android
  27. Termux Hacking Tools 2019
  28. Hacking Tools For Windows
  29. Hack Tools For Windows
  30. Blackhat Hacker Tools
  31. New Hack Tools
  32. Hacking Tools Pc
  33. Hacking Tools Windows
  34. New Hack Tools
  35. Hacking Tools Github
  36. Hacker Security Tools
  37. Hack Rom Tools
  38. Nsa Hack Tools Download
  39. Hacking Tools For Beginners
  40. Hacking Tools Software
  41. Hacking Tools Kit
  42. Termux Hacking Tools 2019
  43. Pentest Tools For Android
  44. Hacker Tools Github
  45. Hack Website Online Tool
  46. How To Hack
  47. Tools For Hacker
  48. Hack Tools
  49. Hacking App
  50. Hacker Hardware Tools
  51. Hacking Apps
  52. Hacking Tools Mac
  53. Blackhat Hacker Tools
  54. Black Hat Hacker Tools
  55. Hacker Tools Apk
  56. Hacking Tools For Kali Linux
  57. How To Hack
  58. Hacker Security Tools
  59. Nsa Hack Tools
  60. Android Hack Tools Github
  61. Hack App
  62. Hacker Tools Linux
  63. Hacker Tools
  64. What Are Hacking Tools
  65. Underground Hacker Sites
  66. Pentest Tools Alternative
  67. Pentest Tools Subdomain
  68. Pentest Tools
  69. Hacking Tools For Beginners
  70. New Hack Tools
  71. Pentest Box Tools Download
  72. Hacking Tools For Windows Free Download
  73. Pentest Tools Find Subdomains
  74. How To Make Hacking Tools
  75. Pentest Tools Kali Linux
  76. Pentest Tools List
  77. Game Hacking
  78. Physical Pentest Tools
  79. Pentest Tools Alternative
  80. Hacking Tools For Windows
  81. Hacking Tools Free Download
  82. Bluetooth Hacking Tools Kali
  83. Pentest Tools For Windows
  84. Hacker Tools For Pc
  85. Free Pentest Tools For Windows
  86. Pentest Automation Tools
  87. Pentest Tools Subdomain
  88. Hacker Tools
  89. Hacking Tools For Windows
  90. Hacking Tools Free Download
  91. Nsa Hack Tools
  92. Hacking Tools Github
  93. Hacking Tools 2019
  94. Hack Rom Tools
  95. Hacking Tools For Beginners
  96. Hacking Tools For Windows
  97. Pentest Tools Alternative
  98. Hacking Tools Hardware
  99. How To Hack
  100. Blackhat Hacker Tools
  101. Hacking Tools For Games
  102. Hacking Tools For Windows
  103. Hacker Tools
  104. Hack Tools
  105. Kik Hack Tools
  106. Hacker Security Tools
  107. Hacker Tools
  108. Usb Pentest Tools
  109. Best Hacking Tools 2019
  110. Hacking Tools For Windows
  111. Pentest Tools Kali Linux
  112. Pentest Tools Free
  113. Hacking Tools For Kali Linux
  114. Hack Tool Apk No Root
  115. Free Pentest Tools For Windows
  116. Hacker Security Tools
  117. Hacker Tools Online
  118. Hacker Tools Apk Download
  119. Hacking Tools Online
  120. What Are Hacking Tools
  121. Best Pentesting Tools 2018
  122. Hacker Tools Software
  123. Hacker Tools For Ios
  124. Pentest Tools Review
  125. Hack Tools
  126. Hacker Tools For Mac
  127. Nsa Hacker Tools
  128. Pentest Tools Windows
  129. Nsa Hacker Tools
  130. Pentest Tools For Mac
  131. Hacking Tools Windows
  132. Hacker Techniques Tools And Incident Handling
  133. Hacker Tools Mac
  134. Pentest Recon Tools
  135. Tools 4 Hack
  136. Pentest Tools
  137. Hack App
  138. Pentest Tools Online
  139. Tools 4 Hack
  140. Hacker Tools For Mac
  141. Hack Tools Download
  142. Hacking Tools Windows
  143. Pentest Tools Port Scanner
  144. Hack Tools Pc
  145. Pentest Reporting Tools
  146. Hacker
  147. How To Hack
  148. Hack Tool Apk No Root
  149. Pentest Tools For Windows
  150. Hacking Tools Hardware
  151. Tools 4 Hack
  152. Hacker Tools Free Download
  153. Hacker Tools For Pc
  154. Hack App
  155. Pentest Tools Online
  156. Nsa Hacker Tools
  157. Hack Website Online Tool
  158. Pentest Automation Tools
  159. Pentest Tools Framework

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home