Archive for September, 2008

A Good Orthopedist in San Francisco

Thursday, September 18th, 2008

I needed to see someone about my shoulder/neck injury. On the recommendation of a coworker, I went to see Dr. Jon Dickinson. He seems to be very nice, knowledgeable, and happily explains what he's observing, rather than just writing a prescription. Contact Information Dickinson, Jon A, MD California Pacific Ortho and ...

Color Test

Tuesday, September 16th, 2008

I just took a fun test to determine how good I am at discriminating colors. Lower values are better. My results: Your score: 8 Gender: Male Age range: 30-39 Best score for your gender and age range: 0 Highest score for your gender and age range: 1464 Neat! Take the test here.

Stripping an Authenticode Signature

Friday, September 12th, 2008

We needed to modify the resources of an installer and then apply an Authenticode signature. Unfortunately, it already had a signature on it, and modifying the resources of an executable with a signature results in a corrupted signature. The Microsoft signing tools cannot recover from this situation, so: It ...

Using Certificates and Signtool

Friday, September 12th, 2008

Obtain a Software Publisher Certificate Your Certificate Authority will supply one of the following: a Personal Information Exchange (.pfx) file a Software Publisher Certificate (.spc), and a Private Key (.pvk) file a CER-encoded X.509 Certificate (.cer), and a Private Key (.pvk) file For the second and third case, these file must be converted to a ...

PE Format

Friday, September 12th, 2008

While investigating Authenticode, I become curious about the Portable Executable format. This is the file format used by all Windows executables. Here is a good overview in the context of .Net. And here is the referenced image which is missing from that post (originally http://jfmasmtuts.blowsearch.ws/Ch2/peheader2.jpg): This missing image turns out ...

mssign32.dll

Thursday, September 11th, 2008

With CAPICOM deprecated, MSDN suggests using the mssign32.dll functions. There are two fundamental problems with this: No example code whatsoever is provided. No header file is provided. Well, at least I can do something about #2. Here is a minimal version of a header file for mssign32.dll. It includes direct ...