def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\CCleanerDU.dll"),
            not all(
                [
                    any(
                        [
                            event.deep_get("Image", default="").startswith(
                                "C:\\Program Files\\CCleaner\\"
                            ),
                            event.deep_get("Image", default="").startswith(
                                "C:\\Program Files (x86)\\CCleaner\\"
                            ),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\CCleaner.exe"),
                            event.deep_get("Image", default="").endswith("\\CCleaner64.exe"),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
