The background of our issue is as follows:
We want to add some security-identification code to an application before its security-sensitive operations (for example, payment through internet and so on) are executed. We neither have the source code of the application, nor want to reverse the application to modify it.
What we know is that the payment operation is right after the execution of a specific function/API. So, our plan is to monitor the execution of the specific function/API from the operating system kernel, and then insert our security-identification code immediately once the specific function/API execution is detected.
Our platform is Android, and thus the kernel is Linux.
Therefore, the question is:
Is it possible to monitor the execution of a specific function/API from the operating system kernel level? If possible, how to do? If not possible, what is your alternative suggestions to our above issue?
Thank you very much!