Thanks Andy that was exactly what I wanted to know. I just needed a yes/no answer (for novice+ users) to see if my logic was totaly off.
Have a nice weekend and thanks for your kind help
Have a nice weekend and thanks for your kind help
Enable Hard_Configurator feature for that ?!Andy I'm just wondering what a a user could do to protect against LOLbins attacks?
What version of H_C do you use?simple question @Andy Ful
is applying Hardconfigurator recommended default setting block "Visual studio code" and if that then why? which components are being blocked ?
i tried to run Visual studio code and get the message "This app is being blocked by your system administrator" however this program was running normally under SUA before using hardconfigurator ? could you explain why this happened ??
Edit 1 : i just noticed i need to choose unrestricted as default security level the program is running (it didn't run when i choose Basic user option)
Edit 2 :when default security level is disallowed and Enforcement is set to no Enforcement the program run normally
LOLBins are usually applied in the later stages of the infection chain. They are mostly introduced via scripting, macros or shortcuts. So, your primary concern should be to block/restrict scripts, macros, script Interpreters, and shortcuts. The most popular LOLBins are included in "<Block Sponsors> Enhanced" and "FirewallHardening Recommended_HC".Andy I'm just wondering what a a user could do to protect against LOLbins attacks? What are the ones used by more advanced attackers for exploitation/lateral movement? Looking for the more obscure ones that you wouldn't think about but are being used in the wild right now.
I do not use Visual Studio, but if blocked then it means that something tries to run from UserSpace.simple question @Andy Ful
is applying Hardconfigurator recommended default setting block "Visual studio code" and if that then why? which components are being blocked ?
...
Validate Admin C.S is off and Visual studio code still couldn't be run unless i set enforcement to "No" or set default security level to "Unrestricted" also the executable when i downloaded was from Microsoft official website and digitally signed (only updated it with its built in update few days ago)I do not use Visual Studio, but if blocked then it means that something tries to run from UserSpace.
Use first the setting profile Windows_10_MT_Windows_Security_hardening (via <Load Profile> button). If you use unsigned applications then set <Validate Admin C.S.> = OFF.
This profile should not block your applications.
Generally, if something is blocked in H_C you have to look at <Tools> <Blocked Events / Security Logs> (black button in Tools). You can see there the blocked file paths. Simply whitelist the folder of the blocked file, except if something is blocked in the user Temp folder. You can post here the info about the blocked entries, and then I can help you to whitelist them properly.
Kindly find the attached log file for blocked events as per your suggestionI do not use Visual Studio, but if blocked then it means that something tries to run from UserSpace.
Use first the setting profile Windows_10_MT_Windows_Security_hardening (via <Load Profile> button). If you use unsigned applications then set <Validate Admin C.S.> = OFF.
This profile should not block your applications.
Generally, if something is blocked on execution in H_C you have to look at <Tools> <Blocked Events / Security Logs> (black button in Tools). It will display the info about the blocked files, including the file paths. Simply whitelist the folder of the blocked file, except if something is blocked in the user Temp folder. You can post here the info about the blocked entries, and then I will help you to whitelist them properly.
If the outbound connection is blocked, then use FirewallHardening <Blocked Events> feature.
If something is blocked/detected by WD, then you can use ConfigureDefender <Defender Security Log> to see the detailed info.
Did you apply Windows_10_MT_Windows_Security_hardening as I suggested? Please post the info from the Log if something will be still blocked.Validate Admin C.S is off and Visual studio code still couldn't be run unless i set enforcement to "No" or set default security level to "Unrestricted" also the executable when i downloaded was from Microsoft official website and digitally signed (only updated it with its built in update few days ago)
i will check blocked events and notify you
by " Windows_10_MT_Windows_Security_hardening " you mean recommended settings if that what you mean then yes but i switched off hide as administrator option onlyDid you apply Windows_10_MT_Windows_Security_hardening as I suggested? Please post the info from the Log if something will be still blocked.
By setting Enforcement to OFF or Default Security Level to Unrestricted, you allow execution of most files (including EXE, COM, SCR etc.).
Please, use the <Load Profile> feature from the main H_C window and apply changes.by " Windows_10_MT_Windows_Security_hardening " you mean recommended settings if that what you mean then yes but i switched off hide as administrator option only
ok thanks alot Andy i will whitelist themAs you can see from the Log, two file paths have to be whitelisted:
...\AppData\Local\Programs\Microsoft VS Code\Code.exe
...\Python projects\Python New Projects\venv\Scripts\activate.bat
You can use <Whitelist By Path> <Add File> to whitelist the blocked entries, but I suspect that there will be more blocked entries because Microsoft VS Code and Python Projects are located in UserSpace. If so, then use <Add Folder> to whitelist application folders.
You can delete the attachment Log.txt from the previous post.
unfortunately cannot use this profile as some software require administrative privilege during installation and update and aren't digitally signed but trusted and verified using hash such as qbittorrentUse first the setting profile Windows_10_MT_Windows_Security_hardening (via <Load Profile> button). If you use unsigned applications then set <Validate Admin C.S.> = OFF.
You can. Simply change <Validate Admin C.S.> to OFF. This profile is similar to Recommended Settings, except that it whitelists EXE files and block three LOLBins.unfortunately cannot use this profile as some software require administrative privilege during installation and update and aren't digitally signed but trusted and verified using hash such as qbittorrent
ooh ok but why Block shell script is OFF in this profile ??You can. Simply change <Validate Admin C.S.> to OFF.
What is "shell script"? PowerShell is restricted By SRP to Constrained Language Mode, but you can also set <Block PowerShell Scripts> = ON (if you do not use PowerShell scripts).ooh ok but why Block shell script is OFF in this profile ??
ok i m reading the manual right now to understand but in any way it is great piece of software which really express a deep knowledge with Windows OS components thanks alot AndyWhat is "shell script"? PowerShell is restricted By SRP to Constrained Language Mode, but you can also set <Block PowerShell Scripts> = ON (if you do not use PowerShell scripts).