mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [slightly ot] ELF loader process
@ 2004-12-18  4:12 Russell Miller
  0 siblings, 0 replies; only message in thread
From: Russell Miller @ 2004-12-18  4:12 UTC (permalink / raw)
  To: linux-kernel

Hi, I have a question that isn't directly kernel related, but I can't seem to 
find a good forum to ask this question, so feel free to point me to a more 
appropriate place.  Also, this is pretty deep in the linux internals...

I'm trying to reverse engineer a trojan that some idiot left on a machine 
after cracking it.  I've run readelf.  It states that the entry point is:

  Entry point address:               0x804b06c

But that address seems to not be mapped anywhere in the executable.  There is:

  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x00406c 0x0804c06c 0x0804c06c 0x001d4 0x00338 RW  0x1000

which is exactly 0x1000 above the entry point address.  0x0804c06c is also the 
location of the _start symbol.

So, my question is (for any of you that will be willing to humor me and answer 
the question even though it's a little unrelated):  Why does the entry point 
address not match the _start symbol?  And if this is truly an error, what 
would happen if you tried to run the binary under linux?

Thanks.  You can feel free to email me privately with an answer if you don't 
want to post it here.

--Russell

-- 

Russell Miller - rmiller@duskglow.com - Le Mars, IA
Duskglow Consulting - Helping companies just like you to succeed for ~ 10 yrs.
http://www.duskglow.com - 712-546-5886

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-12-18  4:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-18  4:12 [slightly ot] ELF loader process Russell Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome