SlideShare a Scribd company logo
1 of 49
Download to read offline
PA-3 Debugging Wireless with Wireshark
Including Large Trace Files, AirPcap &
Cascade Pilot
Megumi Takeshita, ikeriri network service
1
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Megumi Takeshita, ikeriri network service
a.k.a. packet otaku
• Founder, ikeriri network service co.,ltd
since 2002 ← Enterprise solution,
Nortel networks ←Bay Network
• Wrote 10+ books about packet
capturing, analysis, inspection, and
consulting ( in Japanese )
• Reseller of Riverbed Technology
( former CACE technologies ) and
Metageek in Japan
• Packet capturing Otaku ( geek ) from
Ethereal, 1st Sharkfest !
2
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Ikeriri network service co., ltd.
Packet capture company
3
• Consulting
• Reselling
• Debugging
• Investigating
• Training
Training at JGSDF
Packet
Capture
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Reseller of Riverbed Technology,
Metageek, OSCIUM, Dualcomm etc.
• Ikeriri is one of the reseller of Packet capture /
analysis products in Japan
• Riverbed Technology’s AirPcap, TurboCap, Pilot
• Metageek Wi-Spy and Chanalyzer
• OSCIUM products
• Dualcomm products
etc.
4
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
5
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
boundary value analysis and
equivalence partitioning
• Packet capture debugging is like a Black box-test
• Use Pcap/pcapng for boundary value analysis
two ore more pattern / type of the issue
OK pcap and NG pcap,
setON pcap, setOFF pcap
• Collect Pcap in less experiments using equivalence
partitioning ( grouping same environment pattern )
We choose only 1 pcap of them and test
6
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Comparison pcap files
• We should capture comparison pcap files for
debugging because there may be clues !
• Using boundary value analysis and equivalence
partitioning, collect comparison pcaps.
• Some cases we can easily find the problem, keys,
and the answer only watching 2 pattern of pcaps.
• Frame color,
Expert info is easiest
7
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Gathering information and making table
• Hearing the customer in deep,
address (MAC,IP) port (TCP,UDP)
log message, how to ? How many ?
• Host type, OS, Software version
*Android is difficult ( many variation)
iOS ( iPhone and iPad ) is simple
Windows 7/8 may be in same result
• Frequency is also important
8
Create plan of
Experiment
Test capture
procedure
the iteration
number
test kind, types
test configuration
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Standards and protocol and sequence
• Standards, protocol helps us
debugging, using documents,
White Papers in IEEE, RFCs
in IANA and other sites
• Sequence diagram is very
much hint for debug for
checking and comparing
9
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
10
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Before capturing
• Clear browser cache for capturing all communication
packet.
• DNS cache is also clear if you need to get DNS query-
response packet
• Disable or turn off Windows firewall and personal
firewall etc.
• Stop and exit software and service of sending packet
like VPN(keep alive), UPnP(SSDP discovery), iTunes
• Record Date, IP address, tcp port and MAC address for
inspecting later.
11
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• Executing ipconfig and getmac command and
redirecting help us inspecting later
12
Tips1 redirecting information
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• Show tcp/udp connections using netstat,
and I recommend piping and find matching (LISTEN)
netstat –b tells bind application to socket.
13
TIPS2: netstat –a and netstat -b
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• Please check your NIC status ( including Error and
Discard frames ) using netstat –e command.
14
TIPS3
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Check settings in NIC
• Today almost NICs offload tcp, udp/ip function.
• Almost NICs support Gigabit Ethernet and carrier
extension ( over 1500MTU ex. 9kb MTU)
• Wireshark read pcap stream from WinPcap
• Please check offload settings in properties
in NIC ( from device manager)
• Also please check MTU setting too.
(Jumbo frame or MTU)
15
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Use Windows Search Index
• To add extension of cap and pcap,
set type as clear text search,
We can search pcap/cap files like Google !
off course in multibytes ( in Japanese )
• Control panel -> index option / folder option
16
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
17
Capturing many interface in one time
Check multiple interface and capture
• In case of checking many interface in the same time,
now check multiple interface and start capture.
• Trace file is combined with multiple interface
• For example upstream/downstream from router,
client/server and so on.
18
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
USB Debugging
• We can capture USB frames using Linux
• VMware environment also works
19
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Using display filter
• Protocol.field.value style
• Easiest way is taking use of actual header field
(right click and show submenu and set/prepare filter )
• Condition of multiple format &&(AND) ||(OR)
parameter value can be compared ( gt ge / lt le )
• Automatic complication will help you to create
• Contains keyword
http.request.url contains ikeriri
20
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Mark and export specified packet
Print packet information to text file
• Marking packet is important for good report.
• Export specified packet and create good trace file.
• Text-based packet information is usable to send
email and making report.
21
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
TIPS:Useful shortcut
Shortcut contents
Ctrl+↑,↓ Set mouse in packet detail pane, easy to go next / back
previous packet ( useful !! )
←,→ Expand / collapse information
Ctrl+O,Ctrl+W,Ctrl+P,
Ctrl+P,Ctrl+S,Ctrl+Q
Open, Window Close, Print, Save,Quit
Ctrl+H Output Hex data ( for exporting raw data )
Ctrl+F Find packet
Ctrl+T Set reference time ( for calculating response time)
Ctrl+Shift+P,
Ctrl+Shift+A
preference
Profile
Ctrl+[Space] Immediately clear temporary coloring rules.
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
23
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Capturing PING(ICMP) packet
• Start capturing, then test ping command
• Source / destination IP and MAC address is necessary for
communication under TCP/IP
• ARP request / response loop make address resolution.
• ARP result is remembered and cached for 120 seconds in
each PCs
• ICMP echo request / response loop check layer 3 connectivity.
24
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
IP trace file analysis
• Check identification field of IP header
same Identification number means re-send packet,
fragmentation, and security problem.
• TTL field is the hint of hop counts ( always the node
uses 128/64 )
• Check DF/MF bit and offset field in IP header.
• Compare IP length field and MTU size.
25
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
ping a.b.c.d –l 1500 -f
• original
• Fragment1
• Fragment2
26
Ethernet II
(14)
IP
(20)
ICMP
(8)
Message
1500
Ethernet II
(14)
IP(20)
DF= MF=
offset=
ICMP
(8)
Message
1472
Ethernet II
(14)
IP(20)
DF= MF=
offset=
Message
28
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Count packet size (MTU1500)
27
 ping IP –l size ※-f fragment disabled
Ethernet II
(14)
IP
(20)
ICMP
(8)
Message
1472(MTU=1500)
ICMP -28
Ethernet II
(14)
IP
(20)
TCP
(20)
Segment size
MSS=1460
TCP HTTP and many protocols -40
Ethernet II
(14)
IP
(20)
UDP
(8)
Datagram size
1472(MTU=1500)
UDP VOIP and video transmission -28
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
PPPoE Header and MTU size according
to Japanese ISPs
• NTT east flets
MTU 1454Bytes MSS 1414Bytes
• NTT west flets premium
MTU 1438Bytes MSS 1398Bytes
• GRE + IPsec (transport mode) 1440 Bytes
GRE + IPsec (tunneling mode) 1420 Byte
• UDP(NAT Traversal)
IP(20) UDP(8) , PPPoE, PPP header
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
(C) いけりり★ネットワークサービス
http://www.ikeriri.ne.jp
29
tfgen
• For checking TCP vs. UDP
it is very useful
30
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Create IO graph and visualize
• Compare TCP ( connection oriented ) and UDP
(connectionless protocol ) and visualize.
• Lets use IO graph function and filter packet by protocol
• Set X axis to seconds and Y axis to bit/tick (means bps)
31
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Check streams TCP/UDP
• Wireshark set stream ID (tcp.stream) in each TCP
connection automatically.
• Filter by tcp stream number and colorize conversation.
• Check bytes using “Follow TCP Stream”
• UDP stream is also analyzing by “Follow UDP Stream”
32
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Export function is very good for HTTP
• We can restore HTTP data from WEB communication
pcap/pcapng files by File>Export>Object>HTTP
• HTTP statistics is important
the count value means Web application performance
1 image map vs. 100 gif file
33
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
FlowGraph gives you a new look of debugging
• Statistics>FlowGraph and maximize the screen
• Display filter is very good ways to create good visualization.
• If you need to follow TCP, set graph to TCP graph.
• Compare behavior with RFC and standards
34
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Trend analysis BASIC
TopN style, and drilled down in details
1. Create TOPN list table of Endpoint and filtered
2. Create N<>other list table of Conversation
3. Then create protocol hierarchy and check stream
35
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Utilize IO graph in two ways
• Set packets to Y axis to create ERROR graph
Histogram style is good for Frequency graph
• Set bit to Y axis to create BPS graph
line style is good for amount graph.
36
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Digest Auth SUCCESS/FAIL
• Digest authentication will be failed when ID/Password mismatch
401 Unauthorized
• If success
37
アクセスー認証(失敗)ー認証(成功).pcapng
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Sample trace
• Try to click “Home” and check trace file.
• Once called control.cgi and c.1.ae.brightness==0
c.1.wb==auto c.1.shade==off c.1.focus==auto c.1.zoom==6040
c.1.pan:=-4014 c.1.tilt:=-153
value send to the server
• Moving picture needs 5Mbps
how about creating IO graph and set Y axis
as a bit/tick
38
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
(C) いけりり★ネットワークサービス
http://www.ikeriri.ne.jp
39
• Need Jumbo frame or IEEE802.11a/n go NX
• We have to capture their own 4 way handshake to
decrypt pcap file secured by WPA2-PSK,
• Its terrible troublesome to match between the WPA2
handshake and the communication packet.
• Set free channel
in test capture
( android 14ch NG)
Use AirPcap and set clear text if possible
1年保守なし
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• In Wireless environment, please watch important
field of IEEE802.11 header, physical (radiotap/PPI)
header ( Type/Subtype, TX Rate, BSSID, CH, RSSI)
• Many troubles are occurred before Data exchange
Type/Subtype, TX rate, BSSID, CH, RSSI
1年保守なし
Prove Req/Ack
host AP
Authentication
Association Req/Ack
Data
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
Between deployments and standards
• IEEE802.11 and related standards, protocols are
not so punctual and irritate rules ( they are not
described in detail and all step, procedure, but just
set the summary )
• For example WPS is famous and many user use
the PIN or button settings, but the deployments in
Wireless devices differs a lot
• We have to check sequences
in detail for debugging
42
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
(C) いけりり★ネットワークサービス
http://www.ikeriri.ne.jp
43
• In old days we use sampling technologies
like SNMP, MRTG, and many flow analysis
such as Cisco NetFlow, sFlow, iFlow
• But small packet ( 64 bytes – 100 bytes ) may be ignored.
Some small packet is important symptom of analysis ( ARP
/ TCP SYN / HTTP GET and others )
Huge packet case
Ignored Ignored Ignored May be
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• Typical Intel’s GigaNIC (e1000),
typical Dell PowerEdge2850 / Xeon 2.8GHz
RAM 1GB (PC3200, DDR2, 400MHz)
• Threadshould is 140Mbps in Frame size = 64
• Frame size = 200 , actual rate 400Mbps
• Frame size = 1500 , may be ok, no problem.
• We need TurboCap
We need TurboCap
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• Using TurboCap, MMMM packets received by the
application NNNN packets accepted by the filter and
dumped to disk
• To fix, Optimize I/O access flow
packet -> IRQ -> SVC -> driver -> OS
• Use 6 cores Xeon-L5640 and 24GB RAM !
( power resolve things and no page files )
• Stop tcpdump and create program using pcap
libraries in C/C++ ( dumpcap.exe )
• Pcap -> standard output -> FIFO -> SQLite
• 3 month no problem
Debugging Environment
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
• We use 250GB pcap file,
huge huge file with Cascade
PilotPE installed into NotePC
• Use view to check macro analysis,
and finally check the actual pcaps
using Wireshark
• Only, best, easiest way to
drive huge pcap file
Driving 250GB pcap file with Pilot
1年保守なし
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
QA and Demonstration
48
Ikeriri network service co., ltd
http://www.ikeriri.ne.jp
ikeriri network service
http://www.ikeriri.ne.jp
(C) Ikeriri network service
http://www.ikeriri.ne.jp
Thank You !!

More Related Content

Similar to PA-3 Debugging Wireless with Wireshark Including Large Trace Files, AirPcap & Cascade Pilot Megumi Takeshita ikeriri.pdf

Internet Technology for the Commodore 64
Internet Technology for the Commodore 64Internet Technology for the Commodore 64
Internet Technology for the Commodore 64Leif Bloomquist
 
Porting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPorting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPeter Griffin
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceSamsung Open Source Group
 
You Can't Correlate what you don't have - ArcSight Protect 2011
You Can't Correlate what you don't have - ArcSight Protect 2011You Can't Correlate what you don't have - ArcSight Protect 2011
You Can't Correlate what you don't have - ArcSight Protect 2011Scott Carlson
 
Telco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_finalTelco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_finalJunho Suh
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.Naoto MATSUMOTO
 
Using IT Equipment in Live Broadcast
Using IT Equipment in Live BroadcastUsing IT Equipment in Live Broadcast
Using IT Equipment in Live BroadcastKieran Kunhya
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus SDN/OpenFlow switch
 
Advertising Fraud Detection at Scale at T-Mobile
Advertising Fraud Detection at Scale at T-MobileAdvertising Fraud Detection at Scale at T-Mobile
Advertising Fraud Detection at Scale at T-MobileDatabricks
 
Ryu SDN Framework
Ryu SDN FrameworkRyu SDN Framework
Ryu SDN FrameworkAPNIC
 
Implementing Telematic Services
Implementing Telematic ServicesImplementing Telematic Services
Implementing Telematic ServicesIvan Ortega
 
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)Jakub Botwicz
 
Tracking the International Space Station with Commodore Computers
Tracking the International Space Station with Commodore ComputersTracking the International Space Station with Commodore Computers
Tracking the International Space Station with Commodore ComputersLeif Bloomquist
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and CaliforniumJulien Vermillard
 
PoC Requirements and Use Cases
PoC Requirements and Use CasesPoC Requirements and Use Cases
PoC Requirements and Use Casesjennimenni
 
ODSA - PoC Requirements and Use Cases
ODSA - PoC Requirements and Use CasesODSA - PoC Requirements and Use Cases
ODSA - PoC Requirements and Use CasesODSA Workgroup
 

Similar to PA-3 Debugging Wireless with Wireshark Including Large Trace Files, AirPcap & Cascade Pilot Megumi Takeshita ikeriri.pdf (20)

LACNOG - Logging in the Post-IPv4 World
LACNOG - Logging in the Post-IPv4 WorldLACNOG - Logging in the Post-IPv4 World
LACNOG - Logging in the Post-IPv4 World
 
Internet Technology for the Commodore 64
Internet Technology for the Commodore 64Internet Technology for the Commodore 64
Internet Technology for the Commodore 64
 
Porting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_GriffinPorting_uClinux_CELF2008_Griffin
Porting_uClinux_CELF2008_Griffin
 
100 M pps on PC.
100 M pps on PC.100 M pps on PC.
100 M pps on PC.
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
You Can't Correlate what you don't have - ArcSight Protect 2011
You Can't Correlate what you don't have - ArcSight Protect 2011You Can't Correlate what you don't have - ArcSight Protect 2011
You Can't Correlate what you don't have - ArcSight Protect 2011
 
Telco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_finalTelco junho cost-effective approach for telco network analysis in 5_g_final
Telco junho cost-effective approach for telco network analysis in 5_g_final
 
How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.How to Speak Intel DPDK KNI for Web Services.
How to Speak Intel DPDK KNI for Web Services.
 
The Computing Continuum.pdf
The Computing Continuum.pdfThe Computing Continuum.pdf
The Computing Continuum.pdf
 
Using IT Equipment in Live Broadcast
Using IT Equipment in Live BroadcastUsing IT Equipment in Live Broadcast
Using IT Equipment in Live Broadcast
 
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics WorkshopLagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
Lagopus presentation on 14th Annual ON*VECTOR International Photonics Workshop
 
Advertising Fraud Detection at Scale at T-Mobile
Advertising Fraud Detection at Scale at T-MobileAdvertising Fraud Detection at Scale at T-Mobile
Advertising Fraud Detection at Scale at T-Mobile
 
Ryu SDN Framework
Ryu SDN FrameworkRyu SDN Framework
Ryu SDN Framework
 
Implementing Telematic Services
Implementing Telematic ServicesImplementing Telematic Services
Implementing Telematic Services
 
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
Cotopaxi - IoT testing toolkit (Black Hat Asia 2019 Arsenal)
 
Ethernet basics
Ethernet basicsEthernet basics
Ethernet basics
 
Tracking the International Space Station with Commodore Computers
Tracking the International Space Station with Commodore ComputersTracking the International Space Station with Commodore Computers
Tracking the International Space Station with Commodore Computers
 
Hands on with CoAP and Californium
Hands on with CoAP and CaliforniumHands on with CoAP and Californium
Hands on with CoAP and Californium
 
PoC Requirements and Use Cases
PoC Requirements and Use CasesPoC Requirements and Use Cases
PoC Requirements and Use Cases
 
ODSA - PoC Requirements and Use Cases
ODSA - PoC Requirements and Use CasesODSA - PoC Requirements and Use Cases
ODSA - PoC Requirements and Use Cases
 

More from Megumi Takeshita

03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita
03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita
03 Dissecting WPA3 Sharkfest '22 US Megumi TakeshitaMegumi Takeshita
 
Dissecting WiFi6 using Wireshark SF21VEU Megumi Takehsita
Dissecting WiFi6 using Wireshark SF21VEU Megumi TakehsitaDissecting WiFi6 using Wireshark SF21VEU Megumi Takehsita
Dissecting WiFi6 using Wireshark SF21VEU Megumi TakehsitaMegumi Takeshita
 
Wireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdfWireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdfMegumi Takeshita
 
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...Megumi Takeshita
 
Audio and Video with Wireshark MegumiTakeshita SF19EU
Audio and Video with Wireshark MegumiTakeshita SF19EUAudio and Video with Wireshark MegumiTakeshita SF19EU
Audio and Video with Wireshark MegumiTakeshita SF19EUMegumi Takeshita
 
Wireshark Visualization TIPS and Tricks
Wireshark Visualization TIPS and TricksWireshark Visualization TIPS and Tricks
Wireshark Visualization TIPS and TricksMegumi Takeshita
 
IEEE80211ac Debugging in a WidowsEnvironment Megumi Takeshita
IEEE80211ac Debugging in a WidowsEnvironment Megumi TakeshitaIEEE80211ac Debugging in a WidowsEnvironment Megumi Takeshita
IEEE80211ac Debugging in a WidowsEnvironment Megumi TakeshitaMegumi Takeshita
 
12 Point And Shoot Packet MegumiTakeshita
12 Point And Shoot Packet MegumiTakeshita12 Point And Shoot Packet MegumiTakeshita
12 Point And Shoot Packet MegumiTakeshitaMegumi Takeshita
 
FilterManiacs_MegumiTakeshita.pdf
FilterManiacs_MegumiTakeshita.pdfFilterManiacs_MegumiTakeshita.pdf
FilterManiacs_MegumiTakeshita.pdfMegumi Takeshita
 
20 QUIC Dissection Megumi Takeshita
20  QUIC Dissection Megumi Takeshita20  QUIC Dissection Megumi Takeshita
20 QUIC Dissection Megumi TakeshitaMegumi Takeshita
 
the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017
the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017
the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017Megumi Takeshita
 
Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...
Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...
Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...Megumi Takeshita
 
08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...
08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...
08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...Megumi Takeshita
 
Wireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdf
Wireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdfWireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdf
Wireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdfMegumi Takeshita
 
Wireless Troubleshooting Tips using AirPcaps DFS Module Debugging
Wireless Troubleshooting Tips using AirPcaps DFS Module DebuggingWireless Troubleshooting Tips using AirPcaps DFS Module Debugging
Wireless Troubleshooting Tips using AirPcaps DFS Module DebuggingMegumi Takeshita
 
HandsomeFlowGraph(Megumi-ikeriri).pdf
HandsomeFlowGraph(Megumi-ikeriri).pdfHandsomeFlowGraph(Megumi-ikeriri).pdf
HandsomeFlowGraph(Megumi-ikeriri).pdfMegumi Takeshita
 
BI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdf
BI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdfBI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdf
BI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdfMegumi Takeshita
 

More from Megumi Takeshita (17)

03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita
03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita
03 Dissecting WPA3 Sharkfest '22 US Megumi Takeshita
 
Dissecting WiFi6 using Wireshark SF21VEU Megumi Takehsita
Dissecting WiFi6 using Wireshark SF21VEU Megumi TakehsitaDissecting WiFi6 using Wireshark SF21VEU Megumi Takehsita
Dissecting WiFi6 using Wireshark SF21VEU Megumi Takehsita
 
Wireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdfWireshark OTG Extend your Wireshark with extcap.pdf
Wireshark OTG Extend your Wireshark with extcap.pdf
 
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
Automation TIPS and Tricks using Wireshark and tshark in Windows environments...
 
Audio and Video with Wireshark MegumiTakeshita SF19EU
Audio and Video with Wireshark MegumiTakeshita SF19EUAudio and Video with Wireshark MegumiTakeshita SF19EU
Audio and Video with Wireshark MegumiTakeshita SF19EU
 
Wireshark Visualization TIPS and Tricks
Wireshark Visualization TIPS and TricksWireshark Visualization TIPS and Tricks
Wireshark Visualization TIPS and Tricks
 
IEEE80211ac Debugging in a WidowsEnvironment Megumi Takeshita
IEEE80211ac Debugging in a WidowsEnvironment Megumi TakeshitaIEEE80211ac Debugging in a WidowsEnvironment Megumi Takeshita
IEEE80211ac Debugging in a WidowsEnvironment Megumi Takeshita
 
12 Point And Shoot Packet MegumiTakeshita
12 Point And Shoot Packet MegumiTakeshita12 Point And Shoot Packet MegumiTakeshita
12 Point And Shoot Packet MegumiTakeshita
 
FilterManiacs_MegumiTakeshita.pdf
FilterManiacs_MegumiTakeshita.pdfFilterManiacs_MegumiTakeshita.pdf
FilterManiacs_MegumiTakeshita.pdf
 
20 QUIC Dissection Megumi Takeshita
20  QUIC Dissection Megumi Takeshita20  QUIC Dissection Megumi Takeshita
20 QUIC Dissection Megumi Takeshita
 
the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017
the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017
the 10 Top Wireshark Tips & Tricks Megumi Takeshita Sharkfest2017
 
Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...
Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...
Basic workshop of IEEE802.11 dissection at Packet Hacking village DEFCON 25 (...
 
08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...
08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...
08 Wireshark as a Spy Watermark Pen Decrypting and Retrieving Information fro...
 
Wireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdf
Wireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdfWireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdf
Wireshark 2.0 Tips for HTTP and HTTP2 Analysis.pdf
 
Wireless Troubleshooting Tips using AirPcaps DFS Module Debugging
Wireless Troubleshooting Tips using AirPcaps DFS Module DebuggingWireless Troubleshooting Tips using AirPcaps DFS Module Debugging
Wireless Troubleshooting Tips using AirPcaps DFS Module Debugging
 
HandsomeFlowGraph(Megumi-ikeriri).pdf
HandsomeFlowGraph(Megumi-ikeriri).pdfHandsomeFlowGraph(Megumi-ikeriri).pdf
HandsomeFlowGraph(Megumi-ikeriri).pdf
 
BI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdf
BI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdfBI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdf
BI-8c_Wireshark_Software_Case_Studies-Megumi_Takeshita.pdf
 

Recently uploaded

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsAndrey Dotsenko
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 

Recently uploaded (20)

Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 

PA-3 Debugging Wireless with Wireshark Including Large Trace Files, AirPcap & Cascade Pilot Megumi Takeshita ikeriri.pdf

  • 1. PA-3 Debugging Wireless with Wireshark Including Large Trace Files, AirPcap & Cascade Pilot Megumi Takeshita, ikeriri network service 1 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 2. Megumi Takeshita, ikeriri network service a.k.a. packet otaku • Founder, ikeriri network service co.,ltd since 2002 ← Enterprise solution, Nortel networks ←Bay Network • Wrote 10+ books about packet capturing, analysis, inspection, and consulting ( in Japanese ) • Reseller of Riverbed Technology ( former CACE technologies ) and Metageek in Japan • Packet capturing Otaku ( geek ) from Ethereal, 1st Sharkfest ! 2 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 3. Ikeriri network service co., ltd. Packet capture company 3 • Consulting • Reselling • Debugging • Investigating • Training Training at JGSDF Packet Capture Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 4. Reseller of Riverbed Technology, Metageek, OSCIUM, Dualcomm etc. • Ikeriri is one of the reseller of Packet capture / analysis products in Japan • Riverbed Technology’s AirPcap, TurboCap, Pilot • Metageek Wi-Spy and Chanalyzer • OSCIUM products • Dualcomm products etc. 4 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 5. 5 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 6. boundary value analysis and equivalence partitioning • Packet capture debugging is like a Black box-test • Use Pcap/pcapng for boundary value analysis two ore more pattern / type of the issue OK pcap and NG pcap, setON pcap, setOFF pcap • Collect Pcap in less experiments using equivalence partitioning ( grouping same environment pattern ) We choose only 1 pcap of them and test 6 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 7. Comparison pcap files • We should capture comparison pcap files for debugging because there may be clues ! • Using boundary value analysis and equivalence partitioning, collect comparison pcaps. • Some cases we can easily find the problem, keys, and the answer only watching 2 pattern of pcaps. • Frame color, Expert info is easiest 7 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 8. Gathering information and making table • Hearing the customer in deep, address (MAC,IP) port (TCP,UDP) log message, how to ? How many ? • Host type, OS, Software version *Android is difficult ( many variation) iOS ( iPhone and iPad ) is simple Windows 7/8 may be in same result • Frequency is also important 8 Create plan of Experiment Test capture procedure the iteration number test kind, types test configuration Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 9. Standards and protocol and sequence • Standards, protocol helps us debugging, using documents, White Papers in IEEE, RFCs in IANA and other sites • Sequence diagram is very much hint for debug for checking and comparing 9 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 10. 10 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 11. Before capturing • Clear browser cache for capturing all communication packet. • DNS cache is also clear if you need to get DNS query- response packet • Disable or turn off Windows firewall and personal firewall etc. • Stop and exit software and service of sending packet like VPN(keep alive), UPnP(SSDP discovery), iTunes • Record Date, IP address, tcp port and MAC address for inspecting later. 11 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 12. • Executing ipconfig and getmac command and redirecting help us inspecting later 12 Tips1 redirecting information Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 13. • Show tcp/udp connections using netstat, and I recommend piping and find matching (LISTEN) netstat –b tells bind application to socket. 13 TIPS2: netstat –a and netstat -b Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 14. • Please check your NIC status ( including Error and Discard frames ) using netstat –e command. 14 TIPS3 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 15. Check settings in NIC • Today almost NICs offload tcp, udp/ip function. • Almost NICs support Gigabit Ethernet and carrier extension ( over 1500MTU ex. 9kb MTU) • Wireshark read pcap stream from WinPcap • Please check offload settings in properties in NIC ( from device manager) • Also please check MTU setting too. (Jumbo frame or MTU) 15 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 16. Use Windows Search Index • To add extension of cap and pcap, set type as clear text search, We can search pcap/cap files like Google ! off course in multibytes ( in Japanese ) • Control panel -> index option / folder option 16
  • 17. Ikeriri network service co., ltd http://www.ikeriri.ne.jp 17
  • 18. Capturing many interface in one time Check multiple interface and capture • In case of checking many interface in the same time, now check multiple interface and start capture. • Trace file is combined with multiple interface • For example upstream/downstream from router, client/server and so on. 18 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 19. USB Debugging • We can capture USB frames using Linux • VMware environment also works 19 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 20. Using display filter • Protocol.field.value style • Easiest way is taking use of actual header field (right click and show submenu and set/prepare filter ) • Condition of multiple format &&(AND) ||(OR) parameter value can be compared ( gt ge / lt le ) • Automatic complication will help you to create • Contains keyword http.request.url contains ikeriri 20 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 21. Mark and export specified packet Print packet information to text file • Marking packet is important for good report. • Export specified packet and create good trace file. • Text-based packet information is usable to send email and making report. 21 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 22. TIPS:Useful shortcut Shortcut contents Ctrl+↑,↓ Set mouse in packet detail pane, easy to go next / back previous packet ( useful !! ) ←,→ Expand / collapse information Ctrl+O,Ctrl+W,Ctrl+P, Ctrl+P,Ctrl+S,Ctrl+Q Open, Window Close, Print, Save,Quit Ctrl+H Output Hex data ( for exporting raw data ) Ctrl+F Find packet Ctrl+T Set reference time ( for calculating response time) Ctrl+Shift+P, Ctrl+Shift+A preference Profile Ctrl+[Space] Immediately clear temporary coloring rules. Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 23. 23 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 24. Capturing PING(ICMP) packet • Start capturing, then test ping command • Source / destination IP and MAC address is necessary for communication under TCP/IP • ARP request / response loop make address resolution. • ARP result is remembered and cached for 120 seconds in each PCs • ICMP echo request / response loop check layer 3 connectivity. 24 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 25. IP trace file analysis • Check identification field of IP header same Identification number means re-send packet, fragmentation, and security problem. • TTL field is the hint of hop counts ( always the node uses 128/64 ) • Check DF/MF bit and offset field in IP header. • Compare IP length field and MTU size. 25 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 26. ping a.b.c.d –l 1500 -f • original • Fragment1 • Fragment2 26 Ethernet II (14) IP (20) ICMP (8) Message 1500 Ethernet II (14) IP(20) DF= MF= offset= ICMP (8) Message 1472 Ethernet II (14) IP(20) DF= MF= offset= Message 28 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 27. Count packet size (MTU1500) 27  ping IP –l size ※-f fragment disabled Ethernet II (14) IP (20) ICMP (8) Message 1472(MTU=1500) ICMP -28 Ethernet II (14) IP (20) TCP (20) Segment size MSS=1460 TCP HTTP and many protocols -40 Ethernet II (14) IP (20) UDP (8) Datagram size 1472(MTU=1500) UDP VOIP and video transmission -28 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 28. PPPoE Header and MTU size according to Japanese ISPs • NTT east flets MTU 1454Bytes MSS 1414Bytes • NTT west flets premium MTU 1438Bytes MSS 1398Bytes • GRE + IPsec (transport mode) 1440 Bytes GRE + IPsec (tunneling mode) 1420 Byte • UDP(NAT Traversal) IP(20) UDP(8) , PPPoE, PPP header Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 30. tfgen • For checking TCP vs. UDP it is very useful 30 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 31. Create IO graph and visualize • Compare TCP ( connection oriented ) and UDP (connectionless protocol ) and visualize. • Lets use IO graph function and filter packet by protocol • Set X axis to seconds and Y axis to bit/tick (means bps) 31 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 32. Check streams TCP/UDP • Wireshark set stream ID (tcp.stream) in each TCP connection automatically. • Filter by tcp stream number and colorize conversation. • Check bytes using “Follow TCP Stream” • UDP stream is also analyzing by “Follow UDP Stream” 32 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 33. Export function is very good for HTTP • We can restore HTTP data from WEB communication pcap/pcapng files by File>Export>Object>HTTP • HTTP statistics is important the count value means Web application performance 1 image map vs. 100 gif file 33 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 34. FlowGraph gives you a new look of debugging • Statistics>FlowGraph and maximize the screen • Display filter is very good ways to create good visualization. • If you need to follow TCP, set graph to TCP graph. • Compare behavior with RFC and standards 34 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 35. Trend analysis BASIC TopN style, and drilled down in details 1. Create TOPN list table of Endpoint and filtered 2. Create N<>other list table of Conversation 3. Then create protocol hierarchy and check stream 35 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 36. Utilize IO graph in two ways • Set packets to Y axis to create ERROR graph Histogram style is good for Frequency graph • Set bit to Y axis to create BPS graph line style is good for amount graph. 36 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 37. Digest Auth SUCCESS/FAIL • Digest authentication will be failed when ID/Password mismatch 401 Unauthorized • If success 37 アクセスー認証(失敗)ー認証(成功).pcapng Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 38. Sample trace • Try to click “Home” and check trace file. • Once called control.cgi and c.1.ae.brightness==0 c.1.wb==auto c.1.shade==off c.1.focus==auto c.1.zoom==6040 c.1.pan:=-4014 c.1.tilt:=-153 value send to the server • Moving picture needs 5Mbps how about creating IO graph and set Y axis as a bit/tick 38 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 40. • Need Jumbo frame or IEEE802.11a/n go NX • We have to capture their own 4 way handshake to decrypt pcap file secured by WPA2-PSK, • Its terrible troublesome to match between the WPA2 handshake and the communication packet. • Set free channel in test capture ( android 14ch NG) Use AirPcap and set clear text if possible 1年保守なし Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 41. • In Wireless environment, please watch important field of IEEE802.11 header, physical (radiotap/PPI) header ( Type/Subtype, TX Rate, BSSID, CH, RSSI) • Many troubles are occurred before Data exchange Type/Subtype, TX rate, BSSID, CH, RSSI 1年保守なし Prove Req/Ack host AP Authentication Association Req/Ack Data Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 42. Between deployments and standards • IEEE802.11 and related standards, protocols are not so punctual and irritate rules ( they are not described in detail and all step, procedure, but just set the summary ) • For example WPS is famous and many user use the PIN or button settings, but the deployments in Wireless devices differs a lot • We have to check sequences in detail for debugging 42 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 44. • In old days we use sampling technologies like SNMP, MRTG, and many flow analysis such as Cisco NetFlow, sFlow, iFlow • But small packet ( 64 bytes – 100 bytes ) may be ignored. Some small packet is important symptom of analysis ( ARP / TCP SYN / HTTP GET and others ) Huge packet case Ignored Ignored Ignored May be Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 45. • Typical Intel’s GigaNIC (e1000), typical Dell PowerEdge2850 / Xeon 2.8GHz RAM 1GB (PC3200, DDR2, 400MHz) • Threadshould is 140Mbps in Frame size = 64 • Frame size = 200 , actual rate 400Mbps • Frame size = 1500 , may be ok, no problem. • We need TurboCap We need TurboCap Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 46. • Using TurboCap, MMMM packets received by the application NNNN packets accepted by the filter and dumped to disk • To fix, Optimize I/O access flow packet -> IRQ -> SVC -> driver -> OS • Use 6 cores Xeon-L5640 and 24GB RAM ! ( power resolve things and no page files ) • Stop tcpdump and create program using pcap libraries in C/C++ ( dumpcap.exe ) • Pcap -> standard output -> FIFO -> SQLite • 3 month no problem Debugging Environment Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 47. • We use 250GB pcap file, huge huge file with Cascade PilotPE installed into NotePC • Use view to check macro analysis, and finally check the actual pcaps using Wireshark • Only, best, easiest way to drive huge pcap file Driving 250GB pcap file with Pilot 1年保守なし Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 48. QA and Demonstration 48 Ikeriri network service co., ltd http://www.ikeriri.ne.jp
  • 49. ikeriri network service http://www.ikeriri.ne.jp (C) Ikeriri network service http://www.ikeriri.ne.jp Thank You !!