Skip to content
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

Eyedropper doesn't open with AppLocker #309

Closed
ferllings opened this issue Aug 29, 2023 · 6 comments
Closed

Eyedropper doesn't open with AppLocker #309

ferllings opened this issue Aug 29, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@ferllings
Copy link
Member

ferllings commented Aug 29, 2023

As reported
"...if i use the CCA Tool as an User with Admin Right´s .. the pipet control button …is still working.
A Default / Normal user, without administrative rights… the pipet control is still NOT working.

To give users for example modify / delete rights includes security permissions to the application folder.. still not modify/ change the behaviour .. the pipet control will still not work…"

The issue seems related to Applocker:

"In our environment.. we use Applocker Rules...
So i look in the event-logs (event viewer) and found that the executable will randomly be created.. and blocked.."

i.e. %OSDRIVE%\USERS\XXX\APPDATA\LOCAL\TEMP\3ADF39E4-BF83-462D-AE40-54A1D5365122.TMP.EXE

[2023-08-29 15:56:40.914] [warn]  [ERROR] getColorFromPickerAddOn Error: spawn UNKNOWN
    at ChildProcess.spawn (node:internal/child_process:413:11)
    at spawn (node:child_process:709:9)
    at execFile (node:child_process:336:17)
    at t.<computed> (node:electron/js2c/asar_bundle:5:2501)
    at C:\Program Files\Colour Contrast Analyser\resources\app.asar\src\picker\win32\index.js:3:61
    at new Promise (<anonymous>)
    at exports.runColorPicker (C:\Program Files\Colour Contrast Analyser\resources\app.asar\src\picker\win32\index.js:3:28)
    at exports.getColorFromPickerAddOn (C:\Program Files\Colour Contrast Analyser\resources\app.asar\src\picker\index.js:8:36)
    at CCAController.getColorFromPicker (C:\Program Files\Colour Contrast Analyser\resources\app.asar\src\CCAcontroller.js:81:30)
    at IpcMainImpl.emit (node:events:527:28)
[2023-08-29 15:56:41.187] [warn]  [ERROR] getColorFromPickerAddOn Error: color picker already running!
    at exports.getColorFromPickerAddOn (C:\Program Files\Colour Contrast Analyser\resources\app.asar\src\picker\index.js:6:54)
    at CCAController.getColorFromPicker (C:\Program Files\Colour Contrast Analyser\resources\app.asar\src\CCAcontroller.js:81:30)
    at IpcMainImpl.emit (node:events:527:28)
    at EventEmitter.<anonymous> (node:electron/js2c/browser_init:165:11237)
    at EventEmitter.emit (node:events:527:28)
@ferllings ferllings added the bug Something isn't working label Aug 29, 2023
@ferllings ferllings changed the title Eyedropper doesn't open on regular user context Eyedropper doesn't with AppLocker Aug 29, 2023
@Daydreaming23
Copy link

I noticed the same in our environment and if trying to implement an exemption in AppLocker the certificate on the file has expired so not valid for a publisher rule.
image

@ferllings ferllings changed the title Eyedropper doesn't with AppLocker Eyedropper doesn't open with AppLocker Sep 7, 2023
@ferllings
Copy link
Member Author

Ah, yes. I might have forgot to re-sign the eyedropper.
Good catch, Thanks

@Daydreaming23
Copy link

Hi Ferlings, I have downloaded the updated installer, it seems on the first opening all is working but if I close and re-open it errors again. It looks like the Certificates on the exe have been updated but the file in the local app data is appearing blocked again with an expired certificate.

@ferllings
Copy link
Member Author

@Daydreaming23
Copy link

That has done the trick. On the current version it is working now. Thank you.

@ferllings
Copy link
Member Author

@Daydreaming23 Thanks for the confirmation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants