def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("Product", default="") == "UACMe",
                    event.deep_get("Company", default="")
                    in [
                        "REvol Corp",
                        "APT 92",
                        "UG North",
                        "Hazardous Environments",
                        "CD Project Rekt",
                    ],
                    event.deep_get("Description", default="")
                    in ["UACMe main module", "Pentesting utility"],
                    event.deep_get("OriginalFileName", default="") in ["Akagi.exe", "Akagi64.exe"],
                ]
            ),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\Akagi64.exe"),
                    event.deep_get("Image", default="").endswith("\\Akagi.exe"),
                ]
            ),
            any(
                [
                    "IMPHASH=767637C23BB42CD5D7397CF58B0BE688"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=14C4E4C72BA075E9069EE67F39188AD8"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=3C782813D4AFCE07BBFC5A9772ACDBDC"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=7D010C6BB6A3726F327F7E239166D127"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=89159BA4DD04E4CE5559F132A9964EB3"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=6F33F4A5FC42B8CEC7314947BD13F30F"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=5834ED4291BDEB928270428EBBAF7604"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=5A8A8A43F25485E7EE1B201EDCBC7A38"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=DC7D30B90B2D8ABF664FBED2B1B59894"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=41923EA1F824FE63EA5BEB84DB7A3E74"
                    in event.deep_get("Hashes", default=""),
                    "IMPHASH=3DE09703C8E79ED2CA3F01074719906B"
                    in event.deep_get("Hashes", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
