News for hackers. Stuff that matters.
Re:Microsoft Can Fix Ransomware Tomorrow by EvanAnderson on Friday July 14, 2023 @01:09PM (#36726792)
For several years I’ve been meaning to write some code to use ETW on a file server to profile calls to CreateFile, associate them to an SMB client, and ultimately blackhole connectivity for that client if an anomalous “velocity” of calls is reached.

It would take some significant baseline measurement to determine thresholds. Determining what’s “normal” for a client would be a fun exercise itself.

I’ve never done the PoC work to see if it’s feasible to even do this. It touches APIs I’m not familiar with (ETW looks like a dark and twisty maze) so it wasn’t something I could quickly knock together.

Maybe somebody else could run with this. I was going to do this as Free software but there’s probably money to be made with it, too.

Re:Microsoft Can Fix Ransomware Tomorrow by markus_zhang on Friday July 14, 2023 @01:14PM (#36726875)
Can you please elaborate how to use ETW to profile system calls?
Re:Microsoft Can Fix Ransomware Tomorrow by EvanAnderson on Friday July 14, 2023 @01:17PM (#36726933)
Yeah— that’s what I can’t do. I know Process Monitor can do it, so the API is there, but it’s not an API I’ve ever used.

That’s the research I’ve been putting off for 5+ years.

Re:Microsoft Can Fix Ransomware Tomorrow by markus_zhang on Friday July 14, 2023 @01:25PM (#36727054)
Thanks, I'm going to take a look of the ETW doc.
Re:Microsoft Can Fix Ransomware Tomorrow by DougN7 on Friday July 14, 2023 @09:33PM (#36732258)
You might want to take a look at PA File Sight. It’s been doing something sort of like this for many years.