一、查看文件类型PE64 无壳运行无提示信息,直接输入后回车,程序退出二、IDA静态分析1.查看main函数输入的字符串进行一系列加密处理后,最终与0x22进行循环异或,再与题目所给数组进行比较,若一致则输出正确提示题目所给数组提取为:unsigned char ida_chars[] ={ 0x9E, 0xE7, 0x30, 0x5F, 0xA7, 0x01, 0xA6, 0x53, 0x59, 0x1B, 0x0A, 0x20, 0xF1, 0x73, 0xD1, 0x0E, 0xAB, 0x09, 0x84, 0x0E, 0x8D, 0x2B};2.查看sub_140001120阅读代码后发现符合RC4算法的特征运算判断此函数为S盒变换3.查看sub_140001240此函数为密钥流生成,以及密钥流与明文异或三、解题RC4为对称加密算法,故对密文再次进行加密即可(1)先将题目所给数组与0x22进行循环异或,并以字节流输出,得到密文。脚本如下:res=[0x9E, 0xE7, 0x30, 0x5F, 0xA7, 0x01, 0xA6, 0x53, 0x59, 0x1B,
Norman1z