Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Research Notes from Building a Windows Event Log Hunting Workflow

0
Medium
Security-toolcybersecurityreddit
Published: Mon Jun 01 2026 (06/01/2026, 16:08:25 UTC)
Source: Reddit Cybersecurity

Description

LogHound is an open-source post-exploitation tool designed to collect, parse, and analyze Windows Security Event Logs (. evtx) to aid red teams and penetration testers in tracking lateral movement, user sessions, and machine ownership. It addresses challenges in accessing and exfiltrating locked Windows event logs by leveraging native Windows tools and legitimate protocols to avoid detection by endpoint security solutions. The tool processes large event logs efficiently and exports data compatible with BloodHound CE for visualization and further analysis. It is intended for authorized use in penetration testing and forensic investigations.

Reddit Discussion

r/cybersecurity·posted by u/No_Catch4550
00

One thing that kept slowing me down during investigations and security assessments wasn't exploitation. Once I had initial access (e.g. Domain Admin), there is often still a large gap in demonstrating the exploitability of business-critical assets.

You might tell a customer, "I got Domain Admin, job done". But in reality, that’s not always enough. A CISO may understand why it’s critical, but what would the CTO or CEO say? They need dead-head proofs, so you go beyond and look for business-critical assets, that`s where post-exploitation begins!)

You

My small research is about logs. Windows ones.

Collecting Windows Event Logs does not simply mean copying EVTX files.

We`ve got some problems here :)

- How do I acquire logs when Windows blocks direct access?
- How do I exfiltrate the content?
- How do I process it?
- How do I work around AV, even trying to read it?
- How do I get even some use out of it?

In practice, things become more complicated when investigating live systems.

Windows keeps many log files open and actively written to.

After several iterations I ended up building a small open-source project called LogHound.

I'm curious how other people here approach large-scale log analysis during:

  • DFIR investigations
  • Red Team operations
  • malware analysis
  • incident response
  • system troubleshooting

So here is how i solved all the problems:

How do I acquire logs when Windows blocks direct access?

We know - Windows blocks every .evtx file with process and does not let anyone to read\copy\download it. So we`re looking for a simple solution

As it is a post-exploitation engagement, we could make use of native Windows tools, especially - wevtutils. A small command lets us do all the dumping/filtering job

wevtutil epl Security "%s" /q:%s

How do I exfiltrate the content?

As we are talking about Red Team engagements, we would like to make use of smth legitimate and widespread everywhere - and impackets smb library fits the best here. Minimum load logs, straightforward protocol and speed.

How do I process it?

If I were in a defender role, I would probably use some PowerShell module or GUI. Here we do not have such privileges, so Python`s evtx lib + multithreading + filtering at start help to do the job quickly.

How do I work around AV, even trying to read it?

Well, nowadays you cannot just log in to Windows, get some shell and execute commands. 99% of available pentester tools would be blocked by every EDR, so we are also looking for smth legit and widespread.
Most reason that is not the case with GitHub tools - EDRs collects behavioral patterns even with legit protocols and detects it easy. I`ll use a legit WMI query with Win32_Process.Create, hoping I won't leave a lot of indicators... and, for now, it works!

How do I get even some use out of it?

Collecting post-exploitation data is a fun process, but you can't really make a profit from gigabytes of raw data, and I`m glad there are strong visualisation frameworks like BloodHound. It has a pretty convenient JSON scheme and, if not very adaptive but usable API. So I decided - importing that data to the BloodHound scheme would work out the best.

And after all, we could continue our post-exploitation activities with a bit more useful information :)

Project:

LogHound GitHub Repository

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/01/2026, 16:18:38 UTC

Technical Analysis

LogHound is a Python-based tool that enables post-exploitation actors to acquire Windows Security event logs from live systems where direct access is blocked. It uses native Windows utilities (wevtutil) executed via WMI to export logs, then downloads them over SMB using the Impacket library. The tool parses large EVTX files in chunks with multithreading to minimize memory usage and filters for key security event IDs related to authentication and session management. It calculates user session metrics and machine ownership to enhance BloodHound CE's graph data, facilitating identification of lateral movement and active sessions without triggering common endpoint detection mechanisms. The project is intended for authorized penetration testing and forensic use only.

Potential Impact

The tool facilitates detailed post-exploitation analysis by enabling attackers or red teamers to extract and analyze Windows Security event logs that are otherwise difficult to access on live systems. This capability can improve the understanding of user activity, session ownership, and lateral movement within a compromised network. While not a vulnerability itself, LogHound can be leveraged by adversaries with initial access to enhance their operational effectiveness and evade detection by using legitimate Windows tools and protocols.

Mitigation Recommendations

This is a security tool intended for authorized use in penetration testing and forensic investigations, not a vulnerability or exploit. No patch or remediation is applicable. Organizations should ensure proper access controls and monitoring around Windows event logs and WMI usage to detect unauthorized use of such tools. Endpoint detection and response solutions should be tuned to identify suspicious use of native Windows utilities and SMB traffic patterns consistent with log exfiltration.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Source Type
reddit
Subreddit
cybersecurity
Reddit Score
0
Discussion Level
minimal
Content Source
reddit_link_post
Post Type
link
Domain
null
Newsworthiness Assessment
{"score":27,"reasons":["external_link","established_author","very_recent"],"isNewsworthy":true,"foundNewsworthy":[],"foundNonNewsworthy":[]}
Has External Source
true
Trusted Domain
false

Threat ID: 6a1db0d3e29bf47b5014413d

Added to database: 6/1/2026, 4:18:27 PM

Last enriched: 6/1/2026, 4:18:38 PM

Last updated: 6/1/2026, 7:13:31 PM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses