Friday, January 19, 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
:)

Continue reading
  1. Hacker Techniques Tools And Incident Handling
  2. Pentest Tools Android
  3. Kik Hack Tools
  4. Pentest Tools Free
  5. Github Hacking Tools
  6. New Hack Tools
  7. Hacker Tools Windows
  8. Wifi Hacker Tools For Windows
  9. Pentest Tools Open Source
  10. Physical Pentest Tools
  11. Pentest Tools Framework
  12. Wifi Hacker Tools For Windows
  13. Black Hat Hacker Tools
  14. Hacking Tools Pc
  15. Pentest Tools Free
  16. Hacker Tools 2020
  17. Pentest Tools For Mac
  18. Pentest Tools Android
  19. Hacking Tools For Kali Linux
  20. Hacking Tools Mac
  21. Hacker Tools For Pc
  22. Pentest Automation Tools
  23. Pentest Tools For Ubuntu
  24. Pentest Tools Android
  25. How To Install Pentest Tools In Ubuntu
  26. Beginner Hacker Tools
  27. Hack Tools For Games
  28. Hacking Tools Free Download
  29. Pentest Tools Website
  30. Growth Hacker Tools
  31. Game Hacking
  32. Pentest Tools Android
  33. Hack Tools For Pc
  34. Physical Pentest Tools
  35. Kik Hack Tools
  36. Hacking Tools Windows
  37. How To Hack
  38. Hack Tools Download
  39. Hacking Tools 2019
  40. Hack App
  41. Easy Hack Tools
  42. Hacker Tools Github
  43. Hacker Tools Linux
  44. Blackhat Hacker Tools
  45. Pentest Tools
  46. Pentest Tools Website Vulnerability
  47. Pentest Tools Open Source
  48. Nsa Hacker Tools
  49. Hacking Tools For Pc
  50. Usb Pentest Tools
  51. Hacking Tools Online
  52. Hack Tools 2019
  53. Tools For Hacker
  54. What Are Hacking Tools
  55. Pentest Tools Website
  56. Tools Used For Hacking
  57. Hack And Tools
  58. Hacking Tools For Kali Linux
  59. Hacker Tools Free
  60. Hackers Toolbox
  61. Hacking Tools Software
  62. Tools Used For Hacking
  63. Pentest Tools Nmap
  64. Hacker Tools For Mac
  65. Hacker Tools 2020
  66. Pentest Tools For Ubuntu
  67. Hacker Tools Mac
  68. Hacking Tools Kit
  69. Tools For Hacker
  70. Pentest Tools Find Subdomains
  71. Pentest Automation Tools
  72. Best Hacking Tools 2020
  73. Pentest Tools For Windows
  74. Pentest Tools Subdomain
  75. Pentest Tools Framework
  76. Best Hacking Tools 2019
  77. Pentest Tools For Windows
  78. Hacking Tools
  79. How To Make Hacking Tools
  80. Computer Hacker
  81. Pentest Tools For Mac
  82. Pentest Tools Alternative
  83. Hack Tools Github
  84. Hack App
  85. Pentest Tools Bluekeep
  86. Hack Tools Pc
  87. Blackhat Hacker Tools
  88. Pentest Tools For Mac
  89. What Are Hacking Tools
  90. Pentest Tools
  91. Tools Used For Hacking
  92. Pentest Tools Framework
  93. Hack Rom Tools
  94. New Hacker Tools
  95. Hacker Tools For Mac
  96. How To Install Pentest Tools In Ubuntu
  97. Pentest Tools Framework
  98. Hacker Tools Github
  99. How To Install Pentest Tools In Ubuntu
  100. Pentest Tools Apk
  101. Blackhat Hacker Tools
  102. Free Pentest Tools For Windows
  103. Hak5 Tools
  104. Hacks And Tools
  105. Hacker Tool Kit
  106. Hacker Hardware Tools
  107. Hacking Tools Download
  108. Hacking Tools For Windows Free Download
  109. Hacking Tools For Windows
  110. Tools Used For Hacking
  111. Usb Pentest Tools
  112. Tools 4 Hack
  113. Github Hacking Tools
  114. Beginner Hacker Tools
  115. Pentest Tools Apk
  116. Pentest Tools Download
  117. Pentest Tools For Android
  118. Pentest Tools Tcp Port Scanner
  119. Hacker Tools 2019
  120. Hacker Tools Online
  121. Hacking Tools Usb
  122. Hacking Tools Online
  123. Computer Hacker
  124. Ethical Hacker Tools
  125. Pentest Tools Review
  126. Hacker Security Tools
  127. Hacker Search Tools
  128. Pentest Tools Review
  129. Usb Pentest Tools
  130. Pentest Tools For Windows
  131. Pentest Tools Nmap
  132. Hack Rom Tools
  133. Hacker Tools Apk
  134. Nsa Hacker Tools
  135. Wifi Hacker Tools For Windows
  136. Hacking Tools
  137. Hack Tools For Games
  138. Pentest Tools Website Vulnerability

No comments:

Post a Comment