Jump to content











Photo
- - - - -

Bootable encrypted USB-Stick


  • Please log in to reply
15 replies to this topic

#1 DevilEX

DevilEX
  • Members
  • 3 posts
  •  
    Germany

Posted 22 February 2012 - 08:46 AM

Hello Guys,

i want to boot an full encrypted USB-Stick with an WIN-PE on it. Have you an idea how i can solve this problem, to create such an bootable stick with an truecrypt boot loader without any container file.

The reason is i want to protect the Win-PE form an virus.

So i need an whol encrypted usb-stick with an truecrypt boot loader.

Greetings
DevilEX

#2 u2o

u2o

    Frequent Member

  • .script developer
  • 257 posts
  • Location:Argentina
  •  
    Argentina

Posted 22 February 2012 - 09:04 AM

Hi!

If you talk about Win7PE, I think...you haven't realized that is compacted in a WIM image.You can include all programs in the WIM image. See the configuration of each script (in RAM).And so all applications will be compressed into the image.

I think there is no virus to decompress WIM images (that is much work for a virus writer).

I speak Spanish, sorry if there is something wrong

#3 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 22 February 2012 - 11:04 AM

Encryption stops people from looking inside the container. It does however not stop a virus from corrupting the container.
If you want to virus proof your USB-Stick, you need to get one with a write protect switch.

Like for instance the Imation Swivel.

:cheers:

#4 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 22 February 2012 - 01:56 PM

Yep....USB drive with a write-protection switch is the best way to go. I've got one of those.

#5 u2o

u2o

    Frequent Member

  • .script developer
  • 257 posts
  • Location:Argentina
  •  
    Argentina

Posted 22 February 2012 - 11:14 PM

I agree too!

#6 DevilEX

DevilEX
  • Members
  • 3 posts
  •  
    Germany

Posted 23 February 2012 - 08:11 AM

Yeah this sollution is great but the problem is that this usb-stick should be a mass product for the customers all over the world.

And i can't travel all over the world to change some files on the stick.

My current state is that i have the bootloader on the USB-Stick and he will boot in the windows, but when i change the operating system the bootloader hangs on after the password request with the message booting...

have anyone this problem with this matter?

thx all of you for your help

best regards
devilex

#7 ericgl

ericgl

    Frequent Member

  • Expert
  • 340 posts
  •  
    Israel

Posted 23 February 2012 - 08:37 AM

DevilEx,
We're not talking about write-protection in software. We're talking about a USB stick with a physical switch on it.
However, if you need to distribute many USB sticks across the world to your customers, and you don't want them to mess with the OS, then the solution is to use Windows Embedded Standard 7 (WES7).
One of WES7's many advantages is that after you create an initial image, you can use something called Enhanced Write Filter (EWF). EWF protects the entire OS,so any changes made by the user will be lost after reboot.
The OS will stay exactly the same after reboot, no matter what the user does.

Read more about it here: http://download.micr...al-Overview.pdf (page 5)
and here: http://msdn.microsof...dded.1001).aspx

With WES7 and EWF, there's not really a need to use TrueCrypt or BitLocker (However, an Anti-virus is recommended to be installed on the image).
And of course, you must purchase licenses to use WES7.

Edited by ericgl, 23 February 2012 - 08:45 AM.


#8 torrentkim7

torrentkim7
  • Members
  • 1 posts
  •  
    South Korea

Posted 23 February 2012 - 12:26 PM

Hi,

What about this one ?

http://www.secudrive...ortable-desktop

It has both CD-ROM area and secure zone.
You can load Windows PE on CD-ROM area.
The secure zone is available for read/write.

Also, TrendMicro anti-virus program protects the secure zone.

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 23 February 2012 - 12:42 PM

We've been over this often enough. Use the search, if you like to read about it, in more detail.

The ONLY way for guranteed virus rotection is, a hardware protection against write access!!!

Everything else can be circumvented. An anti virus program easiest of all!

:cheers:

#10 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 23 February 2012 - 01:47 PM

WinPE7 can boot to RAM drive X: and any changes made are lost on reboot - so I don't see how any virus will infect the source compressed boot.wim file?
I would suggest you use a VHD as your distribution model. Then users can simply replace the vhd without affecting any other files and it is just one file.
WinPE7 licences are quite expensive ... :dubbio:

#11 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 23 February 2012 - 01:50 PM

Yeah this sollution is great but the problem is that this usb-stick should be a mass product for the customers all over the world.
And i can't travel all over the world to change some files on the stick.
My current state is that i have the bootloader on the USB-Stick and he will boot in the windows, but when i change the operating system the bootloader hangs on after the password request with the message booting...
have anyone this problem with this matter?
thx all of you for your help
best regards
devilex

Can you explain this and give more details?
What bootloader, what are files on disk, what files do you change and why, what password request (generated by what?), etc. Do you want user to have ability to modify any files/registry (persistent)?

#12 DevilEX

DevilEX
  • Members
  • 3 posts
  •  
    Germany

Posted 23 February 2012 - 01:53 PM

Hi ericgl,
i get it that you talk about an physical switch.
I know also about the WES7.

I think i have it wrong explained for what i need this stick and what i want to protect.

So to explain why i need that i will tell you what i want to do with it.

We work with the Windows XP Embedded and with the Windows 7 Embedded Standart.
The installation of this two systems is realized over an simple copy action.
To install these two opperrating systems we use a very small Winpe with only an CMD window.
All of these is on an normal DVD.

But now we must install an big programm which is too big for the dvd an we want to realize the installation on an USB-Stick.
This USB-Stick will be also given to our customer.
But you know the problem with usb-sticks is that you can easy plug in on any computer for some "private stuff"
Now i am fear of an virus from an other pc.
To protect this stick form "private use" bye the customer i want to make him safe so that the customer can use it only for this installation.

Sorry for confusing from my side.

#13 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 23 February 2012 - 05:46 PM

i want to make him safe so that the customer can use it only for this installation.

Get yourself USB-Sticks, which have a housing, which can be opened without detroying it. Write the data onto the stick, then enable the write protect, which exists in all controllers. E viola, read only USB-Stick, safe from user and virii tempering.

:cheers:

#14 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 23 February 2012 - 05:50 PM

WinPE7 can boot to RAM drive X: and any changes made are lost on reboot - so I don't see, how any virus will infect the source compressed boot.wim file?

Hmm, you protect the image loaded into RAM and think therefore, a virus can't touch the unprotected files on the USB-Stick. Interesting logic. :poke: :lol:


:cheers:

#15 u2o

u2o

    Frequent Member

  • .script developer
  • 257 posts
  • Location:Argentina
  •  
    Argentina

Posted 23 February 2012 - 06:05 PM

Hmm, you protect the image loaded into RAM and think therefore, a virus can't touch the unprotected files on the USB-Stick. Interesting logic. :poke: :lol:


At least prevents many viruses. In this case ... if not run executable files on hard disk of the machine, there is no virus. If a virus is spread, already has been in the machine. So... reboot and do not have the virus in Win7PE.

Only problem: mbr virus... :exclamation: And viruses affecting DOS drivers (exist)? :dubbio:

#16 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 23 February 2012 - 08:56 PM

Interesting logic. :poke: :lol:

@Medevil, if I may, and JFYI, be careful doubting u2o' s logic, it seems like he is a bit touchy on this particular topic :ph34r::
http://reboot.pro/16054/

:cheers:
Wonko




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users