def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\wsmprovhost.exe"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\cmd.exe"),
                    event.deep_get("Image", default="").endswith("\\sh.exe"),
                    event.deep_get("Image", default="").endswith("\\bash.exe"),
                    event.deep_get("Image", default="").endswith("\\powershell.exe"),
                    event.deep_get("Image", default="").endswith("\\pwsh.exe"),
                    event.deep_get("Image", default="").endswith("\\wsl.exe"),
                    event.deep_get("Image", default="").endswith("\\schtasks.exe"),
                    event.deep_get("Image", default="").endswith("\\certutil.exe"),
                    event.deep_get("Image", default="").endswith("\\whoami.exe"),
                    event.deep_get("Image", default="").endswith("\\bitsadmin.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
