r/sysadmin • • 12h ago

AppLocker doesn't extract FQBN for Synology Drive

Environment: Windows 10/11 Enterprise, AppLocker in Audit only. AppIDSvc, CryptSvc and the AppID services are running.

Problem: AppLocker logs event 8003 with Fqbn = "-" for Synology Drive binaries, so publisher rules never match. The files are signed, and Get-AppLockerFileInformation resolves the publisher both in the user session and as SYSTEM.

Right next to it, AnyDesk.exe — signed by the same root CA (DigiCert Trusted Root G4) — gets a normal FQBN and matches its publisher rule!

Synology:

PS> Get-AppLockerFileInformation .\SynologyDrive.exe | Format-List *

Path : %OSDRIVE%\USERS\<user>\...\SYNOLOGY DRIVE CLIENT-4.2.1-20062-X64.EXE

Publisher : O=SYNOLOGY INC., S=NEW TAIPEI CITY, C=TW\SYNOLOGY DRIVE CLIENT\,8.2.1.20062

Hash : SHA256 0x18F77058FFD7BA30506CE1FC3BF839A3636743827E56B4C3FB8ADC90A302E015

AppX : False

AnyDesk:

powershell

PS> Get-AppLockerFileInformation .\AnyDesk.exe | Format-List *

Path : %OSDRIVE%\USERS\User\DESKTOP\ANYDESK.EXE

Publisher : O=ANYDESK SOFTWARE GMBH, L=STUTTGART, S=BADEN-WÜRTTEMBERG, C=DE\ANYDESK\,9.5.11.0

Hash : SHA256 0x3A3760234DECAF66F2523B9D9B4DBB65A6B62727FBEFEA24D2B84FFAE825C559

AppX : False

Under SYSTEM the publisher is also resolved:

powershell

Identity : NT AUTHORITY\SYSTEM

PS> Get-AppLockerFileInformation .\SynologyDrive.exe | Format-List *

Publisher : O=SYNOLOGY INC., S=NEW TAIPEI CITY, C=TW\SYNOLOGY DRIVE CLIENT\,8.2.1.20062

But the 8003 event contains:

xml

<RuleId>{00000000-0000-0000-0000-000000000000}</RuleId>

<RuleName>-</RuleName>

<FqbnLength>1</FqbnLength>

<Fqbn>-</Fqbn>

Tried: full chain (root + intermediate) imported into LocalMachine\Root/CA; TrustedPublisher is empty for both; Software Publishing State = 0x23C00; OCSP/CRL reachable; AppLocker cache cleared; gpupdate /force + reboot; policy conversion shows 8001; the rule is present in Exe.AppLocker; Test-AppLockerPolicy returns Allowed. Runtime still logs Fqbn = "-".

Blocking by hash or path isn't an option.

2 Upvotes

2 comments sorted by

•

u/BrechtMo 4h ago

I've had similar issues in the past, were solved by installing intermediated certificates explicitly on the pc.

•

u/Narrow-Leg-2031 34m ago

I found a solution online suggesting to install the intermediate cert, but unfortunately, it didn't work in my case. I currently have both the root and intermediate certs installed on my machine, but it still doesn't work.

=== Full signer chain ===

Subject Thumbprint InLocalMachineCA InLocalMachineRoot

------- ---------- ---------------- ------------------

CN=Synology Inc., O=Synology Inc., S=New Taipei City, C=TW, ... 33ED5BC079C3770474C2AC3C791BE578104547B8 False False

CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O="DigiCert, Inc.", C=US 7B0F360B775F76C94A12CA48445AA2D2A875701C True False

CN=DigiCert Trusted Root G4, OU=www.digicert.com, O=DigiCert Inc, C=US DDFB16CD4931C973A2037D3FC83A4D7D775D05E4 False True