Skip to main content
Tech Radar Tech Radar TechRadar The source for Tech Buying Advice
Subscribe
RSS
Asia
flag of Singapore
Singapore
Europe
flag of Danmark
Danmark
flag of Suomi
Suomi
flag of Norge
Norge
flag of Sverige
Sverige
flag of UK
UK
flag of Italia
Italia
flag of Nederland
Nederland
flag of België (Nederlands)
België (Nederlands)
flag of France
France
flag of Deutschland
Deutschland
flag of España
España
North America
flag of US (English)
US (English)
flag of Canada
Canada
flag of México
México
Australasia
flag of Australia
Australia
flag of New Zealand
New Zealand
Technology Magazines
Technology Magazines
Why subscribe?
  • The best tech tutorials and in-depth reviews
  • Try a single issue or save on a subscription
  • Issues delivered straight to your door or device
From$12.99
View Deal
  • News
  • Best
  • Reviews
  • Opinion
  • How To
  • Deals
  • More
    • Versus
    • Appliances
    • Audiovisual
    • Cameras
    • Car Tech
    • Computing
    • Coupons
    • Downloads
    • Entertainment
    • Fitness
    • Laptops
    • Phones
    • Smart Home
    • Tablets
    • TVs
    • Wearables
    • About Us
Tech Radar Pro
Tech Radar Gaming
Trending
  • WWDC 2023
  • Computex 2023
  • iPhone 15
  • ChatGPT
  • Wordle hints
  • Best VPN

When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.

  1. Home
  2. How-to
  3. Computing

How to hide files in images using OpenStego

By Nate Drake
published 18 September 2017

Digital steganography is the technique of hiding one file inside another. If, for instance, you have a buried chest of treasure, you can store the coordinates inside a harmless looking picture. To the naked eye, the file would seem to be an image like any other, but you and those you trust can extract the secret data with specialist tools.

OpenStego is one such tool. This handy free and open source app can be used to take any files you want and keep them secret by disguising them as random digital ‘noise’ inside a larger one.

In this guide, you’ll learn how to download and run OpenStego, as well as the basics of hiding your very first, password-protected, message.

Page 1 of 11
Page 1 of 11
1. Download OpenStego

1. Download OpenStego

Open your browser and navigate to the OpenStego website. Click 'Downloads' at the top right. Scroll down to find the right version of OpenStego for your processor e.g. 'Setup-OpenStego-0.7.1.exe'. 

Click on the file and choose 'Run'. Windows 10 will ask you to confirm you want to let the app make changes. Click 'Yes'. 

OpenStego setup will now launch. Click 'I Agree' on the License Agreement page, check the destination folder, then click 'Install'. Once you see the screen reading 'Installation Complete', click 'Close' at the bottom right. Do not run OpenStego for now.

Page 2 of 11
Page 2 of 11
2. Install Java Runtime Environment

2. Install Java Runtime Environment

OpenStego is written in Java so you must install the JRE (Java Runtime Environment) to load it. Click on the offline installer for your processor architecture e.g. Windows x64 Offline. Choose ‘Run’ once again and click ‘Yes' to allow the JRE to make changes to your computer.

Java Setup will now start. Click ‘Install’ to begin, then ‘Close’.

Click the Start Menu and select ‘Run OpenStego’ in the ‘Recently Added’ section. Windows 10 may start searching for 'javaw.exe'. If so, give it a few minutes to complete then choose to 'Fix' the broken link. OpenStego will now launch.

Page 3 of 11
Page 3 of 11
3. Create your message file

3. Create your message file

Before using OpenStego, you need to create the secret file you want to remain hidden. There's no restriction on the format of 'message' files – this can be a text document or another image, however it has to be smaller than the cover file it hides inside. 

If your file is very large, OpenStego supports splitting it across a number of cover files. However, it's probably easier to encrypt and upload it to a website, then create a text file detailing the URL and password.

See our guide on Encryption Tools for more information. 

The example message file above is a QR code containing GPS coordinates of buried treasure.

Page 4 of 11
Page 4 of 11
4. Choose your cover file

4. Choose your cover file

The cover file should be a harmless looking image, inside which the 'message' file will be stored. Give some careful thought to the image you choose. In the first instance, make sure it's bigger than the 'message' file.

Try to use a picture you've taken yourself. Otherwise, someone could compare the file you produce with OpenStego to the original and work out where data is hidden. 

Make sure there are plenty of photos on your computer and that you have a plausible reason for having this one on your hard drive. For instance, if you have an interest in photography or history, you could use a picture of a vintage camera.

Page 5 of 11
Page 5 of 11
5. Configure the file settings

5. Configure the file settings

Once you've chosen your 'message' and 'cover' files, return to OpenStego. Click the button besides ‘Message File’ and select the file you wish to hide.

Next, click the button inside the ‘Cover File’ box. Navigate to the harmless cover file you chose earlier. Click ‘Open’ to confirm.

Finally, click the button inside the ‘Output Stego File’ box. Navigate to the folder where you want to store the output stego file e.g. Desktop, then enter a name for it in the box below e.g. camera1. Click ‘Open’ once again.

Page 6 of 11
Page 6 of 11
6. Choose encryption settings

6. Choose encryption settings

Head down to the ‘Options’ box. From here you can choose to encrypt your message file with a password before hiding it inside the cover file. Without the correct password, the data will be irretrievable. 

If you wish to do this, click on the ‘Encryption Algorithm’ box first. From here you can choose how to protect your data. The default setting (AES128) is perfectly secure, however you can increase the encryption strength to AES 256 if you wish. (This may slow down the extraction process slightly).

DES is no longer secure, so do not choose it.

Enter your password in the 'Password' field, then again under 'Confirm Password'. 

Page 7 of 11
Page 7 of 11
7. Hide your data

7. Hide your data

Click the ‘Hide Data’ button at the bottom-right of the screen to begin the process of concealing your message file inside the cover file. OpenStego will state it's processing the file, then display a message saying that the message has been embedded. Click ‘OK’. 

Next, make sure to erase the original 'message' and 'cover' file securely. This way there'll be no way to retrieve your secret file without using OpenStego and the password if you set one.

Remember that if a malicious user finds OpenStego installed on your Windows PC, they may realise you have hidden files. 

Page 8 of 11
Page 8 of 11
8. Test extracting files

8. Test extracting files

If you want to test if OpenStego hid the file properly, click the ‘Extract Data’ button at the top left of the window. 

Click the button besides ‘Input Stego File’ and find the stego file you created earlier e.g. camera1.png. Next, click the button in the box marked ‘Output folder for Message file’ to choose where to extract the 'message' file.

If you set a password earlier, make sure to type this into the password field. Finally click ‘Extract Data’. If successful, you'll see a notification saying the 'message' file has been extracted.

Page 9 of 11
Page 9 of 11
9. Generate signature to watermark files

9. Generate signature to watermark files

The downside of using steganography is there's no automatic way to stop someone from replacing your secret file with another. OpenStego tries to prevent this by using digital watermarking. 

You can do this through generating a signature using a passphrase, which you can then embed as a watermark into your secret file. 

To get started, click ‘Generate’ signature on the left hand side and type in any passphrase in the box marked ‘Passphrase to be used to Generate Signature’. 

Click the button in the box marked ‘Output Signature File’. Navigate to the location where you wish to store the signature file and type a name in the field at the bottom.

Click ‘Generate Signature’ to create the signature file.

Page 10 of 11
Page 10 of 11
10. Embed the watermark using your signature

10. Embed the watermark using your signature

To embed the signature in a message file, click ‘Embed Watermark’ on the left of the window.

Click the button beside ‘File to be Watermarked’ and choose the message file you want to watermark.

Do the same for the box marked ‘Signature File’ and choose the one you just created.

Finally click the button besides ‘Output Watermarked File’ and choose a location and name for the new message file. Click ‘Embed Watermark’ to continue.

If anyone wishes to verify your signature using OpenStego, make sure they have a copy of your signature file then ask them to click ‘Verify Watermark’. From there they can choose to compare the watermarked image to your signature. 

  • Here's how to securely destroy data
Page 11 of 11
Page 11 of 11
Nate Drake
Social Links Navigation

Nate Drake is a tech journalist specializing in cybersecurity and retro tech. He broke out from his cubicle at Apple 6 years ago and now spends his days sipping Earl Grey tea & writing elegant copy.

See more Computing how-to
More about computing
Woman using mouse

Microsoft may have given us a reason to switch to Edge with this new feature

a person flexing their muscles, with the firefox logo covering their head

Mozilla's Responsible AI Challenge won by tech that protects images from AI

Latest
Miles Morales falls through an interdimensional portal in Spider-Man: Across the Spider-Verse

Spider-Man: Across the Spider-Verse ending and post-credits scenes explained

See more latest ►
Most Popular
What is RAM memory: Your PC's working memory explained

By John LoefflerMay 31, 2023

How to watch Yali Çapkini online and stream the Turkish drama from anywhere

By Joe SvetlikMay 31, 2023

How to watch Love Island 2023: stream season 10 for free online

By Aatif SulleymanMay 31, 2023

How to watch The Ultimate Fighter season 31 online: stream the MMA reality show

By Kevin LynchMay 31, 2023

Sevilla vs Roma live stream: how to watch Europa League final online and on TV for free from anywhere, team news

By Andy MurrayMay 31, 2023

How to watch State of Origin live stream: Game 1 QLD vs New South Wales

By Kevin LynchMay 31, 2023

State of Origin Game 1 live stream: how to watch NSW vs Queensland from anywhere

By Jasmine GearieMay 31, 2023

How to watch M jak miłość: live stream the special from anywhere

By Joe SvetlikMay 30, 2023

What is an SSD: Modern data storage for PCs and laptops explained

By John LoefflerMay 30, 2023

The best armor in Zelda Tears of the Kingdom

By Julian BensonMay 30, 2023

The best recipes in Zelda Tears of the Kingdom

By Julian BensonMay 30, 2023

  1. Audio-Technica Sound Burger playing vinyl, on white background
    1
    Audio-Technica’s famed Sound Burger decks finally hit shelves – and seemingly sell out
  2. 2
    Experts warn that AI is an extinction-level threat, and I wish they'd stop scaring us
  3. 3
    6 new Netflix Original movies and shows you can’t miss in June
  4. 4
    The first 110-inch 16K TV screen is here to make your projector feel inadequate
  5. 5
    Possibly the worst Microsoft Teams update is rolling out now
  1. A young AI-created humanoid touches a robot in The Creator
    1
    The Creator looks like The Last of Us, Terminator, and Star Wars rolled into one
  2. 2
    New iPhone 15 Pro Max specs leak hints at what's not changing this year
  3. 3
    Apple shuts My Photo Stream on July 26, so make sure you don't lose your photos
  4. 4
    The best recipes in Zelda Tears of the Kingdom
  5. 5
    The iPhone and Galaxy S23 Ultra prove money is no object for smartphone buyers

TechRadar is part of Future US Inc, an international media group and leading digital publisher. Visit our corporate site.

  • About Us
  • Contact Future's experts
  • Contact Us
  • Terms and conditions
  • Privacy policy
  • Cookies policy
  • Advertise with us
  • Web notifications
  • Accessibility Statement
  • Careers

© Future US, Inc. Full 7th Floor, 130 West 42nd Street, New York, NY 10036.