def rule(event):
    if all(
        [
            any(
                [
                    ":\\Perflogs\\" in event.deep_get("Image", default=""),
                    ":\\Users\\All Users\\" in event.deep_get("Image", default=""),
                    ":\\Users\\Default\\" in event.deep_get("Image", default=""),
                    ":\\Users\\NetworkService\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\addins\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\debug\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\Fonts\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\Help\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\IME\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\Media\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\repair\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\security\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\System32\\Tasks\\" in event.deep_get("Image", default=""),
                    ":\\Windows\\Tasks\\" in event.deep_get("Image", default=""),
                    "$Recycle.bin" in event.deep_get("Image", default=""),
                    "\\config\\systemprofile\\" in event.deep_get("Image", default=""),
                    "\\Intel\\Logs\\" in event.deep_get("Image", default=""),
                    "\\RSA\\MachineKeys\\" in event.deep_get("Image", default=""),
                ]
            ),
            not any(
                [
                    event.deep_get("Image", default="").startswith(
                        "C:\\Users\\Public\\IBM\\ClientSolutions\\Start_Programs\\"
                    ),
                    all(
                        [
                            event.deep_get("Image", default="").startswith(
                                "C:\\Windows\\SysWOW64\\config\\systemprofile\\Citrix\\UpdaterBinaries\\"
                            ),
                            event.deep_get("Image", default="").endswith(
                                "\\CitrixReceiverUpdater.exe"
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
