CyberSolutions: Hide Secret Data In Txt Files Using Cmd

Friday, June 26, 2015

Hide Secret Data In Txt Files Using Cmd

Open command prompt and type the following syntax:

notepad AnyFileName.txt:SecretData.txt

Here “AnyFileName” is the actual filename of the text file while “SecretData.txt” is the hidden stream contained within AnyFileName.
A window will popup asking for your confirmatoin. Click Yes.


A notepad editor will appear. You can now type the sensitive data that you want to hide.

Go to File -> Save to save the file.
You can add more than one hidden stream in the same file. Simply type the same command (but with different stream name) to add the new stream.
Notice that the main file name is “AnyFileName.txt” and there are no clues from the exterior that it contains a hidden file within it.

How do I access the hidden data?

To read the hidden stream from command prompt type the syntax below:
more < FileName.txt:StreamName.txt
For instance in our example the command should be
more < AnyFileName.txt:SecretData.txt

How do I detect the hidden file if I've forgotten the file name?

Yes you can detect the hidden files using the application Stream.exe. This application will monitor all the files with the stream file name if they exist.
For instance the syntax of detecting the hidden stream is
streams.exe AnyFileName.txt

If you want to delete just the stream from the file then type this command:
streams.exe -d AnyFileName.txt

This command will delete all the streams from the file AnyFileName.txt.
The above process is very handy to store some private text data in your system. Unless the other users of your PC are tech savvy or hackers, the chances are they will never notice your little secrets.

No comments :

Post a Comment