{"id":49519036,"url":"https://github.com/utoni/PastDSE","last_synced_at":"2026-06-04T01:00:36.855Z","repository":{"id":57756091,"uuid":"178207055","full_name":"utoni/PastDSE","owner":"utoni","description":"DSE bypass using a leaked cert and adjusting the current clock.","archived":false,"fork":false,"pushed_at":"2025-10-03T14:11:26.000Z","size":369,"stargazers_count":151,"open_issues_count":0,"forks_count":35,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-10-05T02:49:51.644Z","etag":null,"topics":["bypass-dse","driver-mapping","dse","manual-mapping"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/utoni.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-28T13:15:41.000Z","updated_at":"2025-10-04T13:57:44.000Z","dependencies_parsed_at":"2025-10-05T02:40:47.640Z","dependency_job_id":"a14e03b4-684d-47d1-b79e-5bc7bdc51ae2","html_url":"https://github.com/utoni/PastDSE","commit_stats":null,"previous_names":["lnslbrty/pastdse"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/utoni/PastDSE","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utoni%2FPastDSE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utoni%2FPastDSE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utoni%2FPastDSE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utoni%2FPastDSE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/utoni","download_url":"https://codeload.github.com/utoni/PastDSE/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/utoni%2FPastDSE/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33886153,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bypass-dse","driver-mapping","dse","manual-mapping"],"created_at":"2026-05-01T23:01:10.347Z","updated_at":"2026-06-04T01:00:36.839Z","avatar_url":"https://github.com/utoni.png","language":"C","funding_links":[],"categories":["***Windows Kernel***"],"sub_categories":["***Protection Mechanisms***"],"readme":"# What?\n*PastDSE* is a **Driver Sign Enforcement** \"bypass\" using a leaked EV code signing certificate.\nIt is actually not a real bypass since it does only change the date to 01-01-2014 before signing the driver and restores it afterwards.\nThe Kernel driver loader will accept all driver images as long as the code was signed by a *extended validation code signing certificate* which was not revoked.\n\nThe DSE \"bypass\" works **only** on Windows 10 x64: 1803, 1809, 1903. You **won't** be able to load *PastDSE* signed drivers on other Windows versions.\nBut it is still possible to use *PastDSE* with other DSE disabling techniques e.g. enabling testsigning or using [EfiGuard](https://github.com/Mattiwatti/EfiGuard).\nIt works, because *PastDSE* is basically a manual driver mapper, nothing more.\n\n\n# Build Dependencies\n- Visual Studio 2019 Community Edition (Visual Studio 2017 is still supported, see VS-2017 branch)\n- Windows 10 x64 1803, 1809 and 1903 (may work on older versions, not verified)\n- Windows 10 SDK 10.0.17763.0\n- Windows Driver Kit\n- Windows Universal CRT SDK\n- C++/CLI support\n- VC++ 2017 tools\n\nThe recommended way to install all dependencies is through [vs_community.exe](https://visualstudio.microsoft.com/).\n\n\n# HowTo\nIf you do not want to build it from source, you can skip the text below and download the build artifacts from Github.\n\nAssuming a successful (Debug) build, you have to do the automatic sign procedure by running `driver-sign.bat` as Administrator.  \nIf the console window outputs something like `Number of files successfully Verified: 1` then the procedure was probably succesful.  \nIt should now be possible to load the (Debug) target driver by running `driver-start.bat` as Administrator.  \nYou can now use **PastDSECtrl** to manual map your (unsigned) driver.  \n\n\n# Insights\nYour driver requires an exported  \n`NTSTATUS DriverEntry(_In_  struct _DRIVER_OBJECT *DriverObject, _In_  PUNICODE_STRING RegistryPath)`  \nsymbol just as usual.  \n  \n**But**: `DriverObject` will *always* be a `NULL` pointer whereas `RegistryPath` points to the mapped driver base address.  \nSince this is a manual mapped driver you can not use all kernel functions without getting either into trouble with *PatchGuard*  \nor they just won't  work (usual returning an *Access denied*).  \nExample:\n- *PatchGuard* will complain if you use functions like `PsSetLoadImageNotifyRoutine`, `PsSetCreateProcessNotifyRoutine` and `PsSetCreateThreadNotifyRoutine`\n- `ObRegisterCallbacks` returns *Access denied*\n- there may be other functions e.g. `FltRegisterFilter`\n\n\n# Contributors\nSome slightly modified code from [BlackBone](https://github.com/DarthTon/Blackbone) for the driver mapping and relocation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futoni%2FPastDSE","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Futoni%2FPastDSE","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Futoni%2FPastDSE/lists"}