[Haskell-cafe] I've just heard of a neat security measure that when you compile the code it generates different object code...

Magnus Therning magnus at therning.org
Sat Dec 17 18:45:59 CET 2011


On Sat, Dec 17, 2011 at 12:43:11PM +1300, Chris Wong wrote:
> On Sat, Dec 17, 2011 at 12:27 PM, KC <kc1956 at gmail.com> wrote:
> > ... with the same functionality.
> >
> > Thus, your program would be a moving target to hackers.
> >
> > Would this be challenging with ghc?
> 
> Although it's possible, I doubt this would do anything. Most exploits
> are just programmer mistakes; changing the object code doesn't change
> the fact that there's a gaping security hole in your program. Plus, it
> would be harder to debug the compiler, since the mangling code would
> be non-deterministic by definition. So I doubt anyone would try to
> implement that.

I could help though if you want to write a virus in Haskell ;)

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Most software today is very much like an Egyptian pyramid with
millions of bricks piled on top of each other, with no structural
integrity, but just done by brute force and thousands of slaves.
     -- Alan Kay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111217/ea8f6b39/attachment.pgp>


More information about the Haskell-Cafe mailing list