def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\winword.exe"),
                    event.deep_get("Image", default="").endswith("\\excel.exe"),
                    event.deep_get("Image", default="").endswith("\\powerpnt.exe"),
                    event.deep_get("Image", default="").endswith("\\msaccess.exe"),
                    event.deep_get("Image", default="").endswith("\\mspub.exe"),
                    event.deep_get("Image", default="").endswith("\\eqnedt32.exe"),
                    event.deep_get("Image", default="").endswith("\\visio.exe"),
                    event.deep_get("Image", default="").endswith("\\wordpad.exe"),
                    event.deep_get("Image", default="").endswith("\\wordview.exe"),
                    event.deep_get("Image", default="").endswith("\\certutil.exe"),
                    event.deep_get("Image", default="").endswith("\\certoc.exe"),
                    event.deep_get("Image", default="").endswith("\\CertReq.exe"),
                    event.deep_get("Image", default="").endswith("\\Desktopimgdownldr.exe"),
                    event.deep_get("Image", default="").endswith("\\esentutl.exe"),
                    event.deep_get("Image", default="").endswith("\\finger.exe"),
                    event.deep_get("Image", default="").endswith("\\notepad.exe"),
                    event.deep_get("Image", default="").endswith("\\AcroRd32.exe"),
                    event.deep_get("Image", default="").endswith("\\RdrCEF.exe"),
                    event.deep_get("Image", default="").endswith("\\mshta.exe"),
                    event.deep_get("Image", default="").endswith("\\hh.exe"),
                ]
            ),
            any(
                [
                    event.deep_get("TargetFilename", default="").endswith(".zip"),
                    event.deep_get("TargetFilename", default="").endswith(".rar"),
                    event.deep_get("TargetFilename", default="").endswith(".7z"),
                    event.deep_get("TargetFilename", default="").endswith(".diagcab"),
                    event.deep_get("TargetFilename", default="").endswith(".appx"),
                ]
            ),
        ]
    ):
        return True
    return False
