<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Locked Dorr Security on Medium]]></title>
        <description><![CDATA[Stories by Locked Dorr Security on Medium]]></description>
        <link>https://medium.com/@LDS_Cyber?source=rss-173118c6ade0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Hu-4uUROP-gned6bRMKEjA.png</url>
            <title>Stories by Locked Dorr Security on Medium</title>
            <link>https://medium.com/@LDS_Cyber?source=rss-173118c6ade0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 03:11:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@LDS_Cyber/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why You Need a Dual-Purpose Monitoring Dashboard]]></title>
            <link>https://medium.com/@LDS_Cyber/why-you-need-a-dual-purpose-monitoring-dashboard-1974240f44e9?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/1974240f44e9</guid>
            <category><![CDATA[docker-compose]]></category>
            <category><![CDATA[links]]></category>
            <category><![CDATA[homepage]]></category>
            <category><![CDATA[network-monitoring]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Thu, 09 Jan 2025 20:35:31 GMT</pubDate>
            <atom:updated>2025-01-09T20:35:31.073Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HT0vZn1x97LXlIxdVqKcig.png" /></figure><h4><strong>What do you mean, Dual Purpose?</strong></h4><p>At some point, we’ve all found ourselves in this situation — whether you’re a seasoned IT professional or a home lab enthusiast. When I first ventured into the home lab scene, my initial challenge was deciding what hardware to use. Fast forward a bit, and once those basics are sorted, new challenges quickly arise. Suddenly, you find yourself asking: How am I supposed to keep track of all these IP addresses? How can I be sure my connectivity is stable? Do I have enough resources to support everything running in my environment?</p><p>These are all valid and crucial questions! So, why not centralize everything — IP addresses, URLs, connectivity checks, and system health monitoring — on a single, easy-to-use dashboard?</p><h4>How Can I do this?</h4><p>This can all be achieved using a single virtual machine running Docker — yes, that’s all you need. The complexity of your network setup and connectivity will ultimately depend on your specific environment, as no two networks are exactly alike. I won’t downplay the process or oversimplify it, so here’s a bit of transparency: you’ll need a solid understanding of virtualization and Docker to get this up and running. For those already asking these kinds of questions, home lab and network enthusiasts alike, this setup is the natural next step in leveling up your skills.</p><h4>The setup to rule them all!</h4><p>I know, it’s a bold claim — and yes, it’s a bit biased, but I promise it’s worth your attention. I’m genuinely excited to share this because I believe many of you will find it incredibly useful. So, what’s the setup already? What server, application, or container am I using? I’m running Docker on Ubuntu Linux Server Edition, leveraging Docker Engine and Docker Compose. If you’re unfamiliar, <a href="https://docs.docker.com/engine/install/ubuntu/">Docker’s official documentation</a> provides excellent step-by-step instructions to get started.</p><p>The container I’m using is called <a href="https://gethomepage.dev/">Homepage </a>—</p><blockquote>A modern, fully static, fast, secure, and fully proxied application dashboard. It’s highly customizable, supports integrations with over 100 services, offers translations in multiple languages, and can be configured effortlessly through YAML files or Docker label discovery.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ttm95epSLjx0QU6hZK8G-g.png" /><figcaption>Homepage Setup</figcaption></figure><h4>What is the Big Deal?</h4><p>As you can see in the picture above, not only am I seeing the health of the server that is hosting this docker container as well as container health, DNS stats, the health of my proxy servers, but they are also LINKS!!! That is right, Bookmarked links with purpose!</p><p>Hopefully you are impressed as much as I am with it. It took a good bit of configuration to get here. I host my own private Gitlab Repository, and unfortunately, it is not public. But fear not, Homepage’s Documentation is top notch and will show you how to do everything. I would like to make some recommendations though. But before that, all of what you see started from this little itty bit of YAML</p><pre>---<br>services:<br>  homepage:<br>    image: ghcr.io/gethomepage/homepage:v0.10.1<br>    container_name: homepage<br>    env_file: .env<br>    environment:<br>      - PUID=$PUID<br>      - PGID=$PGID<br>    ports:<br>      - 3000:3000<br>    volumes:<br>      - ./config:/app/config # Make sure your local config directory exists<br>      - ./icons:/app/public/icons<br>      - /var/run/docker.sock:/var/run/docker.sock:ro # (optional) For docker integrations<br>    restart: always</pre><h4>Recommendations</h4><p>Whenever possible, make use of variables. Since Homepage offers numerous methods for monitoring, variables allow for greater flexibility in your configuration. More importantly, they enable you to share your setup without exposing sensitive information like usernames, passwords, or API keys. To illustrate this, I’ll share a brief code snippet from my own configuration so you can see exactly what I mean.</p><pre>- Network Management:<br>    - Unifi UMD Pro SE:<br>        icon: unifi.png<br>        href: &quot;{{HOMEPAGE_VAR_UNIFI_NETWORK_URL}}&quot;<br>        description: Unifi UDM Pro SE<br>        widget:<br>          type: unifi<br>          url: &quot;{{HOMEPAGE_VAR_UNIFI_NETWORK_URL}}&quot;<br>          username:  &quot;{{HOMEPAGE_VAR_UNIFI_NETWORK_USERNAME}}&quot;<br>          password:  &quot;{{HOMEPAGE_VAR_UNIFI_NETWORK_PASSWORD}}&quot;<br>    - OPNSense Lab Firewall:<br>        icon: opnsense.png<br>        href: &quot;{{HOMEPAGE_VAR_OPNSENSE_DMZ_URL}}&quot;<br>        description: OPNSense DMZ Lab Firewall<br>    - Pi-hole Main:<br>        icon: pi-hole.png<br>        href: &quot;{{HOMEPAGE_VAR_PIHOLE_URL_1}}&quot;<br>        description: Home Main DNS Server<br>        widget:<br>          type: pihole<br>          url: &quot;{{HOMEPAGE_VAR_PIHOLE_API_URL_1}}&quot;<br>          key: &quot;{{HOMEPAGE_VAR_PIHOLE_API_KEY}}&quot;</pre><h4>What do you have to configure?</h4><p>To achieve the setup shown above, several YAML files need to be configured, along with meeting a few key requirements. In addition to the Homepage Docker container, I’m also running docker-proxy. Instead of directly exposing the Docker socket, docker-proxy provides a more secure way to interact with it. This approach not only enhances security but also allows you to monitor Docker containers running on remote servers, not just those on the same host as your Homepage container. Below are the YAML files you’ll need to edit or modify.</p><ul><li>docker.yaml</li><li>services.yaml</li><li>settings.yaml</li><li>widgets.yaml</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*udKuUUI6erj8_CG8vC4TBw.png" /><figcaption>gitlab repo</figcaption></figure><h4>What if I want more detail about the container?</h4><p>How do you always know the right question to ask? Well, here’s a helpful solution — you guessed it — another Docker container called Glances. Glances is an incredible tool that provides a fast and comprehensive snapshot of your server’s current status. With just a quick “glance,” you can easily monitor key aspects of your system’s health, including:</p><ul><li>CPU usage and load</li><li>Memory/RAM utilization</li><li>Network traffic (Tx/Rx)</li><li>File system space (used/available)</li><li>Docker containers, sorted by CPU consumption</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k28oTGPsJCTtw7cKbikSvw.gif" /></figure><h4>What‘s Next?</h4><p>If you really like what you see here and you want to replicate this, please reach out to me or comment below. There are also great resources on YouTube like <a href="https://www.youtube.com/watch?v=mC3tjysJ01E">Techno Tim</a> and <a href="https://www.youtube.com/watch?v=j9kbQucNwlc&amp;t=1s">Christian Lempa</a> who are worth a follow outside of this blog anyway. I have been absolutely loving this</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1974240f44e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why You Should Use Docker: Unlocking Efficiency and Flexibility in Development]]></title>
            <link>https://medium.com/@LDS_Cyber/why-you-should-use-docker-unlocking-efficiency-and-flexibility-in-development-7180520d1ba0?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7180520d1ba0</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[containerization]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Tue, 03 Sep 2024 18:36:58 GMT</pubDate>
            <atom:updated>2024-09-03T18:47:46.019Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3NYQLMPujvU4FLnoTsMvcQ.png" /></figure><p>Docker simply put, is “AWESOME!” But why? In the fast-paced world of software development, efficiency, consistency, and speed are crucial. Whether you’re a solo developer, part of a small team, or working in a large enterprise, managing applications in different environments can be a complex and time-consuming task. This is where Docker comes in — a game-changer that simplifies these challenges and brings a host of benefits to your development workflow. Let’s dive into why Docker is awesome, how it saves time, and why you should consider making it a core part of your development toolkit.</p><h4><strong>What is Docker?</strong></h4><p>Docker is an open-source platform that automates the deployment of applications inside lightweight, portable containers. These containers are isolated environments that package your application and all its dependencies — libraries, binaries, and configuration files — ensuring that it runs consistently across various computing environments. In laymans terms, it is like an isolated virtual machine inside of your operating system that contains everything your application needs to run into a small, self-contained unit, making sure it works the same way on any computer.</p><h3><strong>What are the Benefits of using docker?</strong></h3><h4>1. Consistency Across Environments</h4><p>One of Docker’s most compelling features is its ability to eliminate the “it works on my machine” problem. By encapsulating an application and its dependencies within a container, Docker ensures that your application will behave the same way, regardless of where it’s run — be it on a developer’s laptop, a testing environment, in your home lab, or a production server. This consistency is crucial in reducing bugs and errors caused by differences in operating systems, software versions, or configurations.</p><h4>2. Speed and Efficiency</h4><p>Docker containers are lightweight and boot up in seconds, unlike traditional virtual machines that require more system resources and take longer to start. This speed significantly enhances your development workflow, allowing for rapid iterations, testing, and deployment. You can quickly spin up a container, make changes, and see the results without the overhead of managing a full virtual machine.</p><h4>3. Isolation and Security</h4><p>Each Docker container runs in its own isolated environment, which means that applications and services in different containers do not interfere with each other. This isolation is beneficial for security as well; if one container is compromised, it doesn’t affect others. Moreover, Docker’s containerization approach makes it easier to adhere to best security practices by limiting access to resources and running only what is necessary.</p><h4>4. Portability</h4><p>Docker containers are highly portable. You can build a container on your local machine and then deploy it on any system that supports Docker, without worrying about compatibility issues. This portability makes Docker an excellent tool for continuous integration and continuous deployment (CI/CD) pipelines, where code needs to move quickly and reliably from development to production.</p><h3><strong>What Docker Projects have I worked on?</strong></h3><p>Over the past couple of years, I have really been focusing on building and testing various applications. Before docker, I used to do a 1 to 1 ratio. I used a single Virtual Machine for a single application or service. This quickly costs a lot of resources and is not really that quick. Fast forward to today and now I have two virtual machines running over 15 applications and services. In effort to not draw this out, I will share a couple of projects that I use pretty often.</p><h4>1. Authentik</h4><p>This is a really great Identity Management platform that allows me to access applications I host more securely. This prevents access to my back end applications and services unless you authenticate with authentik first. Depending on the container you are running, you can setup Single Sign On or SSO simplifying the login process and reducing the amount of times you have to authenticate. This is what my dash looks like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4NsJzni7CmVukOwL7nZorw.png" /><figcaption>Authentik Applications on Dashboard</figcaption></figure><h4>2. Homepage</h4><p>I would be lost without homepage, simply put. In the early days of building out my lab environment, I was always saying I wish there was an easier way to save or bookmark the many links I use daily in my environment. Homepage does this, and a whole lot more. It gives me the ability to access what I need quickly as well as some useful information about my environment all in once place. Check it out</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-yLR_KGM5ltFASHSuL6r9A.png" /></figure><h4>3. Docmost</h4><p>I just started using Docmost pretty recently, and the reason for this is that I use notion in my day to day job and really like it. I just happened to come across Docmost in a YouTube video. It is a versatile documentation platform designed to streamline the organization and sharing of information, much like Notion. It offers a user-friendly interface where teams can create, edit, and collaborate on documents in real-time. Similar to Notion, Docmost combines features like note-taking, task management, and collaborative workspaces, making it easy to manage projects, track progress, and store important data in a centralized location. Whether you’re working solo or with a team, Docmost provides a cohesive environment for keeping all your documents and tasks in one place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*019l_-CpXWeY6zKHlZY6-A.png" /></figure><h3>The Best Part?</h3><p>I can easily move these into any environment including my data and start all these containers up and a few minutes be up and running. This is the best part of docker, and also, this is a whole other post on how to do this!</p><h3>Conclusion: Why You Should Use Docker</h3><p>All this is pretty compelling right? Docker isn’t just a tool; it’s a paradigm shift in how we think about software deployment, development, and management. By leveraging Docker, you gain consistency across environments, speed up your development process, enhance security, and save on costs — all while enjoying the flexibility to run your applications anywhere. Whether you’re developing a small personal project or managing a large-scale enterprise application, Docker can significantly boost your productivity and streamline your workflows. If you haven’t already adopted Docker, now is the time to dive in and experience its transformative impact on your development lifecycle.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7180520d1ba0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Securing your Self -Hosted Applications with Authentik]]></title>
            <link>https://medium.com/@LDS_Cyber/securing-your-self-hosted-applications-with-authentik-f2f90df566a9?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/f2f90df566a9</guid>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Sun, 23 Jun 2024 19:21:08 GMT</pubDate>
            <atom:updated>2024-06-23T19:27:19.667Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KAMJFWjzSQaHEVTb_Hs1WA.png" /></figure><p>Although it doesn’t seem as niche today is it did even just 5 years ago, and it still may be, but self-hosted applications and self-hosted labs seem to be on a growing trend. A lot of it driven by securing our own personal data versus giving it to third parties to sell and in turn sell our data to make money off of us.</p><p>The great thing about a lot of the open source projects in the last few years is the capability we can now have without having to spend thousands of dollars. Although you can do this for free, it is worth considering donating to these projects to help keep them going. In particular, this is one I really appreciate and will donate to. This application is authentik. Their webiste is <a href="https://goauthentik.io/">https://goauthentik.io/</a></p><blockquote>Why authentik?</blockquote><blockquote>Using a self-hosted, open source identity provider means prioritizing security and taking control of your most sensitive data. With authentik, you no longer need to continually place your trust in a third-party service.</blockquote><p>When you want to access your applications form the internet, it requires a few steps to ensure that application is reachable. In most cases, incoming traffic on http or https will be forwarded to a reverse proxy which will provide access to the back end resource you are looking for. For example, you may host your own wiki and use an application like bookstack or even better, host your own gitlab repo. Whatever it is, you can use authentik to securly access these applications by ensuring they are only accessible via logging in and authticating with authentik first which various <a href="https://docs.goauthentik.io/docs/providers">providers</a> like OAuth, SAML, LDAP, Proxy, and many more.</p><p>Aside from the added security, it is the wow factor to. The first rule in security is to look cool! Am I right? Yea, you got me, that is toally made up, but a former colleage I worked for used to joke with me about that. I won’t lie, Authentik is pretty cool. This is an example of what your dashboard could look like when logging in and authenticating.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SMgrinoooiE2mzlfTbcXGg.png" /><figcaption>Authentik user interface</figcaption></figure><p>Those are my self-hosted applications, but yours may differ. We all have our own use cases and workloads. As you can probably tell, I deal a lot with docker and containerization. Some of those containers help me manage my containers while others give me an overall system status and also serve has a bookmark as well. I can safely access these from remote through an excrypted SSL/TLS connection over the internet if I ever need to without having to VPN, and that is kind of nice if I need to access something in a pinch.</p><p>Authentik will also give you stats and system info and let you know if there are any updates from the Admin interface. Here is a glimpse of what it looks like. Keep in mind, this is not the whole page, I am just showing the non sensitive information.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zc9hH78_98OdNcQ7K3_jhg.png" /></figure><p>The great thing about Authentik is that it works great with Nginx Proxy Manager. I use Nginx Proxy Manager for accessing my backend applications. As you can see in the picture below, I have 8 proxy hosts actively in use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4jWNSibsXK4nZTE8AuBTfQ.png" /></figure><p>If you are interested, I will provide you with a great video that will help get you started and it is a channel on YouTube I recommend that you follow for other great content as well.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FKlDJ4K45M_o%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DKlDJ4K45M_o&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FKlDJ4K45M_o%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/da9fb7d08bb4ee0e4d71ce1cceb4190c/href">https://medium.com/media/da9fb7d08bb4ee0e4d71ce1cceb4190c/href</a></iframe><p>The shownotes for this episode will provide you with everything you need to get going</p><p>Show Notes:<br><a href="https://wiki.opensourceisawesome.com/books/authentik/page/install-and-setup-authentik">https://wiki.opensourceisawesome.com/books/authentik/page/install-and-setup-authentik</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f2f90df566a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Managing Docker Containers]]></title>
            <link>https://medium.com/@LDS_Cyber/managing-docker-containers-b1c0e0e61186?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1c0e0e61186</guid>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Sun, 31 Mar 2024 03:06:20 GMT</pubDate>
            <atom:updated>2024-03-31T03:06:20.730Z</atom:updated>
            <content:encoded><![CDATA[<p>It used to be a whole lot more difficult and less efficient to run web servers and applications before virtualization came along. Virtualization changed the game. Then add containerization!!! Mind blown. There was a learning curve to understanding the inception that is virtualization, especially if you are a network engineer. Checking the physcial layer is much different.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z0jLB47Q-vGhjvJ53a479Q.png" /><figcaption>dockge, nginx-proxy-manager, and gitlab</figcaption></figure><h3>Docker</h3><p>What is docker and why would I want to use it? Direct from <a href="https://docs.docker.com/get-started/overview/">Docker’s website</a>, “Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructure so you can deliver software quickly. With Docker, you can manage your infrastructure in the same ways you manage your applications. By taking advantage of Docker’s methodologies for shipping, testing, and deploying code, you can significantly reduce the delay between writing code and running it in production.”</p><p>So, what does all that mean. Much like virtualization, you can share compute resources to containers which are isolated from the operating system. You can run multiple applications on one server with only one operating system. Cool right? Absolutely!!</p><h3>How can I take advantage of Docker</h3><p>For all the home labbers out there and the DIY networkers, docker has simplified so many things that used to be difficult and mundane. I am going to cover a few projects that I am using it for, and my build is still in the process.</p><p>Here are a list of containers that I am running at home, and this is not all of them either.</p><ul><li>Dashmachine</li><li>dockge</li><li>Portainer</li><li>nginx-proxy-manager</li><li>authentik</li><li>gitlab</li><li>guacamole</li><li>bookstack</li></ul><p>There are many more projects and containers out there. Home automation is a big one. How did I get into it? Well, I was building cyber ranges at home and I was tired of having to bookmark every URL I needed to manage my lab environments. I thought, it be so cool if I had a web page of favorites. I have that now with Dashmachine. It has not been developed for a while, but I am so used to it that I continue to use it. There are plenty of others to choose from. I will show an screenshot of my home dash.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*POP5rtsPGw4TVarRFOZapA.png" /><figcaption>Home Dash on Dashmachine</figcaption></figure><h3>Bookstack</h3><p>This is a great application. I use it pretty much as a wiki site because I can create books and chapters by category. Everything I do usually involves technology, so my bookstack is going to be themed around all that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AlupBInbj_sXrwHYlAHTMQ.png" /><figcaption>my bookstack</figcaption></figure><h3>nginx-proxy-manager</h3><p>This is a must have. This allows me to host web services and not have to open up several ports on the firewall to access them. Everything is directed to my proxy manager. The proxy manager manages the SSL/TLS certs with Let’s encrypt allowing me to have secure encrypted connections from anywhere. I decide what applications I want to be accessible and within seconds I am able to get it working. Setting up nginx on a per host basis was not as easy, and for sure not as efficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J-snTexEHl0Zox4ucHEqAg.png" /></figure><h3>Guacamole</h3><p>Another need that I had was being able to access websites that I could not get to from where I work. For instance, I use notion a lot, but from the facility I work in, it is not accessible, so I use guacamole which is a html5 client that can remotely connect to my home network which allows me to access my troubleshooting documents that I use for work.</p><h3>What about Managing this?</h3><p>There are great ways to manage these containers. There are several options for this. A couple popular ones that a lot of home labbers use is portainer. Another that I have come accross recently is dockge. They both have give an take. I like portainer overall because it is just much easier to manage the containers with a whole ton of options, templates and so one. Dockge is awesome thought. I like how I can see the docker-compose.yaml so I can get a quick glance on how it was configure. What both allow you to do is quickly see what containers are running, if they are healthy and then stop, restart as needed. You should really consider using something like this to manage your containers.</p><p>Dockge</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2DYMTogAMWtRmI1gbCOOHg.png" /></figure><p>Portainer</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kYVuCp222beCTgFccQus-g.png" /></figure><h3>Backing up the Data</h3><p>The big reason I am writing about this is because of how the backup process works. I have watch a ton of videos on YouTube, but never considered how I was going to backup my containers. Configuring them, getting them working and working well can take some time. I would for sure not want to start from scratch again. What I picked up I got from a YouTuber @AwesomeOpenSource. He has a great wiki page which can be reached at <a href="https://wiki.opensourceisawesome.com/">https://wiki.opensourceisawesome.com/</a></p><p>So what is it? The structure I use is making a docker directory write from my home directory. Then every application I run is a sub-folder inside of that. This keeps everything organized. Because of this, I am easily able to tar everything up in a tar.gz file and rsync this to my NAS with the use of a cron job. Here is a visual representation using the tree command below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*Sy5KeddSVvldBQzc9n1X_Q.png" /></figure><p>What do you think of all this? Does it make you want to use docker if you are not already doing it?</p><p>If you enjoyed this content, please considering following me on Medium.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1c0e0e61186" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ProxMox Server on a Laptop?]]></title>
            <link>https://medium.com/@LDS_Cyber/proxmox-server-on-a-laptop-c02a0d615175?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c02a0d615175</guid>
            <category><![CDATA[proxmox]]></category>
            <category><![CDATA[labber]]></category>
            <category><![CDATA[homelab]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Thu, 16 Nov 2023 01:51:22 GMT</pubDate>
            <atom:updated>2023-11-16T02:46:41.201Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-PIjWmLNrcH0v7Tj668glQ.png" /></figure><p>All those home labbers out there have a spot near and dear to my heart, well, because I am one of them. Setting up a home lab with all new equipment can be pretty expensive. A lot of us have a budge constraint we have to work within. The good news is that you can find pretty inexpensive used laptops on ebay like the <a href="https://www.ebay.com/itm/256260119943?hash=item3baa4b1d87:g:lcoAAOSwadFlUZNU&amp;amdata=enc%3AAQAIAAAAwLBYtGmSeVePWAqQQh475GbEKE9uFISpGJyVrKdUAZEUSy05p0EoIIo96NRpP4Dy4xCpq7Ftygulwfjz%2BTtMzNafrKB09iujygCKz86vC9S055VrHq9ijZH3FgnNhHf1xteJxZnn9IrJjMVy1jOaS1SwHiOwr2qI60cIDciSzX%2F2pj5ufvl0JShH%2FMnncQhgN0ebRRgTOLfsYuf%2Fe8XsjsYRWtFKEjeOqE2S4ODUZWkAEP6mRZBtx3Cl6njzX3vlnw%3D%3D%7Ctkp%3ABk9SR5S099v6Yg">Lenovo Thinkpad T480</a> with 16GB of RAM for $210 or If you want to add your own RAM you can. There is a little bit of a step up at for $375 that comes with 32GB of RAM and a 1TB hard drive so it is already to go if you don’t want to mess with the hardware. This one is a Lenovo ThinkPad T470.</p><p>You may already have a spare laptop laying around as well, so your cost could be zero to convert it.</p><h4>Is this going to even be powerful enough?</h4><p>We aren’t going to be running anything state of the art here, but that doesn’t have to be the goal. This will be more than plenty to run lots of docker containers to experiment with application security and some network/security engineering. There are so many containers out there that you can get into. A cool docker project is portainer, where you can create and manage Docker containers through a graphical user interface. The opportunities are endless.</p><h4>What are some of the gotchya’s with running ProxMox on a Laptop?</h4><p>This one may be a familiar thing in many scenario’s, however, ever close your laptop lid and puts everything in standby? That for sure happens in ProxMox. Fear not though, there is a pretty simple fix for that.</p><p>To prevent ProxMox from going into sleep, all you have to do is make a quick modification from the command line. Here are the steps.</p><ol><li>Navigate to config file with vi or nano</li></ol><pre>nano /etc/systemd/logind.conf</pre><p>2. Uncomment out</p><pre>HandleLidSwitch=suspend</pre><p>and change it to</p><pre>HandleLidSwitch=ignore</pre><p>3. Restart the systemd-logind</p><pre>systemctl restart systemd-logind</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/474/1*P64L8bYxhmcb0Irv6mZQaw.png" /></figure><p>I am running ProxMox on an Lenovo ThinkPad T460 that I had laying around have been using up until recently. I love the labber life and glad to share with the community. Happy Labbing</p><h3><strong>ProxMox</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ShA3ph5RGlbKIjDvY6APsw.png" /></figure><h4>Dashmachine Project</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s2suCkZGKnh8qhgPd2lnsQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c02a0d615175" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Set up a “Host Only” Malware Testing Environment in esxi]]></title>
            <link>https://medium.com/@LDS_Cyber/set-up-a-host-only-malware-testing-environment-in-esxi-ec3522a3f8a5?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec3522a3f8a5</guid>
            <category><![CDATA[malware-analysis]]></category>
            <category><![CDATA[vmware-esxi]]></category>
            <category><![CDATA[vyos]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Tue, 14 Nov 2023 00:40:37 GMT</pubDate>
            <atom:updated>2023-11-15T17:18:17.764Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZhKpVgyF4UQBvEN_zXlGA.png" /></figure><h3>What if I want to use esxi instead of virtual box, ProxMox, or VMWorkstation?</h3><blockquote>Quote from <a href="https://notes.huskyhacks.dev/blog/malware-analysis-labs-internal-network-vs-host-only">HuskyHacks</a></blockquote><blockquote>Learn how to set up a truly isolated lab network for malware analysis and the safety considerations of different lab setups.</blockquote><p>What if you have a couple of servers or unused computers that you repurposed as virtualization servers? What if you want to isolate those servers on a totally different VLAN on your home network to isolate it even more? No matter what you want to do, you have options.</p><p>Creating a host-only or isolated environment for malware testing is a crucial practice in your home office or workplace. The primary motivation behind this approach lies in the need to shield the broader network and systems from potential harm during the evaluation of malicious software.</p><p>By confining the testing environment to a host-only setup, you minimize the risk of unintended infections spreading across your network or affecting critical systems. This controlled setting allows security professionals and researchers to dissect and analyze malware without jeopardizing the integrity of the larger infrastructure. Moreover, an isolated environment provides a safe space to observe the behavior of various malware types, aiding in the development of effective countermeasures and security protocols. In essence, the choice to create a host-only or isolated environment underscores a proactive and responsible approach to understanding, combating, and ultimately defending against the ever-evolving landscape of cyber threats.</p><h4>So, How do we do it?</h4><p>It is much easier when dealing with a type 2 hypervisor like Virtual Box or VMWorkstation, but it is a different story with esxi. The goal is to follow a similar concept. So, what are we going to be working with and what should we familiarize ourselves with?</p><ul><li>vSwitch</li><li>Port Groups</li><li>VLANs</li><li>Uplinks</li></ul><p>So do not worry, these are not complicated terms to understand. Here is a picture below to convey what it is happening. Remember this depicting it logically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*etMFpJ8cxPKO3Sgmw2r1Dg.png" /></figure><p>If you need internet access, you just virtually connect the router to the firewall on the vSwitch that has a connection to the physical network and out to the internet. The two vSwitches are isolated form each other and the Malware vSwitch is completely isolated in terms of having no uplink / physical network adapters connected to it.</p><p>There is a good course provided by TCM Security called, <a href="https://academy.tcm-sec.com/p/practical-malware-analysis-triage">Practical Malware Analysis &amp; Triage</a> that covers this. What I am doing is taking the same concept and applying to VMWare esxi. While VMWorkstation and Virtual Box are type 2 hypervisors, meaning they are installed on top of an operating system, VMWare esxi is a Type 1 Hypervisor, or installed directly on hardware. That is another thing entirely, so back to the topic.</p><h4>What VMs do you recommend? How do I prepare the environment?</h4><p>So the great thing is, you won’t need much. This guide assumes you have already installed esxi and have working server. By default, most instances you find in the home lab will resemble the default out of the box configuration. You have a lot of flexibility to name, configure and change settings to make it more personalized and processional, but that is not really part of the scope.</p><p>By default, your everything will be attached to vSwitch0. You will find the default port group and the VMKernel. One thing to keep in mind, not everyone has the same hardware. In this situation, I have multiple Network Interface Cards (NICs) on my server, however, you only need to have 1 attached to the vSwitch for connectivity. It is best practice to have redundancy, but for the purposes of this, no need to worry about it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8799MkI4LgNmuo9LOxGmmg.png" /></figure><p>As you can see above, I created a vSwitch named Malware-Analysis, created a portgroup called Malware-LAN that is attached to this vSwitch and I have NO PHYSICAL Adapters attached. The only VM that will share a Port Group from the standard vSwitch0 is the firewall. The screenshot below is similar to the one you saw a moment ago, it’s just not showing the isolation. Instead, it will show the logical shared port-group. This is only needed for initial setup. For example, you may need access to the internet to download any tools, configurations, or the malware you wish to use to perform analysis. Once this is complete, there is no need or requirement for internet access any longer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wjnalmM6FJuDBQhK6PNDwQ.png" /></figure><p>Once you download what you need, disconnect that port group all together in the vm settings. Reference the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*Zx-oBGvB9oK5s0NyHbkmfA.png" /><figcaption>Effectively disconnects vyatta Router from pfsense Isolating the vSwitch</figcaption></figure><p>This severs any ability for the Malware vSwitch to connect out to the internet because all logical and physical connections are disconnected. There are no physical adapters on the Malware vSwitch and there is no longer any logical connection to the vSwitch that is connected to the physical network.</p><h4>The Core Virtual Machines (VMs) and their purpose for preparation of the environment</h4><p>The core VMs I used to make this work are pfSense Firewall and VyOS Router. The purpose that pfSense firewall is serving is the edge connection between the physical network and edge connection between both vSwitches. It gives us the ability to filter traffic and an extra layer of protection. The VyOS router serves a couple of purposes. The purpose of the VyOS router is to serve as the edge connection to pfSense to be able to access the internet if needed to download tools and make final preparations to the VMs before detonation of malware for analysis. It will also act as the DHCP server and connection for all the Malware Analysis VMs to be able to communicate with one another. After this, the pfSense firewalls serves no purpose and should not really be considered as part of the isolated environment.</p><h4>The Core Virtual Machines (VMs) and their purpose in the isolated environment</h4><p>The core VMs in the isolated environment will be the following Virtual Machines (VMs)</p><ul><li>VyOS Router (DHCP server)</li><li><a href="https://github.com/mandiant/flare-vm">FlareVM from Mandiant</a></li><li><a href="https://docs.remnux.org/install-distro/get-virtual-appliance">Remnux</a></li><li><a href="https://wazuh.com/install/">Wazuh Server</a></li></ul><p>During analysis, the VyOS router will be disconnected from pfSense severing any ability for the router itself and any of the VMs to reach your home or business network, and even worse, out to the internet. Ensure you do your due dilligence and MAKE SURE THE CONNETION is disabled. We do not have the same luxury as we do in VMWorkstation or VIrtual Box as that is handled automatically for us.</p><p><strong>FlareVM</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QzdnK_6uMLGbEcRBQk0DbA.png" /></figure><p><strong>REMNux</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4gQl7b10Dkt3fhm2G5kQuQ.png" /></figure><p><strong>Testing connectivity to the Internet</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z52JAqifKX9QyJF1u8TMYQ.png" /></figure><p><strong>Testing Internal Connectivity between each box</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vwT6-2mhvxARxxdlFkFT2A.png" /></figure><p>Testing Internet connection with VyOS Router and pfSense Disconnected logically (Isolated)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NzGgtDa15QxBTLGBdZSvCw.png" /></figure><p>As you can see in the images above, everything is working as it should. The pictures are in logical order of the process. I needed internet to build FlareVM, updated Remnux and get whatever tools. I then tested conenctivity internal to make sure the hosts could talk to each other. Lastly, I went in esxi and disconnected the port group on the VyOS router to pfSense and it killed the connection between vSwitche’s for total isolation. I hope this guide was helpful and happy malware testing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec3522a3f8a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Packet Analysis with Magic Shark]]></title>
            <link>https://medium.com/@LDS_Cyber/packet-analysis-with-magic-shark-4a755076244?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a755076244</guid>
            <category><![CDATA[wireshark]]></category>
            <category><![CDATA[pcap-analysis]]></category>
            <category><![CDATA[tshark]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Sun, 21 May 2023 01:02:45 GMT</pubDate>
            <atom:updated>2023-05-21T01:02:45.022Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TxScFsTHR7lrANa6XRXXtg.png" /></figure><h3>Packet Analysis and Why</h3><p>Packet analysis is very important in discovering the events that have lead to a compromise, or even just troubleshooting. It is probably good to question the first thing that comes to mind when someone says packet analysis to discover the lens you are reading this post in. There are many utilities for conducting packet analysis. and it is not just for finding evil. Why am I saying all that? Because you need to have an objective or a goal for doing it right? Yes, that is correct. It would be silly to just start grabbing pcap files and just opening them up in Wireshark with no objective or goal in mind. This post is going to focus more on a methodology and is based around finding evil. To look for evil does not mean we will always find evil. The focus is the methodology that will help us do that over time.</p><h3>So why tshark?</h3><p>Good question to ask, what can tshark do that wireshark can’t or any other packet analyzer for that matter. It is much easier when you are trying to dive deeper into a packet with tshark than wireshark. I like to use wireshark initially just because of the profiles you can use to make your searches a bit more standardized, but when it comes to trying to get a more specific answer, the ability on the command line to sort and manipulate the data gives you a bit more flexibility.</p><h3><strong>tshark Fields to analyze PCAPs</strong></h3><p>You are going to want to get to know these types of options to help you narrow down the data you are looking for. There a lots of fields you can look at, however, you will want to develop some sort of methodology so it is not just taking wild stabs at a pcap in the dark</p><h3><strong>Fields (few examples)</strong></h3><ul><li>ip.src</li><li>ip.dst</li><li>ip.proto</li><li>udp.dstport</li><li>dns.query</li><li>http.user_agent</li><li>http.request.method</li><li>http.request.uri</li><li>http.request.full_uri</li></ul><p>I wrote a<a href="https://medium.com/@LDS_Cyber/packet-analysis-with-tshark-58450ffeb278"> blog post about this on my medium page</a> that has more about this, but I am now going to transition into magic shark and the reason why I developed it the way I did. It still needs some work, but it&#39;s a good starting point.</p><h3>Time to Introduce Magic Shark</h3><p>There are several ways to do analysis on captured network traffic. Many are familiar with Wireshark, and with that being said, those of us who use it understand it is not great with very large pcap files. So why use tshark when you have a very user-friendly graphical user interface in Wireshark? Simply put, the command line always offers more flexibility and efficiency. It is easier to rank, sort and manipulate the data to only show what you want to see versus being shown everything by default and spending hours creating filters and views to get Wireshark to show only what you want. The ability to utilize multiple command line utilities like sort, awk, grep and so on is priceless. Graphical user interfaces are often limited to that where the command line is usually limited by your imagination. Lastly, your profile doesn’t always follow you from device to device. Imagine having to rebuild all those search filters from scratch. You do not have to worry about that with Magic Shark, that is why it is magic!!</p><p>Before we get into how it works and what it is, I want to cover the intent behind this tool. I wanted to create quick search queries that have some meaning behind them. What I mean is we don’t just scroll through a packet capture aimlessly. This is something you come to understand after doing analysis ovet the years. You begin to learn what things are normal, and what appears to be anomalous. As a security professional, you will become very intimate with the terrain you defend, and with that comes the knowledge of what is supposed to be there, and what isn’t. While there are many uses for packet captures, one being troubleshooting, that is not our focus or goal. Our goal is to identify the top traffic, top source IPs, Top ports, and User agents for example. This will give us a quick view of the network and see if any further investigation needs to be done. For example, depending on policy, your organization may not allow itunes or spotify to be used. With magic shark, I can quickly conduct a scan on what user agents are out there and have it ranked from highest to lowest in terms of how many times it was observed.</p><p>The limit on what can be done is to the limit of a person’s imagination.</p><h3>How do I get it?</h3><p>Magic shark is a tool written in python that allows you to analyze pcaps. There is no functionality built in for live capture. This is only meant for analysis on already captured pcaps. There are 12 hunts you can select from currently. There may be more added in the future. You can find it on <a href="https://github.com/bdorr1105/magic-shark">github here</a> Review the readme for instructions on how to utilize it and to view some of the screenshots. I welcome suggestions on how to make it better, but, I can’t promise the time I will have to maintain it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1015/1*1evcgz5a-jdYvQ7du8puCA.png" /><figcaption>example top traffic scan</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a755076244" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Managing Linux Firewalls]]></title>
            <link>https://medium.com/@LDS_Cyber/managing-linux-firewalls-e3fd51418a23?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3fd51418a23</guid>
            <category><![CDATA[firewalld]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[ufw]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Sat, 06 May 2023 22:13:57 GMT</pubDate>
            <atom:updated>2023-05-06T22:13:57.109Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PcuHBiEYQWJy_PaPA9aZmA.png" /></figure><p>There have been lot’s of us who started out using Windows Operating systems and they have dominated the marked for many years. A lot of security professionals end up crossing path’s with Linux operating systems, which are known for their robust security features, including built-in firewall capabilities. However, managing a firewall on a Debian or Red Hat Enterprise Linux (RHEL) system can be a daunting task, especially for those new to the platform. I worked on a few scripts that will help with the basics of managing firewalls on Debian and RHEL systems, including how to configure and manage firewall rules, troubleshoot common issues, and ensure that your system remains secure against potential threats. Whether you are a seasoned Linux administrator or just starting out, this guide will provide you with the knowledge and tools you need to effectively manage your Linux firewall and keep your system safe and secure.</p><h3>So what is this tool that is supposed to make this easy?</h3><p>It is a script that takes input from the user and modifies the firewall to add or remove rules that based on your needs. This does imply knowledge of how firewalls work and filter traffic. This of course also implies you have some knowledge of the type of traffic you need to allow or reject. So, now that is out of the way, let’s a quick screenshot of the menu.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/879/1*zWH7k08A3Cl4mFX0X-TFag.png" /><figcaption>modify_firewalld script menu</figcaption></figure><p>As you can see, there are a few options to choose from. Before doing anything, it might be a good idea to check and see if the firewalld service is running. You can use the script to do this, or you can manually check, but that defeats the purpose of the script, does it not?</p><p>Another nice feature is that you can list the current rules that are already applied, if any at all. You may find none at all or a whole bunch. The nice thing about this script is that it checks for all existing zones and allows you to add or delete rules by zone. That is pretty convenient.</p><p>Lastly, there are some pretty self explanitory options such as reloading the firewalld service, disabling and/or enabling it from a disabled state.</p><h3>Something to Consider</h3><p>If you need something to get you going, this will be perfect for you. While anyone can use this, it is always best and recommended to have the knowledge and skillset to do this manually as well. It is not always a good idea to rely on tools for a number of reasons. You might not have access to get in on the machine you are working on or development for the project may have stopped all together that may lead to compatibility issues.</p><p>With that said, if you are looking something that makes mundane tasks a little less mundane, then I am sure you will enjoy this.</p><h3>Where Can I get it?</h3><p>The project is located on <a href="https://github.com/bdorr1105/modify-firewalld">github</a> along with the other option for debian based firewalls. The link above is for firewalld which is for RHEL based systems.</p><h3>Demo Video</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ft9b0rgQcyaw%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dt9b0rgQcyaw&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Ft9b0rgQcyaw%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d481f490152ae35a94acd8e0411f8dc6/href">https://medium.com/media/d481f490152ae35a94acd8e0411f8dc6/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3fd51418a23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EVE-ng Lab Project (Next Generation Virtualization)]]></title>
            <link>https://medium.com/@LDS_Cyber/eve-ng-lab-project-next-generation-virtualization-518229b4bb84?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/518229b4bb84</guid>
            <category><![CDATA[eve-ng]]></category>
            <category><![CDATA[eve-ng-lab]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Sat, 04 Mar 2023 04:39:13 GMT</pubDate>
            <atom:updated>2023-03-04T04:48:59.637Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t0w8AzMSJdnbBPavaL8vmQ.png" /></figure><p>I am not even sure where to start with this one. I received and email from a good friend of mine who was trying to help out a service member who is looking to get into the security field. I was referred to by my friend because he knows that I work on lab environments and virtualization, even for fun in my spare time after work. It has been a journey so far. There is always something to learn. I will share some of the experiences I had with EVE-ng.</p><p>If you aren’t familar with virtuallization, that is ok. With EVE-ng, this is a nested virtualization project. What you see in the picture is presented in a web front end and based on kvm virtualization. What I like about eve is that its like hitting two birds with one stone. As I am creating the environment, it is forcing me to document it. I can access the virtual machines by clicking on the device as long as it is powered on. There is a windows installation pack that installs a VNC viewer and other tools that will help you interact with the virtual machines, or you can use HTML5. I would say that is your preference. So let’s get into the struggles, because there were plenty. Before I talk about the struggles though, I will briefly touch on the hardware.</p><h3>The Hardware</h3><p>I am running this on a Dell T5610 tower server. It is a little older, and I am running esxi 8. In order to run esxi 8, I had to accept the it is not supported warning and override it. Anyway, I have 40 logical processors and 128GB of RAM for compute. You can download the OVA from EVE-ng directly, whether it is the community edition or the pro version. Then you import it directly into esxi and make some configuration tweaks based on the hardware you have. I elected to assign 32 CPUs and 96GB of RAM. This will allow for a pretty robust training environment.</p><h3>NAT</h3><p>This hands down was the most frustrating part of the project. With eve-ng, you can buy the pro version or use the community edition. I wont get into that, but they do have some differences that are important. With pro, eve attempts to simplify this for you, and they do. There is a NAT cloud already set up and all you have to do is connect and you are off to the races, so I thought. If I connected a virtual router to the NAT cloud and then hung a user device off the router, it worked perfect. I could get out to the internet just fine, but as soon as I added another device, it borked the routing. It could have been a bug with OPNSense firewall, because it was set to NAT all internal traffic and didn’t seem like it was working. After afew days of myself and my buddy fumbling around with it, I decided to add a router in place of the firewall and setup NAT. FINALLY, it was really getting frustrating. Also, if you decide you want to do this, my buddy sent me this guide which I used and tweaked to my liking. This gave me great results. This will apply more to the Community edition. <a href="https://blog.showipintbri.com/blog/eve-ng-internet-access">Failing Forward | EVE-NG: Internet Access For Your Labs (showipintbri.com)</a></p><h3>The Things I Like So Far</h3><p>It is very customizable and flexible from what I seen. You can import pretty much any type of VM you want. EVE has great documentation. I have imported various machines which you can see in the screenshot below. The list started out empty and it will only grow. Also, to note, it tags by category so there may be multiple machines under Linux.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/614/1*hz9JTmOfIY1v2jWXtviCLg.png" /><figcaption>VMs that are available</figcaption></figure><h3>See the internet working for yourself.</h3><p>I only have one kali machine in the environment and the metasploitbale machine. My lab is highly segmented off and restricted. I would recommend you do the same with any lab environment. The way my friend gets access is VPN all the way into the segmented environment with certificate and credential authentication. He can only access the lab environment as that is where he VPNs to. I have OPNsense managing that. Anyway, back to what I was saying, here is a screenshot of the kali box reaching the internet. I had success on all network segments so far.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5pP93AVREQaW0DAv0uuGPQ.png" /><figcaption>Kali in eve-ng</figcaption></figure><h3>Conclusion</h3><p>So far, I really like Eve. GNS3 offers very similar capability, however, I like the interface of EVE a little better and the VM management. It is much better documented in my opinion when it comes to building out the environment. I have been there and done that with ProxMox and VMWare, I just wanted to try something new and different. So far I am a fan. Before I go, see the status screenshot. For context, I had the kali box, metasploitable2, OPNSense and the router running, everything else is off due to it still needing to be configured. I hope you enjoyed this article.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MibbpLd1lXOlKnxT94KhIQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=518229b4bb84" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GliNet Travel Router with Wireguard]]></title>
            <link>https://medium.com/@LDS_Cyber/glinet-travel-router-with-wireguard-aa9e8e00ff96?source=rss-173118c6ade0------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa9e8e00ff96</guid>
            <category><![CDATA[cyber]]></category>
            <category><![CDATA[wireguard]]></category>
            <category><![CDATA[gl-inet]]></category>
            <category><![CDATA[travel]]></category>
            <category><![CDATA[wireless]]></category>
            <dc:creator><![CDATA[Locked Dorr Security]]></dc:creator>
            <pubDate>Wed, 23 Nov 2022 02:54:36 GMT</pubDate>
            <atom:updated>2022-11-23T02:56:10.163Z</atom:updated>
            <content:encoded><![CDATA[<p>Travel Secure</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z9sOdc4ivoYxb8L8Icm2Nw.png" /></figure><p>Before I get into this blog post, I want to start out by saying that I ended up getting this idea from a friend of mine. The cool thing about the cyber world is the things you learn from other people.</p><p>Ok, now onto the subject at hand. I am using a travel router by GLiNet called slate. You can find more information about the <a href="https://www.gl-inet.com/products/gl-axt1800/">Slate AX (GL-ATX1800)</a> on their website.</p><h4>Why Do I need one, or want one?</h4><p>When we are not in the safety net of our home, this little router is awesome and provides you a way of connecting back to home via OpenVPN or Wireguard for an encrypted connection when connected to public Internet. There are so many use cases for it in addition to this. I will cover how I use it and hopefully you find it informative as well as applicable.</p><h4><strong>In a public venue?</strong></h4><p>Instead of connecting your computer or smart phone device directly, you can use this GliNet Router instead. When I travel, I like to be able to connect back to home and access my lab or internal network. I can do it from the airport, however, the juice is not always worth the squeeze unless you have a long layover or can get to an airport lounge.</p><p>So, I like to use this when I do training with team members, maybe staying in a hotel, or if I am staying with family. I utilize my GliNet in repeater mode by connecting to their router with my GliNet. This allows me to connect many devices to my GliNet router and NAT so I am using one single device. The GliNet has a firewall on it so it is a bit more secure than directly connecting to public internet. In addition to this, there is a switch on the side of the device that with a simple flip will turn your OpenVPN or Wireguard connection. This is the selling point to me of this device, aside from what I have already mentioned.</p><h4>Technical Specifications</h4><p>Below are the technical specs I pulled from the website. As you can see, this is quite a capable device and is utilizing Wi-Fi 6.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6B5yA4V3YfycBAnWyxL7yg.png" /><figcaption>On GliNets Website</figcaption></figure><h4>The User Interface</h4><p>The router has a very nice and polished user interface. It is easy to set up and configure. Once you go through and setup your OpenVPN configuration or Wiregaurd configuration, all you have to do is connect to a network either via Wi-FI, or if possible, Ethernet cable into the WAN port. Then, with a flip of a switch, you are connected in seconds over an encrypted tunnel adding a layer of protection to your equipment and data.</p><h4>GliNet Main Admin Portal Page</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ruwgS2RFpgiqBkbWZ05U2g.png" /></figure><h4>GliNet VPN Portal Page showing Wireguard Connection</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tjy2-ZsQ_LrEhWgNxaaj-A.png" /></figure><p>So maybe you are like so what. Hey, it is not for everyone. Sometimes I do these things because I think it is fun or cool, but this actually adds so much value. I am writing this blog from my in-laws house. I was excited to come down here just to test this out on the road. I did it from home in a lab environment, but nothing like the real deal. I will provide a sneak peak of what I am working on with OPNsense Firewall. This implies that I connected back home to access my lab environment. This is the value added I was talking about.</p><h4>OPNSense Preview</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lpiwZXgOzdo2wdl1ZFQgyw.png" /><figcaption>Lab Firewall Main Dashboard</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0NtP7lgua0E-mDcmA-pDgw.png" /><figcaption>Netflow Data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jLwRI-OlMVbma8rbwC0Z4w.png" /><figcaption>Wouldn’t you like to know?</figcaption></figure><p>I am putting together a course on network analysis with OPNsense for pluralsight. When I am finished, I invite you to check it out. If you are interested in seeing this published video, you will have to check out pluralsight. The main thing I wanted to drive home is that I was able to work on and configure my lab environment to prepare for production of my class. GliNet for the Win!!</p><h4>If you get this router, then get the case for it</h4><p>I highly recommend this case if you end up getting the router. It is perfect to not only protect the router, but to keep the plug and attachments together in one place so you do not lose it. I got <a href="https://www.amazon.com/gp/product/B0B2JN7YFR/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&amp;psc=1">my case on Amazon here</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*ZeJkgZwn0_S2kVStM5C7hA.png" /></figure><p>If you like this kind of content, please subscribe and leave comments below and follow me on Twitter and substack.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa9e8e00ff96" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>