python-based rogue system detection