def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\winget.exe"),
            event.deep_get("TargetObject", default="").startswith("\\REGISTRY\\A\\"),
            event.deep_get("TargetObject", default="").endswith("\\LocalState\\admin_settings"),
        ]
    ):
        return True
    return False
