Re: Can a program prove it's own integrity?
From: BenL (ben.livengood_at_bannerhealth.com)
Date: 05/29/04
- Next message: John A. Malley: "Re: Alert ! My Mega-virus is out of control !"
- Previous message: Douglas A. Gwyn: "Re: NSA,Windows, etc."
- In reply to: AE: "Can a program prove it's own integrity?"
- Next in thread: Soundspider: "Re: Can a program prove it's own integrity?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 May 2004 23:28:20 -0700
AE <hidden@nospam.com> wrote in message news:<c850eg$cps$05$1@news.t-online.com>...
> The idea is to make the program calculate a MAC of the program itself
> based on a user-provided password.
>
> An attacker doesn't know what password will be typed in so replacing the
> program he would have to find a way to calculate the right MAC for every
> possible password.
>
> Size of program can be checked separately so it is not possible to
> create a replacement that contains the complete original program.
>
> Regards,
> Andreas
Based upon the rest of this thread, it looks like a CD-R is basically
the best way to go, but write it to one of the mini-sized CD-Rs,
either the minidisc size or the credit card size and keep it with you
at all times. This will prevent modification and replacement, and also
examination of the boot loader. Note that you are still SOL for any
practical attacks, because keyboard loggers and tempest devices are
far easier to use than modifying a customized encrypting bootloader.
Don't discount the idea of a virtualized computer run under an
emulator started from the BIOS; SoftICE, VMWare, bochs, and others are
all examples of well emulated hardware. Note that everything can be
faked, including timers such as the Pentium TSC and the PITs. There is
realisticly no way to detect any such a virtualized environment. The
best way to defeat it is to do something obviously slow to emulate,
like switching in and out of protected mode while setting up lots of
page tables and overwriting all available memory several times that
will force the emulator to do extra work, and then manually time the
execution to detect virtualization. However, this only works if you
can guarantee that the boot image is not available to an attacker. It
would be (relatively) simple to add hardware to a motherboard that
would just store the last few boot images to a flash device for later
removal and analysis. Basically, the securest device you could own
would be an encrypted PDA that you keep on your person at all times.
Even then, tempest is probably not your friend.
- Next message: John A. Malley: "Re: Alert ! My Mega-virus is out of control !"
- Previous message: Douglas A. Gwyn: "Re: NSA,Windows, etc."
- In reply to: AE: "Can a program prove it's own integrity?"
- Next in thread: Soundspider: "Re: Can a program prove it's own integrity?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|