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
Solved

Changing Shared Libraries w/o Source

Posted on 2004-04-25
3
184 Views
Last Modified: 2012-05-04

Is it possible to rename function/variable definitions in a shared library. (under RH 9.0) We are writing some code using some 3rd party libraries but we want to hide this for security reaons.

Thx
CC
0
Comment
Question by:rhugga
3 Comments
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 75 total points
ID: 10913658
It might be possible (although tedious) to hack the symbol table and
relocation table of the shared library.  You can use the 'strip' command
to remove all unnecessary symbols from the file. However, I fail to see
how the names of a shared library's entry points affect the security of
your application.  You are aware of how ineffective "security through
obscurity" is?

http://slashdot.org/features/980720/0819202.shtml
http://en.wikipedia.org/wiki/Security_through_obscurity
http://www.vnunet.com/Analysis/1126488

0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

789 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