TryHackMe ||Advent of Cyber 2023 Day 2: O Data, All Ye Faithful || WalkThrough

TheCyberWarrior
2 min readDec 4, 2023

--

Day 2 Image

Now, here we have the today’s task. It reads, “The B-Team has been tasked with understanding the network of AntarctiCrafts’ South Pole site”. Taking a minute to think about the task ahead, McHoneyBell realizes that AntarctiCrafts has no fancy technology that captures events on the network. “No tech? No problem!” exclaims McHoneyBell.

Learning Objectives for today:

  • Get an introduction to what data science involves and how it can be applied in Cybersecurity
  • Get a gentle (We promise) introduction to Python
  • Get to work with some popular Python libraries such as Pandas and Matplotlib to crunch data
  • Help McHoneyBell establish an understanding of AntarctiCrafts’ network

DATA SCIENCE 101

Data science often involves programming, statistics, and, recently, the use of Artificial Intelligence (AI) to examine large amounts of data to understand trends and patterns and help businesses make predictions that lead to informed decisions.

Now we move to questions and the steps to solve them.

Questions and Steps to Solve Them

  1. How many packets were captured (looking at the PacketNumber)?

You can use the count() function. Remember, the DataFrame that contains the packet capture is called “df”.

2. What IP address sent the most amount of traffic during the packet capture?

The name of the column you need to use the size() function on is called “Source”.

3. What was the most frequent protocol?

You can use the value.counts function on the DataFrame. Remember, the name of the column that contains the Protocol in the packet capture is called “Protocol”. Your command will look like: df[‘ColumnHere’].value_counts()

If you have got your answers, Congratulations🥳. But if you are confused and unable to get the answers, follow the link to the post which contains the answers. https://thecyberwarrior.medium.com/aoc-2023-answers-13a5fb83b0b7

If you find this blog helpful, follow me on LinkedIn: https://www.linkedin.com/in/-prashantkumar07/

Happy Learning

--

--

TheCyberWarrior
TheCyberWarrior

Written by TheCyberWarrior

Working towards making the world cyber safe.

No responses yet