{"schema_version":1,"date":"2026-11-09","license":"DRL 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License","status":"experimental","disclaimer":"Experimental rule, provided without warranty: test and validate in your environment before any production use; do not block on it alone.","topics":[{"title":"SSHole (CVE-2026-123158): SANS ISC quantifies scans and publishes sources","level":"critique","rules":[{"id":"8c602898-803d-477a-ba7a-03e31dab0cd6","format":"sigma","title":"Password accepted for root or alpine (SSHole)","description":"Successful SSH password authentication for root or alpine, passwordless accounts on Alpine and PAM-less musl; recommended search by SOCRadar and reproduced in lab by StepSecurity.","level":"high","attack":["T1078","T1190"],"references":["https://www.helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation/","https://www.stepsecurity.io/blog/cve-2026-123158-sshhole-openssh-musl-password-bypass"],"falsepositives":["root or alpine configured with a genuine password and intended password authentication"],"content":"title: SSHole, password accepted for root or alpine on musl host\nid: 8c602898-803d-477a-ba7a-03e31dab0cd6\nstatus: experimental\ndescription: Successful SSH password login for root or alpine, accounts typically passwordless on Alpine and other PAM-less musl systems (CVE-2026-123158).\nreferences:\n  - https://www.helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation/\n  - https://www.stepsecurity.io/blog/cve-2026-123158-sshhole-openssh-musl-password-bypass\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-09\ntags:\n  - attack.initial-access\n  - attack.t1078\n  - attack.t1190\n  - cve.2026-123158\nlogsource:\n  product: linux\n  service: sshd\ndetection:\n  keywords:\n    - 'Accepted password for root from'\n    - 'Accepted password for alpine from'\n  condition: keywords\nfalsepositives:\n  - Hosts where root or alpine genuinely have a password and password login is intended\nlevel: high\n"},{"id":"ed44f98d-349e-4897-9c88-e666b45e8af4","format":"xql","title":"wget or curl spawned by sshd to port 8000","description":"Bot download immediately following SSH login, matching scripts observed by SANS ISC (port 8000, bot.x86_64 file).","level":"medium","attack":["T1105","T1059.004"],"references":["https://isc.sans.edu/diary/rss/33498","https://www.helpnetsecurity.com/2026/11/06/openssh-sshole-cve-2026-123158-exploitation/"],"falsepositives":["administrative scripts run over SSH that download from an internal server on port 8000"],"content":"// Threat Brief 2026-11-09 · SSHole (CVE-2026-123158) · experimental\n// Download via wget or curl spawned from an sshd session to port 8000 or targeting a bot.x86_64 payload\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type = ENUM.PROCESS and event_sub_type = ENUM.PROCESS_START\n| filter causality_actor_process_image_name = \"sshd\"\n| filter action_process_image_name in (\"wget\", \"curl\")\n| filter action_process_image_command_line contains \":8000/\" or action_process_image_command_line contains \"/bot.x86_64\"\n| fields _time, agent_hostname, actor_effective_username, action_process_image_name, action_process_image_command_line\n"}],"external":[{"title":"CVE-2026-123158 (*sshole): lab reproduction and expected sshd log lines","url":"https://www.stepsecurity.io/blog/cve-2026-123158-sshhole-openssh-musl-password-bypass","author":"StepSecurity","format":"sshd log logic","license":"link only"}]},{"title":"RubyGems strutil-core 1.0.1: testmetest worm returns, with wiper on revocation","level":"eleve","rules":[{"id":"903a33fd-d22e-47b7-88c9-4f68d33b9eec","format":"sigma","title":"Bun downloaded and executed from /tmp/.b_ (strutil-core)","description":"Execution during gem installation: extconf.rb downloads Bun 1.2.18 into /tmp/.b_<pid> then executes bun run on index.js.","level":"high","attack":["T1195.002","T1059.007"],"references":["https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem"],"falsepositives":["legitimate installer staging Bun in a .b_ temporary directory (unlikely)"],"content":"title: strutil-core, Bun runtime downloaded and executed from /tmp/.b_ during gem installation\nid: 903a33fd-d22e-47b7-88c9-4f68d33b9eec\nstatus: experimental\ndescription: 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.\nreferences:\n  - https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem\nauthor: Threat Brief (tlpclear.fr)\ndate: 2026-11-09\ntags:\n  - attack.execution\n  - attack.t1195.002\n  - attack.t1059.007\nlogsource:\n  product: linux\n  category: process_creation\ndetection:\n  selection_bun:\n    Image|startswith: '/tmp/.b_'\n    Image|endswith: '/bun'\n    CommandLine|contains: ' run '\n  selection_curl:\n    Image|endswith: '/curl'\n    CommandLine|contains|all:\n      - 'oven-sh/bun/releases/download/bun-v1.2.18/'\n      - '/tmp/.b_'\n  condition: 1 of selection_*\nfalsepositives:\n  - Legitimate installation script staging Bun in a temporary directory named .b_ (unlikely)\nlevel: high\n"},{"id":"4b49f3fb-fbca-480e-b6a4-d45d8d58686b","format":"xql","title":"testmetest persistence or paleasbest.top resolution","description":"Writing of sync.py, net-health-checker monitor, its token, or /var/tmp/.fontconfig_state state file, or traffic to collection endpoint.","level":"high","attack":["T1543.002","T1485","T1041"],"references":["https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem"],"falsepositives":["none known for these paths; legitimate tool named net-health-checker is possible"],"content":"// Threat Brief 2026-11-09 · strutil-core / testmetest · experimental\n// Persistence and wiper artefacts, or resolution of the paleasbest.top collection endpoint\nconfig case_sensitive = false\n| dataset = xdr_data\n| filter event_type in (ENUM.FILE, ENUM.NETWORK)\n| filter action_file_path contains \"/.local/share/runtimes/sync.py\" or action_file_path contains \"/.local/bin/net-health-checker.sh\" or action_file_path contains \"/.config/net-health-checker/token\" or action_file_path contains \"/var/tmp/.fontconfig_state\" or action_external_hostname contains \"paleasbest.top\" or dst_action_external_hostname contains \"paleasbest.top\"\n| fields _time, agent_hostname, actor_effective_username, actor_process_image_name, actor_process_command_line, action_file_path, action_external_hostname, dst_action_external_hostname\n"},{"id":"f745941c-786e-42e9-bc0f-32874f2bc149","format":"yara","title":"testmetest worm index.js and sync.py","description":"msync-3f7a, AutoSyncComplete, paleasbest.top markers and hashes published by Socket for payload, backdoor and installer.","level":"high","attack":["T1195.002","T1059.006"],"references":["https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem"],"falsepositives":["analysis reports or rule repositories containing these strings"],"content":"import \"hash\"\n\nrule TB_20261109_strutil_core_testmetest\n{\n    meta:\n        author = \"Threat Brief (tlpclear.fr)\"\n        date = \"2026-11-09\"\n        reference = \"https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem\"\n        description = \"index.js payload and sync.py backdoor of the testmetest worm (strutil-core 1.0.1 gem): markers and hashes published by Socket\"\n        status = \"experimental\"\n    strings:\n        $m1 = \"msync-3f7a\" ascii\n        $m2 = \"AutoSyncComplete\" ascii\n        $m3 = \"paleasbest.top\" ascii\n        $m4 = \"/var/tmp/.fontconfig_state\" ascii\n        $m5 = \"net-health-checker\" ascii\n        $m6 = \"workspace-tools\" ascii\n        $m7 = \"bun-v1.2.18\" ascii\n    condition:\n        uint16(0) != 0x5a4d and uint32(0) != 0x464c457f and filesize < 8MB and\n        (\n            2 of ($m1, $m2, $m3, $m4) or\n            ($m3 and 2 of ($m5, $m6, $m7)) or\n            hash.sha256(0, filesize) == \"c7ef186aa59b67d9b198a14f6dc8aaee6dd86510ac7c37d28f65d310cd846411\" or\n            hash.sha256(0, filesize) == \"306c1deec402e8b4a6478e7f0fe02194bcd224d37d8fc6ba61ad1951e8abd7a9\" or\n            hash.sha256(0, filesize) == \"c5264f3b9cf2f95c83a70b7dd7430aab8abc262b853dbbcd5386c3a8a9c74769\"\n        )\n}\n"}],"external":[{"title":"Shai-Hulud Descendant Surfaces in Malicious Ruby Gem (IOCs and paths)","url":"https://socket.dev/blog/shai-hulud-descendant-malicious-ruby-gem","author":"Socket","format":"IOC","license":"link only"}]}]}