-
Notifications
You must be signed in to change notification settings - Fork 173
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
Scanner is freezing during scan and exiting Comand Prompt with Exit code 99 #207
Comments
@Estarossa68 Do not use |
Hi Xeraph, We removed the --old-exit-code parameter and still get 99 as Error code. on 50% of the devices the script is running without any problems the other 50% are getting this error code. We're pushing the script with the Microsoft Endpoint Configuration Manager. I tried to run the script manually on one of the affacted devices and there was "only" 8 vulnerable or potentially files. When the problem occurs the scan stops in the middle of the process. We don't get any "completed" message and either no error message in the log. |
@maikas89 Damn.. It may be another graalvm native image issue. oracle/graal#1600 |
@maikas89 Just to clarify, Do you use v2.6.1 release? |
yes. We started with the 2.5.3 release and updated today to v2.6.1. The problem exists on both releases. |
If any one has same problem, regression would be help. It's very hard to reproduce in my environment. |
@maikas89 Does scanner terminate randomly when you run scanner repeatedly and manually on affected machine? or some other conditions? Also try other build from package.zip https://github.com/logpresso/CVE-2021-44228-Scanner/suites/4742913126/artifacts/131086305 |
I tried the .exe file --> still the same problem. It seems that the scan always stops on the same step. If i start the scan manually (the same script) the scan is working (without MECM/SCCM). The MECM/SCCM runs the script with the local system account. But as i said 50% of the clients are working without any problems mit the MECM/SCCM |
I am facing the same issue. When I run the scanner manually never experienced 99 error. |
@maikas89 @sureshgurram123 I don't know sccm well. Does MECM/SCCM run powershell script remotely? If it does, I suspect remote shell memory limit.
|
Unfortunately i don't know the exact way how the SCCM (or other Software distribution) handels script execution. I know that the SCCM downloads the script + source files locally then the script get's started with the local system account. |
@Estarossa68 @maikas89 @sureshgurram123 Would you try v2.9.0 release? I reduced scanner memory footprint significantly. |
Hello Team,
I am using the Scanner to check if there are Vulnerable files on Computers but somehow the scan is quitting during scan and afterwards it is generating a errorcode file with the Exitcode 99. I did not see on the main readme an error Code like 99.
I am using the arg/param:
log4j2-scan.exe --scan-log4j1 --scan-logback --scan-zip --drives C --report-csv --report-path "home directory" --backup-path "other directory" --old-exit-code --silent --debug --fix --force-fix \
I hope you guys can help me in my Issue!
Thank you very much in advance!
Kind Regards
Estarossa
The text was updated successfully, but these errors were encountered: