Skip to content

ShieldGate 3.0

Choose a tag to compare

@GnasValluk GnasValluk released this 26 Nov 00:24
· 19 commits to main since this release

A standard-user GUI can clean a whole drive

3.0 adds the authenticated local pipe that was designed for this release. A GUI
started without administrator rights can now run the whole-drive clean and
unhide on removable media, while background protection (running as SYSTEM) does
the work.

The pipe is off by default. Scan, quarantine, repair, BadUSB and every other
page behave exactly as in 2.3 unless you turn it on.

What's new

  • Pinned client only. The engine accepts one local client at a time and
    checks PID, image path, session and user SID against bin\client.pin, which
    --install writes with the installed exe path and its SHA-256. A client from
    another machine, an anonymous account or an unpinned exe is closed with one
    WARN line.
  • Allow-list, not free-form commands. status.get, devices.list,
    events.since, job.start/status/cancel, and plan/apply for clean,
    unhide and rename. Every write uses a two-step plan/apply with
    confirm:true; the drive is one letter, the engine re-checks system drive,
    removable media, write access and volume serial, and plans expire after 120
    seconds and are bound to SID, session and drive.
  • --pipe switch. --pipe (or --pipe status) shows the setting, whether
    background protection is running and whether the pin exists. --pipe on and
    --pipe off need administrator rights and ask for a restart of background
    protection.
  • Folder work stays local. Only the drive root goes through the pipe; folder
    scans and all other pages keep the file + ACL path. A missing pipe shows a
    message and never elevates the GUI by itself.
  • Undo needs an administrator. A batch cleaned through the pipe is written by
    the SYSTEM process, so the standard-user GUI cannot read the manifest.

How to try it

ShieldGate.exe --install          (administrator: also writes bin\client.pin)
ShieldGate.exe --pipe on          (administrator)
                                  restart background protection, or sign out and in
ShieldGate.exe --pipe status      (standard user: shows on / running / pin)

Then start the GUI as a standard user and use Clean drive on a removable
drive. --pipe off closes the path again after the next restart of background
protection.

Requirements and checks

  • Windows 7 or later, .NET Framework 4.0, single ShieldGate.exe, no installer.
  • build.ps1 → dist\ShieldGate.exe (658 KB);
    SHA256 c9c9f66c25d59f36eaeca10aba0d0241685e68eae9c4a2127d5e293f28a1909a.
  • test.ps1 → Đạt 81/81 phép kiểm tra, exit 0 (80 checks in 2.3).
  • dist\ShieldGate.exe --selftest → 81/81, exit 0.

Limits, stated plainly

  • The pipe is opt-in and unsigned. Before it becomes the default, the hardware
    checklist still has to run: standard-user GUI against a SYSTEM engine, a
    hand-written client, unplugging the drive mid-job, a pipe attempt from another
    machine, and Windows 7 x86. Authenticode signing is also still pending.
  • Windows Defender has flagged some intermediate unsigned builds of this project
    as Trojan:Win32/Wacatac.B!ml. This is a false positive; the build above
    passed the self-test. Check the SHA-256 before running, and if Defender blocks
    the download, report it to Microsoft rather than disabling protection.
  • --pipe on|off itself was not exercised in the build session (no administrator
    rights); the settings write is covered by the self-test.
  • ShieldGate stays a user-mode tool: it cannot remove a kernel driver or a
    protected process, and it never touches the system drive.