def rule(event):
    if any(
        [
            all(
                [
                    any(
                        [
                            event.deep_get("ParentImage", default="").endswith("\\WmiPrvSE.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\svchost.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\dllhost.exe"),
                        ]
                    ),
                    event.deep_get("Image", default="").endswith("\\ImagingDevices.exe"),
                ]
            ),
            event.deep_get("ParentImage", default="").endswith("\\ImagingDevices.exe"),
        ]
    ):
        return True
    return False
