seras
January 10th, 2008, 04:40
Has anybody had a shot at looking at reversing perl files compiled into executables on Linux?
Quick searches of google/other search engines/this forum show a few engines like perl2exe have already been broken, but what about things like perlcc, etc?
Looking at a commercial product and analysing some of their internals which I can't get at the source code for as part of an audit.
Interesting enough, a quick run through with strings shows that some of the source code may still be intact:
however it does look like the perl interpreter may be in here too:
EDIT: Just about to run through this with IDA to see if it dumps anything in memory, but thought I'd put the post up to see if anyone had any resources I could read over
Quick searches of google/other search engines/this forum show a few engines like perl2exe have already been broken, but what about things like perlcc, etc?
Looking at a commercial product and analysing some of their internals which I can't get at the source code for as part of an audit.
Interesting enough, a quick run through with strings shows that some of the source code may still be intact:
Quote:
@modparts $modfname $modpname $try $bootname $libref @unresolved $boot_symbol_ref |
however it does look like the perl interpreter may be in here too:
Quote:
PERL_API_REVISION='5' PERL_API_SUBVERSION='0' PERL_API_VERSION='5' PERL_REVISION='5' PERL_SUBVERSION='2' PERL_VERSION='6' RCSfile='$RCSfile' Revision='$Revision' SUBVERSION='2' ... installbin='/usr/bin' installman1dir='/usr/man/man1' installman3dir='/usr/man/man3' installprefix='/usr' installprefixexp='/usr' installscript='/usr/bin' installsitearch='/usr/lib/perl5/site_perl/5.6.2/i686-linux' installsitebin='/usr/bin' installsitelib='/usr/lib/perl5/site_perl/5.6.2' installstyle='lib/perl5' |
EDIT: Just about to run through this with IDA to see if it dumps anything in memory, but thought I'd put the post up to see if anyone had any resources I could read over