def rule(event):
    if all(
        [
            any(
                [
                    any(
                        [
                            "\\AppData\\Roaming\\Ethereum\\keystore\\"
                            in event.deep_get("FileName", default=""),
                            "\\AppData\\Roaming\\EthereumClassic\\keystore\\"
                            in event.deep_get("FileName", default=""),
                            "\\AppData\\Roaming\\monero\\wallets\\"
                            in event.deep_get("FileName", default=""),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\Bitcoin\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\BitcoinABC\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\BitcoinSV\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\DashCore\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\DogeCoin\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\Litecoin\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\Ripple\\wallet.dat"
                            ),
                            event.deep_get("FileName", default="").endswith(
                                "\\AppData\\Roaming\\Zcash\\wallet.dat"
                            ),
                        ]
                    ),
                ]
            ),
            not any(
                [
                    event.deep_get("Image", default="") == "System",
                    any(
                        [
                            event.deep_get("Image", default="").startswith(
                                "C:\\Program Files (x86)\\"
                            ),
                            event.deep_get("Image", default="").startswith("C:\\Program Files\\"),
                            event.deep_get("Image", default="").startswith(
                                "C:\\Windows\\system32\\"
                            ),
                            event.deep_get("Image", default="").startswith(
                                "C:\\Windows\\SysWOW64\\"
                            ),
                        ]
                    ),
                ]
            ),
            not all(
                [
                    event.deep_get("Image", default="").startswith(
                        "C:\\ProgramData\\Microsoft\\Windows Defender\\"
                    ),
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\MpCopyAccelerator.exe"),
                            event.deep_get("Image", default="").endswith("\\MsMpEng.exe"),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
