秦始皇的原名叫什么| 虱子长什么样子| ala是什么意思| 室内用什么隔墙最便宜| 骨质破坏是什么意思| 手指肚发红是什么原因| 95属什么生肖| h1v是什么病| 血氧饱和度低于90有什么危害| 胃烧灼吃什么立马缓解| 肚脐眼左右两边疼是什么原因| 梦见自己生了个女儿是什么预兆| 什么是阳虚| 薤白是什么东西| 鬼冢虎为什么很少人穿| 场合是什么意思| 身份证号后四位代表什么| 涛字五行属什么| 郡肝是什么部位| 湿气重什么原因| 保护肾吃什么食物好| 麦冬有什么作用| andy是什么意思| 首鼠两端什么意思| 洋葱炒什么菜好吃| 葫芦挂在家里什么位置好| 代言人是什么意思| 月例是什么意思| 1993年出生属什么生肖| 什么地游泳| 总胆固醇偏低是什么意思| 婴儿湿疹不能吃什么| 血小板有什么作用| 心里害怕紧张恐惧是什么症状| Op是什么| 做梦梦见大火是什么意思| 黑科技是什么意思| 小肝癌是什么意思| 蓝莓对身体有什么好处| swag是什么意思| 劲仔小鱼是什么鱼做的| 病例是什么| 阳性是什么意思| 一月四号是什么星座| 案山是什么意思| 牙疼吃什么药好| 发烧了吃什么食物好| 父母坟上长树意味什么| 五香粉是什么| 李子有什么功效| 能吃是福是什么意思| 碱性磷酸酶是什么| 谵语是什么意思| 手上长毛是什么原因| 中秋节为什么要吃月饼| 抗药性是什么意思| 米索前列醇片是什么药| 碧螺春是什么茶| pcr是什么| 脚踝水肿是什么原因| 2025是什么生肖年| 10月5号什么星座| 手指头红是什么原因| paris是什么牌子| 右手大拇指抖动是什么原因| 睡觉张嘴巴是什么原因| 荨麻疹是什么| 夫复何求是什么意思| 猫屎为什么那么臭| 什么的陪伴| trendiano什么牌子| 感冒嗓子疼吃什么消炎药| 珍珠母是什么东西| 饕餮是什么| 不稀罕是什么意思| 老花眼是什么原因引起的| 痹症是什么病| 整装是什么意思| 狗狗咳嗽吃什么药好得快| 肾痛在什么位置痛| 龟代表什么生肖| 梦见自己生个女孩是什么意思| 血脂高不能吃什么食物| 胆囊肌腺症是什么病| 荆芥不能和什么一起吃| 摸鱼什么意思| 天字加一笔是什么字| 双肺纹理增粗是什么意思| 孕妇头晕是什么原因| 每延米是什么意思| 上火喝什么茶效果最好| 跑步对身体有什么好处| 世事无常什么意思| fev1是什么意思| cathy是什么意思| 微腺瘤是什么| 生吃苦瓜有什么好处和坏处| 前列腺炎有些什么症状| 黑曜石属于五行属什么| 白切鸡用什么鸡| 老是犯困想睡觉是什么原因| 什么食物含钙高| 地球属于什么星系| 什么是自由度| 坐小月子可以吃什么水果| 纸醉金迷下一句是什么| 舌头火辣辣的是什么病| 焚香是什么意思| 什么微风| 木加号读什么| 穿什么内衣好| 口腔医学学什么课程| 孕妇什么水果不能吃| 人类祖先是什么动物| 黄连膏有什么功效和作用| 经常喝茶叶有什么好处| 吃榴莲有什么好处| 梦见输钱是什么预兆| 什么是十字花科蔬菜| 女人梦到被蛇咬是什么意思| 男士阴囊痒用什么药膏| 笑掉大牙是什么动物| 为什么现在不建议输液| 塔罗牌是什么| mackage是什么牌子| 福兮祸兮是什么意思| 射手座是什么星象| 医学P代表什么| 盆腔b超检查什么| s925是什么意思| 6月7号是什么星座| 脑干诱发电位检查是检查什么| 启攒是什么意思| 手机NFC什么意思| 9月27日是什么星座| 辐射是什么意思| 下过海是什么意思| 为什么不建议切除脂肪瘤| 尿路感染不能吃什么东西| 什么是云| 尿频吃什么药| 心有余而力不足什么意思| 黄牛票是什么意思| 胡萝卜什么颜色| 司马光和司马迁是什么关系| 电泳是什么| grace什么意思中文| 甘油三酯高吃什么药效果好| 冬菇有什么功效与作用| 鼻涕粘稠是什么原因| 收悉是什么意思| 冬虫夏草生长在什么地方| 吃什么帮助消化通便| 一什么春笋| 夏至要吃什么| 三点水加分念什么| 身上长疣是什么原因| 性激素六项什么时候检查| 怕冷不怕热是什么体质| 寄居蟹用什么水养| 阴虚吃什么食物| 鸽子吃什么粮食| 胃息肉有什么危害| 手机代表什么生肖| 头疼是什么原因引起的| 水镜先生和司马懿是什么关系| 国师是什么意思| 低密度脂蛋白偏高吃什么食物| 阑尾炎手术后可以吃什么| b型和ab型生的孩子是什么血型| 吃杏子有什么好处| 唇炎用什么药| 用黄瓜敷脸有什么功效| 晨咳是什么原因引起的| 氤氲是什么意思| 副县长是什么级别| 毛五行属什么| 乳头痛是什么征兆| 精尽人亡什么意思| 宴字五行属什么| 乾隆是什么生肖| 摔伤用什么药好得快| 肚子胀气是什么原因引起的| 十斋日是什么意思| 肝病有什么反应| 幼稚是什么意思| 睡不着觉有什么办法| 救星是什么意思| 汗疱疹是什么| 频繁流鼻血是什么原因| 黑脸代表什么| 荷叶有什么作用| 掉头发严重吃什么东西可以改善| 脚心发痒是什么原因| tid是什么意思| 守望相助是什么意思| 健康管理师是干什么的| 病毒性感冒什么症状| 暗的反义词是什么| 5.20什么星座| 3月份什么星座| 身份证号码最后一位代表什么| 儿童坐动车需要带什么证件| 4月6号是什么星座| 医院规培生是什么意思| 白细胞和血小板高是什么原因| 湿热会引起什么症状| 狐狸的尾巴有什么作用| 世界上最难的字是什么| 若无其事的若是什么意思| 小孩办理护照需要什么材料| 处女座后面是什么星座| 眼睛有点黄是什么原因| 孩子睡觉咬牙齿是什么原因引起的| 居士是什么意思| mra是什么药| 减肥最快的方法是什么| 吃地瓜有什么好处| 单核细胞百分比偏高说明什么| 薄荷绿是什么颜色| 为什么射出的精子里有淡红色| 龟头上有小红点是什么| 派出所所长什么级别| o型血和什么血型容易溶血| 酚妥拉明是什么药| 什么叫磁场| 马拉松起源与什么有关| 牙齿一碰就疼是什么原因| 慢性胆囊炎是什么原因引起的| 外围是什么意思| 吃什么利尿最快去腹水的| 生肖龙和什么生肖相冲| 满身红点是什么病| 望尘莫及什么意思| 脾囊肿是什么病严重吗| 类固醇是什么药| 尿酸高会引起什么病| 风湿性关节炎吃什么药| 抗体弱阳性是什么意思| 回盲瓣呈唇形什么意思| 钠低是什么原因造成的| 胸透主要检查什么| sf是什么意思| 新房送什么礼物好| 身上出现白块什么原因| 卜留克是什么菜| 枣什么时候成熟| 什么人会得免疫性脑炎| 丝状疣是什么原因长出来的| 智商120是什么水平| 肉卷炒什么菜好吃| 拔完牙吃什么药| 胸膜炎吃什么药| 风向标是什么意思| 神父是什么意思| 汗蒸是什么意思| 信阳毛尖属于什么茶| 麻鸡是什么鸡| 什么是真菌| 神父和修女是什么关系| 吃什么英语怎么说| 肝火旺盛吃什么药好| 什么子孙| 犯困是什么原因引起的| 百度

Monday, 16 March 2015

Pcap2XML/Sqlite - Convert 802.11 Packets to XML and SQLITE




This tool converts 802.11 packet traces (PCAP format) into an XML and SQLITE equivalent so you can now run XPATH/XQUERY/SQL queries on the packets.

Why do we need this?


Wireshark is great when it comes to capturing and filtering packet traces. However, it has no facility for macro level tasks. Here are some answers which Wireshark cannot give you out of the box:


  • Give me all device MAC addresses in the PCAP
  • Give me a unique list of all Access Point/Ad-Hoc networks in the PCAP
  • ... 
Of course, this is by design. Wireshark is a packet capture tool and not a data analysis platform. 


This is where Pcap2XMl/Sqlite comes in! We map every header field in an 802.11 packet to an XML and SQLITE Equivalent. Once we convert every packet into these formats, it is extremely easy to run analysis tools on them as you shall see in latter part of this post.

Where can this tool be used?

This tool can be used anywhere there is a need to analyze individual packets. However, we had the following purposes in mind:


  • Teaching Wi-Fi security using Packet Analysis
  • Deriving Macro-Stats on a PCAP file as discussed in the previous section
  • Writing a simple Wi-Fi IDS :) 
  • ...


How does the tool work?

Below is an example of the tool running on a 50MB 802.11 packet trace and creating an XML and SQLITE file:


Examples of Analysis

As you can see in the previous section, the tool has created sample.db and sample.xml.

Let us look at sample.db using Sqlite Browser:

Table containing all the packets:



Simple filter for Beacon Frames:



Macro Stats - Get All Distinct Device MAC Addresses in the PCAP




Macro Stats - Select All Distinct MACs sending Beacon Frames



Macro Stats - Select All Distinct MACs receiving Data Frames


Macro Stats - Get the Average Frame Length



Macro Stats - Get the inter-packet time delta! 





... there are tons of such examples possible as you can see. 


Can you outline some of the other interesting features?


  • Ability to select only a packet range or selected packets
  • Ability to monitor a PCAP file live for new packets
  • Automatic update checker for newer versions
  • ...
We highly recommend you check out the video tutorials we are making on this tool. 


How are the 802.11 headers mapped to XML and SQLITE?


In version 1.0, we are only mapping the 802.11 MAC Header for all frames (Management, Data and Control).

Here is the XML Schema:


Here is the SQLITE DB Schema:



Future versions will have all frames mapped apart from the Data frame payloads.

I need an output in other formats e.g. CSV, JSON, MySQL etc.

 

We chose XML and SQLITE because one could easily write simple tools in Python or other languages to convert this to other formats. At this time, we have no plans to support any other format.

What is the feature roadmap?


  • Parse and map all Management Packets (April 2015)
  • Parse and map all Control Packets (May 2015)
  • Parse and map some fields from Data Packet (May 2015)
  • Integrate with Graphs and Charting tools (June 2015)
  • Allow reverse conversion from XML, SQLITE to PCAP (July 2015) 
  • Integrate and test with PCAP to Air tools for Packet replay  (July 2015) 
  • ...


Is the tool open source? 


The tool will always be free to use but currently the source code is not public. We might change this later once we feel the tool is stable enough for collaborating. The tool is digitally signed with our certificate for authenticity.

Where can I Download this? are there any Tutorials/Documentation?





No comments:

Post a Comment

wc的完整形式是什么 心口疼是什么原因女性 妇炎康片有什么副作用 什么可以代替人体润滑油 口下面一个巴念什么
香肠炒什么菜好吃 孕妇吃鹅蛋有什么好处 胀气吃什么食物好 时值是什么意思 桑葚和枸杞泡水喝有什么好处
尿频吃什么药 签注什么意思 备孕要注意什么 四月初八是什么日子 脾肾两虚吃什么中成药最好
食人鱼长什么样 抗氧化什么意思 为什么乳头会痒 膻是什么意思 企鹅吃什么
日本的町是什么意思hcv7jop6ns3r.cn 琪五行属什么imcecn.com 泸州老窖是什么香型hcv9jop4ns4r.cn 墨西哥讲什么语言hcv9jop1ns9r.cn 流星雨是什么意思hcv9jop3ns5r.cn
黑色上衣搭配什么颜色裤子好看adwl56.com 什么是山海经hcv8jop9ns6r.cn 血压太低有什么危害hanqikai.com 手掌麻是什么原因引起的hcv9jop7ns0r.cn 茶走是什么意思hcv7jop7ns0r.cn
鸡为什么吃自己下的蛋hcv7jop9ns2r.cn 记者学什么专业hcv9jop7ns0r.cn 黑瞎子是什么动物xianpinbao.com 肛门痒挂什么科检查hcv7jop5ns1r.cn 天庭是什么意思hcv9jop3ns1r.cn
洗发水什么牌子好hcv8jop4ns5r.cn vera是什么意思hcv7jop4ns8r.cn 紫色适合什么肤色的人hcv9jop4ns2r.cn 牙出血是什么病的前兆hcv8jop9ns7r.cn 白色舌苔厚是什么原因hcv9jop2ns1r.cn
百度