← Back to SOC feed Coverage →

Semi-Auto-generated - file h4ntu shell [powered by tsoi].txt

yara CRITICAL signature-base
backdoorflorian-roth
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at signature-base →
Retrieved: 2026-08-07T23:00:00Z · Confidence: medium

Hunt Hypothesis

This detection targets adversaries executing obfuscated or semi-automated shell scripts with suspicious naming conventions to establish persistence and execute malicious payloads within Azure Sentinel. A proactive hunt is essential because such files often indicate early-stage lateral movement or command-and-control communication that may evade standard signature-based defenses due to their dynamic generation patterns.

YARA Rule

rule WEBSHELL_H4ntu_Shell_Powered_Tsoi {
   meta:
      description = "Semi-Auto-generated - file h4ntu shell [powered by tsoi].txt"
      author = "Florian Roth"
      date = "2014-03-29"
      modified = "2025-03-21"
      score = 80
      old_rule_name = "Webshell_h4ntu_shell__powered_by_tsoi_"
      hash = "06ed0b2398f8096f1bebf092d0526137"
      id = "81a017e8-96e4-53c6-a11e-0a11ded13287"
   strings:
      $x1 = "<title>h4ntu shell"
      $x2 = "system(\"$cmd 1> /tmp/cmdtemp 2>&1; cat /tmp/cmdtemp; rm /tmp/cmdtemp\");"
   condition:
      filesize < 100KB
      and 1 of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

False Positive Guidance

Here are 5 specific false positive scenarios for the detection rule “Semi-Auto-generated - file h4ntu shell [powered by tsoi].txt”, along with targeted filters and exclusions:

Original source: https://github.com/Neo23x0/signature-base/blob/main/yara/thor-webshells.yar