Skip to content

Releases

ShieldGate 3.3.5

Choose a tag to compare

@GnasValluk GnasValluk released this 05 Dec 02:50

ShieldGate 3.3.5 addresses the recurring resurrection on the reported machine: the payload came back after a clean because the program that recreates it was still running.

Stop the source process, not only the file

Drive cleaning used to stop only wscript, cscript and mshta. The Docusment dropper (1.exe, opera.exe) is a normal executable, so it survived the clean and wrote adback.dat or the Docusment folder back seconds later.

  • Cleaning a drive now stops every process whose image is on that drive or under the folder being cleaned.
  • Windows processes, ShieldGate itself and the system drive are excluded.
  • On a folder inside a fixed data drive, only processes in that folder are stopped.
  • A running process whose image was already quarantined is now reported as a sideload process. Windows keeps the old image path after the file is moved, so this case was previously invisible.
  • During Fix, the source folder of a payload or resurrected file is checked again. If the file is already back, the source process is stopped and the file is quarantined again.

Smaller blast radius

%TEMP%, Downloads, Desktop, Documents and ProgramData are not swept process-by-process. There, ShieldGate stops only the exact payload image, so a normal application in the same shared folder is not killed.

Also

  • Self-test grew from 100 to 101 checks, adding the process-path boundary used by the stopper.
  • Version 3.3.5, single portable ShieldGate.exe (722 KB), .NET Framework 4.0, Vietnamese and English.
  • SHA-256: edd962401f73f7ce406c6bf2dcbf7a79d0985f89680bce5bf2ef415085453376

This build is unsigned until the SignPath project is approved.

ShieldGate 3.3.4

Choose a tag to compare

@GnasValluk GnasValluk released this 05 Dec 02:34

ShieldGate 3.3.4 is a false-positive fix for the third infected machine. The 3.3.3 machine scan removed ShieldGate's own startup tasks and a Teams entry, and offered to quarantine the drive-root files of the company USB protection tool.

The USB protection suite is not the virus

The internal USB protection tool (USB-AT) keeps inf.bin, Mtext.bin, ATTT.ico and an icon-only AUTORUN.INF at every drive root. 3.3.3 read that set as the Docusment marker and offered to quarantine it.

  • The set is now recognised as a protection suite, but only while its AUTORUN.INF has no open, shellexecute, action or USEAUTOPLAY line.
  • A real autorun and a real payload bundle are still reported.
  • The file names live in rules.json as protectionFiles, not in code.

ShieldGate no longer fixes itself

  • A machine scan treated \ShieldGate Tray and \ShieldGate USB Guard as suspicious, and Fix deleted both tasks.
  • Paths inside the program's data folder and the running executable are now skipped before scoring.

Store apps and Program Files are left alone

  • Teams starts from ...\WindowsApps\... and was removed from the Run key.
  • The "unsigned exe in a user folder" rule also matched Program Files\...\Desktop\... by accident.
  • Both cases are excluded. The remaining check only flags numeric names, files next to a payload, or unsigned processes in Temp/ProgramData.

Also

  • rules.json version 9 adds protectionFiles; an older rules.json is merged with the new defaults.
  • Self-test grew from 98 to 100 checks: protection suite with clean vs. open= autorun, ShieldGate's own paths, and WindowsApps / Program Files.
  • Version 3.3.4, single portable ShieldGate.exe (720 KB), .NET Framework 4.0, Vietnamese and English.
  • SHA-256: dde74d2e8b21adc84d076023c6d13c2e794ae1143c0858f3e7ff4456abbc3b54

This build is unsigned until the SignPath project is approved.

ShieldGate 3.3.3

Choose a tag to compare

@GnasValluk GnasValluk released this 04 Dec 13:11

ShieldGate 3.3.3 fixes the third infected-machine report, where the drive root was write-locked by USB-vaccine software and the virus kept recreating its payload.

Write-locked drive roots no longer block the whole clean

The reported E:\DATA_MT4XZ7LS root rejected writes, but its subfolders were still writable. ShieldGate now checks write access per folder instead of aborting the whole drive.

  • Writable subfolders are cleaned normally even when the drive root is locked.
  • Where a folder really is read-only, the sample is copied into quarantine, the source is kept, and the manifest is marked copy-only; the log tells you to unlock the drive and run again.
  • The machine-check fix uses the same per-folder rule for a fake folder, not just the volume root.

Docusment variant markers

The samples used inf.bin, Mtext.bin, ATTT.ico next to an AUTORUN.INF that only set icon= (no open or shellexecute), so the old shortcut reader saw nothing.

  • Marker names live in rules.json as rootMarkerNames and are scanned at each drive root.
  • An icon-only autorun that points at a hidden/system file is flagged, not auto-quarantined.

Find the source that keeps recreating files

A drive clean only helps if the resident source is also handled.

  • Quarantined paths are remembered for 10 minutes. If the same path returns, it is marked reinfected-payload and reported as a recreated file instead of silently repeating.
  • Startup/Run/task commands are checked for scripts or missing payloads in user-writable folders (script-in-drop-folder, missing-payload-path).
  • Signed programs running next to payload files are reported as sideload-process (the reported opera.exe + opera_elf.dll / adback.dat case).
  • RunServices / RunServicesOnce, unsigned .exe files in Startup, and suspicious user processes are also checked.

Also

  • rules.json version 8 (rootMarkerNames, persistExts, weights for the new codes); older files are merged with defaults.
  • Self-test grew from 92 to 98 checks: marker set + icon-only autorun, copy-only source retention, Unicode path tracking, user-writable vs system paths, new persistence reasons, and rule-driven weights.
  • Version 3.3.3, single portable ShieldGate.exe (718 KB), .NET Framework 4.0, Vietnamese and English.
  • SHA-256: f71bcd6019a7cabc2e87946e8ccd69bb27e77d8e2a2efbd379216677474a3d0d

This build is unsigned until the SignPath project is approved.

ShieldGate 3.3.2

Choose a tag to compare

@GnasValluk GnasValluk released this 04 Dec 12:28

ShieldGate 3.3.2 fixes the three problems reported from an infected machine.

Quarantine no longer quarantines itself

The payload scan walked C:\ProgramData and entered ShieldGate's own quarantine. A stored sample keeps the original size and hash, so it still matched the payload rule and was copied into a new batch on every pass (adback.dat.sgq → .sgq.sgq → …).

  • The scanner now skips ShieldGate's data folder unless you deliberately scan inside it.
  • Quarantine.Add refuses any path inside the quarantine store as a last line of defence and logs the refusal instead of creating another copy.

Read-only drives are visible instead of failing silently

On the reported E: drive every fix attempt ended with “drive is read-only or not writable”, while the findings stayed on screen.

  • Items on a genuinely write-locked volume (write switch, BitLocker, policy) are now marked manual action, with the reason shown on the row, instead of being retried and failing on each run.
  • When a drive item is fixed, ShieldGate briefly lifts its own write protection and restores it afterwards, so its own lock no longer blocks the repair.

Flag-only findings are shown by default

Files with Office macros or suspicious DLLs were hidden behind “Show flagged items”, which made a machine look clean while the file was still there.

  • Flag-only rows now appear in the result list from the start. They stay unchecked and are never quarantined automatically; the toggle remains for a shorter list.

Also

  • Self-test grew from 88 to 92 checks: quarantine guard, write-lock plan, flagged visibility.
  • Version 3.3.2, single portable ShieldGate.exe (699 KB), .NET Framework 4.0, Vietnamese and English.
  • SHA-256: 5087676fe5c16680637a7ebe22b1648ad2d4ca2888a7d8cb26984b4e7b113a41

This build is unsigned until the SignPath project is approved.

ShieldGate 3.3.1

Choose a tag to compare

@GnasValluk GnasValluk released this 28 Nov 01:54

Scrolled pages stay aligned — plus everything since 3.0.1

3.3.1 is the first release after 3.0.1, so it ships 3.1, 3.2, 3.3 and 3.3.1
together. The main fix is the one you reported: the Protection tab lost its
alignment when you switched tabs while scrolled.

3.3.1 — UI fixes

  • Switching tabs no longer misaligns a scrolled page. When a page was hidden
    and shown again, WinForms put the child controls back at their design
    position while the scroll offset stayed, so the content and the scrollbar
    disagreed. You had to drag back to the top to recover. Every page now lays
    itself out at the top and restores the offset, and lays out again right after
    it becomes visible. A layout pass also no longer scrolls the page to whichever
    control has focus.
  • Smoother wheel scrolling. One wheel notch moves about 54 px in small
    steps instead of jumping 120 px, adds up when you keep scrolling, and stops
    while the mouse button is down.
  • Long descriptions are no longer cut off. The Protection note, the Devices
    intro and the Drive repair intro need two lines at the current font size and
    were losing the second one.
  • The folder picker closes with one click. A second click while the shell
    dialog was still open could stack another dialog on top of it.

3.3 — registry protection

  • Explorer view flags (Hidden, ShowSuperHidden, HideFileExt) are compared
    with this PC, not with a fixed default, and can be restored in one click.
  • HKLM policy locks (Task Manager, Registry Editor, Folder Options, context
    menu) are checked alongside HKCU and treated as suggestions, not damage.
  • Policy ShieldGate sets is protected: a value flipped by another program is
    restored and logged once, with the value name.
  • Writes are verified by reading the value back; a write that does not stick is
    reported as failed instead of counted as repaired.

3.2 — detection

  • Shortcut rules treat a shortcut that hides a same-name document but does not
    open it as a strong sign; drive-like shortcut names and padded arguments are
    matched from rules.json.
  • autorun.inf is read by structure (shellexecute, shell\…\command,
    USEAUTOPLAY, action + icon), so renamed payloads still score.
  • Disguised payloads: a data-extension file whose header is a real PE is
    detected at the drive root, in hidden folders and in fake folders.
  • A generic root executable such as usb.exe is listed as suspicious.

3.1 — fake folders

  • Handle fake folder(s) finishes the job: it quarantines any remaining
    payload, restores Base64 document names, moves the folder to
    Recovered\<name> (recovered) on the same drive and drops the fake folder
    name. It refuses while an executable is still inside, never overwrites and
    never deletes a document.

Requirements and checks

  • Windows 7 or later, .NET Framework 4.0, single ShieldGate.exe, no installer,
    no telemetry, no network unless you enable the optional VirusTotal lookup.
  • build.ps1 → dist\ShieldGate.exe (694 KB);
    SHA256 786ad00dc1eefc6ff25c301b83dea00909bf4670bffdc5d1f6a3270c1ea6c4be.
  • test.ps1 → Đạt 88/88 phép kiểm tra, exit 0.
  • ShieldGate.exe --version → ShieldGate 3.3.1.
  • Screenshots in the README were retaken from this build (1000×680, 100% DPI).

Signing

This build is unsigned, like 3.0.1. CODE_SIGNING.md describes the policy; the
release workflow starts signing automatically once the SignPath project and the
repository variables exist.

ShieldGate 3.0.1

Choose a tag to compare

@GnasValluk GnasValluk released this 26 Nov 00:53

Folder picker closes with one click

3.0.1 is a small fix for the folder scan flow.

  • Bug: after Scan a folder…, clicking the X of the "Browse For Folder"
    dialog closed it, but the dialog opened again immediately, so it took two
    clicks to cancel.
  • Fix: the dialog is now opened after the mouse event finishes
    (BeginInvoke), and a call that arrives within 400 ms of the dialog closing is
    ignored. Choosing a valid folder works exactly as before.
  • Also in this build: issue templates (.github/ISSUE_TEMPLATE/) for bug
    reports and feature requests, with the privacy rule and the out-of-scope list
    stated up front.

Requirements and checks

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

Please confirm

The click-twice behaviour depends on how the shell dialog pumps messages, so it
was not reproduced in the build environment. If X still reopens the picker,
report it with the Windows version and the steps; the next patch will take a
different route (owning the dialog from the form with an explicit modal loop).

Nothing else changed: the named pipe is still off by default, and scan, repair,
quarantine and BadUSB behave as in 3.0. Windows Defender may still flag the
unsigned exe; check the SHA-256 above and report the false positive to Microsoft
instead of disabling protection.

ShieldGate 3.0

Choose a tag to compare

@GnasValluk GnasValluk released this 26 Nov 00:24

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.

ShieldGate 2.1

Choose a tag to compare

@GnasValluk GnasValluk released this 20 Nov 14:24

Fix the re-infection loop

A USB drive that is cleaned and re-infected within seconds means the source is
running on the PC, not on the drive. A field log showed one shortcut reappearing
50 times in 27 minutes (median gap 35 seconds) while the scheduled task was
"fixed" only three times — the files were removed while the process that
recreated them was still running.

This release changes the order, extends the search, and stops cleaning silently.

Detection

  • Fix order reversed. Check this PC stops processes and services first,
    then removes tasks and WMI subscriptions, then startup entries, and only then
    quarantines files.
  • Processes are linked to payloads. A running process whose image lives in a
    folder holding known payloads or the drive's fake folder (Docusment, ...) is
    reported and its image is queued for quarantine.
  • Services and drivers are scanned. A service whose ImagePath points into
    ProgramData, AppData, Temp, Users\Public or to an unsigned binary
    outside Windows/Program Files is reported. Windows Defender's own
    ProgramData\Microsoft\Windows Defender platform folder is excluded.
  • Hidden and \Microsoft\... scheduled tasks are read from the XML. Task
    Scheduler hides both by default. Results show [hidden], and that subtree is
    reported only when the command targets a user-writable folder, a script host
    (mshta, wscript, .hta, .vbs) or an odd numeric executable — Windows'
    own encoded PowerShell tasks are not flagged.

Fixing

  • Task XML is backed up to backup\task_*.xml before schtasks /Delete /F;
    disabling is now only the fallback when the backup fails.
  • Service registry keys are exported before sc stop + sc delete; without a
    backup nothing is touched.
  • Killing a process verifies PID, name and image path first.

Awareness

  • Cleaning the same volume three times in ten minutes raises a warning and a
    tray balloon, and Guard runs a read-only source hunt in the background so the
    log names the process, task, service or file.
  • If the drive is re-infected within 60 minutes after a fix, the warning becomes
    "re-infected after a fix — the source may be a driver/rootkit, run Microsoft
    Defender Offline" instead of asking for the same cleanup again.

Requirements and checks

  • Windows 7 or later, .NET Framework 4.0, single ShieldGate.exe, no installer.
  • build.ps1 → dist\ShieldGate.exe (532 KB);
    SHA256 8ff033312b8c66bcaea585896040d898d4b4d219287f6c9c362df7cbdc3a4b5d.
  • test.ps1 → Đạt 54/54 phép kiểm tra, exit 0 (37 checks in 2.0).

Limits, stated plainly

ShieldGate is a user-mode tool. If the source is a kernel driver or a protected
process it can only show the traces and tell you, not remove them. In that case
run Microsoft Defender Offline Scan (Windows Security → Virus & threat
protection → Scan options), then plug the drive back in.

ShieldGate 2.0

Choose a tag to compare

@GnasValluk GnasValluk released this 17 Nov 03:19

ShieldGate guards Windows against malware that spreads through USB drives, memory
cards, phones, keyboards and Bluetooth adapters. One portable .exe, no
installer, no network.

Overview

New in 2.0

  • Rules live in rules.json. File names, extensions and score weights can be
    changed without rebuilding. A missing or corrupt file falls back to defaults.
  • More detectors. Double extensions, right-to-left override names, scripts at
    the drive root, .url/.scf files leaking NTLM hashes, alternate data streams,
    root desktop.ini with a CLSID, sideloaded DLLs and Office macros. Macros are
    flagged only, never auto-quarantined.
  • Peripheral inventory. Storage, HID, Bluetooth, MTP and composite devices
    with VID/PID/serial. Trust is stored by a device key, not a drive letter.
  • Event timeline. Device, scan, behaviour, protection and repair events in one
    local timeline, exportable to CSV or HTML.
  • Drive repair. Diagnose, read-test, preview and create a backup, run chkdsk,
    read the boot sector, call Defender. Icons name themselves on hover. Every write
    refuses the system drive.
  • Optional write protection and execution blocking. Off by default, confirmed,
    reversible.
  • Overview now fills its protection and quarantine rows on first open.

Notes

  • Windows 7 or later with .NET Framework 4.0. Interface in Vietnamese or English.
  • The GUI and protection ask for administrator rights; --status, --scan,
    --devices, --events, --repair and --selftest do not.
  • The build is unsigned, so SmartScreen may warn. Compare the hash first.
SHA256  7CD4B81E510CBAC4DA35CEC5FA5690712212E7C84FBA5BD2410EAEC3FC075110

Self-test: 35/35. Full details and limits are in the README.

ShieldGate 1.0

Choose a tag to compare

@GnasValluk GnasValluk released this 16 Nov 13:31

Bản 1.0 chính thức — chạy trực tiếp, không cần cài đặt. Đây là bản phát hành ổn định đầu tiên, gộp toàn bộ công việc từ các bản thử nghiệm trước đó.

Chống virus shortcut USB

  • Quét USB, liệt kê shortcut/script/autorun có dấu hiệu độc hại trước khi cách ly; tệp bị cách ly vẫn khôi phục được.
  • Nhận diện thư mục không tên (nơi virus giấu dữ liệu) và tệp .exe giả thư mục ("Documents", "Docusment"); khi cách ly, dữ liệu được chuyển ra gốc ổ, không ghi đè.
  • Bắt đúng cấu trúc virus shortcut: shortcut cmd.exe bọc payload, thư mục giả có desktop.ini mang CLSID hệ thống, gói payload (1.exe, opera_elf.dll, adback.dat, link.dat, icudtl.dat).
  • Nút Hiện tệp bị ẩn để bỏ thuộc tính ẩn cho cả ổ.

Quét và sửa máy

  • Kiểm tra Run/RunOnce, Winlogon, Userinit, AppInit_DLLs, MountPoints2, Startup, tác vụ hẹn giờ, đăng ký sự kiện WMI và liên kết .lnk bị sửa.
  • Bắt tệp chạy không chữ ký trong AppData/Temp/ProgramData, tệp mạo danh tiến trình hệ thống, tiến trình chạy từ USB hoặc từ bản sao payload.
  • Tìm bản sao Docusment/payload trong các thư mục người dùng và ở gốc các ổ.
  • Mới — Bảo vệ Registry File Explorer: kiểm tra và sửa lệnh mở thư mục (Folder\shell\open\command, DelegateExecute), liên kết .exe, thiết lập hiện tệp ẩn, cùng policy khoá Folder Options, menu chuột phải, Task Manager và regedit. Mỗi lần sửa đều reg export sao lưu trước.
  • Mới — Gỡ cài đặt hoàn toàn trong mục Giới thiệu: tắt bảo vệ, khôi phục Windows, xoá dữ liệu và tệp chạy.

Bảo vệ nền

  • Tự quét USB khi cắm vào và kiểm tra lại gốc các ổ di động mỗi 10 giây.
  • Biểu tượng khay hệ thống: nhấn đúp để mở, chuột phải xem trạng thái, hiện lại sau mỗi lần đăng nhập Windows.
  • Chỉ tự cách ly dấu hiệu mạnh; mục yếu hơn để bạn xem lại, tránh xoá nhầm.

Khác

  • Giao diện Tiếng Việt / English, nhật ký song ngữ.
  • Tự kiểm tra --selftest: 22/22 phép kiểm tra đạt.
  • Bản 4.8 dạng script một tệp vẫn được giữ trong legacy/4.8/.

Dùng

  1. Tải ShieldGate.exe, chạy và đồng ý quyền quản trị (UAC).
  2. Chọn thư mục dữ liệu và ngôn ngữ, bấm Tiếp tục.
  3. Vào Bảo vệ, bật công tắc bảo vệ và Bảo vệ Registry.

SHA256: b457e179021a9a9d21796c78dd76d859245dceeac64667dfa37f8ffa96f21b03


Version 1.0 — portable, no installation. First stable release.

  • Scans USB drives, machine startup, scheduled tasks, WMI subscriptions, .lnk files, user folders and drive roots for shortcut-virus traces; quarantines with restore.
  • New: Explorer registry guard — repairs folder open command / DelegateExecute, .exe associations, hidden-file settings, and repair-blocking policies, with a reg export backup before every change.
  • New: full uninstall from the About page — stops protection, restores Windows, removes data and binaries.
  • Background protection scans on USB plug-in and rechecks removable drive roots every 10 seconds, with a tray icon.
  • Bilingual UI and log; core self-test passes 22/22.

Run ShieldGate.exe and accept the administrator prompt (UAC).