def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\conhost.exe"),
            "--headless" in event.deep_get("ParentCommandLine", default=""),
        ]
    ):
        return True
    return False
