avatarTeri Radichel

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

5018

Abstract

work should include the following:</p><div id="6c72"><pre><span class="hljs-built_in">Domain</span> Names</pre></div><div id="c37d"><pre><span class="hljs-attribute">Ports</span></pre></div><div id="b5a8"><pre><span class="hljs-attribute">Protocols</span></pre></div><div id="b5cd"><pre>Expected <span class="hljs-type">CIDR</span> block ranges</pre></div><p id="616e">If you are not familiar with that terminology I wrote about in my book: <a href="https://www.amazon.com/Cybersecurity-Executives-Cloud-Teri-Radichel/dp/1652474811/ref=as_li_ss_tl?_encoding=UTF8&amp;qid=1601801560&amp;sr=1-1&amp;linkCode=ll1&amp;tag=2ndsightlab-20&amp;linkId=3204d6389211538a20eabff16973183e&amp;language=en_US">Cybersecurity for Executives in the Age of Cloud</a>.</p><p id="cd3f">For the Ubiquiti UDM, I couldn’t find sufficient documentation on domain names, ports, and protocols, so I put the new device behind another one to see what it connects to as it starts up. I’ll show you how I did that in an upcoming post.</p><p id="091c">If you’re not familiar with Wireshark and packet capture, you might want to check out this post before reading my upcoming stories on watching the network watchers. I’m going to use packet capture to review the domain names to which the device connects.</p><div id="eaa7" class="link-block"> <a href="https://readmedium.com/what-is-packet-sniffing-f03f50aa230"> <div> <div> <h2>What is Packet Sniffing?</h2> <div><h3>The most basic introduction to Wireshark</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*8mhxOPYhq3jqjcUSkMzC1A.png)"></div> </div> </div> </a> </div><p id="9241">You’ll need to find a way to capture the packets flowing from one network device to another to inspect the traffic coming out of one device before it gets to the Internet. For example, you can put a PFSense in front of a Ubiquiti Dream Machine and use the packet capture function here:</p><div id="61ea" class="link-block"> <a href="https://docs.netgate.com/pfsense/en/latest/diagnostics/packetcapture/wireshark.html"> <div> <div> <h2>Diagnostics - Packet Capturing - Using Wireshark | pfSense Documentation</h2> <div><h3>Wireshark is a GUI protocol analysis and packet capture tool that can view and capture traffic much like . Wireshark is…</h3></div> <div><p>docs.netgate.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/0*uaYBK9PkUrFjcEIx)"></div> </div> </div> </a> </div><p id="add1">You can also route the traffic to a public cloud and inspect the packets in the cloud. If the only route the device can take (or is supposed to take, presuming it is working properly) is to a private network in the cloud, you can capture the network packets there and inspect them before allowing them to pass to the Internet. On most public cloud networks, inbound traffic is free. Outbound traffic costs money. You could elect to simply terminate the traffic if you are only temporarily inspecting it or allow it to continue to pass through if you want to set up ongoing monitoring.</p><p id="266a">More posts to follow on this topic as time allows. I have a few looming deadlines, training material development, and consulting calls for clients of <a href="https://www.iansresearch.com/">IANS Research</a>, so we’ll see how fast I can get this out. And yes, I’m still working on some new books too.</p><p id="2791">Teri Radichel</p><p id="dcf1">If you liked this story please <a href="https://help.medium.com/hc/en-us/articles/115011350967-About-claps"><b>clap</b></a> and follow:</p><div id="9a61"><pre><span class="hljs-symbol">Medium:</span> Teri Radichel <span class="hljs-keyword">or</span> Email List: Teri Radichel <span class="hljs-symbol">Twitter:</span> @teriradichel <span class="hljs-keyword">or</span> <span class="hljs-subst">@2</span>ndSightLab Requests services via LinkedIn: Teri Radichel <span class="hljs-keyword">or</span> IANS Research</pre></div><p id="70ec"><i>© <a href="https://2ndsightlab.com/?source=post_page---------------------------">2nd Sight Lab</a> 2022</i></p><p id="4d7c"><i>More in this series on the security of network security appliances and network connected devices:</i></p><div id="c26b" class="link-block"> <a href="https://readmedium.com/considering-where-to-buy-network-devices-204024e9ab90"> <div> <div> <h2>Considering Where to Buy Network Devices</h2> <div><h3>Have you thought about the path your devices take to get to you?</h3></div> <div><p>medium.com</p></div> </div>

Options

<div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*YqSa1dfaVLBM6w4oBfcqrw.png)"></div> </div> </div> </a> </div><div id="4ce6" class="link-block"> <a href="https://readmedium.com/pfsense-in-front-of-a-udm-why-6ff6ec83f5ed"> <div> <div> <h2>PFSense in Front of a UDM. Why?</h2> <div><h3>Surprising feedback from the networking community</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*_PW33-BetTJ35kty2bic0g.png)"></div> </div> </div> </a> </div><div id="6b5c" class="link-block"> <a href="https://readmedium.com/domain-names-used-by-devices-76440b1b0d0e"> <div> <div> <h2>Domain Names Used by Devices</h2> <div><h3>Figuring out to what domain names your devices connect</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*K91DSi_KMn9Q0m7AQM6tkQ.png)"></div> </div> </div> </a> </div><div id="8248" class="link-block"> <a href="https://readmedium.com/ubiquiti-dream-machine-pro-first-impressions-6c7f400689d7"> <div> <div> <h2>Ubiquiti Dream Machine Pro ~ First Impressions</h2> <div><h3>Initial attempt to set up the device, use the phone app, and set up a VLAN</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*wwK73_HEGrpgqvcMylULyA.png)"></div> </div> </div> </a> </div><div id="55da" class="link-block"> <a href="https://readmedium.com/host-based-firewall-to-validate-network-firewall-d37b192cbb0e"> <div> <div> <h2>Host-based Firewall to Validate Network Firewall</h2> <div><h3>Another way to watch the watchers and understand potential supply chain attacks</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*CSHvbyqxhDt7f5IN6LbLcA.png)"></div> </div> </div> </a> </div><div id="cb3d" class="link-block"> <a href="https://readmedium.com/assessing-supply-chains-the-people-8c2475372344"> <div> <div> <h2>Assessing Supply Chains ~ The People</h2> <div><h3>When assessing potential products include a review of executives, technical staff, investors, and board of directors</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*FMtG7d2nUvFi8TxKpDfOoQ.png)"></div> </div> </div> </a> </div><p id="37ba">To be continued…</p><p id="1eaa">Follow for updates.</p><p id="4a3a">Teri Radichel | <i>© <a href="https://2ndsightlab.com/?source=post_page---------------------------">2nd Sight Lab</a> 2022</i></p><div id="8b5f"><pre><span class="hljs-section">About Teri Radichel: ~~~~~~~~~~~~~~~~~~~~</span> ⭐️ Author: Cybersecurity Books ⭐️ Presentations: Presentations by Teri Radichel ⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty ⭐️ Certifications: SANS ~ GSE 240 ⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec ⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab</pre></div><div id="caae"><pre><span class="hljs-section">Need Help With Cybersecurity, Cloud, or Application Security? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span> 🔒 Request a penetration test or security assessment 🔒 Schedule a consulting call 🔒 Cybersecurity Speaker for Presentation</pre></div><div id="3b5e"><pre>Follow <span class="hljs-keyword">for</span> more stories like <span class="hljs-keyword">this</span>: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ❤️ Sign Up my Medium Email List ❤️ Twitter: <span class="hljs-meta">@teriradichel</span> ❤️ LinkedIn: https:<span class="hljs-comment">//www.linkedin.com/in/teriradichel</span> ❤️ Mastodon: <span class="hljs-meta">@teriradichel</span><span class="hljs-meta">@infosec</span>.exchange ❤️ Facebook: 2nd Sight Lab ❤️ YouTube: @2ndsightlab</pre></div><figure id="5610"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*H9Ew1KCl-29nZiPR.jpeg"><figcaption></figcaption></figure></article></body>

Watching the Network Watchers

Do you know what connections your router or firewall makes?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

⚙️ Check out my series on Automating Cybersecurity Metrics. The Code.

🔒 Related Stories: Network Security | PFSense | Netgate | Dream Machine Pro | Ubiquiti

💻 Free Content on Jobs in Cybersecurity | ✉️ Sign up for the Email List

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I recently posted this story on Twitter (@teriradichel) about ASUS routers infected by malware:

Have you ever taken a look at the traffic between your firewall or router and the Internet? Maybe you should. I did this recently with a new Ubuiqiti Dream Machine. Firewalls, routers, and other network devices sit at the edge of networks. Nothing exists between them and the Internet that can monitor their outbound traffic. Every once in a while, it’s a good idea to watch the watchers.

I am not sad to get rid of the Ubuiqiti Cloud Key, which required a concoction of strange ports and never really worked well for me (because I actually tried to set up a zero-trust network — if you don’t do that and left your network wide open, it probably worked fine). Additionally, the “high security” wi-fi device I had kept failing, maybe due to some blocked port, and the reset button broke, so I had to TFTP into it to reset it. I gave up on that a while ago after resetting it about five times. Hopefully, I’ll have better luck this time around with some different devices.

I finally decided to try again as I got tired of the black hole that is my wi-fi network and others in my household complaining that I had blocked traffic all the time (which wasn’t always the case! Sometimes streaming providers have issues). I’m hoping this new device will make it easier to pinpoint problems on the network, but we’ll see. I wrote about why wireless traffic might be challenging to analyze on your network in this series on home network monitoring.

How to inspect the traffic from your firewall or router to the Internet

One option to inspect traffic coming out of your router or firewall is to put another network appliance on it. See what connections it makes and if they are all as expected. Understand the functionality and purpose of the different network connections originating from your device. Where sufficient information does not exist, you can try to reverse-engineer what traffic the device requires and to which destinations. When you feel the information is insufficient, ask the vendor to improve their documentation. Documentation for anything on your network should include the following:

Domain Names
Ports
Protocols
Expected CIDR block ranges

If you are not familiar with that terminology I wrote about in my book: Cybersecurity for Executives in the Age of Cloud.

For the Ubiquiti UDM, I couldn’t find sufficient documentation on domain names, ports, and protocols, so I put the new device behind another one to see what it connects to as it starts up. I’ll show you how I did that in an upcoming post.

If you’re not familiar with Wireshark and packet capture, you might want to check out this post before reading my upcoming stories on watching the network watchers. I’m going to use packet capture to review the domain names to which the device connects.

You’ll need to find a way to capture the packets flowing from one network device to another to inspect the traffic coming out of one device before it gets to the Internet. For example, you can put a PFSense in front of a Ubiquiti Dream Machine and use the packet capture function here:

You can also route the traffic to a public cloud and inspect the packets in the cloud. If the only route the device can take (or is supposed to take, presuming it is working properly) is to a private network in the cloud, you can capture the network packets there and inspect them before allowing them to pass to the Internet. On most public cloud networks, inbound traffic is free. Outbound traffic costs money. You could elect to simply terminate the traffic if you are only temporarily inspecting it or allow it to continue to pass through if you want to set up ongoing monitoring.

More posts to follow on this topic as time allows. I have a few looming deadlines, training material development, and consulting calls for clients of IANS Research, so we’ll see how fast I can get this out. And yes, I’m still working on some new books too.

Teri Radichel

If you liked this story please clap and follow:

Medium: Teri Radichel or Email List: Teri Radichel
Twitter: @teriradichel or @2ndSightLab
Requests services via LinkedIn: Teri Radichel or IANS Research

© 2nd Sight Lab 2022

More in this series on the security of network security appliances and network connected devices:

To be continued…

Follow for updates.

Teri Radichel | © 2nd Sight Lab 2022

About Teri Radichel:
~~~~~~~~~~~~~~~~~~~~
⭐️ Author: Cybersecurity Books
⭐️ Presentations: Presentations by Teri Radichel
⭐️ Recognition: SANS Award, AWS Security Hero, IANS Faculty
⭐️ Certifications: SANS ~ GSE 240
⭐️ Education: BA Business, Master of Software Engineering, Master of Infosec
⭐️ Company: Penetration Tests, Assessments, Phone Consulting ~ 2nd Sight Lab
Need Help With Cybersecurity, Cloud, or Application Security?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
🔒 Request a penetration test or security assessment
🔒 Schedule a consulting call
🔒 Cybersecurity Speaker for Presentation
Follow for more stories like this:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
❤️ Sign Up my Medium Email List
❤️ Twitter: @teriradichel
❤️ LinkedIn: https://www.linkedin.com/in/teriradichel
❤️ Mastodon: @teriradichel@infosec.exchange
❤️ Facebook: 2nd Sight Lab
❤️ YouTube: @2ndsightlab
Network Security
Firewall
Packet Capture
Malware
Reverse Engineering
Recommended from ReadMedium