A free script to find hidden users in your database
I have been testing root kits in my database and when I run Alex's script as follows:
SQL> @a
SQL Script: Check for hidden database user
Version: 0.01
Autor: Alexander Kornbrust of Red Database-Security GmbH
These SELECT statements should never return anything
Keep in mind that an empty result does not guarantee that your
data dictionary is not modified. You can check the integrity of your data dictionary with Repscan
Invisible User in DBA_USERS
------------------------------
HACKER
no rows selected
SQL>
I find that my DBA_USERS view has been altered to hide the user HACKER. I saved the script to a local file called a.sql that I ran above.