def rule(event):
    if all(
        [
            event.deep_get("Image", default="") == "TeamViewer_Desktop.exe",
            event.deep_get("ParentImage", default="") == "TeamViewer_Service.exe",
            event.deep_get("CommandLine", default="").endswith(
                "TeamViewer_Desktop.exe --IPCport 5939 --Module 1"
            ),
        ]
    ):
        return True
    return False
