LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to run password protected exe in linux ? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-run-password-protected-exe-in-linux-863038/)

shubhnivesh 02-16-2011 07:19 AM

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

fordeck 02-16-2011 07:23 AM

Have you looked at Wine?

Regards,

Fordeck

onebuck 02-16-2011 08:09 AM

Hi,

Welcome to LQ!

Quote:

Originally Posted by shubhnivesh (Post 4260207)
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.

tredegar 02-16-2011 09:14 AM

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.

wick 07-21-2011 03:32 PM

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!".

tredegar 07-21-2011 03:55 PM

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.

wick 07-21-2011 04:11 PM

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


All times are GMT -5. The time now is 03:24 AM.