[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112754":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":20,"hasPages":20,"topics":22,"createdAt":9,"pushedAt":23,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":27,"discoverSource":28},112754,"CVE-2026-88235","crisprss\u002FCVE-2026-88235","crisprss","One of the most powerful primitives for Windows default configuration LPE",null,"C",145,22,1,0,2,19,66,10,61.19,false,"master",[],"2026-11-12 09:45:42","2026-11-23 19:42:40","\n\n\n\n# TrustFall - CVE-2026-88235\n\nTrustFall is a high-severity vulnerability we found in Windows `TrustedInstaller.exe`, tracked by Microsoft as [CVE-2026-88235](https:\u002F\u002Fmsrc.microsoft.com\u002Fupdate-guide\u002Fvulnerability\u002FCVE-2026-88235). With it, any local user can tamper with the file system and the registry as SYSTEM and achieve local privilege escalation.\n\n# Credit\nh4urek from Fudan Univeristy(@[h4urek](https:\u002F\u002Ftwitter.com\u002Fh4urek))  \ncrispr from Fudan Univeristy(@[crispr](https:\u002F\u002Ftwitter.com\u002Fcrispr_x))\n\n\n## Background\n\nWindows updates, optional components, language packs, and driver rollbacks are handled by CBS (Component-Based Servicing), hosted by `TrustedInstaller.exe` (the Windows Modules Installer) and executed by `TiWorker.exe` in the **LocalSystem** context. Because servicing must replace files under `System32`, `WinSxS`, and `HKLM`, the worker holds SeBackup\u002FSeRestore and can write through ACLs by design.\n\nTo support offline image servicing, CBS exposes part of this capability through the `Component Based Servicing Session` COM object, which implements interfaces such as `ICbsSession7\u002F8\u002F9\u002F10`. **Launching and accessing these interfaces does not require administrator rights; Interactive Users can do it.** They let a caller create and manage a CBS session, enumerate packages and capabilities, and request servicing operations.\n\n## Root Cause\n\nThe CBS Session COM class has Server Type `LocalServer32` and is hosted by `TrustedInstaller.exe`. Its access control grants `INTERACTIVE` `Execute` and `ExecuteLocal`, and its launch permission grants `INTERACTIVE` `ActivateLocal`. As a result, any logged-in user can activate and access this COM class, and the object runs inside the LocalSystem TrustedInstaller service.\n\nThe class implements `ICbsSession`, `ICbsSession7\u002F8\u002F9\u002F10`, and other interfaces. `CreateExternalTransformerExecutor` on `ICbsSession10` is the entry point discussed here. By design it should only serve trusted servicing components: DISM, Windows Update, deployment tools. But those tools and ordinary users reach the same COM class, and the class does not distinguish callers.\n\n![alt text](figures\u002Fimage.png)\n\nThe client first obtains the `ICbsSession10` COM object and calls `Initialize` to initialize the session. It then calls `CreateExternalTransformerExecutor` to create an executor and launch `TiWorker.exe`.\n\n![alt text](figures\u002Fimage-1.png)\n\n### The Executor Interface\n\nThe executor is implemented by `wcp.dll`. wcp is the internal execution layer of the servicing stack: it maintains servicing state, parses transformer manifests, resolves a manifest into a concrete transformer, and executes the corresponding operation. It reads the caller-supplied manifest and uses it to select a transformer and build the change queue. `ICSIExternalTransformerExecutor` exposes four methods:\n\n- `Initialize`: sets up the execution environment, including the reference image, rollback hive, and offline store;\n- `Install`: parses the manifest and queues the transform for installation;\n- `Uninstall`: queues the transform for removal;\n- `Commit`: executes the queue to completion.\n\n![alt text](figures\u002Fimage-2.png)\n\n### Initialize: The Caller Builds the \"Offline Environment\"\n\n`Initialize` takes all of its inputs from the caller:\n\n- `flags` carries mode bits that select the install direction and whether to load a rollback hive;\n- `referenceVersion` is the \"before\" version used for comparison with the manifest version; an older value lets the update check pass;\n- `referenceImage` points to the \"before\" component database; wcp only requires a loadable hive and does not validate its contents;\n- `fileStorage` is the root of the offline store, entirely caller-specified;\n- `registryStorage` is optional.\n\nInside the executor, `Initialize` sets up the working context. It validates the target system, stores `flags` and `referenceVersion`, and, when the rollback bit is set, loads the `Rollback` hive from `fileStorage` through `AutoHive::LoadFromWin32PathForOfflineHive`. When `referenceImage` is provided, it appends `System32\\config\\COMPONENTS`, loads that hive through `AutoHive::Load`, and binds it as the reference component database. It then creates a pseudo Windows directory tree and an offline store under `fileStorage`, or opens an existing store depending on `flags`, and moves the executor to the Initialized phase.\n\nWhat it does not do is inspect the content of those hives or the identity of the caller. The reference image and file storage only need to contain loadable registry hives; whether they are genuine `COMPONENTS` or rollback databases is never checked, and nothing confirms that the caller is authorized to service the image. The \"offline environment\" is entirely caller-supplied.\n\n### Install: The Manifest Is the Instruction\n\n`Install(manifestPath, transformId)` parses the caller-supplied XML and records the transform for execution. The manifest structure is simple:\n\n- `assemblyIdentity`: basic package identity; only format validity matters;\n- `Transforms Id`: matches the `transformId` passed to `Install`;\n- `SettingsVersion`: the version used by servicing logic, which determines install versus rollback;\n- `TransformInvoke Plugin`: selects the transformer, here `CopyData`;\n- `Param`: operation parameters, including `SourcePath`, `DestinationPath`, and `DestinationName`.\n\nFor example, the manifest below asks the executor to copy `hack.dll` into `System32` under the name `phoneinfo.dll`:\n\n```xml\n\u003Cassembly xmlns=\"urn:schemas-microsoft-com:asm.v3\" manifestVersion=\"1.0\" isolated=\"false\">\n  \u003CassemblyIdentity name=\"poc\" version=\"1.0.0.0\"\n                    processorArchitecture=\"amd64\"\n                    publicKeyToken=\"31bf3856ad364e35\" language=\"neutral\"\u002F>\n  \u003CTransforms Id=\"poc\" SettingsVersion=\"3294967366\">\n    \u003CTransformInvoke Plugin=\"CopyData\">\n      \u003CParam Name=\"PathType\" Value=\"File\"\u002F>\n      \u003CParam Name=\"SourcePath\" Value=\"C:\\Users\\lowpriv\\hack.dll\"\u002F>\n      \u003CParam Name=\"DestinationPath\" Value=\"C:\\Windows\\System32\"\u002F>\n      \u003CParam Name=\"DestinationName\" Value=\"phoneinfo.dll\"\u002F>\n    \u003C\u002FTransformInvoke>\n  \u003C\u002FTransforms>\n\u003C\u002Fassembly>\n```\n\nThe parsing has no signature check, no source check, and no directory restriction; the plugin name, source path, destination path, and destination name are all caller-controlled.\n\n### Commit: Executing the Transform\n\n`Install` only records the manifest; the actual work happens when the client calls `Commit`. At that point the executor takes the pending transform, decides which direction it should run, and dispatches it to the plugin named in the manifest.\n\nThe direction check compares the manifest's `SettingsVersion` with the current servicing version of the system. A higher manifest version means the transform runs forward and reaches the plugin's install path; an equal version means the transform is skipped because the component is already in the correct state; a lower version means the transform runs in reverse and reaches the rollback path. Setting `SettingsVersion` higher than the current version therefore forces the transform onto the forward path.\n\nThe `Plugin` name in each `TransformInvoke` selects the handler. The native plugins live in `PrimitiveTransformers.dll`, and each implements a different operation: `CopyData` copies files, directories, registry keys, and registry values; `MoveData` moves the same object types and removes the source; `CleanupCache` and `ResetMutableState` cover cache and servicing-state operations, with per-user variants for user contexts. For `CopyData`, the forward path ends in a file copy inside `TiWorker.exe`, running as LocalSystem.\n\nThis is where the vulnerability becomes dangerous. The manifest is fully attacker-controlled, so the attacker chooses the plugin, the operation, and every source and destination path. `CopyData` alone already provides arbitrary file write; `MoveData` adds arbitrary move and delete; the registry variants cover registry keys and values, including entire key trees. None of these parameters is validated against the caller's privileges or confined to the \"offline image,\" so one manifest can change far more than a single file.\n\n## PoC\n\nThe PoC drives the native transformers directly. `copy` hands a `CopyData` manifest to the executor, `move` uses `MoveData`, and `cleanup` uses `CleanupCache`. Each operation runs inside `TiWorker.exe` as LocalSystem, so a normal user can copy or move a file, directory, registry key, or registry value, and delete a file, directory, or registry key, all through the servicing process.\n\nHow to run:\n\n```powershell\npoc.exe copy    --src \u003Csrc-path> --dst \u003Cdst-path>\npoc.exe move    --src \u003Csrc-path> --dst \u003Cdst-path>\npoc.exe cleanup --path \u003Cpath> [--type File|Directory|Registry]\n\n# example: drop a payload into System32\npoc.exe copy --src C:\\Users\\lowpriv\\payload.dll --dst C:\\Windows\\System32\\phoneinfo.dll\n```\n\nFor `copy` and `move`, `--type` also accepts `Directory`, `RegistryKey`, and `RegistryKeyValue`. For the step from arbitrary file write to privilege escalation, see [WerTrigger](https:\u002F\u002Fgithub.com\u002Fsailay1996\u002FWerTrigger).\n\n## Video\nhttps:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002Fce2bc5e8-60e0-4ac9-a5de-a070581e8a78\n\n## Conclusion\n\nThe TrustFall vulnerability is essentially an authorization failure. Any ordinary user can access the CBS Session class, and `CreateExternalTransformerExecutor` hands that user an executor without verifying their identity. The caller can supply a complete \"offline\" environment through `Initialize` and a manifest through `Install`, after which `Commit` executes the corresponding operations inside `TiWorker.exe` with LocalSystem privileges. Throughout the flow, the system never verifies whether the caller is a trusted servicing component, nor whether the target is truly an offline image.\n\nThe security impact follows directly. With a single manifest, a user with limited privileges can use TrustedInstaller to copy, move, or delete files and directories with LocalSystem privileges, and even copy, move, or overwrite registry keys and values, all of which go far beyond the API's original design boundaries. File copy is only the simplest use of this primitive; in practice, the mechanism can reach a much wider range of the file system and the registry.\n","这是一个针对Windows系统本地提权（LPE）漏洞CVE-2026-88235的利用工具，利用TrustedInstaller.exe暴露的ICbsSession10::CreateExternalTransformerExecutor接口，在无管理员权限下以SYSTEM身份执行任意文件系统与注册表操作。核心基于COM对象激活机制与CBS服务设计缺陷，无需额外依赖，纯C实现，支持交互式用户直接触发。适用于红队评估、漏洞复现及Windows提权链研究等安全测试场景。","2026-11-24 04:44:01","CREATED_QUERY"]