Didier Stevens did it again with a pretty useful tool that can be used for backups that you want to place on another server on the internet. This is great if you want to separate site or operating system backups from the running server to avoid that both are not recoverable after a crash.
ZIPEncryptFTP is a C# command-line program. You will need the .NET 2.0 framework runtime to run it. It will write to the Application eventlog, so you need to run it the first time with administrator privileges, to register ZIPEncryptFTP with the eventlog.
To use the program you will have to use the command line. If you wanted to backup the contents of the directory c:\temp for instance, use the password:test to encrypt the folder(s) with AES and upload it to the ftp 192.168.1.100 with the username test and the password pass you would do the following:
ZIPEncryptFTP /directory:c:\test /password:test /url:ftp://192.168.1.100 /ftpuser:test /ftppassword:pass
You can add more than one directory by simply adding another /directory parameter to ZipEncryptFtp.
You can use ZipEncryptFtp to encrypt the data again but it needs to be retrieved with a ftp program before. To decode the file you need to use the following command:
ZIPEncryptFTP /password:test /infile:test /outfile:test.zip
Everything is done in memory, no temporary (ZIP) files are created. The ZIP file is created and encrypted in memory.
The password is converted to a 256 bit key, and the initialization vector is generated at random. The effect of this is that encrypting the same file twice will yield 2 completely different encrypted files.
This can be very useful if you have access to ftp servers with enough storage space that you want to use for backup purposes. The ftp servers can run in a local network or remotely.
It is highly recommended to encrypt the data so that no one but authorized users can access it.Advertisement
Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.
We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.
If you like our content, and would like to help, please consider making a contribution:
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.