Solved

ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size

Posted on 2011-03-01
5
1,819 Views
Last Modified: 2012-05-11
How to fix this issue ?

[pflsml@vfx-lap-1][~/hype-1.3-redhat] - file hype
hype: ELF 32-bit LSB executable, Intel 80386, version 1, statically linked, corrupted section header size
0
Comment
Question by:aashee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 35006530
use
readelf -h hype
There error deals with file being unable to access/read the header section of the program.
The creators may have used this option to make it harder for individuals to reverse engineer/deconstruct their application.

It should run as intended.
0
 

Author Comment

by:aashee
ID: 35006659
i get below result , when i do this command.

[.......-lap-1][~/hype-1.3-redhat] - readelf -h hype
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 4c 69 6e 75 78 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       76
  Type:                              EXEC (Executable file)
  Machine:                           Intel 80386
  Version:                           0x1
  Entry point address:               0x8048080
  Start of program headers:          52 (bytes into file)
  Start of section headers:          0 (bytes into file)
  Flags:                             0x0
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         2
  Size of section headers:           0 (bytes)
  Number of section headers:         0
  Section header string table index: 0


so what's the purpose of running this command. it tells more details about the file. but what about the error?
please help ?
0
 
LVL 78

Accepted Solution

by:
arnold earned 500 total points
ID: 35006695
This is the cause for the error:
Start of section headers:          0 (bytes into file)
Size of section headers:           0 (bytes)
Number of section headers:         0
Section header string table index: 0

In short the creator of the software added a section in their code to prevent/disguise the writing of the ELF header to make it harder for others to analyze and reverse engineer/disassemble the application.

Does the application work?
0
 

Author Comment

by:aashee
ID: 35006738
not it does not work. when i type ./hype

below error comes


[....@...-lap-1][~/hype-1.3-redhat] - ./hype
./hype: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
0
 
LVL 78

Expert Comment

by:arnold
ID: 35006797
This is a separate issue from the header corruption.

Did you receive an error during configuration or while running make or is this a compiled distribution.
You need to get the missing librarry.
yum search gtk2
yum install gtk2-x.y.z
This is what provides the missing library.
x.y.z represent the version available for your system.
0

Featured Post

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question