Wednesday, April 2, 2008

Embedding signatures into executables


http://slashdot.org/article.pl?sid=04/08/12/2051219&tid=172

If you embed a signature of the file into the file, doesn't this by definition change the file's signature?

  1. Set the swappable instructions in the program to their bitwise equivalent of 0.
  2. Calculate a signature based on that number.
  3. Swap the instructions to encode that number.

To decode.

  1. Find swappable instructions.
  2. Determine what bit setting they're at.
  3. Set their bit setting to 0.
  4. Recalc signature based on the new bit setting.
  5. Compare to the bit setting you just retrieved.

I would still recommend publishing a separate public key, however,
and include an encrypted signature in the program. As you say, it can
always be changed and re-encoded.

On the other hand, this might be useful on a server, by
encoding a public key and checker on a CD-R and checking all your
programs periodically against the CD-R key. You could encode signatures
in each program and be able to upgrade programs from a central encoding
server without having to write a new cd each time.

================================
Say you have an executable:

1337PROGRAM

Your signature checking routine then does this:

1_3_3_7_P_R_O_G_R_A_M

and computes the hash

deadbabeca

And then sends:

1d3e3a7dPbRaObGeRcAaM

To reverse, we extract the hash (deadbabeca) and the "original" executable.

Then we compute the hash (of 1_3_3_7...) and check if it matches...

In summary, we embedded a checksum, but we removed it before we checked it. Simple, really.




Friday, March 7, 2008

Chastity Rome-Chick Blues

Found a link to Dawn Eden's blog from the Curt Jester. For those of you who like music or music history, she has a very good re-worked music video of Bob Dylan's Subterannean Homesick Blues entitled: Chastity Rome-Chick Blues. I didn't realize just how dead-on accurate her rendition was until I watched the original.




Warning: if you hate Bob Dylan, then this video will really annoy you from a sound perspective (like my wife just said). But, go on ... give it a try. The lyrics are quite clever.

If you could do a song parody, what would it be?
Post your answers now!

Monday, February 25, 2008

Drive-Thru Jesus



Should Confessionals work more like a drive through? I've had priests cut me off in the confessional with "I don't need details. Just your sins. Type and Number."

I understand the need to keep things short and sweet to prevent a simple confession turning into a therapy session, confession of other people's sins, self-justification, or indulging scruples. But just "type and number"?

Type and Number? Sounds like an Extra Value Meal.

"Ok, I had a #3, two number 10's with malice, and a double whopper with a venial side of bending the truth. Oh, and supersize the anger."

"Can I get that absolution to go?"

Where does it all end? Fr Tom Washburn OFM's blog has a cute joke on the subject.

For those of you with iTunes enjoy Bob Rice's Drive Thru Jesus.

Tuesday, February 19, 2008

MS Who

Not long after one blogger expressed admiration for Microsoft founder Bill Gates' concept of "creative capitalism" to address the needs of the world poorest, the International Herald Tribune is reporting that the Gates Foundation may be responsible for fostering information hoarding within the medical research community.

According to the article, WHO officials are warning of "unintended consequences" of Gates foundation funded researchers who were once open with their information having a financial incentive to share their findings primarily with other researchers supported by the Gates Foundation, creating a kind of information "cartel".

Is this the same old Microsoft bullying that made the software giant the de facto computing standard brought to another sector? Or is it the result of fallen human nature and self-interest to follow the money? How "unintended" can the consequences be if the money comes with strings (and there are always strings)? Would you accept a Microsoft Vaccine?

To create a truly just society, surely it cannot be enough to do good deeds with our material possessions without creating just societal structures to support them.

Fair or foul? Sound off.

Saturday, February 2, 2008

iStopMotion Movie Making Time

My firstborn and I had a great time last weekend making an iStopMotion movie. This was a little experiment with some cool software I picked up during MacHeist with some Playdoh, a MacBook, and a little imagination.



All told, we probably spent half an hour on it (we had some creative differences). Perhaps after this we'll put some actual thought into it and do some more. This movie is either thousands of years of plate tectonics compressed into 10 seconds or so, or else an erupting volcano island, or maybe it was a grass field with some rocks. We really couldn't decide, but we made the movie anyway.

Enjoy it for what it's worth. Leave us some comments!!

LinkWithin

Related Posts with Thumbnails