Network forensics is a sub-branch of digital forensics relating to the monitoring and analysis of computer network traffic for the…