Solved

Changing Shared Libraries w/o Source

Posted on 2004-04-25
3
181 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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now