TopPass is a proof-of-concept (PoC) research tool that intercepts calls to database drivers through the SoftVelocity Clarion runtime library and displays the captured information to the user.
This information includes:
- Database file path and/or table name.
- The value of the
OWNERproperty:- For file-based drivers, it contains the file password.
- For database drivers, it contains connection parameters, such as the username, password, and database name.
- The target application must be built using an external Clarion runtime dll.
- Clarion runtime version 6.1 or later is required.
Database access operations are handled through the exported runtime library function Cla$FILE_OPEN.
TopPass attaches to the target process and installs a software breakpoint (INT3) at the entry point of this function.
When the function is called, the EAX register contains a pointer to the FILE structure.
The following structure offsets are used to retrieve the relevant information:
| Offset | Description |
|---|---|
EAX + 0x10 |
Pointer to the target file path and/or table name |
EAX + 0x20 |
Pointer to the OWNER property value |
EAX + 0x24 |
Length of the OWNER property value |
The tool uses this information to display details of the intercepted driver calls.
TopPass is provided for educational, research, and authorized software debugging purposes only.
The software is provided "AS IS", without any express or implied warranties of any kind, including, but not limited to, warranties of merchantability, fitness for a particular purpose, and non-infringement.
The author makes no guarantees regarding the software's functionality, reliability, compatibility, or suitability for any particular purpose.
The author shall not be held responsible or liable for any damage or loss resulting from the use or misuse of this software, including, but not limited to:
- Data loss or corruption.
- Damage to hardware or software.
- Operating system failures or instability.
- Application crashes or unexpected behavior.
- Loss or disclosure of passwords, credentials, or other sensitive information.
- Any direct, indirect, incidental, or consequential damages.
You use this software entirely at your own risk.
You are solely responsible for ensuring that you have the necessary authorization to use this software on the target system and for complying with all applicable laws and regulations.
By using TopPass, you acknowledge and accept these terms.

