I wish I could help you but I haven't touched windows in decades. Perhaps someone else can chime in.
Anywho, I'm happy for the info on linux. I was looking for a project that would require me to up my bash skills anyway. This sounds perfect
So you'd have to write a driver that hooked itself at appropriate step in IO Request processing, then it could inspect and gather data just like eBPF.
Procmon uses diagnostic interfaces from outside kernel, might require debug permissions.