Solved

Changing Shared Libraries w/o Source

Posted on 2004-04-25
3
182 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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to declare a 2-dimensional version of strlen 4 202
Directory does exist 19 144
Programming Arduino to control a Max7219 using C 2 115
Raspberry Pi 3 to send text message 9 77
An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

863 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

28 Experts available now in Live!

Get 1:1 Help Now