<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Security on kimobu</title><link>https://www.kimobu.space/tags/security/</link><description>Recent content in Security on kimobu</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright Kimo B</copyright><lastBuildDate>Sun, 13 Apr 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://www.kimobu.space/tags/security/index.xml" rel="self" type="application/rss+xml"/><item><title>Vibe coding a Mach-o parser</title><link>https://www.kimobu.space/posts/Vibe-coding-a-Macho-Parser/</link><pubDate>Sun, 13 Apr 2025 00:00:00 +0000</pubDate><guid>https://www.kimobu.space/posts/Vibe-coding-a-Macho-Parser/</guid><description>&lt;p&gt;Way back in 2021 when I was working on my &lt;a href="https://github.com/kimobu/lhtml"&gt;dissertation&lt;/a&gt; I used a Python library called &lt;a href="https://github.com/aaronst/macholibre"&gt;macholibre&lt;/a&gt; to parse Mach-O files. There are &lt;a href="https://github.com/search?q=macho%20parser&amp;amp;type=repositories"&gt;several other options&lt;/a&gt; for parsing these file types. I&amp;rsquo;m sure they&amp;rsquo;re all great, but it&amp;rsquo;s a lot to go through to find some features I want. Mainly, outputting as JSON to easily load into other applications. This seemed like a good opportunity to try &lt;a href="https://en.wikipedia.org/wiki/Vibe_coding"&gt;vibe-coding&lt;/a&gt; a Swift-based Mach-O parser using ChatGPT. After some trial and error, I&amp;rsquo;ve made &lt;a href="https://github.com/kimobu/machp"&gt;MachP&lt;/a&gt; available. Let&amp;rsquo;s look at how this went.&lt;/p&gt;</description></item><item><title>GPT Detections on Windows and Linux</title><link>https://www.kimobu.space/posts/GPT-Detections-on-Windows-and-Linux/</link><pubDate>Mon, 17 Feb 2025 00:00:00 +0000</pubDate><guid>https://www.kimobu.space/posts/GPT-Detections-on-Windows-and-Linux/</guid><description>&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;This is a follow up to &lt;a href="https://www.kimobu.space/posts/A-Little-Less-Malware-a-Little-More-Context/"&gt;A Little Less Malware&lt;/a&gt;, applying the same techniques to Linux and Windows data. There are some differences with this experiment. In the last one, we used Apple&amp;rsquo;s ESF to collect telemetry, which gave us process group identifiers to work with. In this experiment, I&amp;rsquo;m using only the Elastic Agent and the process telemetry it provides. Unfortunately, Elastic Agent does not send PGID for Linux, and while Windows notionally &lt;a href="https://learn.microsoft.com/en-us/windows/console/console-process-groups"&gt;supports the concept&lt;/a&gt;, in practice it does not exist. First let&amp;rsquo;s look at a couple of ways to group activity without PGIDs.&lt;/p&gt;</description></item><item><title>A Little Less Malware a Little More Context: Using AI to detect malicious activity</title><link>https://www.kimobu.space/posts/A-Little-Less-Malware-a-Little-More-Context/</link><pubDate>Fri, 27 Dec 2024 00:00:00 +0000</pubDate><guid>https://www.kimobu.space/posts/A-Little-Less-Malware-a-Little-More-Context/</guid><description>&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;A coworker and I gave a &lt;a href="https://objectivebythesea.org/v7/talks/OBTS_v7_mBumanglag_jMillman.pdf"&gt;talk at Objective by the Sea v7&lt;/a&gt; on using Large Language Models (LLMs) as a behavioral detection. Another speaker, &lt;a href="https://x.com/DefSecSentinel"&gt;Colson&lt;/a&gt;, gave a great &lt;a href="https://objectivebythesea.org/v7/talks/OBTS_v7_cWilhoit.pdf"&gt;talk&lt;/a&gt; on why behavioral detections are so useful. LLMs are particularly adept at understanding and processing language-like structures, which include not only traditional text but also command-line arguments. In cybersecurity events, where command-line interactions often reveal attacker behaviors, LLMs can be leveraged to do behavioral detection without needing to be an expert in analyzing malicious actions or writing detections.&lt;/p&gt;</description></item><item><title>Adding macOS to my security homelab</title><link>https://www.kimobu.space/posts/macOS-Homelab/</link><pubDate>Wed, 10 May 2023 00:00:00 +0000</pubDate><guid>https://www.kimobu.space/posts/macOS-Homelab/</guid><description>&lt;p&gt;This post has notes on how I added a macOS machine to my security homelab.&lt;/p&gt;
&lt;h1 id="install-macos-to-proxmox"&gt;Install macOS to Proxmox&lt;/h1&gt;
&lt;p&gt;Follow this &lt;a href="https://www.nicksherlock.com/2022/10/installing-macos-13-ventura-on-proxmox/"&gt;guide&lt;/a&gt; to install macOS onto a Proxmox cluster. This will result in an x86 based VM. I plan on looking into an ARM node in the future. Reference &lt;a href="https://i12bretro.github.io/tutorials/0775.html"&gt;this page&lt;/a&gt; if you don&amp;rsquo;t want to extract OSK yourself. Additional note, this installed to local-lvm, not my GlusterFS storage.&lt;/p&gt;
&lt;h1 id="bind-macos-to-active-directory"&gt;Bind macOS to Active Directory&lt;/h1&gt;
&lt;p&gt;Since the rest of the lab is a Windows Active Directory domain, I wanted to join the macOS VM to the domain so domain users could login. Follow &lt;a href="https://www.hexnode.com/blogs/macos-active-directory-binding-explained/"&gt;the guide here&lt;/a&gt; for high level guidance. Ventura changed the look of the Directory Utility but the overall concepts are the same. In Directory Utility, tick the option to &amp;ldquo;create mobile account at login&amp;rdquo; and add the &amp;ldquo;Users&amp;rdquo; OU to allowed administration.&lt;/p&gt;</description></item></channel></rss>