def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\tscon.exe"),
                    event.deep_get("OriginalFileName", default="") == "tscon.exe",
                ]
            ),
            event.deep_get("IntegrityLevel", default="") in ["System", "S-1-16-16384"],
        ]
    ):
        return True
    return False
