def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\rundll32.exe"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\SearchFilterHost.exe"),
                    event.deep_get("Image", default="").endswith("\\SearchProtocolHost.exe"),
                    event.deep_get("Image", default="").endswith("\\sndvol.exe"),
                    event.deep_get("Image", default="").endswith("\\wermgr.exe"),
                    event.deep_get("Image", default="").endswith("\\wwahost.exe"),
                ]
            ),
            not all(
                [
                    event.deep_get("Image", default="").endswith("\\sndvol.exe"),
                    "mmsys.cpl" in event.deep_get("ParentCommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
