Jump to content

Recommended Posts

Posted

i was thinking... would it be possible to make a program that executes when a USB device is plugged in that makes truecrypt password the device automatically with a predefined password?

eg

USB device goes on

Program autoruns

USB device is passworded to something that the computer owner knows

forcing the USB device to be locked and cant be opened without a password

Posted

I don't see why not, but the problem will be that the password would be stored in plain text thus defeating the point of encypting it... unless you delete the file that stors that password.

Posted

the password would be on the hdd somewhere hidden

than it puts the password on the usb device without anyone knowing forcing them to not be able to use their own device

its a program to defend me from my friends + switchblade :P

Posted

well the problem with that idea is first of all u need admin fro truecrypt, second it has to make a file and then put stuff in, 3rd its gui, as for password you could encrypt it in say AES and transfer it in an encrypted state

  • 2 weeks later...
Posted

@ CaveMan

Just tryin to make sure I understand this correctly. Are you saying your wanting to basically password the usb device that way no matter what usb port on any pc it is inserted into, the user will be prompted with a password just to access the drive?

If so I have been curious about the same thing and would like to know possibilities. Not just for USB for any type of drive. Instead of just encrypting all the data it would be nice if we could just password protect a drive.

Posted
If so I have been curious about the same thing and would like to know possibilities. Not just for USB for any type of drive. Instead of just encrypting all the data it would be nice if we could just password protect a drive.

How would "just password protect a drive." stop you from getting the data off it if it isn't encypted?

Posted

No I wasn't saying nothing about getting data off the drive. I'm just curious if there is a way to password protect the drive so it's in-accessible without entering a password.

For example say I lost one of my flash drives or forgot it at my friends house and he wanted to see what was on it. He goes to stick it in and try's to access it/view the contents and he's prompted with a password.

Posted

but if the data isn't encypted, it's no challeng at all to get the data off it with out entering the password. Not encypting it with a password compleatly defeates the point of putting a password on it.

Posted

True. I guess why I asked is because I was using AxCrypt. It could be a bit time consuming to encrypt all the data sometimes, so I was wonderin hmmm... if I can just put a password on the drive I wouldn't need to encrypt the data. I haven't messed with true crypt yet, but I will this weekend. Is it possible to password protect the drive or any drive alone?

Posted

TrueCrypt can encrypt a partition. So, yes you could encrypt the whole usb drive.

However, if you do this then TrueCrypt has to be on every machine you want to open the encrypted files.

Here is what I did:

My USB Drive Structure:

[TrueCrypt] = Folder

@ = True Crypt File 1 gig in size

mount.bat = Batch script used to mount file

dismount.bat = Batch script to dismount file

Contents of mount.bat

@echo off

:: Mount TrueCrypt Drive L

TrueCryptTrueCrypt.exe /q /a /lL /m rm /v "@"

So, when I insert my USB drive, I run mount.bat. TrueCrypt opens the file and a password dialog box pops up. I input my password and TrueCrypt mounts the encrypted file as drive L. Then I do all my private work on drive L. When Im done I just run dismount.

Contents of dismount.bat

@echo off

:: Dismount All TrueCrypt Drives

TrueCryptTrueCrypt.exe /q /d

Now, you can actually put TrueCrypt in the loader with an autorun.inf to call the batch. This way, as soon as you put in the usb drive you get a password prompt.

I didnt do this as I use my USB drive for everything, not just my personal files.

Posted

I just want to point out that this'll still require you to be an admin on the computer you're using. TrueCrypt uses a driver so it can create virtual drives and perform transparent encryption. As far as XP is concerned, only administrators can add/remove drivers. So if you want to use this on a computer with a limited account, you're SOL.

  • 2 weeks later...
Posted

Anybody know why everytime I mount it onto my usb, then I go to access the drive it says drive is not formatted..

Help would be appretiated. Does formating the true crypt volume, unformat the drive????

Posted

that's because probably you chose the encrypted area to be the whole drive and because of this true crypt uses different header information causing the drive to e seen as unformatted or currupted

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...