2022 was a landmark year for cybercriminals, with total funds lost to cybercrime topping in at an approximate $8.4 Trillion. This number is expected to increase to $23.84 Trillion by 2027 showing no signs of slowing.
It has become clear as the internet evolves that typical methods of authentication in the modern age (SMS Multi-factor Auth, password managers, authentication applications etc.) are simply not good enough. While institutions need adequate assurance and security, so to do users of web3 ecosystems and retail DeFi investors alike.
Behavioral biometrics is a developing technology that allows users to secure and authenticate accounts based on patterns of their behaviors. In so doing, account actions can be scrutinized for evidence of theft or unusual behavior.
Unlike traditional authentication methods, which only validate when interaction is initiated, a behavioral biometric authentication method would authenticate continuously in real time.
A recent effort for improving Ethereum account security is the adoption of Account Abstraction. Coupled with behavioral biometric authentication, leveraging a continuous method of authentication would harmoniously increase account security by several orders of magnitude.
This is a POC illustrating the potential use of behavioral biometric authentication to secure abstracted Ethereum accounts in continuous form. This is not fit for production use, but demonstrates how a model could work in future.
For now, accounts are initiated using an array of bytes32 signatures. These signatures are to be produced off chain, but for the purposes of this POC they remain generic. Storage of the signatures are currently in a mapping, but would be best suited leveraging a privacy model like a Merle tree.
Abstract accounts send through an authentication request to the main contract via the authenticate
function, which then authenticates the interaction and returns a boolean result, allowing the abstract account to either proceed or cancel it's proposed execution.
Setup
forge install
Building
forge build
Testing
forge test