Passively load a monitoring shared object into an Oracle process 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
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