{"id":28291855,"url":"https://github.com/mochabyte0x/dumbetw","last_synced_at":"2025-06-27T08:35:00.030Z","repository":{"id":280070271,"uuid":"940898776","full_name":"mochabyte0x/DumbETW","owner":"mochabyte0x","description":"A proof of concept ETW consumer that captures userland events in real time, displays them, and saves them into an .etl file","archived":false,"fork":false,"pushed_at":"2025-03-02T23:59:51.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-22T04:12:13.185Z","etag":null,"topics":["etw","etw-agent","etw-evasion","etweventwrite"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mochabyte0x.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-01T02:35:47.000Z","updated_at":"2025-04-21T23:56:45.000Z","dependencies_parsed_at":"2025-04-21T12:01:19.365Z","dependency_job_id":null,"html_url":"https://github.com/mochabyte0x/DumbETW","commit_stats":null,"previous_names":["b0lg0r0v/dumbetw","mochabyte0x/dumbetw"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mochabyte0x/DumbETW","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochabyte0x%2FDumbETW","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochabyte0x%2FDumbETW/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochabyte0x%2FDumbETW/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochabyte0x%2FDumbETW/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mochabyte0x","download_url":"https://codeload.github.com/mochabyte0x/DumbETW/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mochabyte0x%2FDumbETW/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262223329,"owners_count":23277621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["etw","etw-agent","etw-evasion","etweventwrite"],"created_at":"2025-05-22T04:12:13.136Z","updated_at":"2025-06-27T08:35:00.017Z","avatar_url":"https://github.com/mochabyte0x.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DumbETW\n\nJust a dumb project I messed around with to understand more about ETW and generally querying ETW providers while also parsing the events. This is more of a proof of concept than production ready code, but it could serve as a baseline I guess. \n\n## Modifications\n\nIf you want to test this out, you'll need to change at least ONE line in the source code:\n\n```c\n#define LOGFILE_PATH L\"C:\\\\Users\\\\std\\\\Desktop\\\\DumbETW.etl\" // \u003c- Change this\n```\n\nYou need to specify a valid path where to save the log file.\n\nYou could also change the provider as you wish:\n\n```c\n// Microsoft-Windows-Kernel-Process\t\t\t  {22FB2CD6-0E7B-422B-A0C7-2FAD1FD0E716} \n// Microsoft-Windows-DotNETRuntime\t\t\t  {E13C0D23-CCBC-4E12-931B-D9CC2EEE27E4}\n// Microsoft-Windows-Security-Auditing    {54849625-5478-4994-A5BA-3E3B0328C30D}\n// Microsoft-Antimalware-Scan-Interface\t  {2A576B87-09A7-520E-C21A-4942F0271D67}\n\nconst GUID\t\t\t\tg_ProviderGuid\t\t= { 0x2A576B87, 0x09A7, 0x520E, { 0xC2, 0x1A, 0x49, 0x42, 0xF0, 0x27, 0x1D, 0x67 } };\t\t// GUID of the provider we want to use, which is currently set to \"Microsoft-Antimalware-Scan-Interfaces\"\n```\n\nKeep in mind that I have not implemented consuming kernel level events. Too lazy for that tbh. \n\n## How to open an .etl file ?\n\nJust use the EventViewer from Windows.\n\n![image](https://github.com/user-attachments/assets/92ac836b-e51a-4c05-a40c-fe79e1f7116a)\n\n## Credits - References \n\n- \"Evading EDR\" by Matt Hand\n- This whole mess from Microsoft: https://learn.microsoft.com/en-us/windows/win32/api/_etw/\n- https://www.ired.team/miscellaneous-reversing-forensics/windows-kernel-internals/etw-event-tracing-for-windows-101\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmochabyte0x%2Fdumbetw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmochabyte0x%2Fdumbetw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmochabyte0x%2Fdumbetw/lists"}