飞信协议识别与多元通联关系提取方法
2014-11-07游翔葛卫丽
游翔+葛卫丽
摘 要: 针对飞信协议尚未公开与复杂互联网环境带来的飞信各类应用相关协议识别困难以及单包通联关系缺失等问题,基于SIP协议的基本框架,从文本聊天、文件传输以及音/视频通信三方面解析了飞信常用业务的协议交互过程;提出了端口与正则表达式相结合的飞信协议识别方法和基于会话还原的飞信通联关系提取方法,能够从大量混杂的数据包中快速定位飞信业务报文,获得飞信多种通信行为的通联关系。实验结果证明了本文方法的有效性。
关键字: 协议解析; 多元通联关系; 正则表达式; 飞信协议识别
中图分类号: TN91?34; TP393.01 文献标识码: A 文章编号: 1004?373X(2014)21?0019?05
Protocol identification and multi?conversation relationship extraction in Fetion
YOU Xiang, GE Wei?li
(Department of Information Engineering, Engineering University of Armed Police Force, Xian 710078, China)
Abstract: As the protocols of Fetion are not public, it is difficult to recognize the Fetion application protocals caused by complex Internet environment and single?package conversation relationship is deficient, three common business protocol procedures (text messaging, file transfer and audio/video communication) are parsed on the basis of the basic framework of SIP protocol. The Fetion conversation relationship extraction method based on conversation revivification and protocol identification method of combining port and regular expressions are proposed for quickly locating Fetion service packets in promiscuous raw packets to achieve variety business relationships. Experimental results demonstratd the effectiveness of the method.
Keywords: protocol analysis; conversation relationship; regular expression; Fetion; protocol identification
0 引 言
飞信是中国移动通信集团面向中国移动的手机用户推出的一款即时通信软件。从被动截取分析的角度对飞信软件通信协议进行研究,并提取基于飞信软件通信的通联关系,能够对飞信用户的通信行为进行监控,获得大量的敏感信息。这将对构建社会关系网络、动态寻找和跟踪目标人群提供有力依据,对预防和打击网络团伙犯罪有着重要的意义。
尽管飞信的通信框架比较明确,且通信内容非加密,但是对飞信软件的通联关系进行高效准确地识别和提取还存在诸多难点,如:未知协议导致对飞信各业务相关协议的交互过程不清晰,复杂的互联网环境导致飞信各类应用相关协议识别困难,以服务器中转方式为主的通信过程导致单包提取会缺失大量通联关系。……
