Woah, cool to see a bit of how it all works. Seems similar to basic antivirus signature checking?
As a side note, a few years back, they had a GDC talk about a (then-new) machine learning based approach to catching cheaters. Regardless of how it worked out, I found it fascinating. The presenter delivered the problem and solution approach so well I'd still like to work on something like this some time. I think they're still updating this for CS2, so it would be really cool to see how far it's gotten now.
https://www.youtube.com/watch?v=kTiP0zKF9bc