Re: verifying cmd.exe



Laszlo,

Why do you need to verify cmd.exe? It can run any other executables (and I
assume that is exactly your goal) but it will NOT be able to verify those
executables - so anybody can replace them.

Thanks for taking the time to respond. I indeed intend to start other
executables using the command interpreter; however, the other executables
will be burned to read only media.

A sophisticated attacker could/would simply modify the code after it is
loaded into memory so that the on-disk signature/hash always remains the
same. This is an inherit limitation of code signing/on-disk file verifying
defensive measures. Notwithstanding the trends in sophisticated malware,
there are still a lot of dumb attackers out there; and it makes you look bad
when you get taken by one of them.

Obviously, I can use a hash to "verify" an unsigned executable using its
hash if that is known. However this presents a logistical problem for MS
executables, given the rate at which hotfixes are required and applied (or
not applied) to MS code. :-)

Regards,

George.


.



Relevant Pages

  • Re: How does one verify the integrity of a download?
    ... >program installation), how does one verify that the resulting download ... No. Signed executables have been around for a long time, ... or whoever) certificate" (in reality, a certificate of your own that is ... you verify the certificate on the executable using the same route as you had ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Cant Execute Scripts
    ... That's the correct action. ... Executables in the current directory (or ... and how do you verify it? ... Linux - because rebooting is for adding new hardware. ...
    (alt.os.linux.suse)
  • Re: corrupt file?
    ... majority of files arre ELF executables... ... > is a system binary you can use pkgchk to verify its integrity. ... > ftp you should run sum before sending the file and rerun sum ... > numbers must are the same on the sending and receiving host ...
    (comp.unix.solaris)
  • Re: c versus c++, performance wise
    ... is linked against libc, libstdc++, libgcc_s and libm. ... You can verify it by running a large loop. ... Not that this only happens with dynamic executables. ... don't seem to have any difference whatsoever. ...
    (comp.lang.cpp)