Detection rules · Sigma, Cortex XQL, YARA

All rules, every day

The catalogue of Threat Brief rules since day one: filter by format, period, level or ATT&CK technique, open a rule to read its code, and download the selection as one file.

4 rules over 4 days · technique T1195.002 (remove) Most recent first
DateFormatRule and topicLevelATT&CK
18/11 SIGMA agent-framework stealer exfiltration to webhook.site (User-Agent runtime-diagnostics/1)PyPI: Microsoft's official agent-framework package ships two poisoned versions (1.26.1, 1.26.2) stealing Azure, GitHub and CI credentials high T1567 T1552.001 T1195.002
tb-2026-11-18-exfiltration-du-voleur-agent-framework-vers-webhook-site-use.ymlDownload Sigma rule
title: agent-framework 1.26.1 or 1.26.2 credential exfiltration to webhook.site
id: 0d00089a-4e52-4bc9-a149-8bacc39e2a5c
status: experimental
description: Detects the single HTTPS POST of the credential stealer shipped in the compromised Microsoft agent-framework PyPI releases 1.26.1 and 1.26.2, identified by its User-Agent (runtime-diagnostics/1 or af-runtime-diagnostics/1) or by the webhook.site path used for exfiltration. Requires TLS inspection or an explicit proxy logging the User-Agent and URI.
references:
  - https://www.stepsecurity.io/blog/microsoft-agent-framework-pypi-package-compromised
  - https://www.wiz.io/blog/malicious-version-of-microsofts-agent-framework-published-to-pypi
author: Threat Brief (tlpclear.fr)
date: 2026-11-18
tags:
  - attack.exfiltration
  - attack.t1567
  - attack.credential-access
  - attack.t1552.001
  - attack.initial-access
  - attack.t1195.002
logsource:
  category: proxy
detection:
  selection_ua:
    c-useragent:
      - 'runtime-diagnostics/1'
      - 'af-runtime-diagnostics/1'
  selection_path:
    cs-host: 'webhook.site'
    c-uri|contains: 'd381fd80-ec62-42ad-8f5c-d1b15103c9bb'
  condition: 1 of selection_*
falsepositives:
  - Unlikely; an internal tool reusing the same User-Agent string
level: high
sigma: parsed and converted (splunk, lucene) proxy Licence DRL 1.1

Single HTTPS POST of the credential stealer in the poisoned 1.26.1 and 1.26.2 releases, recognised by its User-Agent or by the webhook.site exfiltration path; requires a proxy logging User-Agent and URI. False positives: unlikely: internal tool reusing the same User-Agent.

1 quote from the sources
  • “POSTed in one request to https://webhook.site/d381fd80-ec62-42ad-8f5c-d1b15103c9bb?t=telemetry with Content-Type application/octet-stream and User-Agent runtime-diagnostics/1 ( af-runtime-diagnostics/1 in 1.26.1)” www.stepsecurity.io
17/11 SIGMA Proxy request for the OPTIMJACK payload or the iOS second stageOptimizely: a signup flow flaw exploited to hijack scripts served to about 180 organisations (OPTIMJACK) high T1195.002 T1189 T1056.003
tb-2026-11-17-requ-te-proxy-vers-la-charge-optimjack-ou-le-second-tage-ios.ymlDownload Sigma rule
title: OPTIMJACK payload or iOS stage requested through the proxy (Optimizely-hosted scripts)
id: 7c008adb-fd90-4fd5-888a-8d938343ddac
status: experimental
description: Detects browser requests for the OPTIMJACK payload and exfiltration paths on 1688360.cc (track.js, html2canvas.min.js, hit.php, card.php) or for the iOS second stage path /JIUJIU888/ served from .icu hosts, injected into Optimizely-hosted scripts on 16 November 2026.
references:
  - https://www.stepsecurity.io/blog/optimjack-optimizely-hosted-scripts-crypto-clipper-card-skimmer
author: Threat Brief (tlpclear.fr)
date: 2026-11-17
tags:
  - attack.initial-access
  - attack.t1195.002
  - attack.t1189
  - attack.collection
  - attack.t1056.003
logsource:
  category: proxy
detection:
  selection_payload:
    cs-host|endswith: '1688360.cc'
    c-uri|contains:
      - '/track.js'
      - '/html2canvas.min.js'
      - '/hit.php'
      - '/card.php'
  selection_ios:
    c-uri|contains:
      - '/JIUJIU888/weifile.html'
      - '/JIUJIU888/index.js'
  condition: 1 of selection_*
falsepositives:
  - Security researchers or sandboxes retrieving the payload for analysis
level: high
sigma: parsed and converted (splunk, lucene) proxy Licence DRL 1.1

Browser requesting track.js, html2canvas.min.js, hit.php or card.php on 1688360.cc, or the /JIUJIU888/ path of the iOS second stage: endpoint or visitor exposed to the clipper and skimmer injected into Optimizely scripts (StepSecurity). False positives: researchers or sandboxes retrieving the payload for analysis.

4 quotes from the sources
10/11 SIGMA solidity-langsupport-runner systemd unit or ~/.solidity/ directory (SleepyDuck)Supply chain: bee-js 13.3.0 and Swarm Desktop 0.56.2 deliver the SleepyDuck backdoor high T1543.002 T1195.002
tb-2026-11-10-unit-systemd-solidity-langsupport-runner-ou-dossier-solidity.ymlDownload Sigma rule
title: SleepyDuck backdoor persistence (bee-js 13.3.0, Swarm Desktop 0.56.2) on Linux
id: 76d67032-7a00-4eaf-9aa8-28265fb9c92f
status: experimental
description: Creation of the solidity-langsupport-runner.service systemd unit or files under ~/.solidity/, persistence for the Go stage 3 delivered by bee-js 13.3.0 and Swarm Desktop 0.56.2 (Socket).
references:
  - https://socket.dev/blog/bee-js-compromise
author: Threat Brief (tlpclear.fr)
date: 2026-11-10
tags:
  - attack.persistence
  - attack.t1543.002
  - attack.t1195.002
logsource:
  product: linux
  category: file_event
detection:
  selection_unit:
    TargetFilename|endswith: '/solidity-langsupport-runner.service'
  selection_dir:
    TargetFilename|contains: '/.solidity/'
  condition: 1 of selection_*
falsepositives:
  - Legitimate Solidity development tool writing to ~/.solidity/ (rare, verify)
level: high
sigma: parsed and converted (splunk, lucene) linux file_event Licence DRL 1.1

Linux persistence for the Go backdoor delivered by bee-js 13.3.0 and Swarm Desktop 0.56.2, described by Socket. False positives: legitimate Solidity tool writing to ~/.solidity/.

09/11 SIGMA Bun downloaded and executed from /tmp/.b_ (strutil-core)RubyGems strutil-core 1.0.1: testmetest worm returns, with wiper on revocation high T1195.002 T1059.007
tb-2026-11-09-bun-t-l-charg-et-lanc-depuis-tmp-b-strutil-core.ymlDownload Sigma rule
title: strutil-core, Bun runtime downloaded and executed from /tmp/.b_ during gem installation
id: 903a33fd-d22e-47b7-88c9-4f68d33b9eec
status: experimental
description: Malicious strutil-core 1.0.1 gem extconf.rb script (testmetest worm) downloads Bun 1.2.18 to /tmp/.b_<pid> then executes bun run against the index.js payload.
references:
  - https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem
author: Threat Brief (tlpclear.fr)
date: 2026-11-09
tags:
  - attack.execution
  - attack.t1195.002
  - attack.t1059.007
logsource:
  product: linux
  category: process_creation
detection:
  selection_bun:
    Image|startswith: '/tmp/.b_'
    Image|endswith: '/bun'
    CommandLine|contains: ' run '
  selection_curl:
    Image|endswith: '/curl'
    CommandLine|contains|all:
      - 'oven-sh/bun/releases/download/bun-v1.2.18/'
      - '/tmp/.b_'
  condition: 1 of selection_*
falsepositives:
  - Legitimate installation script staging Bun in a temporary directory named .b_ (unlikely)
level: high
sigma: parsed and converted (splunk, lucene) linux process_creation Licence DRL 1.1

Execution during gem installation: extconf.rb downloads Bun 1.2.18 into /tmp/.b_<pid> then executes bun run on index.js. False positives: legitimate installer staging Bun in a .b_ temporary directory (unlikely).