SlideShare a Scribd company logo
Visual Network Analysis
Alessandro Giannetti Gianluca Tasciotti
Visual Analytics 2018/2019
Visual Analytics Project
Introduction
With this project we are going to illustrate a possible
visualization of a dataset in which are present a huge
quantity of attacks. We will see some techniques to
represent it and which problems we crossed to show
it in the best way.
Pipeline
DATASET TECHNOLOGIES VISUALIZATIONS FILTERSACTIONS
Dataset
Intrusion Detection Evaluation Dataset (CICIDS2017)
• Format: CSV
• Dimension: 48.00 GB
• Protocols: HTTP, HTTPS, FTP, SSH, and E-mail protocols
• Days: 3rd of June 2017 at 9:00 to 7th of June 2017 at 17:00
• Parameters: Flow ID, Source IP, Source Port, Destination IP, Destination Port,
Protocol, Timestamp, Label, TotalLengthOfFwdPackets, Flow
Duration, Total Fwd Packets, Total Bwd Packets etc.
• Example: 172.16.0.1-192.168.10.50-17560-80-6, 172.16.0.1, 17560, 192.168.10.50, 80, 6, 7/7/2017 3:59,
1341015, 5, 0, 30, 0, 6, 6, 6, 0, 0, 0, 0, 0, 22.37111442, 3.72851907, 335253.75, 669835.666, 1340007,
1, 1341015, 335253.75, 669835.666, 1340007, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 3.72851907, 0, 6, 6, 6, 0,
0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 7.2, 6, 0, 100, 0, 0, 0, 0, 0, 0, 5, 30, 0, 0, 256, -1, 4, 20, 0, 0, 0, 0, 0, 0, 0, 0, DDoS
Dataset Manipulation
• We have selected only 7 of the most significant out of 85 parameters:
• Source IP
• Destination Port
• Destination IP
• TotalFwdPackets
• We have removed all samples with Label equal to BENIGN
• The most frequently used Destination Port, Source IP and Destination IP
• The dataset proposed respects the AS rule: #tuples * #dimensions
• ~ 5,16 secs computation time (Proposed Solution) → AS = 5.510 * 7 = 38.570
• ~ 30,5 secs computation time (Discarded Solution) → AS = 63.028 * 7 = 441.196
• TotalLengthOfFwdPackets
• Timestamp
• Label
Dataset → Manipulated Dataset
Example of Initial Dataset Line
Flow ID: 172.16.0.1-192.168.10.50-17560-80-6,
Source IP: 172.16.0.1,
Source Port: 17560,
Destination IP: 192.168.10.50,
DestinationPort: 80,
Timestamp: 7/7/2017 15:59,
…
Label: DDoS
Example of Final Dataset Line
Source: 172.16.0.1,
DestinationPort: 80,
Target: 192.168.10.50,
Timestamp: 7/7/2017 15:59,
TotalFwdPackets: 8,
TotalLengthOfFwdPackets: 56,
Label: DDoS
Pipeline
DATASET TECHNOLOGIES VISUALIZATIONS FILTERSACTIONS
Technologies
• Python
• Dataset manipulation
• D3 + JS
• Dataset Visualization
+
Pipeline
DATASET TECHNOLOGIES VISUALIZATIONS FILTERSACTIONS
Visualizations
• Graph
• PCA
• Scatterplot of Ports
• Bar chart
• Scatterplot of attacks
(compared to time)
Graph
• Nodes: IP address
• Edges: Packages exchanged between
two parties
• Bipartite Graph With 3 Layers:
1. Attackers
2. Firewall
3. Targets
Graph
• Colour Of Nodes :
Based on the number of packets they
sent and received
• Edge Thickness :
Based on the number of packets passing
through the source and target
PCA
• Axis:
• Source
• Destination Port
• Target
• Label
Each tuple in the dataset has been represented
by a line, where this line intersects a specific
value of these four parameters.
Scatterplot DESTINATION/PORTS
• Axis:
• X: Destination Port
• Y: Targets IP address
The dot changes size based on how many
attacks has been taken by the couple IP
address-Port
Bar Chart
• Axis:
• X: Number of attacks
• Y: Type of attack
This graph gives us the opportunity to understand for each day
the types of attack and the number of malicious packages sent.
Scatterplot TIMESTAMP/ATTACK
• Axis:
• X: Timestamp
• Y: (algorithm to avoid overlapping)
In this scatterplot, we have an overview of the attacks
during the day. The Y-axis is calculated automatically so
that the dots do not overlap.
Colour Of Dots :
Based on the number of attack in that timestamp.
DATASET TECHNOLOGIES VISUALIZATIONS FILTERS
Pipeline
ACTIONS
Actions
Dbl Click
Graph
PCA
Timestamp Filter
Total Port
Number
Zoom
PCA
Drag
PCA
Mouse Move
Graph
PCA
Scatterplot Port
Mouse Out
Graph
PCA
Scatterplot Port
Click
Graph
Brush
Graph
Scatterplot Port
Timestamp Axis
Double Click
With the double click, we give the opportunity to the user to reset the filters carried out. In addition, double-
clicking on the graph's nodes allows you to deselect it.
Zoom
As for the PCA we have given the possibility to zoom, useful when you want to make a brush on the axis and the
values are very close.
Drag
The PCA axis can be changed in order by drag: the user can see the relationships between the axis where it is not
possible, as they are not close to the axis of interest.
Mouse Out
When the mouse is no longer over objects that support the "mouse move", all actions triggered by it will be reset
Actions
• Graph:
• Node – Show tooltip with extra info:
• IP address
• Number of malicious packages sent or
delivered
• Edge – Show tooltip with extra info:
• IP address Attacker
• IP address Target
• Tot number of packets
• Tot length of Fwd Packets [Byte]
Link tooltip
Node tooltip
• PCA:
• Edge – Focuses on the edge, reducing the
opacity of all the others.
• Ports Scatterplot
• Dots – Focuses on the dot, reducing the
opacity of all the others.
– Show tooltip with extra info:
• IP address
• Port
• Packets
Focused edge
Mouse Move - LOCAL CHANGES
Actions
Focused dot + tooltip dot
Each component that implements the "mouse move", in addition to having local changes, interacts with all the
visualizations seen above.
• Graph:
• Legend– PCA, Scatterplot Port, Scatterplot Over Time
• Edge – PCA, Scatterplot Port, Scatterplot Over Time
MOUSE MOVE - GLOBAL CHANGES
Actions
• PCA:
• Edge – Graph, Scatterplot Port, Scatterplot Over Time
• Scatterplot Port:
• Dots – Graph, PCA, Scatterplot Over Time
Click – GLOBAL AND LOCAL CHANGES
Actions
In addition to wanting to temporarily see the selection of the node with the "move mouse", we thought it might
be useful to keep track of the data of interest. For this reason, we implemented the selection of the graph nodes.
• Graph:
• Node – PCA, Scatterplot Port, Scatterplot Over Time, Bar Chart
Selected
Not Selected
With the brush we go to perform a filtering, so as to make the visualizations more readable.
• Graph:
• Legend– CPA, Scatterplot Port, Scatterplot Over Time
Actions
Brush – GLOBAL CHANGES
• PCA:
• Axis – PCA, Scatterplot Port, Scatterplot Over Time,
Bar Chart
• Timestamp:
• Axis – PCA, Graph, Scatterplot Port, Bar Chart
DATASET TECHNOLOGIES VISUALIZATIONS FILTERS
Pipeline
ACTIONS
In addition to wanting to temporarily see the selection of the node with the "move mouse", we thought it might
be useful to keep track of the data of interest. For this reason, we implemented the selection of the graph nodes.
• Timestamp:
• Axis – Allows you to filter the dataset by time, giving you the ability to filter by day and by hours.
• PCA:
• Axis – Allows you to filter the dataset by Source IP, Destination Port, Target IP and Type of Attack
• Graph
• Legend – Allows you to filter the view by number of packets sent and delivered.
Filters
DEMO
1° Filtering: Approx. 8:00 to 13:00 hours (filtering on timestamp)
2° Filtering: Selection of nodes that attack the firewall (filtering on the graph)
3° Filtering: Selection of the Bot connection to reduce the noise (filtering on PCA)
1° Filtering: Selection of ports 51762 53445 64873 (filtering on port selection form)
2° Filtering: Number of packages on legend from 0 to 10000 (filtering on graph)
References
● GitHub: https://github.com/AlessandroGiannetti/VisualAnalytics
● Alessandro Giannetti: https://www.linkedin.com/in/alessandro-giannetti-2b1864b4/
● Gianluca Tasciotti: https://www.linkedin.com/in/gianluca-tasciotti-77124b174/

More Related Content

What's hot

LSH
LSHLSH
WebSockets
WebSocketsWebSockets
WebSockets
Rodrigo Zaccara
 
1404 app dev series - session 8 - monitoring & performance tuning
1404   app dev series - session 8 - monitoring & performance tuning1404   app dev series - session 8 - monitoring & performance tuning
1404 app dev series - session 8 - monitoring & performance tuningMongoDB
 
Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...
Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...
Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...
NoSQLmatters
 
Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...
Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...
Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...
DECK36
 
Serial-War
Serial-WarSerial-War
Serial-War
Xuechao Wu
 
Locality sensitive hashing
Locality sensitive hashingLocality sensitive hashing
Locality sensitive hashing
Sameera Horawalavithana
 
OpenTSDB for monitoring @ Criteo
OpenTSDB for monitoring @ CriteoOpenTSDB for monitoring @ Criteo
OpenTSDB for monitoring @ Criteo
Nathaniel Braun
 
Efficient and Fast Time Series Storage - The missing link in dynamic software...
Efficient and Fast Time Series Storage - The missing link in dynamic software...Efficient and Fast Time Series Storage - The missing link in dynamic software...
Efficient and Fast Time Series Storage - The missing link in dynamic software...
Florian Lautenschlager
 

What's hot (10)

LSH
LSHLSH
LSH
 
WebSockets
WebSocketsWebSockets
WebSockets
 
Norikra in action
Norikra in actionNorikra in action
Norikra in action
 
1404 app dev series - session 8 - monitoring & performance tuning
1404   app dev series - session 8 - monitoring & performance tuning1404   app dev series - session 8 - monitoring & performance tuning
1404 app dev series - session 8 - monitoring & performance tuning
 
Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...
Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...
Ted Dunning – Very High Bandwidth Time Series Database Implementation - NoSQL...
 
Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...
Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...
Real-time Data De-duplication using Locality-sensitive Hashing powered by Sto...
 
Serial-War
Serial-WarSerial-War
Serial-War
 
Locality sensitive hashing
Locality sensitive hashingLocality sensitive hashing
Locality sensitive hashing
 
OpenTSDB for monitoring @ Criteo
OpenTSDB for monitoring @ CriteoOpenTSDB for monitoring @ Criteo
OpenTSDB for monitoring @ Criteo
 
Efficient and Fast Time Series Storage - The missing link in dynamic software...
Efficient and Fast Time Series Storage - The missing link in dynamic software...Efficient and Fast Time Series Storage - The missing link in dynamic software...
Efficient and Fast Time Series Storage - The missing link in dynamic software...
 

Similar to Visual Network Analysis

ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
Altinity Ltd
 
Python and trending_data_ops
Python and trending_data_opsPython and trending_data_ops
Python and trending_data_ops
chase pettet
 
Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2
zhang hua
 
Paradigmas de procesamiento en Big Data: estado actual, tendencias y oportu...
Paradigmas de procesamiento en  Big Data: estado actual,  tendencias y oportu...Paradigmas de procesamiento en  Big Data: estado actual,  tendencias y oportu...
Paradigmas de procesamiento en Big Data: estado actual, tendencias y oportu...
Facultad de Informática UCM
 
Application Monitoring using Open Source: VictoriaMetrics - ClickHouse
Application Monitoring using Open Source: VictoriaMetrics - ClickHouseApplication Monitoring using Open Source: VictoriaMetrics - ClickHouse
Application Monitoring using Open Source: VictoriaMetrics - ClickHouse
VictoriaMetrics
 
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
Altinity Ltd
 
Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)
gvillain
 
DBA Fundamentals Group: Continuous SQL with Kafka and Flink
DBA Fundamentals Group: Continuous SQL with Kafka and FlinkDBA Fundamentals Group: Continuous SQL with Kafka and Flink
DBA Fundamentals Group: Continuous SQL with Kafka and Flink
Timothy Spann
 
Presentation
PresentationPresentation
Presentation
Dimitris Stripelis
 
Filtering From the Firehose: Real Time Social Media Streaming
Filtering From the Firehose: Real Time Social Media StreamingFiltering From the Firehose: Real Time Social Media Streaming
Filtering From the Firehose: Real Time Social Media Streaming
Cloud Elements
 
Real time streaming analytics
Real time streaming analyticsReal time streaming analytics
Real time streaming analytics
Anirudh
 
Spark Summit EU talk by Zoltan Zvara
Spark Summit EU talk by Zoltan ZvaraSpark Summit EU talk by Zoltan Zvara
Spark Summit EU talk by Zoltan Zvara
Spark Summit
 
2017 03-01-forensics 1488330715
2017 03-01-forensics 14883307152017 03-01-forensics 1488330715
2017 03-01-forensics 1488330715
APNIC
 
Forensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An UpdateForensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An Update
APNIC
 
Cf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteCf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphite
Jeff Barrows
 
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
InfluxData
 
HBaseCon 2015: S2Graph - A Large-scale Graph Database with HBase
HBaseCon 2015: S2Graph - A Large-scale Graph Database with HBaseHBaseCon 2015: S2Graph - A Large-scale Graph Database with HBase
HBaseCon 2015: S2Graph - A Large-scale Graph Database with HBase
HBaseCon
 
IoT interoperability
IoT interoperabilityIoT interoperability
IoT interoperability
1248 Ltd.
 
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
Codemotion
 
State of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open SourceState of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open Source
OSCON Byrum
 

Similar to Visual Network Analysis (20)

ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
ClickHouse Paris Meetup. Pragma Analytics Software Suite w/ClickHouse, by Mat...
 
Python and trending_data_ops
Python and trending_data_opsPython and trending_data_ops
Python and trending_data_ops
 
Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2Swift distributed tracing method and tools v2
Swift distributed tracing method and tools v2
 
Paradigmas de procesamiento en Big Data: estado actual, tendencias y oportu...
Paradigmas de procesamiento en  Big Data: estado actual,  tendencias y oportu...Paradigmas de procesamiento en  Big Data: estado actual,  tendencias y oportu...
Paradigmas de procesamiento en Big Data: estado actual, tendencias y oportu...
 
Application Monitoring using Open Source: VictoriaMetrics - ClickHouse
Application Monitoring using Open Source: VictoriaMetrics - ClickHouseApplication Monitoring using Open Source: VictoriaMetrics - ClickHouse
Application Monitoring using Open Source: VictoriaMetrics - ClickHouse
 
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
Application Monitoring using Open Source - VictoriaMetrics & Altinity ClickHo...
 
Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)Kentik Network@Scale (Dan Ellis)
Kentik Network@Scale (Dan Ellis)
 
DBA Fundamentals Group: Continuous SQL with Kafka and Flink
DBA Fundamentals Group: Continuous SQL with Kafka and FlinkDBA Fundamentals Group: Continuous SQL with Kafka and Flink
DBA Fundamentals Group: Continuous SQL with Kafka and Flink
 
Presentation
PresentationPresentation
Presentation
 
Filtering From the Firehose: Real Time Social Media Streaming
Filtering From the Firehose: Real Time Social Media StreamingFiltering From the Firehose: Real Time Social Media Streaming
Filtering From the Firehose: Real Time Social Media Streaming
 
Real time streaming analytics
Real time streaming analyticsReal time streaming analytics
Real time streaming analytics
 
Spark Summit EU talk by Zoltan Zvara
Spark Summit EU talk by Zoltan ZvaraSpark Summit EU talk by Zoltan Zvara
Spark Summit EU talk by Zoltan Zvara
 
2017 03-01-forensics 1488330715
2017 03-01-forensics 14883307152017 03-01-forensics 1488330715
2017 03-01-forensics 1488330715
 
Forensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An UpdateForensic Tracing in the Internet: An Update
Forensic Tracing in the Internet: An Update
 
Cf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphiteCf summit-2016-monitoring-cf-sensu-graphite
Cf summit-2016-monitoring-cf-sensu-graphite
 
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
Tim Hall [InfluxData] | InfluxDB Roadmap | InfluxDays Virtual Experience Lond...
 
HBaseCon 2015: S2Graph - A Large-scale Graph Database with HBase
HBaseCon 2015: S2Graph - A Large-scale Graph Database with HBaseHBaseCon 2015: S2Graph - A Large-scale Graph Database with HBase
HBaseCon 2015: S2Graph - A Large-scale Graph Database with HBase
 
IoT interoperability
IoT interoperabilityIoT interoperability
IoT interoperability
 
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
Managing your Black Friday Logs - Antonio Bonuccelli - Codemotion Rome 2018
 
State of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open SourceState of the Art Web Mapping with Open Source
State of the Art Web Mapping with Open Source
 

Recently uploaded

DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
ongomchris
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
AmarGB2
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
aqil azizi
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
SyedAbiiAzazi1
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 

Recently uploaded (20)

DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
space technology lecture notes on satellite
space technology lecture notes on satellitespace technology lecture notes on satellite
space technology lecture notes on satellite
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
Investor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptxInvestor-Presentation-Q1FY2024 investor presentation document.pptx
Investor-Presentation-Q1FY2024 investor presentation document.pptx
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdfTutorial for 16S rRNA Gene Analysis with QIIME2.pdf
Tutorial for 16S rRNA Gene Analysis with QIIME2.pdf
 
14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application14 Template Contractual Notice - EOT Application
14 Template Contractual Notice - EOT Application
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 

Visual Network Analysis

  • 1. Visual Network Analysis Alessandro Giannetti Gianluca Tasciotti Visual Analytics 2018/2019 Visual Analytics Project
  • 2. Introduction With this project we are going to illustrate a possible visualization of a dataset in which are present a huge quantity of attacks. We will see some techniques to represent it and which problems we crossed to show it in the best way.
  • 4. Dataset Intrusion Detection Evaluation Dataset (CICIDS2017) • Format: CSV • Dimension: 48.00 GB • Protocols: HTTP, HTTPS, FTP, SSH, and E-mail protocols • Days: 3rd of June 2017 at 9:00 to 7th of June 2017 at 17:00 • Parameters: Flow ID, Source IP, Source Port, Destination IP, Destination Port, Protocol, Timestamp, Label, TotalLengthOfFwdPackets, Flow Duration, Total Fwd Packets, Total Bwd Packets etc. • Example: 172.16.0.1-192.168.10.50-17560-80-6, 172.16.0.1, 17560, 192.168.10.50, 80, 6, 7/7/2017 3:59, 1341015, 5, 0, 30, 0, 6, 6, 6, 0, 0, 0, 0, 0, 22.37111442, 3.72851907, 335253.75, 669835.666, 1340007, 1, 1341015, 335253.75, 669835.666, 1340007, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 100, 0, 3.72851907, 0, 6, 6, 6, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 7.2, 6, 0, 100, 0, 0, 0, 0, 0, 0, 5, 30, 0, 0, 256, -1, 4, 20, 0, 0, 0, 0, 0, 0, 0, 0, DDoS
  • 5. Dataset Manipulation • We have selected only 7 of the most significant out of 85 parameters: • Source IP • Destination Port • Destination IP • TotalFwdPackets • We have removed all samples with Label equal to BENIGN • The most frequently used Destination Port, Source IP and Destination IP • The dataset proposed respects the AS rule: #tuples * #dimensions • ~ 5,16 secs computation time (Proposed Solution) → AS = 5.510 * 7 = 38.570 • ~ 30,5 secs computation time (Discarded Solution) → AS = 63.028 * 7 = 441.196 • TotalLengthOfFwdPackets • Timestamp • Label
  • 6. Dataset → Manipulated Dataset Example of Initial Dataset Line Flow ID: 172.16.0.1-192.168.10.50-17560-80-6, Source IP: 172.16.0.1, Source Port: 17560, Destination IP: 192.168.10.50, DestinationPort: 80, Timestamp: 7/7/2017 15:59, … Label: DDoS Example of Final Dataset Line Source: 172.16.0.1, DestinationPort: 80, Target: 192.168.10.50, Timestamp: 7/7/2017 15:59, TotalFwdPackets: 8, TotalLengthOfFwdPackets: 56, Label: DDoS
  • 8. Technologies • Python • Dataset manipulation • D3 + JS • Dataset Visualization +
  • 10. Visualizations • Graph • PCA • Scatterplot of Ports • Bar chart • Scatterplot of attacks (compared to time)
  • 11. Graph • Nodes: IP address • Edges: Packages exchanged between two parties • Bipartite Graph With 3 Layers: 1. Attackers 2. Firewall 3. Targets
  • 12. Graph • Colour Of Nodes : Based on the number of packets they sent and received • Edge Thickness : Based on the number of packets passing through the source and target
  • 13. PCA • Axis: • Source • Destination Port • Target • Label Each tuple in the dataset has been represented by a line, where this line intersects a specific value of these four parameters.
  • 14. Scatterplot DESTINATION/PORTS • Axis: • X: Destination Port • Y: Targets IP address The dot changes size based on how many attacks has been taken by the couple IP address-Port
  • 15. Bar Chart • Axis: • X: Number of attacks • Y: Type of attack This graph gives us the opportunity to understand for each day the types of attack and the number of malicious packages sent.
  • 16. Scatterplot TIMESTAMP/ATTACK • Axis: • X: Timestamp • Y: (algorithm to avoid overlapping) In this scatterplot, we have an overview of the attacks during the day. The Y-axis is calculated automatically so that the dots do not overlap. Colour Of Dots : Based on the number of attack in that timestamp.
  • 17. DATASET TECHNOLOGIES VISUALIZATIONS FILTERS Pipeline ACTIONS
  • 18. Actions Dbl Click Graph PCA Timestamp Filter Total Port Number Zoom PCA Drag PCA Mouse Move Graph PCA Scatterplot Port Mouse Out Graph PCA Scatterplot Port Click Graph Brush Graph Scatterplot Port Timestamp Axis
  • 19. Double Click With the double click, we give the opportunity to the user to reset the filters carried out. In addition, double- clicking on the graph's nodes allows you to deselect it. Zoom As for the PCA we have given the possibility to zoom, useful when you want to make a brush on the axis and the values are very close. Drag The PCA axis can be changed in order by drag: the user can see the relationships between the axis where it is not possible, as they are not close to the axis of interest. Mouse Out When the mouse is no longer over objects that support the "mouse move", all actions triggered by it will be reset Actions
  • 20. • Graph: • Node – Show tooltip with extra info: • IP address • Number of malicious packages sent or delivered • Edge – Show tooltip with extra info: • IP address Attacker • IP address Target • Tot number of packets • Tot length of Fwd Packets [Byte] Link tooltip Node tooltip • PCA: • Edge – Focuses on the edge, reducing the opacity of all the others. • Ports Scatterplot • Dots – Focuses on the dot, reducing the opacity of all the others. – Show tooltip with extra info: • IP address • Port • Packets Focused edge Mouse Move - LOCAL CHANGES Actions Focused dot + tooltip dot
  • 21. Each component that implements the "mouse move", in addition to having local changes, interacts with all the visualizations seen above. • Graph: • Legend– PCA, Scatterplot Port, Scatterplot Over Time • Edge – PCA, Scatterplot Port, Scatterplot Over Time MOUSE MOVE - GLOBAL CHANGES Actions • PCA: • Edge – Graph, Scatterplot Port, Scatterplot Over Time • Scatterplot Port: • Dots – Graph, PCA, Scatterplot Over Time
  • 22. Click – GLOBAL AND LOCAL CHANGES Actions In addition to wanting to temporarily see the selection of the node with the "move mouse", we thought it might be useful to keep track of the data of interest. For this reason, we implemented the selection of the graph nodes. • Graph: • Node – PCA, Scatterplot Port, Scatterplot Over Time, Bar Chart Selected Not Selected
  • 23. With the brush we go to perform a filtering, so as to make the visualizations more readable. • Graph: • Legend– CPA, Scatterplot Port, Scatterplot Over Time Actions Brush – GLOBAL CHANGES • PCA: • Axis – PCA, Scatterplot Port, Scatterplot Over Time, Bar Chart • Timestamp: • Axis – PCA, Graph, Scatterplot Port, Bar Chart
  • 24. DATASET TECHNOLOGIES VISUALIZATIONS FILTERS Pipeline ACTIONS
  • 25. In addition to wanting to temporarily see the selection of the node with the "move mouse", we thought it might be useful to keep track of the data of interest. For this reason, we implemented the selection of the graph nodes. • Timestamp: • Axis – Allows you to filter the dataset by time, giving you the ability to filter by day and by hours. • PCA: • Axis – Allows you to filter the dataset by Source IP, Destination Port, Target IP and Type of Attack • Graph • Legend – Allows you to filter the view by number of packets sent and delivered. Filters
  • 26. DEMO
  • 27. 1° Filtering: Approx. 8:00 to 13:00 hours (filtering on timestamp) 2° Filtering: Selection of nodes that attack the firewall (filtering on the graph) 3° Filtering: Selection of the Bot connection to reduce the noise (filtering on PCA)
  • 28. 1° Filtering: Selection of ports 51762 53445 64873 (filtering on port selection form) 2° Filtering: Number of packages on legend from 0 to 10000 (filtering on graph)
  • 29. References ● GitHub: https://github.com/AlessandroGiannetti/VisualAnalytics ● Alessandro Giannetti: https://www.linkedin.com/in/alessandro-giannetti-2b1864b4/ ● Gianluca Tasciotti: https://www.linkedin.com/in/gianluca-tasciotti-77124b174/