The goal is to create a simple app to demostrate how could we identify a remote session with some metrics regarding keystroke activity
The Swift app monitors key down and up and some metadata about each of them that are used to create the metrics about processing delay and flight time.
Then the analysis.py script is used against the output of the swift app to create a chart that can be used to compare each session and identify the key differences.
The script doesn't require SUDO so you can use it against your own session.