Sigma rule: CodeIntegrity - Unmet Signing Level Requirements By File Under Validation

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-3854099b7c1b, updated 2025-02-28T00:00:00.000Z.

Rule

Title
CodeIntegrity - Unmet Signing Level Requirements By File Under Validation
Status
experimental
Level
low
Author
Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
Date
2022-01-20
Modified
2025-02-28
File
rules/windows/builtin/code_integrity/win_codeintegrity_attempted_dll_load.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects attempted file load events that did not meet the signing level requirements. It often means the file's signature is revoked or a signature with the Lifetime Signing EKU has expired.
This event is best correlated with EID 3089 to determine the error of the validation.

Log source

product
windows
service
codeintegrity-operational

Detection

selection:
    EventID:
        - 3033 # Code Integrity determined that a process (%4) attempted to load %2 that did not meet the %5 signing level requirements.
        - 3034 # Code Integrity determined that a process (%4) attempted to load %2 that did not meet the %5 signing level requirements or violated code integrity policy. However, due to code integrity auditing policy, the image was allowed to load.
filter_optional_dtrace:
    # Example: Code Integrity determined that a process (\Device\HarddiskVolume5\Windows\System32\svchost.exe) attempted to load \Device\HarddiskVolume5\Program Files\DTrace\dtrace.dll that did not meet the Windows signing level requirements.
    FileNameBuffer|endswith: '\Program Files\DTrace\dtrace.dll'
    ProcessNameBuffer|endswith: '\Windows\System32\svchost.exe'
    RequestedPolicy: 12
filter_optional_av_generic:
    # Example: Code Integrity determined that a process (\Device\HarddiskVolume5\ProgramData\Microsoft\Windows Defender\Platform\4.18.2207.7-0\MsMpEng.exe) attempted to load \Device\HarddiskVolume5\Windows\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_36fb67bd6dbd887d\igd10iumd64.dll that did not meet the Custom 3 / Antimalware signing level requirements.
    FileNameBuffer|contains: '\Windows\System32\DriverStore\FileRepository\'
    FileNameBuffer|endswith: '\igd10iumd64.dll'
    # ProcessNameBuffer is AV products
    RequestedPolicy: 7
filter_optional_electron_based_app:
    # Example: Code Integrity determined that a process (\Device\HarddiskVolume5\Users\user\AppData\Local\Keybase\Gui\Keybase.exe) attempted to load \Device\HarddiskVolume5\Windows\System32\nvspcap64.dll that did not meet the Microsoft signing level requirements.
    FileNameBuffer|endswith: '\Windows\System32\nvspcap64.dll'
    ProcessNameBuffer|endswith:
        - '\AppData\Local\Keybase\Gui\Keybase.exe'
        - '\Microsoft\Teams\stage\Teams.exe'
    RequestedPolicy: 8
filter_optional_bonjour:
    FileNameBuffer|endswith: '\Program Files\Bonjour\mdnsNSP.dll'
    ProcessNameBuffer|endswith:
        - '\Windows\System32\svchost.exe'
        - '\Windows\System32\SIHClient.exe'
    RequestedPolicy:
        - 8
        - 12
filter_optional_msoffice_1:
    FileNameBuffer|contains: '\Microsoft Office\root\vfs\ProgramFilesCommonX64\Microsoft Shared\OFFICE'
    FileNameBuffer|endswith: '\MSOXMLMF.DLL'
    # ProcessNameBuffer is AV products
    RequestedPolicy: 7
filter_optional_msoffice_2:
    ProcessNameBuffer|contains: '\Program Files\Microsoft Office\root\vfs\ProgramFilesCommonX64\Microsoft Shared\Office'
    FileNameBuffer|contains: '\Windows\System32\'
    RequestedPolicy: 8
filter_optional_slack:
    # Example: https://user-images.githubusercontent.com/112784902/197407680-96d4b662-8a59-4289-a483-b24d630ac2a9.png
    # Even though it's the same DLL as the one used in the electron based app filter. We need to do a separate selection due to slack's folder naming convention with the version number :)
    FileNameBuffer|endswith: '\Windows\System32\nvspcap64.dll'
    ProcessNameBuffer|contains: '\AppData\Local\slack\app-'
    ProcessNameBuffer|endswith: '\slack.exe'
    RequestedPolicy: 8
filter_optional_firefox:
    # Example: https://user-images.githubusercontent.com/62423083/197451483-70e89010-ed96-4357-8079-b5a061a239d6.png
    FileNameBuffer|endswith:
        - '\Mozilla Firefox\mozavcodec.dll'
        - '\Mozilla Firefox\mozavutil.dll'
    ProcessNameBuffer|endswith: '\Mozilla Firefox\firefox.exe'
    RequestedPolicy: 8
filter_optional_avast:
    FileNameBuffer|endswith:
        - '\Program Files\Avast Software\Avast\aswAMSI.dll'
        - '\Program Files (x86)\Avast Software\Avast\aswAMSI.dll'
    RequestedPolicy:
        - 8
        - 12
filter_main_gac:
    # Filtering the path containing this string because of multiple possible DLLs in that location
    FileNameBuffer|contains: '\Windows\assembly\GAC\'
    ProcessNameBuffer|endswith: '\mscorsvw.exe'
    ProcessNameBuffer|contains: '\Windows\Microsoft.NET\'
    RequestedPolicy: 8
filter_optional_google_drive:
    # Example: \Program Files\Google\Drive File Stream\67.0.2.0\crashpad_handler.exe
    FileNameBuffer|contains: '\Program Files\Google\Drive File Stream\'
    FileNameBuffer|endswith: '\crashpad_handler.exe'
    ProcessNameBuffer|endswith: '\Windows\ImmersiveControlPanel\SystemSettings.exe'
    RequestedPolicy: 8
filter_optional_trend_micro:
    FileNameBuffer|endswith: '\Trend Micro\Client Server Security Agent\perficrcperfmonmgr.dll'
    RequestedPolicy: 8
filter_optional_mdns_responder:
    FileNameBuffer|endswith: '\Program Files\National Instruments\Shared\mDNS Responder\nimdnsNSP.dll '
filter_optional_mcafee:
    FileNameBuffer|endswith:
        - '\Program Files\McAfee\Endpoint Security\Threat Prevention\MfeAmsiProvider.dll'
        - '\Program Files\McAfee\MfeAV\AMSIExt.dll'
filter_optional_eset:
    FileNameBuffer|endswith: '\Program Files\ESET\ESET Security\eamsi.dll'
filter_optional_comodo:
    FileNameBuffer|endswith: '\Program Files\comodo\comodo internet security\amsiprovider_x64.dll'
filter_optional_sentinel_one:
    # Example: program files\sentinelone\sentinel agent 23.4.4.223\inprocessclient64.dll
    - FileNameBuffer|contains: '\Program Files\SentinelOne\Sentinel Agent'
    # Example: Program Files\SentinelOne\Sentinel Agent 23.4.4.223\SentinelAgent.exe
    - ProcessNameBuffer|contains: '\Program Files\SentinelOne\Sentinel Agent'
filter_optional_national_instruments:
    # Example: \device\harddiskvolume3\program files\national instruments\shared\mdns responder\nimdnsnsp.dll
    FileNameBuffer|contains: '\National Instruments\Shared\mDNS Responder\'
filter_optional_kaspersky:
    # Example: \Program Files (x86)\Kaspersky Lab\Kaspersky Endpoint Security for Windows\x64\antimalware_provider.dll
    - ProcessNameBuffer|contains|all:
          - '\Kaspersky Lab\'
          - '\avp.exe'
    - FileNameBuffer|contains|all:
          - '\Kaspersky Lab\'
          - '\antimalware_provider.dll'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*

False positives (as the rule lists them)

  • Antivirus and other third party products are known to trigger this rule quite a lot. Initial filters and tuning is required before using this rule.

Tags

  • attack.execution

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/code_integrity/win_codeintegrity_attempted_dll_load.yml

Sources and licences

  • SigmaHQ

    "CodeIntegrity - Unmet Signing Level Requirements By File Under Validation" by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/code_integrity/win_codeintegrity_attempted_dll_load.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: CodeIntegrity - Unmet Signing Level Requirements By File Under Validation",
entity page, dataset version ref-3854099b7c1b, updated 2025-02-28T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/f8931561-97f5-4c46-907f-0a4a592e47a7 (accessed 2026-11-03).
Underlying source: SigmaHQ rule f8931561-97f5-4c46-907f-0a4a592e47a7, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.