LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2015, 03:36 AM   #1
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Rep: Reputation: Disabled
Arrow Best software to decrypt an AES 128 file


Hi all, I've already read THIS THREAD but when I run
Code:
openssl enc -d -aes128 -in myfile -out outfile
I got the bad magic number error.

I've got an encrypted video file, I remember the encryption password but I don't know how to decrypt the file. I don't have the original encryption tool. Is there any useful software?
 
Old 08-27-2015, 04:37 PM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
Maybe there's a chaining mode used too. -aes-128-cbc or similar.
 
Old 08-27-2015, 05:56 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
http://askubuntu.com/questions/60712...-file-with-aes
 
Old 08-28-2015, 04:07 AM   #4
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Hi,
I've tried all the aes-128 chaining modes in openssl, same 'bad magic number' error.
I've also tried 'p7zip -d myfile' getting 'unknown suffix' error.
With 'gpg --decrypt myfile' I get:
Code:
gpg: failed to create temporary file `/home/filippo/.gnupg/.#lk0xdb7390.mypc.4138': Permission denied
gpg: keyblock resource `/home/filippo/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/home/filippo/.gnupg/.#lk0xdb75f0.mypc.4138': Permission denied
gpg: keyblock resource `/home/filippo/.gnupg/pubring.gpg': general error
gpg: the IDEA cipher plugin is not present
gpg: please see http://www.gnupg.org/faq/why-not-idea.html for more information
gpg: IDEA cipher unavailable, optimistically attempting to use CAST5 instead
gpg: [don't know]: invalid packet (ctb=7e)
gpg: WARNING: message was not integrity protected
gpg: invalid marker packet
I'm a newbie to encryption.
 
Old 08-28-2015, 10:19 PM   #5
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
What does 'file' say when you run it on the file ? Without knowing the file structure, it will be difficult to decrypt it. Try to find the program that created the file.
 
Old 08-29-2015, 02:31 AM   #6
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Unhappy

I don't understand what "what does 'file' say when you run it on the file ?" means
 
Old 08-29-2015, 10:47 AM   #7
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Run:

Code:
file encrypted.bin
 
Old 08-29-2015, 02:52 PM   #8
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
Code:
$ file myfile 
myfile: data
 
Old 08-29-2015, 03:52 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,685

Rep: Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657Reputation: 2657
what worked for a now dead operating system ( ubuntu8 ) from 7 years ago might NOT work on a current OS now

it would be like using a Windows XP guide on Windows 10
-- not likely to work --


this is an encrypted video ? right
with a password ? right

and NOT a video using a proprietary video format from 7 years ago ( also all the RAGE on naughty p06n sites 7 years ago )


so

this is a archive ? like in a password protected RAR file ( ALL THE RAGE 7 years ago ) ?????

if an encrypted archive ( with a password)

double click on it
a pop up asking for the password will pop up
or
cd into the folder and type in the name of the archive
Code:
cd /to/the/location/of/the/file
rar -x archive.rar
and the terminal will ask for the password

Last edited by John VV; 08-29-2015 at 03:54 PM.
 
Old 08-30-2015, 02:42 AM   #10
Filippo.rosa
LQ Newbie
 
Registered: Feb 2014
Posts: 14

Original Poster
Rep: Reputation: Disabled
hi,
no, it isn't rar file.
rar -x myfile, unrar -x myfile and archive manager do nothing.
the file properties say unknown type.
 
Old 08-30-2015, 09:59 AM   #11
metaschima
Senior Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 1,982

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The problem is that we do not know the file format, nor the method of encryption. How do you even know it is encrypted with AES-128 ? It could be just random data. The only thing you can do now is find out what program created it, or just blindly try to decrypt it with different settings.
 
1 members found this post helpful.
  


Reply

Tags
aes, decryption, encrypted, password, video


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Encryption library on Linux provides AES implementation based on cpu aes instruction rainman1985_2010 Programming 3 07-03-2015 05:34 PM
OPENSSL AES-128-CBC Encoding Format AbdulKabani Linux - Newbie 0 05-20-2012 10:29 AM
dm-crypt aes-xts-plain64 vs aes-cbc-essiv for volumes > 2TiB Molly Linux - Security 1 09-13-2010 05:24 PM
Maxtor BlackArmor AES 128 bit drive cannot mount z01krh Linux - Hardware 2 01-23-2010 12:07 AM
Decrypt an AES-128 bit encrypted file flouran Linux - Software 3 10-05-2008 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration