IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: Files by Approved Publisher Being Blocked

App Control: Files by Approved Publisher Being Blocked

Environment

  • App Control Agent: All Supported Versions
  • Microsoft Windows: All Supported Versions

Symptoms

  • A file signed by a trusted publisher is blocked
  • Block events state: "IneligibleForAppoval: CounterChainIdx[X] CertId[XX]"
  • Block events state: "ValidationError[ErrorsListedHere}"

Cause

Possible causes:
  • The publisher listed on the certificate is different from the publisher that is trusted in the console
  • The file isn't signed
  • Windows was not able to verify the certificate
  • Crypt32 is defective or unable to check for certificate revocation
  • Timing issue with publisher approval

Resolution

  1. Confirm if the file is signed and if the correct publisher is approved
    1. In the block event, click onto the hash in the "description" column
    2. "File Details" screen will open
    3. Under "File Properties" confirm publisher, publisher state, certificate, certificate global state
      • If there is no publisher or certificate listed, the file is not signed and is not eligible for publisher approval
    4. Click the hyperlinked name of the publisher
    5. Confirm the state is approved and that it applies to the correct policy
    6. Confirm the OS sees the file as properly signed
      1. Open an admin CMD prompt on the device.
      2. Run the command:
        Get-AuthenticodeSignature -FilePath "<FullPathToFile>" | Format-List
        • If there is a signature error: The App Control agent will also believe the signature is invalid as we rely on the OS for this information. A list of Microsoft error codes can be found here - CERT_TRUST_STATUS structure
        • If there is no signature error: Continue to step 4.
    7. Confirm if the OS is having issues updating its certificate store:
      1. Login to the endpoint experiencing the blocks
      2. Go to Start > Run > type in eventvwr
      3. Event Viewer will open
      4. In the left hand pane, expand Windows Logs
      5. Check for crypt32 and CAPI2 errors
    8. Determine what error the App Control agent has for the file :
      1. In the block event, check for errors such as "IneligibleForAppoval" and "ValidationError"
      2. Run commands
        cd "c:\Program Files (x86)\Bit9\Parity Agent"
        dascli password <CliPassword>
        dascli find <FullPathToFile>
        dascli certinfo <FullPathToFile> 0 user 
        dascli certinfo <FullPathToFile> 0 machine
    9. If the OS says the file is invalid, and App Control does not. This may because the file was written, and executed before the App Control agent had a chance to process the certificates and approval. 
      1. To manually re-evaluate run commands:
        cd "c:\Program Files (x86)\Bit9\Parity Agent"
        dascli password <CliPassword>
        dascli validatecerts
      2. Check the status again:
        dascli find <FullPathToFile>
        dascli certinfo <FullPathToFile> 0 user 
        dascli certinfo <FullPathToFile> 0 machine
    10. If the issue still persist, please contact Support and provide:

    Additional Notes

    A cache consistency check will also cause the agent to re-evaluate the certificates.
    1. Navigate to Assets > Computers
    2. Select the View Details button for the endpoint in question
    3. On the right side of the page, click the Perform Cache Consistency Check option
    4. Select the level of depth for the scan 'Rescan known files ' and "Re-evaluate publishers" option
    5. Click Go

    Labels (1)
    Was this article helpful? Yes No
    0% helpful (0/1)
    Article Information
    Author:
    Creation Date:
    ‎09-28-2018
    Views:
    6747