Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

bcdedit invoked to disable driver signature enforcement or test signing

Siemphony@siemphonymediumT1553.006unverified
AN1446 names "administrative utilities (e.g., bcdedit.exe)" that "disable Driver Signature Enforcement (DSE) or enable Test Signing" as its process-creation signal, and this rule matches that directly: `bcdedit.exe` with a command line containing one of the documented boot-configuration edits that weaken code-signing enforcement for drivers — `testsigning` (permits self-signed and test-signed drivers to load) or `nointegritychecks` (disables Driver Signature Enforcement outright on BIOS/legacy boot) set to a true value, or the `loadoptions DISABLE_INTEGRITY_CHECKS` spelling of the same setting. bcdedit's boolean element type takes four interchangeable spellings for "true" — `on`, `yes`, `1` and `true` (and the same four for "false") — so an earlier draft matching only `on`/`yes` left `bcdedit /set testsigning 1` and `bcdedit /set testsigning true` as an unfiltered bypass despite being no less standard a spelling; all four true-spellings are matched here for both directives so the selector cannot be evaded just by choosing a different synonym for the same setting. AN1446's second logsource, Security EventID 4657 mapped onto `registry_set`, is deliberately not used. Unlike the registry-based rules elsewhere in this corpus, the Boot Configuration Data this setting lives in is not a normal HKLM/HKCU key with a SACL an administrator would set — it is a separate BCD hive file (`\Boot\BCD` or its ESP equivalent) that Windows loads and edits through boot-configuration APIs, not through the registry calls 4657 audits in a default or CIS-baseline configuration. Asserting a `registry_set` path here without that hive being explicitly loaded and audited would be the telemetry-off-by-default trap this pipeline exists to avoid, so this rule states the limitation instead of a path that would return nothing. AN1447 (macOS: `csrutil disable`, `g_CiOptions` tampering, unsigned execution following a SIP change) is not attempted. Its only logsource is {product: macos, service: unifiedlog}, which has no field vocabulary anywhere in this pipeline — not in the brief, not in lib/sigma, not in Sigma's own taxonomy — the same conclusion already recorded for T1037.002, T1059.002, T1548.004 and T1678 on this identical source. Prerequisite: this needs Security EventID 4688 with *Audit Process Creation* enabled, and separately *Include command line in process creation events* for `CommandLine` to be populated at all; neither is on by default or in the MS/CIS baselines, so a silent rule may mean the command-line policy is off rather than that nobody ran bcdedit. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0523, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

The detection

The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.

detection.yml

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where (FolderPath endswith "\\bcdedit.exe" and (ProcessCommandLine contains "testsigning on" or ProcessCommandLine contains "testsigning yes" or ProcessCommandLine contains "testsigning 1" or ProcessCommandLine contains "testsigning true" or ProcessCommandLine contains "nointegritychecks on" or ProcessCommandLine contains "nointegritychecks yes" or ProcessCommandLine contains "nointegritychecks 1" or ProcessCommandLine contains "nointegritychecks true" or ProcessCommandLine contains "DISABLE_INTEGRITY_CHECKS"))

Splunk · SPL

Run this as a search.

index=* (Image="*\\bcdedit.exe" AND (CommandLine="*testsigning on*" OR CommandLine="*testsigning yes*" OR CommandLine="*testsigning 1*" OR CommandLine="*testsigning true*" OR CommandLine="*nointegritychecks on*" OR CommandLine="*nointegritychecks yes*" OR CommandLine="*nointegritychecks 1*" OR CommandLine="*nointegritychecks true*" OR CommandLine="*DISABLE_INTEGRITY_CHECKS*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*\\\\bcdedit.exe" AND (TO_LOWER(process.command_line) LIKE "*testsigning on*" OR TO_LOWER(process.command_line) LIKE "*testsigning yes*" OR TO_LOWER(process.command_line) LIKE "*testsigning 1*" OR TO_LOWER(process.command_line) LIKE "*testsigning true*" OR TO_LOWER(process.command_line) LIKE "*nointegritychecks on*" OR TO_LOWER(process.command_line) LIKE "*nointegritychecks yes*" OR TO_LOWER(process.command_line) LIKE "*nointegritychecks 1*" OR TO_LOWER(process.command_line) LIKE "*nointegritychecks true*" OR TO_LOWER(process.command_line) LIKE "*disable_integrity_checks*"))

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="7">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)\\bcdedit\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)(testsigning on|testsigning yes|testsigning 1|testsigning true|nointegritychecks on|nointegritychecks yes|nointegritychecks 1|nointegritychecks true|DISABLE_INTEGRITY_CHECKS)</field>    <description>bcdedit invoked to disable driver signature enforcement or test signing</description>    <mitre>      <id>T1553.006</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.

Log in to report a verdict.

Log in to join the discussion.

No comments yet. Someone who deploys this will have something to say about it.