benign-near-misses.bat
Run-key writer with script or image contextBatch REG ADD references a Run-key path
SHA-2568dd02391ba117d031fd3aa42148bd12e330f3be474516fcefecae1ea520923a4
MaleculeO(P)H₄(F₉Os₆Po)
Evidence
1@echo off
2reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v OneDrive /t REG_SZ /d "%LOCALAPPDATA%\Microsoft\OneDrive\OneDrive.exe" /f
3attrib +h "%LOCALAPPDATA%\Microsoft\OneDrive\OneDrive.exe"
4
5attrib +h "\\fileserver\team\notes.txt"
6reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /v Diagnostic /d "%APPDATA%\Acme\logs\status.cmd" /f
7
8attrib -h "\\fileserver\distribution\updater.exe"
9reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Run"
10
11rem @echo off
12rem attrib -h "\\staging\Users\Public\StandaloneUpdater.exe"
13rem copy /y "\\staging\Users\Public\StandaloneUpdater.exe" "%LOCALAPPDATA%\Microsoft\OneDrive\setup\logs\StandaloneUpdater.exe"
14rem copy /y "\\staging\Users\Public\advapi32.dll" "%LOCALAPPDATA%\Microsoft\OneDrive\setup\logs\advapi32.dll"
15rem reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run" /v StandaloneUpdater /t REG_SZ /d "%LOCALAPPDATA%\Microsoft\OneDrive\setup\logs\StandaloneUpdater.exe" /f
16rem attrib +h "\\staging\Users\Public\StandaloneUpdater.exe"
17rem WScript.exe "C:\Users\Public\prncnfg.vbs"
18rem
19echo attrib +h "\\fileserver\distribution\updater.exe"
20echo reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Run" /d "%APPDATA%\Acme\logs\updater.exe"
21
22reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce" /v Test /d "%APPDATA%\Acme\logs\update.exe" /f