0

I'm trying to load my own code, which should add some security features to my environment, into each oracle BEQ dedicated process.

The reason I'm posting this on this platform, is that I hope there is some DBA hack to trick Oracle to load my shared object when a new instance of oracle starts to run.

I have found out about external_libraries that in first glance seemed to fit, but after investigating how it works, I'm have found out that the library is being loaded into another external process and the loading will only happen on triggering a specific external function.

I know DB2 has an option to load external plugins to add functionality to the database (e.g 1, 2 and 3) - this would fulfill my needs. - Again, I'm not intrested in the actual logic behind the plugin, all I want is the oracle to pull/load me passively into it's memory space when it starts.

Can you think of anything? Thanks

1 Answer 1

0

Using LD_PRELOAD to implement a hidden trojan in an oracle database

You can also follow the links there. Like this one: https://yurichev.com/writings/oracle.pdf

2
  • This PDF is awesome, I had no idea Oracle has this relink command. I'm also interested in other Oracle internal functions reverse engineering. Are you familiar with any resources?
    – Eytan Naim
    Commented Jul 9, 2020 at 17:45
  • Be aware that (if it matters) these kind of custom add-ons very likely will void the support agreement of any system that runs them. The Oracle license agreement generally prohibits modification or reverse engineering of their software.
    – pmdba
    Commented Jul 10, 2020 at 3:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.