def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\amsi.dll"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\ExtExport.exe"),
                    event.deep_get("Image", default="").endswith("\\odbcconf.exe"),
                    event.deep_get("Image", default="").endswith("\\rundll32.exe"),
                ]
            ),
        ]
    ):
        return True
    return False
