1 of 29

NETWORK TRAFFIC MONITORING AND ANALYSIS

DR. MOHAMMAD SHOAB

2 of 29

CONTENTS

  • INTRODUCTION
  • WHAT IS NETWORK MONITORING?
  • WHAT IS NETWORK TRAFFIC ANALYSIS?
  • NEED OF NETWORK ANALYSIS
  • HOW TO SOLVE NETWORK TRAFFIC?
  • FEATURES OF NETWORK TRAFFIC ANALYSIS
  • NETWORK ANALYZERS
  • IMPORTANCE OF NETWORK TRAFFIC ANALYSIS
  • USE CASES FOR ANALYSING NETWORK TRAFFIC
  • WHAT TO LOOK FOR IN A NETWORK TRAFFIC ANALYSIS
  • NETWORK PROTOCOLS
  • ARCHITECTURE DIAGRAM
  • CONCLUSION

3 of 29

INTRODUCTION

  • Network traffic analysis have been the most spoken topic nowadays.
  • Network traffic analysis techniques allow the traffic at particular points on a network to be recorded displayed in useful form and analyzed.
  • Traffic can be monitored at the network boundary on specific segments at particular interfaces.
  • Network traffic analysis can easily be detected using various network analyzers.

4 of 29

WHAT IS NETWORK MONITORING?

  • Network Monitoring is the process of discovering, mapping, and monitoring a computer network to ensure optimal availability and performance.
  • Continuous monitoring is critical to maintaining network integrity. The best network monitoring tools provide visualization or a dashboard that provides at-a-glance status of monitored network components, indicating any out-of-norm parameters that require further examination or components such as switches, routers, firewalls, servers, and software services, applications, or URLs that could be the source of network disturbances.

5 of 29

WHAT IS NETWORK TRAFFIC ANALYSIS?

  • Network traffic analysis (NTA) is a method of monitoring network availability and activity to identify anomalies, including security and operational issues.
  • Common use cases for NTA include: Collecting a real-time and historical record of what's happening on your network. Detecting malware such as ransomware activity.
  • Network traffic analysis is primarily done to get in-depth insight into what type of traffic/network packets or data is flowing through a network.

6 of 29

7 of 29

NEED OF NETWORK TRAFFIC ANALYSIS

  • Gain special knowledge about the network
  • Investigate and troubleshoot abnormal behaviour

-Abnormal packets

-Network slow performance

1. congestion

2. Retransmission

-Unexpected traffic

-Broken applications

-Load balancer issues

8 of 29

  • Network forensenics

-Collecting evidence

-Incident Handling

-Tracing attacks

-Linking infected hosts

-Determining patient zero

  • Stealing Sensitive information
  • Pen-testing
  • Developing IPS/IDS signatures
  • Troubleshoot problems
  • Analyse the performance of network sections to identify bottlenecks

9 of 29

  • Network intrusion detection
  • Logging network traffic for forensic evidence
  • Analyzing the operation of network applications
  • Tracing the source of DoS attack
  • Detecting spyware and compromised hosts possibly a botnet member
  • To capture clear-text usernames and passwords and those which are trivially encrypted
  • To passively map a network
  • To passively fingerprint the OS of network hosts
  • To capture other confidential information

10 of 29

HOW TO SOLVE NETWORK TRAFFIC?

  • Identify what applications/protocols are running on the network
  • Identify bandwidth hogs down to a user, application or device level
  • Monitor client to server network traffic
  • Troubleshoot network & application performance issues

11 of 29

FEATURES OF NETWORK TRAFFIC ANALYSIS

  • Broad Visibility

Whether the network communications in question are traditional TCP/IP style packets, virtual network traffic crossing from a vSwitch, traffic from and within cloud workloads, API calls to SaaS applications, or serverless computing instances, NTA tools have the ability to monitor and analyze a broad variety of communications in real-time.

  • Encrypted Traffic Analysis

With over 70 percent of web traffic encrypted, organizations need an accessible method for decrypting their network traffic without disrupting data privacy implications. NTA solutions deliver on this challenge by enabling security professionals to uncover network threats by analyzing the full payload without actually peeking into it.

12 of 29

  • Entity Tracking

NTA products offer the ability to track and profile all entities on a network, including the devices, users, applications, destinations, and more. Machine learning and analytics then attribute the behaviors and relationships to the named entities, providing infinitely more value to organizations than a static list of IP addresses.

  • Detection and Response

Because NTA tools attribute behaviors to entities, ample context is available for detection and response workflows. This means security professionals no longer need to sift through multiple data sources such as DHCP and DNS logs, configuration management databases and directory service infrastructure in an attempt to gain comprehensive visibility. Instead, they can quickly detect anomalies, decisively track them down, determine the root cause and react accordingly.

13 of 29

  • Comprehensive Baseline

To keep up with ever-changing modern IT environments, NTA solutions track behaviors that are unique to an entity or a small number of entities in comparison to the bulk of entities in an environment. The underlying data is available immediately and NTA machine learning baselines evolve in real-time as behaviors change. Also, with entity tracking capabilities, NTA baselines are even more comprehensive as they can understand the source and destination entities, in addition to traffic patterns. For instance, what might be normal for a workstation is not normal for a server or IP phone or camera.

14 of 29

NETWORK ANALYZERS

  • Wireshark
  • NMAP cli and gui
  • Network Associates Sniffer
  • TCP Dump based basic command line utility (UNIX)
  • Windows Network Monitor included with windows server Oss
  • Snort
  • Dsniff
  • Ettercap

15 of 29

IMPORTANCE OF NETWORK TRAFFIC ANALYSIS

  • Keeping a close eye on your network perimeter is always good practice. Even with strong firewalls in place, mistakes can happen and rogue traffic could get through.
  • Users could also leverage methods such as tunneling, external anonymizers, and VPNs to get around firewall rules.
  • A network monitoring solution should be able to detect activity indicative of ransomware attacks via insecure protocols. Take WannaCry, for example, where attackers actively scanned for networks with TCP port 445 open, and then used a vulnerability in SMBv1 to access network file shares.

16 of 29

  • Remote Desktop Protocol (RDP) is another commonly targeted application. Make sure you block any inbound connection attempts on your firewall.
  • Monitoring traffic inside your firewalls allows you to validate rules, gain valuable insight, and can also be used as a source of network traffic-based alerts.
  • Monitoring traffic inside your firewalls allows you to validate rules, gain valuable insight, and can also be used as a source of network traffic-based alerts.

17 of 29

  • CLI strings may reveal login procedures, presentation of user credentials, commands to display boot or running configuration, copying files, and more.
  • Be sure to check your network data for any devices running unencrypted management protocols, such as:
              • Telnet
              • Hypertext Transport Protocol (HTTP, port 80)
              • Simple Network Management Protocol (SNMP, ports 161/162)
              • Cisco Smart Install (SMI port 4786)

18 of 29

19 of 29

20 of 29

USECASES FOR ANALYZING NETWORK TRAFFIC

  • Detection of ransomware activity
  • Monitoring data exfiltration/internet activity
  • Monitor access to files on file servers or MSSQL databases
  • Track a user’s activity on the network, though User Forensics reporting
  • Provide an inventory of what devices, servers and services are running on the network
  • Highlight and identity root cause of bandwidth peaks on the network
  • Provide real-time dashboards focusing on network and user activity
  • Generate network activity reports for management and auditors for any time period

21 of 29

�WHAT TO LOOK FOR IN A NETWORK TRAFFIC ANALYSIS�

  • Not all tools for monitoring network traffic are the same. Generally, they can be broken down into two types: flow-based tools and deep packet inspection (DPI) tools.
  • Within these tools you’ll have options for software agents, storing historical data, and intrusion detection systems.
  • When evaluating which solution is right for your organization, consider these five things:

22 of 29

  1. Availability of flow-enabled devices
  2. The data source
  3. The points on the network
  4. Real-time data vs. historical data
  5. Full packet capture, cost and complexity

23 of 29

NETWORK PROTOCOLS

  • There are totally 7 layers of protocols for analyzing network traffic

24 of 29

ARCHITECTURE DIAGRAM

25 of 29

26 of 29

27 of 29

CONCLUSION

  • Network traffic analysis is an essential way to monitor network availability and activity to identify anomalies, maximize performance, and keep an eye out for attacks. 
  • Alongside log aggregation, UEBA, and endpoint data, network traffic is a core piece of the comprehensive visibility and security analysis to discover threats early and extinguish them fast.
  • When choosing a NTA solution, consider the current blind spots on your network, the data sources you need information from, and the critical points on the network where they converge for efficient monitoring. With NTA added as a layer to your security information and event management (SIEM) solution, you’ll gain visibility into even more of your environment and your users.

28 of 29

FUTURE SCOPE

  • This can be further enhanced to
              • Fault management
              • Alerts and Threshold
              • Windows event log monitoring
              • Traffic management
              • Network Security
              • Network scheduling

29 of 29

THANK YOU