{"id":1108,"date":"2025-12-26T20:39:00","date_gmt":"2025-12-26T20:39:00","guid":{"rendered":"https:\/\/zombierollz.blog\/?p=1108"},"modified":"2025-12-26T17:55:10","modified_gmt":"2025-12-26T17:55:10","slug":"aoc-2025-day-22-c2-detection-command-carol","status":"publish","type":"post","link":"https:\/\/zombierollz.blog\/?p=1108","title":{"rendered":"AoC 2025 &#8211; Day 22 &#8211; C2 Detection &#8211; Command &amp; Carol"},"content":{"rendered":"\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-1 wp-block-paragraph\">https:\/\/tryhackme.com\/room\/detecting-c2-with-rita-aoc2025-m9n2b5v8c1<br>Room created: tryhackme, Dex01, Gensane<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"254\" height=\"140\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-122620.png\" alt=\"\" class=\"wp-image-1110\"\/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-2 wp-block-paragraph\">Per THM, &#8220;Packet capture (PCAP) is a networking practice involving the interception of data packets travelling over a network. Once the packets are captured, they can be stored by IT teams for further analysis. The inspection of these packets allows IT teams to identify issues and solve network problems affecting daily operations.<br><br>Zeek (formerly Bro) is the world&#8217;s leading platform for network security monitoring. Flexible, open source, and powered by defenders.&#8221;<br><br>THM has us run a few commands to turn the pcap files into structured logs.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"925\" height=\"281\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-122630.png\" alt=\"\" class=\"wp-image-1112\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-122630.png 925w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-122630-300x91.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-122630-768x233.png 768w\" sizes=\"auto, (max-width: 925px) 100vw, 925px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-3 wp-block-paragraph\">Next we are tasked with importing these logs into RITA.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"639\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123053.png\" alt=\"\" class=\"wp-image-1113\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123053.png 875w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123053-300x219.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123053-768x561.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"567\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123257.png\" alt=\"\" class=\"wp-image-1114\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123257.png 934w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123257-300x182.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123257-768x466.png 768w\" sizes=\"auto, (max-width: 934px) 100vw, 934px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"104\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123828.png\" alt=\"\" class=\"wp-image-1115\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123828.png 840w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123828-300x37.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-123828-768x95.png 768w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-124442-1024x475.png\" alt=\"\" class=\"wp-image-1116\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-124442-1024x475.png 1024w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-124442-300x139.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-124442-768x356.png 768w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-124442-1536x713.png 1536w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-124442.png 1875w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-4 wp-block-paragraph\">At this point, you will need to go full screen if you haven&#8217;t. I always like to keep split open as well so you can read and look at the VM at the same time if possible and are not required to do too much back in forth between tabs. THM instructs us to navigate the RITA utility with \/ to start a search and ? to look at various search fields.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"424\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125347-1024x424.png\" alt=\"\" class=\"wp-image-1118\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125347-1024x424.png 1024w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125347-300x124.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125347-768x318.png 768w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125347-1536x636.png 1536w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125347.png 1863w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-5 wp-block-paragraph\">Now we are tasked with looking at another pcap file: ~\/pcaps\/rita_challenge.pcap through the same steps as before. Remember: Don&#8217;t match everything with what THM had us do earlier; you will need to change a few things.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"805\" height=\"562\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125907.png\" alt=\"\" class=\"wp-image-1119\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125907.png 805w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125907-300x209.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-125907-768x536.png 768w\" sizes=\"auto, (max-width: 805px) 100vw, 805px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"936\" height=\"643\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130114.png\" alt=\"\" class=\"wp-image-1120\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130114.png 936w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130114-300x206.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130114-768x528.png 768w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"419\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130326-1024x419.png\" alt=\"\" class=\"wp-image-1121\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130326-1024x419.png 1024w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130326-300x123.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130326-768x314.png 768w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130326-1536x629.png 1536w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130326.png 1884w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-6 wp-block-paragraph\">&#8220;How many hosts are communicating with\u00a0<strong>malhare.net<\/strong>?&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"884\" height=\"111\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130522.png\" alt=\"\" class=\"wp-image-1122\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130522.png 884w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130522-300x38.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130522-768x96.png 768w\" sizes=\"auto, (max-width: 884px) 100vw, 884px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-7 wp-block-paragraph\">&#8220;Which Threat Modifier tells us the number of hosts communicating to a certain destination?&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"887\" height=\"118\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130720.png\" alt=\"\" class=\"wp-image-1123\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130720.png 887w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130720-300x40.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130720-768x102.png 768w\" sizes=\"auto, (max-width: 887px) 100vw, 887px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-8 wp-block-paragraph\">What is the highest number of connections to\u00a0<strong>rabbithole.malhare.net<\/strong>?<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"420\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130927-1024x420.png\" alt=\"\" class=\"wp-image-1124\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130927-1024x420.png 1024w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130927-300x123.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130927-768x315.png 768w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130927-1536x630.png 1536w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-130927.png 1876w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-9 wp-block-paragraph\">&#8220;Which search filter would you use to search for all entries that communicate to\u00a0<strong>rabbithole.malhare.net<\/strong>\u00a0with a\u00a0<strong>beacon score<\/strong>\u00a0greater than 70% and sorted by\u00a0<strong>connection duration (descending)<\/strong>?&#8221;<br><br>This question is not as bad as it seems if you go by the Search Examples within RITA.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"401\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131530-1024x401.png\" alt=\"\" class=\"wp-image-1125\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131530-1024x401.png 1024w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131530-300x117.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131530-768x301.png 768w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131530-1536x601.png 1536w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131530.png 1837w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"875\" height=\"146\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131447.png\" alt=\"\" class=\"wp-image-1126\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131447.png 875w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131447-300x50.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131447-768x128.png 768w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/figure>\n\n\n\n<p class=\"has-palette-color-7-color has-palette-color-4-background-color has-text-color has-background has-link-color wp-elements-10 wp-block-paragraph\">&#8216;Which port did the host 10.0.0.13 use to connect to\u00a0<strong>rabbithole.malhare.net<\/strong>?&#8217;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"425\" src=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131700-1024x425.png\" alt=\"\" class=\"wp-image-1127\" srcset=\"https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131700-1024x425.png 1024w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131700-300x125.png 300w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131700-768x319.png 768w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131700-1536x638.png 1536w, https:\/\/zombierollz.blog\/wp-content\/uploads\/2025\/12\/Screenshot-2025-12-23-131700.png 1868w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/tryhackme.com\/room\/detecting-c2-with-rita-aoc2025-m9n2b5v8c1Room created: tryhackme, Dex01, Gensane Per THM, &#8220;Packet capture (PCAP) is a networking practice involving the interception of data packets travelling over a network. Once the packets are captured, they can be stored by IT teams for further analysis. The inspection of these packets allows IT teams to identify issues and solve network problems affecting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1108","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/zombierollz.blog\/index.php?rest_route=\/wp\/v2\/posts\/1108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zombierollz.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zombierollz.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zombierollz.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zombierollz.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1108"}],"version-history":[{"count":5,"href":"https:\/\/zombierollz.blog\/index.php?rest_route=\/wp\/v2\/posts\/1108\/revisions"}],"predecessor-version":[{"id":1129,"href":"https:\/\/zombierollz.blog\/index.php?rest_route=\/wp\/v2\/posts\/1108\/revisions\/1129"}],"wp:attachment":[{"href":"https:\/\/zombierollz.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zombierollz.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zombierollz.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}