def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\svchost.exe"),
            any(
                [
                    " -k msupdate" in event.deep_get("ParentCommandLine", default=""),
                    " -k msupdate2" in event.deep_get("ParentCommandLine", default=""),
                    " -k alg" in event.deep_get("ParentCommandLine", default=""),
                ]
            ),
            event.deep_get("Image", default="").endswith("\\rundll32.exe"),
            any(
                [
                    "UpdateDriverForPlugAndPlayDevicesW"
                    in event.deep_get("CommandLine", default=""),
                    "ServiceMain" in event.deep_get("CommandLine", default=""),
                    "DiUninstallDevice" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
