And a home-baked ransomware should trigger Eset, Norton, AV x, y, z beacause?
A real-world ransomware
1. Steps on a solid foundation of previous successful attacks.
2. Is written for money by fully-dedicated TEAMS.
3. Takes a lot of time + trial and error.
4. Rarely just pops up; ransomware is not just one executable modifying and encrypting files, it's a complete attack vector.
5. Together with file encryption algorithms, also contains mutliple logics to be stealthy, hidden and fast. Did you program those? I doubt you did.
Your executable looks like some freebie that encrypts files for user's security & on-demand. I would actually be very concerned if it triggers detection.
ML-based solution will trigger an alarm when it has to trigger it. You can't make it squeal with 50 lines of code.
I've tested many BB with a lot of ransomware and they always seem to be great at blocking that, with the exception of McAfee. Ransomware detection should not be anyone's concern in 2020.