-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing WindHawk causes the SentinelOne antivirus to report shell commands as suspicious. #222
Comments
There's not much Windhawk can do here. Windhawk is known not to play along with some antiviruses, as Windhawk injects code into all running processes, which is not something an average program does, and is a technique that's often misused. You can try excluding some processes in Windhawk, such as Also, depending on the mods that you're using, you can exclude all processes but the ones you want to customize. You can configure it in the advanced settings. You can set |
Hi, thanks for your answer. I wanted ONLY:
I achieved this with two or three plugins and was quite happy with the results, but then I found that I had problems with executing shell commands and with installing certain software, for instance OpenVPN. Sentinel was blocking certain actions. What you suggest about excluding all processes and including only the ones I need seems promising, although I'm not sure if I want to risk bricking my system again, should anything go wrong. I'll think. Maybe the default WindHawk setting should be to exclude everything and the plugins should publish their inclusion lists in their documentation? I was also thinking that the problem could be reported to Sentinel for analysis. Maybe they could do something about it? |
The reason for injecting code into all processes is to be able to intercept the creation of new processes, and load mods before a new target process starts running.
I addressed this in a recent release blog post. I agree that it's not ideal, but it's tricky to find a balance between compatibility and functionality that works for everybody. |
I was affected by this, although I first found #198 and used the inclusion/exclusion list to fix it... TBH I'm only interested in mods for the taskbar/explorer too, and my guess is that is the case for most users.
^ Apart from giving the users a warning for now, I think this should be the way to go.
Then based on the active mods:
Anyway that was long... thanks a lot for you efforts in Windhawk, the few mods I use are very nice!
|
Have you given any thought to adding a toggle in advanced settings to enable an injection whitelist mode instead of blacklist? Seems like that would help the people who care enough to dig through settings, and wouldn't bother the normal folks. Not a perfect solution but a good band-aid imo. |
I have a Windows 11 Pro PC with the SentinelOne (S1) antivirus installed.
The S1 allows the WindHawk (WH) to be installed and run and it does not report it as a threat.
However, as soon as WH is installed, the S1 starts being oversensitive when shell commands are run in the console (e.g. cmd, powershell) in an admistrative mode.
Namely, it reports certain commands as suspicious and it even sometimes quarantines system components.
Here is the list of commands that I found out to be treated as suspicious (I doubt it is complete, though):
fsutil dirty set C:
chkdsk /F C:
sfc /scannow
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
ipconfig /flushdns
gpupdate /force
I don't know why this happens and how can this be resolved. I cannot use WH and this is a bad news for me, because I loved the tweaks.
I described the problem in more detail on ServerFault:
https://serverfault.com/questions/1162325/can-sentinelone-act-in-a-different-way-on-a-windows-10-than-on-windows-11/1162752#1162752
The text was updated successfully, but these errors were encountered: