def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("TargetObject", default="")
                    == "HKLM\\SYSTEM\\CurrentControlSet\\Control\\MiniNt",
                    event.deep_get("EventType", default="") == "CreateKey",
                ]
            ),
            event.deep_get("NewName", default="")
            == "HKLM\\SYSTEM\\CurrentControlSet\\Control\\MiniNt",
        ]
    ):
        return True
    return False
