View Single Post
  #1  
Old June 8th 18, 02:51 PM posted to alt.comp.hardware.pc-homebuilt
[email protected]
external usenet poster
 
Posts: 533
Default Time Slice Visualizer to Detect Firmware Spyware using CPU.

Now google groups isn't working lol.

Anyway here is the tool, I made it available via github cause mijndomein.nl is also not working correctly.

https://github.com/SkybuckFlying/Hel...pplication.exe

This tool spawns 1 gui thread and 1 main processing thread.

The 1 main processing thread will visualize it's time slices by drawing black, red or green pixels.

The black gaps represent interrupted activity. If it's black the thread could not run and something else was run. Red is little time was left to process that particular pixel could also be slightly suspicious but could also indicate the end of a time slice.

Green indicates the thread had cpu time available to fill the pixel at least twice.

Which is probably insufficient to be super reliable or good indicator but at least it's something, so red = pixel was filled exactly once, green greater than once.

However since time slices are usually 10 milliseconds, this simple tool should be enough for now to get an idea if something suspicious is running on the system.

This tool was not created to detect firmware spyware in particular, it was written to simply to examine the effect of time slicing on audio i/o buffers. Paul realized such a tool might be able to detect spyware inside firmware which interrupts the processor to run it's spyware.

This tool may therefore detect it.

Perhaps more advanced tools can be written in the future.

For now enjoy it for what it's worth !

Bye,
Skybuck.