def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\runonce.exe"),
            event.deep_get("ParentImage", default="").endswith("\\rundll32.exe"),
            "setupapi.dll" in event.deep_get("ParentCommandLine", default=""),
            "InstallHinfSection" in event.deep_get("ParentCommandLine", default=""),
        ]
    ):
        return True
    return False
