def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\frpc.exe"),
                    event.deep_get("Image", default="").endswith("\\frps.exe"),
                ]
            ),
            "\\frpc.ini" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "MD5=7D9C233B8C9E3F0EA290D2B84593C842" in event.deep_get("Hashes", default=""),
                    "SHA1=06DDC9280E1F1810677935A2477012960905942F"
                    in event.deep_get("Hashes", default=""),
                    "SHA256=57B0936B8D336D8E981C169466A15A5FD21A7D5A2C7DAF62D5E142EE860E387C"
                    in event.deep_get("Hashes", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
