def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\wscript.exe"),
            "\\AppData\\Local\\Temp" in event.deep_get("ParentCommandLine", default=""),
            ".zip" in event.deep_get("ParentCommandLine", default=""),
            "update" in event.deep_get("ParentCommandLine", default=""),
            ".js" in event.deep_get("ParentCommandLine", default=""),
            any(
                [
                    "Chrome" in event.deep_get("ParentCommandLine", default=""),
                    "Edge" in event.deep_get("ParentCommandLine", default=""),
                    "Firefox" in event.deep_get("ParentCommandLine", default=""),
                    "Opera" in event.deep_get("ParentCommandLine", default=""),
                    "Brave" in event.deep_get("ParentCommandLine", default=""),
                    "Vivaldi" in event.deep_get("ParentCommandLine", default=""),
                ]
            ),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\cmd.exe"),
                    event.deep_get("Image", default="").endswith("\\powershell.exe"),
                    event.deep_get("Image", default="").endswith("\\pwsh.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
