LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-16-2011, 08:19 AM   #1
shubhnivesh
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
How to run password protected exe in linux ?


I want to run a exe file and after run that it demands a password to dycript the contained data. I have the password but dont know to how to execute this in command prompt.

Paresh Madani
 
Old 02-16-2011, 08:23 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Have you looked at Wine?

Regards,

Fordeck
 
Old 02-16-2011, 09:09 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,

Welcome to LQ!

Quote:
Originally Posted by shubhnivesh View Post
I want to run a exe file and after run that it demands a password to dycript the contained data. I have the password but dont know to how to execute this in command prompt.

Paresh Madani
(Linux is Not Windows) would be a good first read.

WINE is a Open Source Windows API on top of X, OpenGL, & Unix.

WINE Application Database (AppDB) provides information on application compatibility with Wine.
 
Old 02-16-2011, 10:14 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
If this isn't relevant to the OP's problem, I'll ask the mods to snip it off to its own thread.

I am guessing that the OP is referring to one of those encrypted USB sticks that I now have to use at work (with win).

I have one of these [ 13fe:1e27 Kingston Technology Company Inc. ] and when I plug it into linux, it looks like a CD with TotalLock.exe and autorun.inf
Windows normally runs this, asks for the password, and then decrypts the data partition.

I can get TotalLock.exe to run with wine but it cannot see the encrypted partition, and fdisk tells me there is no disk partition on the USB stick. I suspect that totallock.exe uses some windows-specific system call (that wine has not implemented yet) to make the partition visible.

eject /media/TotalLock does not help make the encrypted partition visible to fdisk.

I suspect that something like usb_modeswitch is needed to switch off the "CD" and allow access to the encrypted partition (a bit like with those 3G modem sticks), but I cannot get usb_modeswitch to do this (even after sniffing, logging, and replaying the USB communication I see when using that other OS with this device).

If I could only access the partition, I expect I could decrypt it, as I too have the key and it says on the label it is using AES-256.

If anybody would like me to post the sniffed USB data, and help me make it work with usb_modeswitch, just say so.
 
Old 07-21-2011, 04:32 PM   #5
wick
LQ Newbie
 
Registered: Jul 2011
Location: London, UK
Distribution: Debian
Posts: 2

Rep: Reputation: Disabled
Hi

I have the same problem as tredegar, with minor variations. I want to use an Integral USB stick with TotalLock AES on Debian.

When inserted it mounts like a cd with TotalLock.exe. I can run TotalLock with Wine but then get the message "Please insert device!".
 
Old 07-21-2011, 04:55 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
wick,

Thank you for your interest in this problem and welcome to LQ.

So far, I have not managed to find a solution to this, although I have spent days sniffing windows USB protocols and then attempting to understand / replicate the traffic.

Result = Broken.

Perhaps I am just a poor hacker, but there isn't much on the web to suggest any potential solutions. Maybe these devices are not much used yet.

So I do clumsy workarounds, like emailing myself the file I need.

Is your device the same as mine (13fe:1e27 Kingston Technology Company Inc.) ?

lsusb will tell you.
 
Old 07-21-2011, 05:11 PM   #7
wick
LQ Newbie
 
Registered: Jul 2011
Location: London, UK
Distribution: Debian
Posts: 2

Rep: Reputation: Disabled
Hi tredegar and thanks for the welcome

I'm sorry but I am no hacker at all. lsusb tells me a lot, including:

Quote:
ID 13fe:3327 Kingston Technology Company Inc.
iManufacturer 1 Integral
iProduct 2 Courier TL
so it's not quite the same ID as yours
 
  


Reply


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
Un-Protected share on XP System wants password when accessed by linux thealmightyos Linux - Networking 16 03-27-2009 02:50 PM
Mybookworld password protected discs and linux? gogofraba Linux - Security 2 11-03-2008 05:49 AM
Password Protected rar files on Linux Mandrake 9.1 gregonite Linux - Newbie 2 01-23-2005 08:40 AM
how to open password protected file (by MSWord) in Linux chillangella Linux - Newbie 2 08-04-2004 04:02 AM


All times are GMT -5. The time now is 04:43 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration