{
  "schemaVersion": 2,
  "generatedAt": "2026-11-05T21:11:28.360Z",
  "licenses": {
    "et_open": "/et-open-license.txt"
  },
  "networkRuleReview": {
    "version": 1,
    "reviewed_on": "2026-11-02",
    "sources": {
      "Suricata": {
        "sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/emerging.rules.tar.gz",
        "checked_on": "2026-11-02",
        "engine": "Suricata 7.0.3"
      },
      "Snort": {
        "sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/emerging.rules.tar.gz",
        "checked_on": "2026-11-02",
        "engine": "Snort 2.9"
      },
      "Snort-community": {
        "sha256": "969a2cedb243dfe771f6112b520864ad8613322a60fcd2831754f34497da5d44",
        "url": "https://www.snort.org/downloads/community/snort3-community-rules.tar.gz",
        "checked_on": "2026-11-02",
        "engine": "Snort 3"
      }
    },
    "items": [
      {
        "framework": "covenant",
        "id": "et-open-suricata-2027792",
        "title": "ET MALWARE Covenant Framework Default HTTP Beacon",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Suricata decoded HTTP or client TCP payload",
        "match": "Matches the default POST URI prefix /en-us/ and the ordered form fields i=, &data= and &session= in the reviewed HTTP profile.",
        "caveat": "Default profile only. Requires HTTP request-body visibility, plaintext or TLS decryption, and the configured home/external network direction. Snort also limits this rule to $HTTP_PORTS. Custom cloud transports and changed profiles are outside this match. The raw header/body-boundary predicate is sensitive to message presentation. Untested against traffic.",
        "evidence": [
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 18,
            "end": 28,
            "label": "Default URI and POST form"
          },
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 106,
            "end": 117,
            "label": "Stager sends the profile POST"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "400f80e8861d7b17ce319463caa9a1c44d6e8ed99abf20d07eb208c449bd2a53",
        "rule_text": "alert http $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Covenant Framework Default HTTP Beacon\"; flow:established,to_server; threshold: type limit, count 1, seconds 60, track by_src; content:\"|0d 0a 0d 0a|i=\"; fast_pattern; http.method; content:\"POST\"; http.uri; content:\"/en-us/\"; startswith; http.request_body; content:\"i=\"; startswith; content:\"&data=\"; distance:0; content:\"&session=\"; distance:0; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027792; rev:3; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2024_04_13, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
        "sid": 2027792,
        "revision": 3,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-suricata-2027793",
        "title": "ET MALWARE Covenant Framework HTTP Beacon",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Suricata decoded HTTP or client TCP payload",
        "match": "Targets the Base64-encoded JSON GUID prefix and a Type-field encoding in a POST body. The reviewed stager formats GUID and Type before transforming the JSON with the default Base64 transform.",
        "caveat": "Requires the matching Base64 message transform and POST body visibility, plaintext or TLS decryption. Profiles can replace the transform or envelope. Snort also requires a configured $HTTP_PORTS port. An alert does not prove attribution. Untested against traffic.",
        "evidence": [
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 43,
            "end": 59,
            "label": "GUID and Type message envelope"
          },
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 75,
            "end": 75,
            "label": "Transform the message"
          },
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 7,
            "end": 16,
            "label": "Default Base64 transform"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "b53a8f9b907e2d3ed3c9f1ba3e0dde23108bf9c8bc07fe44f700f2efcf813586",
        "rule_text": "alert http $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Covenant Framework HTTP Beacon\"; flow:established,to_server; threshold: type limit, count 1, seconds 60, track by_src; http.method; content:\"POST\"; http.request_body; content:\"=eyJHVUlEIjoi\"; fast_pattern; pcre:\"/^.+(IlR5cGUiO|JUeXBlIj|iVHlwZSI6)/R\"; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027793; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2020_08_31, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
        "sid": 2027793,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-suricata-2027794",
        "title": "ET MALWARE Covenant Framework HTTP Hello World Server Response",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Suricata decoded HTTP or client TCP payload",
        "match": "Targets Hello World! followed by the Base64 GUID JSON prefix in an HTTP response. The reviewed default GET and POST response templates wrap transformed data in that text.",
        "caveat": "Default response template only, with a GUID-first message and Base64 transform. Requires visible/decrypted HTTP response content. Snort also requires server source ports in $HTTP_PORTS. Renamed wrappers, proxies or custom cloud transports can prevent matching. Untested against traffic.",
        "evidence": [
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 7,
            "end": 16,
            "label": "Default transform"
          },
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 32,
            "end": 51,
            "label": "Response wrappers"
          },
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 43,
            "end": 46,
            "label": "GUID-first message format"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "a9dec10a4d98bfa6e96e76f7aa065166565d1c3e9ef2f91385edec1ea2bd0b81",
        "rule_text": "alert http $EXTERNAL_NET any -> $HOME_NET any (msg:\"ET MALWARE Covenant Framework HTTP Hello World Server Response\"; flow:established,to_client; file.data; content:\"Hello World! eyJHVUlEIjoi\"; fast_pattern; threshold: type limit, count 1, seconds 60, track by_dst; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027794; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_14;)",
        "sid": 2027794,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-suricata-2046622",
        "title": "ET MALWARE Possible DarkFinger Payload Retrieval Attempt - nc10",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Suricata decoded HTTP or client TCP payload",
        "match": "Targets nc10 in a small established client-to-server TCP payload. The Nc64 menu path sends nc followed by the configured delay through finger; the default delay is 10.",
        "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 38,
            "end": 39,
            "label": "Default delay configuration"
          },
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 129,
            "end": 138,
            "label": "Nc64 Finger request"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "f840b0c3c792ca646887ebc1c1845d650ed5b66fb474a3ccdb0a9cc13d4ad050",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger Payload Retrieval Attempt - nc10\"; flow:established,to_server; dsize:<7; content:\"nc10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046622; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
        "sid": 2046622,
        "revision": 1,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-suricata-2046623",
        "title": "ET MALWARE Possible DarkFinger Payload Retrieval Attempt - ps10",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Suricata decoded HTTP or client TCP payload",
        "match": "Targets ps10 in a small established client-to-server TCP payload. The PsExec64 menu path sends ps followed by the configured delay through finger; the default delay is 10.",
        "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 38,
            "end": 39,
            "label": "Default delay configuration"
          },
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 116,
            "end": 125,
            "label": "PsExec64 Finger request"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "c9cf5a5b19802dbca31d8956270532529ca22c50880dadda107582f3551972ce",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger Payload Retrieval Attempt - ps10\"; flow:established,to_server; dsize:<7; content:\"ps10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046623; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
        "sid": 2046623,
        "revision": 1,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-snort-2027792",
        "title": "ET TROJAN Covenant Framework Default HTTP Beacon",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
        "match": "Matches the default POST URI prefix /en-us/ and the ordered form fields i=, &data= and &session= in the reviewed HTTP profile.",
        "caveat": "Default profile only. Requires HTTP request-body visibility, plaintext or TLS decryption, and the configured home/external network direction. Snort also limits this rule to $HTTP_PORTS. Custom cloud transports and changed profiles are outside this match. The raw header/body-boundary predicate is sensitive to message presentation. Untested against traffic.",
        "evidence": [
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 18,
            "end": 28,
            "label": "Default URI and POST form"
          },
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 106,
            "end": 117,
            "label": "Stager sends the profile POST"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "8d994234d3de25e5924e4e67797e489b041f92e9c45aec2fbb84c9589a3d551e",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:\"ET TROJAN Covenant Framework Default HTTP Beacon\"; flow:established,to_server; content:\"POST\"; http_method; content:\"/en-us/\"; http_uri; depth:7; content:\"|0d 0a 0d 0a|i=\"; fast_pattern; content:\"i=\"; http_client_body; depth:2; content:\"&data=\"; http_client_body; distance:0; content:\"&session=\"; http_client_body; distance:0; threshold: type limit, count 1, seconds 60, track by_src; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027792; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2019_08_04, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
        "sid": 2027792,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-snort-2027793",
        "title": "ET TROJAN Covenant Framework HTTP Beacon",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
        "match": "Targets the Base64-encoded JSON GUID prefix and a Type-field encoding in a POST body. The reviewed stager formats GUID and Type before transforming the JSON with the default Base64 transform.",
        "caveat": "Requires the matching Base64 message transform and POST body visibility, plaintext or TLS decryption. Profiles can replace the transform or envelope. Snort also requires a configured $HTTP_PORTS port. An alert does not prove attribution. Untested against traffic.",
        "evidence": [
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 43,
            "end": 59,
            "label": "GUID and Type message envelope"
          },
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 75,
            "end": 75,
            "label": "Transform the message"
          },
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 7,
            "end": 16,
            "label": "Default Base64 transform"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "f8bf93eb40d87c3c3528d6b5c04129569c0e6ff07ff55d2c8fec7edaef349496",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:\"ET TROJAN Covenant Framework HTTP Beacon\"; flow:established,to_server; content:\"POST\"; http_method; content:\"=eyJHVUlEIjoi\"; http_client_body; fast_pattern; pcre:\"/eyJHVUlEIjoi.+(IlR5cGUiO|JUeXBlIj|iVHlwZSI6)/Psm\"; threshold: type limit, count 1, seconds 60, track by_src; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027793; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2019_08_04, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
        "sid": 2027793,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-snort-2027794",
        "title": "ET TROJAN Covenant Framework HTTP Hello World Server Response",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
        "match": "Targets Hello World! followed by the Base64 GUID JSON prefix in an HTTP response. The reviewed default GET and POST response templates wrap transformed data in that text.",
        "caveat": "Default response template only, with a GUID-first message and Base64 transform. Requires visible/decrypted HTTP response content. Snort also requires server source ports in $HTTP_PORTS. Renamed wrappers, proxies or custom cloud transports can prevent matching. Untested against traffic.",
        "evidence": [
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 7,
            "end": 16,
            "label": "Default transform"
          },
          {
            "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
            "start": 32,
            "end": 51,
            "label": "Response wrappers"
          },
          {
            "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
            "start": 43,
            "end": 46,
            "label": "GUID-first message format"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "f3251f1a5363efe82ed1693b42460ef52f60f671c7a498b86bfbc8e8e2941e10",
        "rule_text": "alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:\"ET TROJAN Covenant Framework HTTP Hello World Server Response\"; flow:established,to_client; file_data; content:\"Hello World! eyJHVUlEIjoi\"; fast_pattern:6,19; threshold: type limit, count 1, seconds 60, track by_dst; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027794; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_08_04;)",
        "sid": 2027794,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-snort-2046622",
        "title": "ET TROJAN Possible DarkFinger Payload Retrieval Attempt - nc10",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
        "match": "Targets nc10 in a small established client-to-server TCP payload. The Nc64 menu path sends nc followed by the configured delay through finger; the default delay is 10.",
        "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 38,
            "end": 39,
            "label": "Default delay configuration"
          },
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 129,
            "end": 138,
            "label": "Nc64 Finger request"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "9996e72bf445d52b31d1741c8d793aee2a17e4a5572ab80891c82def20a349a5",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger Payload Retrieval Attempt - nc10\"; flow:established,to_server; dsize:<7; content:\"nc10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046622; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22;)",
        "sid": 2046622,
        "revision": 1,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-snort-2046623",
        "title": "ET TROJAN Possible DarkFinger Payload Retrieval Attempt - ps10",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
        "match": "Targets ps10 in a small established client-to-server TCP payload. The PsExec64 menu path sends ps followed by the configured delay through finger; the default delay is 10.",
        "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 38,
            "end": 39,
            "label": "Default delay configuration"
          },
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 116,
            "end": 125,
            "label": "PsExec64 Finger request"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "1898f494653be3a73de6c31aeef17f29c028391a5d5f9f4cf6b9ebb8ccab8c5d",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger Payload Retrieval Attempt - ps10\"; flow:established,to_server; dsize:<7; content:\"ps10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046623; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2024_09_13;)",
        "sid": 2046623,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-suricata-2027797",
        "title": "ET MALWARE Possible Covenant Framework Grunt PowerShell Stager HTTP Download",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Decoded HTTP response body containing a PowerShell launcher",
        "match": "All ordered script strings occur in the reviewed PowerShell launcher template: Deflate decompression, .Value.Write, Reflection.Assembly Load, EntryPoint.Invoke and Out-Null. The hosted-launcher path retrieves a script over HTTP.",
        "caveat": "Conditional staging coverage when an HTTP response serves the unmodified launcher script. It does not identify an encrypted command line, a stock Grunt beacon or arbitrary PowerShell traffic. Requires visible/decrypted response content; the Snort feed also requires the server port in $HTTP_PORTS. No hosting or execution was performed.",
        "evidence": [
          {
            "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
            "start": 34,
            "end": 39,
            "label": "Launcher template receives the encoded assembly"
          },
          {
            "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
            "start": 57,
            "end": 65,
            "label": "Hosted launcher retrieves a script"
          },
          {
            "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
            "start": 70,
            "end": 71,
            "label": "Complete ordered PowerShell template strings"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "0978a03f695313b41a2a554cee56e258c4c32d7bb92019559f7e9163bef07506",
        "rule_text": "alert http $EXTERNAL_NET any -> $HOME_NET any (msg:\"ET MALWARE Possible Covenant Framework Grunt PowerShell Stager HTTP Download\"; flow:established,to_client; file.data; content:\"IO.Compression.CompressionMode]|3a 3a|Decompress\"; content:\".Value.Write(\"; distance:0; content:\"Reflection.Assembly]|3a 3a|Load(\"; fast_pattern; distance:0; content:\".EntryPoint.Invoke(\"; distance:0; content:\"Out-Null\"; distance:0; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027797; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_14;)",
        "sid": 2027797,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-suricata-2046624",
        "title": "ET MALWARE Possible DarkFinger ipconfig Retrieval Attempt",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Client TCP payload carrying Finger query text",
        "match": "Matches the dot-prefixed English Windows IP Configuration heading in a small TCP payload. The reviewed IP-config exfiltration loop sends each output line through finger with a dot prefix.",
        "caveat": "Requires English ipconfig output, matching TCP segmentation, established client-to-server direction and the configured network boundaries. The payload-size condition can fail after segmentation/coalescing. ET marks confidence low. This is an exfiltration request heading; the rule title calls it retrieval. Other Finger clients can match. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 167,
            "end": 174,
            "label": "Dot-prefixed ipconfig lines sent through Finger"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "0de02d15c00a7d759ea3afc08a711d65e11dc6f8a7b9a3813f58b50847aec865",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger ipconfig Retrieval Attempt\"; flow:established,to_server; dsize:<28; content:\"|2e|Windows IP Configuration\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046624; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
        "sid": 2046624,
        "revision": 1,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-suricata-2046625",
        "title": "ET MALWARE Possible DarkFinger tasklist Retrieval attempt",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Suricata 7.0.3",
        "path": "rules/emerging-malware.rules",
        "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
        "telemetry": "Client TCP payload carrying Finger query text",
        "match": "Matches .Image in a small client TCP payload. The reviewed tasklist exfiltration loop sends the first whitespace-delimited token of each output line through finger with a dot prefix, including the English Image heading.",
        "caveat": "Requires English tasklist output and a matching short TCP segment. Established direction, HOME_NET/EXTERNAL_NET placement and segmentation affect coverage. ET marks confidence low. The title says retrieval; the reviewed path sends process-list text outward. The short token is not unique to this framework. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 157,
            "end": 164,
            "label": "First-token tasklist exfiltration via Finger"
          }
        ],
        "kind": "Suricata",
        "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
        "rule_sha256": "5a5660e229d7ad523df7518a710abd7124ebde487926ebb4e157f0631f1fbba6",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger tasklist Retrieval attempt\"; flow:established,to_server; dsize:<9; content:\"|2e|Image\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046625; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
        "sid": 2046625,
        "revision": 1,
        "gid": 1
      },
      {
        "framework": "covenant",
        "id": "et-open-snort-2027797",
        "title": "ET TROJAN Possible Covenant Framework Grunt PowerShell Stager HTTP Download",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Decoded HTTP response body containing a PowerShell launcher",
        "match": "All ordered script strings occur in the reviewed PowerShell launcher template: Deflate decompression, .Value.Write, Reflection.Assembly Load, EntryPoint.Invoke and Out-Null. The hosted-launcher path retrieves a script over HTTP.",
        "caveat": "Conditional staging coverage when an HTTP response serves the unmodified launcher script. It does not identify an encrypted command line, a stock Grunt beacon or arbitrary PowerShell traffic. Requires visible/decrypted response content; the Snort feed also requires the server port in $HTTP_PORTS. No hosting or execution was performed.",
        "evidence": [
          {
            "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
            "start": 34,
            "end": 39,
            "label": "Launcher template receives the encoded assembly"
          },
          {
            "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
            "start": 57,
            "end": 65,
            "label": "Hosted launcher retrieves a script"
          },
          {
            "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
            "start": 70,
            "end": 71,
            "label": "Complete ordered PowerShell template strings"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "40470a29ce114c0dd178a979f7e2bbc9931f72431a1a00c7fa7a90f320d76edf",
        "rule_text": "alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:\"ET TROJAN Possible Covenant Framework Grunt PowerShell Stager HTTP Download\"; flow:established,to_client; file_data; content:\"IO.Compression.CompressionMode]|3a 3a|Decompress\"; content:\".Value.Write(\"; distance:0; content:\"Reflection.Assembly]|3a 3a|Load(\"; fast_pattern; distance:0; content:\".EntryPoint.Invoke(\"; distance:0; content:\"Out-Null\"; distance:0; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027797; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_08_04;)",
        "sid": 2027797,
        "revision": 2,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-snort-2046624",
        "title": "ET TROJAN Possible DarkFinger ipconfig Retrieval Attempt",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Client TCP payload carrying Finger query text",
        "match": "Matches the dot-prefixed English Windows IP Configuration heading in a small TCP payload. The reviewed IP-config exfiltration loop sends each output line through finger with a dot prefix.",
        "caveat": "Requires English ipconfig output, matching TCP segmentation, established client-to-server direction and the configured network boundaries. The payload-size condition can fail after segmentation/coalescing. ET marks confidence low. This is an exfiltration request heading; the rule title calls it retrieval. Other Finger clients can match. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 167,
            "end": 174,
            "label": "Dot-prefixed ipconfig lines sent through Finger"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "bde208e4dd78659764ee2e95a38037b5caba42f6a3f962a0b715e6166985c35c",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger ipconfig Retrieval Attempt\"; flow:established,to_server; dsize:<28; content:\"|2e|Windows IP Configuration\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046624; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22;)",
        "sid": 2046624,
        "revision": 1,
        "gid": 1
      },
      {
        "framework": "darkfinger-c2",
        "id": "et-open-snort-2046625",
        "title": "ET TROJAN Possible DarkFinger tasklist Retrieval attempt",
        "status": "Active in reviewed feed; untested",
        "coverage": "framework-specific",
        "collection": "Emerging Threats Open / Snort 2.9",
        "path": "rules/emerging-trojan.rules",
        "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
        "telemetry": "Client TCP payload carrying Finger query text",
        "match": "Matches .Image in a small client TCP payload. The reviewed tasklist exfiltration loop sends the first whitespace-delimited token of each output line through finger with a dot prefix, including the English Image heading.",
        "caveat": "Requires English tasklist output and a matching short TCP segment. Established direction, HOME_NET/EXTERNAL_NET placement and segmentation affect coverage. ET marks confidence low. The title says retrieval; the reviewed path sends process-list text outward. The short token is not unique to this framework. Untested against traffic.",
        "evidence": [
          {
            "path": "DarkFinger-C2-Agent.bat",
            "start": 157,
            "end": 164,
            "label": "First-token tasklist exfiltration via Finger"
          }
        ],
        "kind": "Snort",
        "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
        "rule_sha256": "c709ee35eb5928e852e218688991764affb3a0df7ee9f0f083cd8e1780798cc6",
        "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger tasklist Retrieval attempt\"; flow:established,to_server; dsize:<9; content:\"|2e|Image\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046625; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2024_09_13;)",
        "sid": 2046625,
        "revision": 2,
        "gid": 1
      }
    ]
  },
  "c2": [
    {
      "slug": "adaptixc2",
      "title": "AdaptixC2",
      "relativePath": "frameworks/AdaptixC2/README.md",
      "upstream_repo": "https://github.com/Adaptix-Framework/AdaptixC2",
      "implementation": "Go, C++",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "e99535c9ef4642190f7ea125c2983d1611f1a3f3",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/AdaptixC2/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "e99535c9ef4642190f7ea125c2983d1611f1a3f3",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "listener",
              "label": "Go HTTP listener",
              "role": "Profile checks / heartbeat",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 91,
                  "end": 129,
                  "label": "Agent profile construction"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 293,
                  "end": 339,
                  "label": "Listener profile gates"
                }
              ]
            },
            {
              "id": "beacon",
              "label": "Windows beacon",
              "role": "WinINet / exchange loop",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 91,
                  "end": 129,
                  "label": "Agent profile construction"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 293,
                  "end": 339,
                  "label": "Listener profile gates"
                }
              ]
            },
            {
              "id": "dispatch",
              "label": "Command and job runtime",
              "role": "Files / shell / BOF / tunnels",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 23,
                  "end": 146,
                  "label": "Dispatcher cases"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                  "start": 62,
                  "end": 85,
                  "label": "Exchange and output collectors"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "beacon",
              "to": "listener",
              "label": "Send profile-shaped callback",
              "detail": "The profile selects request metadata and carries encoded heartbeat bytes in a configured header.",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 91,
                  "end": 129,
                  "label": "Agent profile construction"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 293,
                  "end": 339,
                  "label": "Listener profile gates"
                }
              ]
            },
            {
              "from": "listener",
              "to": "beacon",
              "label": "Return task data",
              "detail": "The listener validates profile values and the main loop consumes returned command data.",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 393,
                  "end": 437,
                  "label": "Heartbeat parser"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 218,
                  "end": 239,
                  "label": "TLS request policy"
                }
              ]
            },
            {
              "from": "beacon",
              "to": "dispatch",
              "label": "Dispatch and collect work",
              "detail": "Commands and asynchronous collectors add output for the next exchange.",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 23,
                  "end": 146,
                  "label": "Dispatcher cases"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                  "start": 62,
                  "end": 85,
                  "label": "Exchange and output collectors"
                }
              ]
            },
            {
              "from": "dispatch",
              "to": "listener",
              "label": "Return queued output through the beacon",
              "detail": "The exchange loop sends packed output and continues the profile-dependent callback cycle.",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 23,
                  "end": 146,
                  "label": "Dispatcher cases"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                  "start": 62,
                  "end": 85,
                  "label": "Exchange and output collectors"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "configurable-http-profile",
            "title": "Configurable HTTP profile",
            "behavior": "The connector builds a header containing a Base64 heartbeat and takes method, URIs, User-Agents, Host headers, server list and TLS flag from a profile. The listener validates configured URI/Host/User-Agent values.",
            "observable": "Correlate a deployment-specific profile with repeated encoded heartbeat headers; there is no universal fixed URL or browser UA here.",
            "variability": "The displayed Base64 is serialization of already prepared heartbeat bytes. Values are configurable and may rotate.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                "start": 91,
                "end": 129,
                "label": "Agent profile construction"
              },
              {
                "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                "start": 293,
                "end": 339,
                "label": "Listener profile gates"
              }
            ]
          },
          {
            "id": "heartbeat-decoding-and-transport-policy",
            "title": "Heartbeat decoding and transport policy",
            "behavior": "The Go listener reads the configured header, Base64-decodes it and decrypts it with an RC4 key from configuration before extracting agent type and ID. TLS requests on the connector ignore several certificate errors.",
            "observable": "A configured header carrying encoded binary data and consistent task exchange can support an investigation; certificate policy requires endpoint or connection-validation evidence.",
            "variability": "This RC4 finding applies to heartbeat parsing. Each transport and message body requires separate evidence.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                "start": 393,
                "end": 437,
                "label": "Heartbeat parser"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                "start": 218,
                "end": 239,
                "label": "TLS request policy"
              }
            ]
          },
          {
            "id": "command-transfer-and-job-dispatch",
            "title": "Command, transfer and job dispatch",
            "behavior": "Received data reaches ProcessCommandTasks. The switch routes file operations, process/shell task types, BOFs and tunnel commands; the main loop collects download/job/tunnel/pivot output for later exchange.",
            "observable": "Host activity depends on the selected command. Use process/file/memory telemetry with the actual deployment profile.",
            "variability": "Dispatch branch presence does not establish successful execution or every underlying implementation. Arbitrary task types are not exported as fixed IOCs.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                "start": 23,
                "end": 146,
                "label": "Dispatcher cases"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                "start": 62,
                "end": 85,
                "label": "Exchange and output collectors"
              }
            ]
          },
          {
            "id": "profile-rotation",
            "title": "Profile rotation",
            "behavior": "The connector can rotate URI, User-Agent, server and Host-header indexes through random choices. The main loop passes sleep/jitter and work-hour values to the connector.",
            "observable": "One process changing request metadata within an otherwise stable session is a behavioral pivot.",
            "variability": "Rotation and timing are configuration-dependent; fixed-interval-only detectors or one default UA are insufficient.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                "start": 385,
                "end": 405,
                "label": "Profile rotation"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                "start": 73,
                "end": 85,
                "label": "Sleep inputs"
              }
            ]
          },
          {
            "id": "deep-dns-doh-requests",
            "title": "Optional DNS and DoH request paths",
            "behavior": "DNS profile selection reaches QuerySingle or QuerySingleDoH; Exchange and heartbeat builders supply encrypted, encoded records. The DoH path sends a DNS wire-format query in an HTTPS POST with application/dns-message headers. It requests relaxed certificate checks. The UDP path calls sendto and recvfrom directly. Heartbeat labels are built after RC4 and Base32 processing.",
            "observable": "Correlate the owning process, resolver destination and repeated DNS wire-format POSTs. Plain UDP review can use query labels and response types. Ordinary resolver traffic needs tuning.",
            "variability": "Configuration selects the resolver and path. DNS names inside a DoH body require decrypted HTTP content or endpoint visibility. No TLS fingerprint was measured.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                "start": 418,
                "end": 500,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                "start": 694,
                "end": 775,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                "start": 1114,
                "end": 1130,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
              }
            ]
          },
          {
            "id": "deep-smb-tcp-peer-channels",
            "title": "Optional SMB and TCP peer channels",
            "behavior": "Configured connector initialization creates a named pipe or a TCP listener; Commander link tasks reach Pivotter. The SMB connector creates a duplex message pipe. The TCP connector binds an IPv4 listener. Both prefix records with a four-byte length and encrypt exchange payloads with RC4. Link tasks open the selected peer pipe or socket.",
            "observable": "Correlate unusual process-owned listeners or pipe creation with peer connections and the same process's upstream C2 activity. Encrypted records conceal task text.",
            "variability": "Several prefix operations use single reads or writes; framing reliability is untested. Pipe names and ports come from the selected profile or task.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                "start": 46,
                "end": 103,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                "start": 193,
                "end": 215,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                "start": 46,
                "end": 84,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                "start": 274,
                "end": 291,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                "start": 476,
                "end": 494,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                "start": 14,
                "end": 26,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                "start": 109,
                "end": 145,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
              }
            ]
          },
          {
            "id": "deep-gopher-tunnel-relay",
            "title": "Optional Gopher tunnel relay",
            "behavior": "COMMAND_TUNNEL_START dispatches jobTunnel with the task's protocol, address and channel ID. jobTunnel dials the task destination with a 200 ms timeout and opens a separate configured server connection. Two goroutines relay data through AES-CTR stream wrappers. The optional TLS configuration sets InsecureSkipVerify.",
            "observable": "Correlate one agent process opening a server connection and a task-selected internal destination, followed by overlapping bidirectional traffic. Process and network telemetry are required.",
            "variability": "A failed server dial reaches a Close call on the returned connection; error paths and cancellation were not exercised. Tunnel availability depends on tasking and reachability.",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                "start": 123,
                "end": 133,
                "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
              },
              {
                "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                "start": 1265,
                "end": 1417,
                "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "correlate-a-known-deployment-profile",
            "title": "Correlate a known deployment profile",
            "telemetry": "HTTP URI/header/body visibility and process association.",
            "logic": "Use the investigated profile URI/Host/UA set plus the encoded heartbeat header and task/result sequence.",
            "false_positives": "Many web applications encode headers; qualify profile details and endpoint behavior.",
            "blind_spots": "Operators can alter/rotate all profile fields; TLS or proxies may hide them.",
            "status": "untested",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                "start": 91,
                "end": 129,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                "start": 293,
                "end": 339,
                "label": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go"
              },
              {
                "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                "start": 404,
                "end": 430,
                "label": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go"
              }
            ]
          },
          {
            "id": "connect-beacon-tasking-to-host-operations",
            "title": "Connect beacon tasking to host operations",
            "telemetry": "Endpoint process/file/memory telemetry plus callback association.",
            "logic": "Investigate shell/file/BOF activity from the same beacon that maintains profile-shaped callbacks and collects job output.",
            "false_positives": "Administrative tools can run remote jobs; generic API names alone are not attribution.",
            "blind_spots": "Only reviewed dispatch and HTTP paths are covered; other transports or task implementations may differ.",
            "status": "untested",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                "start": 23,
                "end": 146,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                "start": 62,
                "end": 85,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp"
              }
            ]
          },
          {
            "id": "deep-dns-doh-requests",
            "title": "Optional DNS and DoH request paths",
            "telemetry": "Correlate the owning process, resolver destination and repeated DNS wire-format POSTs. Plain UDP review can use query labels and response types. Ordinary resolver traffic needs tuning.",
            "logic": "Untested detection hypothesis. The DoH path sends a DNS wire-format query in an HTTPS POST with application/dns-message headers. It requests relaxed certificate checks. The UDP path calls sendto and recvfrom directly. Heartbeat labels are built after RC4 and Base32 processing. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Approved DoH clients and internal resolvers use the same media type.",
            "blind_spots": "Untested hypothesis. HTTPS inspection and process ownership are required for DoH content correlation.",
            "status": "untested",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                "start": 418,
                "end": 500,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                "start": 694,
                "end": 775,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                "start": 1114,
                "end": 1130,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
              }
            ]
          },
          {
            "id": "deep-smb-tcp-peer-channels",
            "title": "Optional SMB and TCP peer channels",
            "telemetry": "Correlate unusual process-owned listeners or pipe creation with peer connections and the same process's upstream C2 activity. Encrypted records conceal task text.",
            "logic": "Untested detection hypothesis. The SMB connector creates a duplex message pipe. The TCP connector binds an IPv4 listener. Both prefix records with a four-byte length and encrypt exchange payloads with RC4. Link tasks open the selected peer pipe or socket. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Peer management tools and software services also create pipes and listeners.",
            "blind_spots": "Untested hypothesis. Local pipes may produce no network flow; remote pipe visibility depends on SMB and endpoint collection.",
            "status": "untested",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                "start": 46,
                "end": 103,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                "start": 193,
                "end": 215,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                "start": 46,
                "end": 84,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                "start": 274,
                "end": 291,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                "start": 476,
                "end": 494,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                "start": 14,
                "end": 26,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
              },
              {
                "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                "start": 109,
                "end": 145,
                "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
              }
            ]
          },
          {
            "id": "deep-gopher-tunnel-relay",
            "title": "Optional Gopher tunnel relay",
            "telemetry": "Correlate one agent process opening a server connection and a task-selected internal destination, followed by overlapping bidirectional traffic. Process and network telemetry are required.",
            "logic": "Untested detection hypothesis. jobTunnel dials the task destination with a 200 ms timeout and opens a separate configured server connection. Two goroutines relay data through AES-CTR stream wrappers. The optional TLS configuration sets InsecureSkipVerify. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Approved reverse proxies and remote support agents can form similar connection pairs.",
            "blind_spots": "Untested hypothesis. NAT, multiplexing and encrypted payloads limit destination and content correlation.",
            "status": "untested",
            "evidence": [
              {
                "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                "start": 123,
                "end": 133,
                "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
              },
              {
                "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                "start": 1265,
                "end": 1417,
                "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "HTTPS / TLS",
            "DNS",
            "DNS over HTTPS",
            "Named-pipe peers",
            "TCP peers"
          ],
          "executionMethods": [
            "Command dispatcher / shell tasks",
            "BOF task dispatch"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64",
            "RC4 heartbeat"
          ],
          "persistenceHints": [],
          "beaconFixed": false,
          "beaconJitter": true,
          "delayNotes": [
            "Sleep and jitter are profile inputs; work-hour, wakeup and pending-output logic affect timing"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "wininet-profile-proxy",
              "api": "InternetOpenA / HttpSendRequestA",
              "call_chain": "HTTP connector exchange selects the current profile and initializes the WinINet session before opening a request.",
              "contract": "InternetOpenA selects explicit proxy configuration or the user's preconfigured settings; it does not itself send an HTTP request.",
              "application": "The connector chooses PROXY when proxy_url is supplied, otherwise PRECONFIG; profile method, URI and SSL flag feed HttpOpenRequestA. TLS branches add certificate-ignore flags.",
              "uncertainty": "These flags describe this HTTP connector only. No TLS handshake fingerprint, proxy availability or behavior of other transports was established.",
              "telemetry": "Correlate process-associated HTTP traffic and deployment-specific profile values. Proxy logs may identify an intermediary. Correlate the original client through endpoint or proxy session records.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/wininet/nf-wininet-internetopena"
                }
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 203,
                  "end": 239,
                  "label": "InternetOpenA / HttpSendRequestA call site"
                }
              ]
            },
            {
              "id": "dns-doh-requests",
              "api": "Optional DNS and DoH request paths",
              "call_chain": "DNS profile selection reaches QuerySingle or QuerySingleDoH; Exchange and heartbeat builders supply encrypted, encoded records.",
              "contract": "HttpSendRequest sends the supplied headers and request body. HTTP status and returned bytes need separate checks.",
              "application": "The DoH path sends a DNS wire-format query in an HTTPS POST with application/dns-message headers. It requests relaxed certificate checks. The UDP path calls sendto and recvfrom directly. Heartbeat labels are built after RC4 and Base32 processing.",
              "uncertainty": "Configuration selects the resolver and path. DNS names inside a DoH body require decrypted HTTP content or endpoint visibility. No TLS fingerprint was measured.",
              "telemetry": "Correlate the owning process, resolver destination and repeated DNS wire-format POSTs. Plain UDP review can use query labels and response types. Ordinary resolver traffic needs tuning.",
              "references": [
                {
                  "title": "HttpSendRequestA (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/wininet/nf-wininet-httpsendrequesta"
                }
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 418,
                  "end": 500,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 694,
                  "end": 775,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 1114,
                  "end": 1130,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                }
              ]
            },
            {
              "id": "smb-tcp-peer-channels",
              "api": "Optional SMB and TCP peer channels",
              "call_chain": "Configured connector initialization creates a named pipe or a TCP listener; Commander link tasks reach Pivotter.",
              "contract": "Named pipes expose local or remote pipe operations. TCP is a byte stream, and a send or recv can complete with fewer bytes than requested.",
              "application": "The SMB connector creates a duplex message pipe. The TCP connector binds an IPv4 listener. Both prefix records with a four-byte length and encrypt exchange payloads with RC4. Link tasks open the selected peer pipe or socket.",
              "uncertainty": "Several prefix operations use single reads or writes; framing reliability is untested. Pipe names and ports come from the selected profile or task.",
              "telemetry": "Correlate unusual process-owned listeners or pipe creation with peer connections and the same process's upstream C2 activity. Encrypted records conceal task text.",
              "references": [
                {
                  "title": "PipeStream.Read (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.io.pipes.pipestream.read?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 46,
                  "end": 103,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 193,
                  "end": 215,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 46,
                  "end": 84,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 274,
                  "end": 291,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 476,
                  "end": 494,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 14,
                  "end": 26,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 109,
                  "end": 145,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                }
              ]
            },
            {
              "id": "gopher-tunnel-relay",
              "api": "Optional Gopher tunnel relay",
              "call_chain": "COMMAND_TUNNEL_START dispatches jobTunnel with the task's protocol, address and channel ID.",
              "contract": "DialTimeout establishes an outbound connection with a timeout. io.Copy relays a stream until EOF or error.",
              "application": "jobTunnel dials the task destination with a 200 ms timeout and opens a separate configured server connection. Two goroutines relay data through AES-CTR stream wrappers. The optional TLS configuration sets InsecureSkipVerify.",
              "uncertainty": "A failed server dial reaches a Close call on the returned connection; error paths and cancellation were not exercised. Tunnel availability depends on tasking and reachability.",
              "telemetry": "Correlate one agent process opening a server connection and a task-selected internal destination, followed by overlapping bidirectional traffic. Process and network telemetry are required.",
              "references": [
                {
                  "title": "Go net package",
                  "url": "https://pkg.go.dev/net#DialTimeout"
                }
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                  "start": 123,
                  "end": 133,
                  "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
                },
                {
                  "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                  "start": 1265,
                  "end": 1417,
                  "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "DNS / DoH transport",
              "activation": "DNS profile selection reaches QuerySingle or QuerySingleDoH; Exchange and heartbeat builders supply encrypted, encoded records.",
              "status": "reviewed",
              "detail": "DNS and DoH query construction, send/receive and heartbeat encoding.",
              "finding_ids": [
                "dns-doh-requests"
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 418,
                  "end": 500,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 694,
                  "end": 775,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 1114,
                  "end": 1130,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                }
              ]
            },
            {
              "module": "SMB / TCP peers",
              "activation": "Configured connector initialization creates a named pipe or a TCP listener; Commander link tasks reach Pivotter.",
              "status": "reviewed",
              "detail": "Configured peer channels and link-task implementations.",
              "finding_ids": [
                "smb-tcp-peer-channels"
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 46,
                  "end": 103,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 193,
                  "end": 215,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 46,
                  "end": 84,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 274,
                  "end": 291,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 476,
                  "end": 494,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 14,
                  "end": 26,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 109,
                  "end": 145,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                }
              ]
            },
            {
              "module": "Gopher relay",
              "activation": "COMMAND_TUNNEL_START dispatches jobTunnel with the task's protocol, address and channel ID.",
              "status": "reviewed",
              "detail": "Tunnel destination, server connection, relay and cancellation paths.",
              "finding_ids": [
                "gopher-tunnel-relay"
              ],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                  "start": 123,
                  "end": 133,
                  "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
                },
                {
                  "path": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go",
                  "start": 1265,
                  "end": 1417,
                  "label": "AdaptixServer/extenders/gopher_agent/src_gopher/tasks.go"
                }
              ]
            },
            {
              "module": "Remaining extenders and BOF internals",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "The pinned tree was inventoried. Async BOF orchestration, dynamic import resolution and wait helpers were inspected for scope; independent BOF contents, all listener implementations and all task branches require additional individual review.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Boffer.cpp",
                  "start": 102,
                  "end": 156,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Boffer.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ProcLoader.cpp",
                  "start": 36,
                  "end": 55,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ProcLoader.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/WaitMask.cpp",
                  "start": 23,
                  "end": 54,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/WaitMask.cpp"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "unit42-helpdesk-2025",
              "title": "AdaptixC2: A New Open-Source Framework Leveraged in Real-World Attacks",
              "publisher": "Palo Alto Networks Unit 42",
              "url": "https://unit42.paloaltonetworks.com/adaptixc2-post-exploitation-framework/",
              "published": "2025-09-10",
              "incident_date": "May 2025",
              "attribution": "Threat actors not named in this report",
              "summary": "Unit 42 describes help-desk impersonation through Teams, Quick Assist access and a PowerShell loader delivering an AdaptixC2 beacon. Post-compromise reconnaissance followed.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "teams-remote-access",
                  "title": "Help-desk impersonation opened remote access",
                  "detail": "Attackers impersonated support over Teams and persuaded employees to start Quick Assist sessions.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Scenario 1: Initial Compromise"
                },
                {
                  "id": "memory-beacon",
                  "title": "PowerShell loaded the beacon into memory",
                  "detail": "The loader decrypted shellcode and invoked it inside PowerShell. A startup-folder shortcut relaunched the loader. These persistence steps belonged to the delivery script.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Scenario 1: AdaptixC2 Deployment and Persistence via Shellcode Execution"
                },
                {
                  "id": "reconnaissance",
                  "title": "Discovery followed beacon deployment",
                  "detail": "Investigators observed nltest.exe, whoami.exe and ipconfig.exe after AdaptixC2 deployment. The incident beacon used an X-App-Id header and a customized URI.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "Scenario 1: Post-Exploitation Activity and Containment; beacon configuration"
                }
              ]
            },
            {
              "id": "dfir-bumblebee-akira",
              "title": "From Bing Search to Ransomware: Bumblebee and AdaptixC2 Deliver Akira",
              "publisher": "The DFIR Report",
              "url": "https://thedfirreport.com/2026/06/29/from-bing-search-to-ransomware-bumblebee-and-adaptixc2-deliver-akira-3/",
              "published": "2026-06-29",
              "incident_date": "July 2025; earlier activity and a parallel intrusion are discussed",
              "attribution": "Akira ransomware intrusion; individual operator identity not established",
              "summary": "A poisoned software search led to a Bumblebee installer. AdaptixC2 was introduced later for post-exploitation; the wider intrusion included credential theft, exfiltration and Akira ransomware.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "injected-address-book",
                  "title": "A renamed Windows Address Book process hosted AdaptixC2",
                  "detail": "Bumblebee launched AdgNsy.exe, a renamed WAB.exe, and injected AdaptixC2 shellcode to establish an HTTP beacon.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "Execution: Adaptix C2 - AdgNsy.exe"
                },
                {
                  "id": "discovery-and-scanning",
                  "title": "The beacon supported internal reconnaissance",
                  "detail": "The investigators associate the beacon with host and user discovery, domain enumeration and internal network scanning.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "Execution: Adaptix C2 - AdgNsy.exe"
                },
                {
                  "id": "separate-impact-tooling",
                  "title": "Other tools carried the intrusion through to ransomware",
                  "detail": "The wider intrusion used wbadmin and lsassy for credential theft, FileZilla for exfiltration, and Akira for encryption. These actions are not all attributed to AdaptixC2.",
                  "scope": "related-tool",
                  "basis": "reported-activity",
                  "locator": "Case Summary; Key Takeaways"
                }
              ]
            },
            {
              "id": "kaspersky-tomiris",
              "title": "Tomiris wreaks Havoc: New tools and techniques of the APT group",
              "publisher": "Kaspersky Securelist",
              "url": "https://securelist.com/tomiris-new-tools/118143/",
              "published": "2025-11-28",
              "incident_date": "Operations beginning in early 2025",
              "attribution": "Tomiris, as tracked by Kaspersky",
              "summary": "Kaspersky describes first-stage reverse shells delivering AdaptixC2 in attacks against diplomatic and government targets.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "reverse-shell-delivery",
                  "title": "Operators delivered AdaptixC2 from a first-stage shell",
                  "detail": "Kaspersky traces human-operated C/C++ reverse shells issuing download commands through bitsadmin, curl, certutil or PowerShell.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "The implants: Tomiris C/C++ ReverseShell"
                },
                {
                  "id": "operator-run-key",
                  "title": "Operators registered downloaded payloads for logon",
                  "detail": "The same sequence checks downloaded files and registers a payload under HKCU Run. This is campaign deployment behavior.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Tomiris C/C++ ReverseShell: Establishing persistence; Verification of persistence success"
                }
              ]
            },
            {
              "id": "symantec-fog-2025",
              "title": "Fog Ransomware: Unusual Toolset Used in Recent Attack",
              "publisher": "Symantec Threat Hunter Team / Broadcom",
              "url": "https://www.security.com/threat-intelligence/fog-ransomware-attack",
              "published": "2025-06-12",
              "incident_date": "May 2025",
              "attribution": "Attackers deploying Fog ransomware; operator identity not established",
              "summary": "Symantec found an Adaptix C2 Agent Beacon among tools deployed against an Asian financial institution before Fog ransomware.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "deployed-beacon",
                  "title": "Adaptix was part of the attacker toolset",
                  "detail": "Investigators identified a beacon with an encrypted configuration. The report does not isolate commands executed through it.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "Toolset: Adaptix C2 Agent Beacon paragraph"
                },
                {
                  "id": "separate-fog-tooling",
                  "title": "GC2 and separate utilities handled other recorded actions",
                  "detail": "The report assigns discovery to GC2 and describes Stowaway, Syteca, PsExec, SMBExec and file-transfer utilities elsewhere in the intrusion.",
                  "scope": "related-tool",
                  "basis": "reported-activity",
                  "locator": "Toolset"
                }
              ]
            }
          ],
          "sandboxes": [
            {
              "id": "anyrun-agent",
              "provider": "ANY.RUN",
              "url": "https://any.run/report/374dd4b5289b175532ab9772331fa121d2204818cdeccce028bad44ddd1d30dc/8681d6cf-380e-4eb2-9db9-be085db48a22",
              "sha256": "374dd4b5289b175532ab9772331fa121d2204818cdeccce028bad44ddd1d30dc",
              "title": "agent.x64.exe — public report",
              "role": "Provider-labeled beacon sample; public analysis dated April 1, 2026.",
              "provenance": "https://any.run/report/374dd4b5289b175532ab9772331fa121d2204818cdeccce028bad44ddd1d30dc/8681d6cf-380e-4eb2-9db9-be085db48a22",
              "report_ids": []
            },
            {
              "id": "triage-agent",
              "provider": "Triage",
              "url": "https://tria.ge/260427-akktrsaw8x/static1",
              "sha256": "d3e257a5af3b9a5fd8c12f3c27a83aac286b29871d93e92d20294a5a216921fb",
              "title": "agent.x64.exe — Triage 260427-akktrsaw8x",
              "role": "Provider-labeled sample with public static and behavioral-task metadata.",
              "provenance": "https://tria.ge/260427-akktrsaw8x/static1",
              "report_ids": []
            },
            {
              "id": "joe-adaptix",
              "provider": "Joe Sandbox",
              "url": "https://www.joesandbox.com/analysis/1839289",
              "sha256": "09492c8a5138c3c1f00d19fa2e1b798f271e2730d74e9de69e926d5c0a92f64e",
              "title": "RCS902am3k.exe — analysis 1839289",
              "role": "Provider-tagged executable; submission metadata dated December 25, 2025.",
              "provenance": "https://www.joesandbox.com/analysis/1839289",
              "report_ids": []
            },
            {
              "id": "vt-joe-pivot",
              "provider": "VirusTotal",
              "url": "https://www.virustotal.com/gui/file/09492c8a5138c3c1f00d19fa2e1b798f271e2730d74e9de69e926d5c0a92f64e",
              "sha256": "09492c8a5138c3c1f00d19fa2e1b798f271e2730d74e9de69e926d5c0a92f64e",
              "title": "VirusTotal pivot for the Joe Sandbox sample",
              "role": "Same sample as Joe analysis 1839289; not an additional distinct sample.",
              "provenance": "https://www.joesandbox.com/analysis/1839289",
              "report_ids": []
            },
            {
              "id": "triage-bumblebee-chain",
              "provider": "Triage",
              "url": "https://tria.ge/250812-zw4tfszpy4",
              "sha256": "29e1bc115d78c7e98e6dbc3577d24a75effda6d25f191cf32503f65922e3c281",
              "title": "NetSetMan.msi — related Bumblebee campaign stage",
              "role": "Trojanized installer linked in the DFIR report's July-wave comparison table.",
              "provenance": "https://thedfirreport.com/2026/06/29/from-bing-search-to-ransomware-bumblebee-and-adaptixc2-deliver-akira-3/",
              "report_ids": [
                "dfir-bumblebee-akira"
              ]
            }
          ]
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "adaptixc2",
          "feature": "configurable-http-profile",
          "reviewed_commit": "e99535c9ef4642190f7ea125c2983d1611f1a3f3",
          "rationale": "The Windows beacon and listener exchange tasking over the reviewed HTTP profile.",
          "technique": {
            "id": "T1071.001",
            "name": "Web Protocols",
            "url": "https://attack.mitre.org/techniques/T1071/001",
            "version": "1.5",
            "stix_id": "attack-pattern--df8b2a25-8bdf-4856-953c-a04372b1c161"
          },
          "evidence": [
            {
              "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
              "start": 91,
              "end": 129,
              "label": "Agent profile construction"
            },
            {
              "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
              "start": 293,
              "end": 339,
              "label": "Listener profile gates"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "configurable-http-profile",
              "title": "Configurable HTTP profile",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 91,
                  "end": 129,
                  "label": "Agent profile construction"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 293,
                  "end": 339,
                  "label": "Listener profile gates"
                }
              ]
            }
          ]
        },
        {
          "id": "https",
          "field": "protocols",
          "label": "HTTPS",
          "description": "HTTP over TLS in the reviewed tasking path.",
          "features": [
            {
              "id": "configurable-http-profile",
              "title": "Configurable HTTP profile",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 91,
                  "end": 129,
                  "label": "Agent profile construction"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 293,
                  "end": 339,
                  "label": "Listener profile gates"
                }
              ]
            }
          ]
        },
        {
          "id": "dns",
          "field": "protocols",
          "label": "DNS",
          "description": "DNS query and answer fields carry the reviewed messages.",
          "features": [
            {
              "id": "deep-dns-doh-requests",
              "title": "Optional DNS and DoH request paths",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 418,
                  "end": 500,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 694,
                  "end": 775,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 1114,
                  "end": 1130,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                }
              ]
            }
          ]
        },
        {
          "id": "doh",
          "field": "protocols",
          "label": "DNS-over-HTTPS",
          "description": "The optional DNS connector carries DNS wire messages in HTTPS requests.",
          "features": [
            {
              "id": "deep-dns-doh-requests",
              "title": "Optional DNS and DoH request paths",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 418,
                  "end": 500,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 694,
                  "end": 775,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp",
                  "start": 1114,
                  "end": 1130,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorDNS.cpp"
                }
              ]
            }
          ]
        },
        {
          "id": "named-pipe-peer",
          "field": "protocols",
          "label": "Named-Pipe Peer Channel",
          "description": "Named pipes carry peer messages. Remote-host pipe access uses SMB; local pipe use needs endpoint visibility.",
          "features": [
            {
              "id": "deep-smb-tcp-peer-channels",
              "title": "Optional SMB and TCP peer channels",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 46,
                  "end": 103,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 193,
                  "end": 215,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 46,
                  "end": 84,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 274,
                  "end": 291,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 476,
                  "end": 494,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 14,
                  "end": 26,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 109,
                  "end": 145,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                }
              ]
            }
          ]
        },
        {
          "id": "tcp-peer",
          "field": "protocols",
          "label": "TCP Peer Channel",
          "description": "The optional peer connector carries framed records over TCP. Payload encryption is implementation-specific.",
          "features": [
            {
              "id": "deep-smb-tcp-peer-channels",
              "title": "Optional SMB and TCP peer channels",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 46,
                  "end": 103,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp",
                  "start": 193,
                  "end": 215,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorSMB.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 46,
                  "end": 84,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp",
                  "start": 274,
                  "end": 291,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorTCP.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 476,
                  "end": 494,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 14,
                  "end": 26,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp",
                  "start": 109,
                  "end": 145,
                  "label": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Pivotter.cpp"
                }
              ]
            }
          ]
        },
        {
          "id": "shell-task-dispatch",
          "field": "executionMethods",
          "label": "Shell Task Dispatch",
          "description": "The dispatcher exposes shell tasks; this review does not establish the interpreter implementation.",
          "features": [
            {
              "id": "command-transfer-and-job-dispatch",
              "title": "Command, transfer and job dispatch",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 23,
                  "end": 146,
                  "label": "Dispatcher cases"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                  "start": 62,
                  "end": 85,
                  "label": "Exchange and output collectors"
                }
              ]
            }
          ]
        },
        {
          "id": "bof-dispatch",
          "field": "executionMethods",
          "label": "BOF Task Dispatch",
          "description": "The reviewed dispatcher selects BOF tasks. Dispatch alone does not establish execution internals.",
          "features": [
            {
              "id": "command-transfer-and-job-dispatch",
              "title": "Command, transfer and job dispatch",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/Commander.cpp",
                  "start": 23,
                  "end": 146,
                  "label": "Dispatcher cases"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/MainAgent.cpp",
                  "start": 62,
                  "end": 85,
                  "label": "Exchange and output collectors"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "heartbeat-decoding-and-transport-policy",
              "title": "Heartbeat decoding and transport policy",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 393,
                  "end": 437,
                  "label": "Heartbeat parser"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 218,
                  "end": 239,
                  "label": "TLS request policy"
                }
              ]
            }
          ]
        },
        {
          "id": "rc4",
          "field": "encodingTechniques",
          "label": "RC4",
          "description": "RC4 appears in the reviewed path. Framing, keys and traffic visibility remain implementation-specific.",
          "features": [
            {
              "id": "heartbeat-decoding-and-transport-policy",
              "title": "Heartbeat decoding and transport policy",
              "evidence": [
                {
                  "path": "AdaptixServer/extenders/beacon_listener_http/pl_transport.go",
                  "start": 393,
                  "end": 437,
                  "label": "Heartbeat parser"
                },
                {
                  "path": "AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp",
                  "start": 218,
                  "end": 239,
                  "label": "TLS request policy"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Configurable HTTP profile",
          "indicator": "<configured heartbeat header>: <Base64 heartbeat>",
          "reference": "Configurable HTTP profile",
          "anchor": "configurable-http-profile",
          "os": "windows",
          "source": "https://github.com/Adaptix-Framework/AdaptixC2/blob/e99535c9ef4642190f7ea125c2983d1611f1a3f3/AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp#L91-L111",
          "confidence": "source-confirmed",
          "mutability": "profile-configurable",
          "visibility": "HTTP headers",
          "caveat": "No universal header name or fixed value is asserted."
        },
        {
          "typeId": "encoding",
          "typeLabel": "Encoding",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Heartbeat decoding and transport policy",
          "indicator": "Base64 → RC4 heartbeat → big-endian agent type and ID",
          "reference": "Heartbeat decoding and transport policy",
          "anchor": "heartbeat-decoding-and-transport-policy",
          "os": "windows",
          "source": "https://github.com/Adaptix-Framework/AdaptixC2/blob/e99535c9ef4642190f7ea125c2983d1611f1a3f3/AdaptixServer/extenders/beacon_listener_http/pl_transport.go#L404-L430",
          "confidence": "source-confirmed",
          "mutability": "configuration-dependent",
          "visibility": "Source or decrypted protocol analysis",
          "caveat": "Internal decoded fields are not plaintext network strings."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Heartbeat decoding and transport policy",
          "indicator": "WinINet certificate-error ignore flags on TLS request",
          "reference": "Heartbeat decoding and transport policy",
          "anchor": "heartbeat-decoding-and-transport-policy",
          "os": "windows",
          "source": "https://github.com/Adaptix-Framework/AdaptixC2/blob/e99535c9ef4642190f7ea125c2983d1611f1a3f3/AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp#L224-L239",
          "confidence": "source-confirmed",
          "mutability": "TLS branch-dependent",
          "visibility": "Endpoint API/source",
          "caveat": "Not a passive JA3/certificate fingerprint and not proof of every transport."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Profile rotation",
          "indicator": "Rotating URI / User-Agent / server / Host-header indexes",
          "reference": "Profile rotation",
          "anchor": "profile-rotation",
          "os": "windows",
          "source": "https://github.com/Adaptix-Framework/AdaptixC2/blob/e99535c9ef4642190f7ea125c2983d1611f1a3f3/AdaptixServer/extenders/beacon_agent/src_beacon/beacon/ConnectorHTTP.cpp#L385-L405",
          "confidence": "source-confirmed",
          "mutability": "profile-dependent",
          "visibility": "Source and correlated HTTP metadata",
          "caveat": "A behavior to correlate, not a static IOC."
        }
      ]
    },
    {
      "slug": "ares",
      "title": "Ares",
      "relativePath": "frameworks/Ares/README.md",
      "upstream_repo": "https://github.com/sweetsoftware/Ares",
      "implementation": "Python",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "886afe27daac7ef5d1b269eb6dc93b639b6cd2cd",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/Ares/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "886afe27daac7ef5d1b269eb6dc93b639b6cd2cd",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "server",
              "label": "Flask command queue",
              "role": "HTTP API",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 86,
                  "end": 106,
                  "label": "Agent protocol"
                },
                {
                  "path": "server/api/__init__.py",
                  "start": 73,
                  "end": 112,
                  "label": "Server task/result handlers"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Python agent",
              "role": "Poll and dispatch",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 86,
                  "end": 106,
                  "label": "Agent protocol"
                },
                {
                  "path": "server/api/__init__.py",
                  "start": 73,
                  "end": 112,
                  "label": "Server task/result handlers"
                }
              ]
            },
            {
              "id": "host",
              "label": "Host operations",
              "role": "Shell / files / persistence",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 112,
                  "end": 145,
                  "label": "Shell and Python"
                },
                {
                  "path": "agent/agent.py",
                  "start": 155,
                  "end": 181,
                  "label": "Upload and download"
                },
                {
                  "path": "agent/agent.py",
                  "start": 301,
                  "end": 341,
                  "label": "Command dispatcher"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "agent",
              "to": "server",
              "label": "Poll and return output",
              "detail": "The agent sends hello metadata and later output to the Flask API.",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 86,
                  "end": 106,
                  "label": "Agent protocol"
                },
                {
                  "path": "server/api/__init__.py",
                  "start": 73,
                  "end": 112,
                  "label": "Server task/result handlers"
                }
              ]
            },
            {
              "from": "server",
              "to": "agent",
              "label": "Deliver a queued command",
              "detail": "The hello response contains the command removed from the queue.",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 86,
                  "end": 106,
                  "label": "Agent protocol"
                },
                {
                  "path": "server/api/__init__.py",
                  "start": 73,
                  "end": 112,
                  "label": "Server task/result handlers"
                }
              ]
            },
            {
              "from": "agent",
              "to": "host",
              "label": "Run commands and file operations",
              "detail": "The dispatcher selects built-in operations or the shell fallback.",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 112,
                  "end": 145,
                  "label": "Shell and Python"
                },
                {
                  "path": "agent/agent.py",
                  "start": 155,
                  "end": 181,
                  "label": "Upload and download"
                },
                {
                  "path": "agent/agent.py",
                  "start": 301,
                  "end": 341,
                  "label": "Command dispatcher"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "http-task-and-result-exchange",
            "title": "HTTP task and result exchange",
            "behavior": "POST /api/<user_nodeid>/hello sends host metadata and receives a command. POST /report returns output; the server removes a queued command when delivering it.",
            "observable": "Correlate the hello/report route pair with JSON platform, hostname and username fields, then form output.",
            "variability": "The server address is configurable. The localhost value is a configuration example.",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 86,
                "end": 106,
                "label": "Agent protocol"
              },
              {
                "path": "server/api/__init__.py",
                "start": 73,
                "end": 112,
                "label": "Server task/result handlers"
              }
            ]
          },
          {
            "id": "shell-and-file-operations",
            "title": "Shell and file operations",
            "behavior": "The dispatcher runs shell commands and Python tasks; upload sends a local file to the server, while download fetches a chosen URL onto the agent host.",
            "observable": "Python parent â†’ shell children, multipart uploads under /api/<id>/upload, and destination file writes provide complementary evidence.",
            "variability": "Transfer direction follows the agent perspective; files and commands are operator-controlled.",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 112,
                "end": 145,
                "label": "Shell and Python"
              },
              {
                "path": "agent/agent.py",
                "start": 155,
                "end": 181,
                "label": "Upload and download"
              },
              {
                "path": "agent/agent.py",
                "start": 301,
                "end": 341,
                "label": "Command dispatcher"
              }
            ]
          },
          {
            "id": "windows-and-linux-persistence",
            "title": "Windows and Linux persistence",
            "behavior": "Frozen agents copy themselves into the user ares directory. Windows adds an HKCU Run value; Linux writes ares.desktop or appends a bashrc launch check.",
            "observable": "Inspect HKCU Run value ares, %USERPROFILE%/ares, ~/.ares and ~/.config/autostart/ares.desktop.",
            "variability": "PERSIST defaults true, but the implementation rejects non-frozen agents; OS branches differ.",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 185,
                "end": 215,
                "label": "Persistence branches"
              },
              {
                "path": "agent/config.py",
                "start": 1,
                "end": 5,
                "label": "Stock configuration"
              }
            ]
          },
          {
            "id": "polling-and-failure-cleanup",
            "title": "Polling and failure cleanup",
            "behavior": "Idle polling sleeps HELLO_INTERVAL; recently active agents sleep 0.5 seconds until IDLE_TIME. Repeated connection failures eventually call clean and exit.",
            "observable": "Two polling regimes and failed_connections files can support a correlated investigation.",
            "variability": "No random timing is introduced in this loop; network and task time affect cadence.",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 340,
                "end": 362,
                "label": "Polling and cleanup"
              },
              {
                "path": "agent/agent.py",
                "start": 61,
                "end": 78,
                "label": "Failure counter"
              }
            ]
          },
          {
            "id": "deep-collection-archive-transfer",
            "title": "Screenshot, archive and HTTP file tasks",
            "behavior": "The command loop routes screenshot, zip, upload and download to their Agent methods. zip walks the selected directory and writes a DEFLATE archive. screenshot saves a temporary PNG then starts the upload helper. Download writes iter_content chunks without checking HTTP status.",
            "observable": "Correlate process-owned PNG or archive creation and subsequent multipart POSTs to /api/<uid>/upload. File reads plus outbound transfer strengthen the hypothesis.",
            "variability": "Screenshot and upload each run in their own threads. The screenshot helper has no PNG deletion. A downloaded HTTP error body can still be reported as downloaded.",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 154,
                "end": 183,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 240,
                "end": 271,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 307,
                "end": 337,
                "label": "agent/agent.py"
              }
            ]
          },
          {
            "id": "deep-persistence-platform-gates",
            "title": "Optional frozen-agent persistence and removal",
            "behavior": "PERSIST configuration or the persist command reaches Agent.persist; clean reaches platform-specific removal. persist rejects an unfrozen interpreter. Windows copies the executable to the user's ares directory and starts reg add for HKCU Run. Linux writes an autostart desktop file when the directory exists, otherwise appends a Bash startup fragment. clean can create a Windows RunOnce cleanup command.",
            "observable": "Correlate executable copy into the per-user ares directory with the matching Run or RunOnce value; on Linux join the copied executable with autostart or .bashrc modification.",
            "variability": "The success response does not wait for registry child completion. Directory existence is also used as the installed check. Packaging was never performed.",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 185,
                "end": 233,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 277,
                "end": 284,
                "label": "agent/agent.py"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "pair-agent-api-traffic-with-command-execution",
            "title": "Pair agent API traffic with command execution",
            "telemetry": "HTTP URI/body and endpoint process telemetry.",
            "logic": "Correlate repeated hello/report pairs from Python with shell children or file uploads.",
            "false_positives": "Administrative agents can poll and execute tasks; qualify routes, metadata and destination history.",
            "blind_spots": "HTTPS without inspection, changed routes and in-process Python execution reduce visibility.",
            "status": "untested",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 90,
                "end": 119,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 301,
                "end": 341,
                "label": "agent/agent.py"
              }
            ]
          },
          {
            "id": "track-the-persistence-artifact-cluster",
            "title": "Track the persistence artifact cluster",
            "telemetry": "Registry/file creation and process ancestry on the relevant OS.",
            "logic": "Correlate the ares directory with the Run value or autostart/bashrc change and subsequent API traffic.",
            "false_positives": "The name alone is weak evidence; confirm the associated executable and networking.",
            "blind_spots": "Persistence is conditional on a frozen agent and may be disabled.",
            "status": "untested",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 185,
                "end": 215,
                "label": "agent/agent.py"
              }
            ]
          },
          {
            "id": "deep-collection-archive-transfer",
            "title": "Screenshot, archive and HTTP file tasks",
            "telemetry": "Correlate process-owned PNG or archive creation and subsequent multipart POSTs to /api/<uid>/upload. File reads plus outbound transfer strengthen the hypothesis.",
            "logic": "Untested detection hypothesis. zip walks the selected directory and writes a DEFLATE archive. screenshot saves a temporary PNG then starts the upload helper. Download writes iter_content chunks without checking HTTP status. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Backup tools, screenshot utilities and administration agents perform similar operations.",
            "blind_spots": "Untested hypothesis. Linux screenshot behavior depends on the external backend; TLS can hide multipart content.",
            "status": "untested",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 154,
                "end": 183,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 240,
                "end": 271,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 307,
                "end": 337,
                "label": "agent/agent.py"
              }
            ]
          },
          {
            "id": "deep-persistence-platform-gates",
            "title": "Optional frozen-agent persistence and removal",
            "telemetry": "Correlate executable copy into the per-user ares directory with the matching Run or RunOnce value; on Linux join the copied executable with autostart or .bashrc modification.",
            "logic": "Untested detection hypothesis. persist rejects an unfrozen interpreter. Windows copies the executable to the user's ares directory and starts reg add for HKCU Run. Linux writes an autostart desktop file when the directory exists, otherwise appends a Bash startup fragment. clean can create a Windows RunOnce cleanup command. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "User-installed software and administrative cleanup use Run and RunOnce.",
            "blind_spots": "Untested hypothesis. The branch requires a frozen agent; names are source defaults and can be edited.",
            "status": "untested",
            "evidence": [
              {
                "path": "agent/agent.py",
                "start": 185,
                "end": 233,
                "label": "agent/agent.py"
              },
              {
                "path": "agent/agent.py",
                "start": 277,
                "end": 284,
                "label": "agent/agent.py"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP"
          ],
          "executionMethods": [
            "Shell command execution",
            "Python exec"
          ],
          "lolbins": [],
          "encodingTechniques": [],
          "persistenceHints": [
            "Run key",
            "Linux autostart / bashrc"
          ],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "2 s idle and 0.5 s recently active polling, plus work and network time"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "shell-output-contract",
              "api": "subprocess.Popen / communicate",
              "call_chain": "runcmd starts the shell task, communicates with the process and passes concatenated output to send_output; python separately redirects interpreter streams.",
              "contract": "Popen with shell=True uses a platform-dependent shell; communicate returns the configured stdout/stderr streams.",
              "application": "runcmd concatenates stdout then stderr, losing their original interleaving. The separate Python path executes source in-process with redirected StringIO streams.",
              "uncertainty": "The source uses Python-2-style StringIO. Current Python compatibility and successful HTTP reporting were not established; a shell return code is not checked here.",
              "telemetry": "Shell tasks can create child processes. Python exec may stay within the agent process; avoid requiring the same process pattern for both paths.",
              "references": [
                {
                  "title": "Python subprocess",
                  "url": "https://docs.python.org/3/library/subprocess.html"
                }
              ],
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 112,
                  "end": 148,
                  "label": "subprocess.Popen / communicate call site"
                }
              ]
            },
            {
              "id": "collection-archive-transfer",
              "api": "Screenshot, archive and HTTP file tasks",
              "call_chain": "The command loop routes screenshot, zip, upload and download to their Agent methods.",
              "contract": "ZipFile writes an archive at the supplied path. Requests files creates multipart upload data; streamed GET content is written by the caller.",
              "application": "zip walks the selected directory and writes a DEFLATE archive. screenshot saves a temporary PNG then starts the upload helper. Download writes iter_content chunks without checking HTTP status.",
              "uncertainty": "Screenshot and upload each run in their own threads. The screenshot helper has no PNG deletion. A downloaded HTTP error body can still be reported as downloaded.",
              "telemetry": "Correlate process-owned PNG or archive creation and subsequent multipart POSTs to /api/<uid>/upload. File reads plus outbound transfer strengthen the hypothesis.",
              "references": [
                {
                  "title": "Python 2.7 zipfile",
                  "url": "https://docs.python.org/2/library/zipfile.html"
                }
              ],
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 154,
                  "end": 183,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 240,
                  "end": 271,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 307,
                  "end": 337,
                  "label": "agent/agent.py"
                }
              ]
            },
            {
              "id": "persistence-platform-gates",
              "api": "Optional frozen-agent persistence and removal",
              "call_chain": "PERSIST configuration or the persist command reaches Agent.persist; clean reaches platform-specific removal.",
              "contract": "Popen starts a child; completion and exit status require waiting and inspection.",
              "application": "persist rejects an unfrozen interpreter. Windows copies the executable to the user's ares directory and starts reg add for HKCU Run. Linux writes an autostart desktop file when the directory exists, otherwise appends a Bash startup fragment. clean can create a Windows RunOnce cleanup command.",
              "uncertainty": "The success response does not wait for registry child completion. Directory existence is also used as the installed check. Packaging was never performed.",
              "telemetry": "Correlate executable copy into the per-user ares directory with the matching Run or RunOnce value; on Linux join the copied executable with autostart or .bashrc modification.",
              "references": [
                {
                  "title": "Python subprocess",
                  "url": "https://docs.python.org/2/library/subprocess.html"
                }
              ],
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 185,
                  "end": 233,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 277,
                  "end": 284,
                  "label": "agent/agent.py"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Collection, transfer and persistence",
              "activation": "The command loop routes screenshot, zip, upload and download to their Agent methods.",
              "status": "reviewed",
              "detail": "Screenshot, ZIP, file transfer, Linux/Windows persistence and cleanup; builder read as operator-side text.",
              "finding_ids": [
                "collection-archive-transfer",
                "persistence-platform-gates"
              ],
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 154,
                  "end": 183,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 240,
                  "end": 271,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 307,
                  "end": 337,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 185,
                  "end": 233,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/agent.py",
                  "start": 277,
                  "end": 284,
                  "label": "agent/agent.py"
                },
                {
                  "path": "agent/builder.py",
                  "start": 8,
                  "end": 30,
                  "label": "agent/builder.py"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "ntt-arespydoor",
              "title": "Report on APT Attacks by BlackTech",
              "publisher": "NTT Security Japan",
              "url": "https://jp.security.ntt/insights_resources/tech_blog/content_hub_report_on_apt/",
              "published": "2022-09-29",
              "incident_date": "2021 observations covered by the report",
              "attribution": "Reported association with BlackTech through C2-infrastructure relationships",
              "summary": "NTT describes AresPYDoor as an executable derived from the Python Ares RAT, with the same /api/<uid>/hello command-retrieval pattern.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "derivative-polling",
                  "title": "The Ares-derived executable polled for commands",
                  "detail": "NTT identifies AresPYDoor as a packaged Python Ares derivative. It describes /api/<uid>/hello requests with an identifier derived from username and machine node information.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Section 3.5, Figures 18–19"
                },
                {
                  "id": "analyzed-command-set",
                  "title": "The sample supported file operations and command execution",
                  "detail": "Table 2 lists file upload/download, archiving, Python and shell execution, and persistence management. These are analyzed capabilities; the report does not show every command executed on a victim.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Section 3.5, Table 2"
                }
              ]
            }
          ],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "ares",
          "feature": "http-task-and-result-exchange",
          "reviewed_commit": "886afe27daac7ef5d1b269eb6dc93b639b6cd2cd",
          "rationale": "The agent retrieves tasks and returns command output through HTTP requests.",
          "technique": {
            "id": "T1071.001",
            "name": "Web Protocols",
            "url": "https://attack.mitre.org/techniques/T1071/001",
            "version": "1.5",
            "stix_id": "attack-pattern--df8b2a25-8bdf-4856-953c-a04372b1c161"
          },
          "evidence": [
            {
              "path": "agent/agent.py",
              "start": 86,
              "end": 106,
              "label": "Agent protocol"
            },
            {
              "path": "server/api/__init__.py",
              "start": 73,
              "end": 112,
              "label": "Server task/result handlers"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "http-task-and-result-exchange",
              "title": "HTTP task and result exchange",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 86,
                  "end": 106,
                  "label": "Agent protocol"
                },
                {
                  "path": "server/api/__init__.py",
                  "start": 73,
                  "end": 112,
                  "label": "Server task/result handlers"
                }
              ]
            }
          ]
        },
        {
          "id": "system-shell",
          "field": "executionMethods",
          "label": "System Shell (Runtime-Selected)",
          "description": "The code requests a system shell without explicitly selecting an interpreter. The host and runtime determine it.",
          "example": {
            "path": "agent/agent.py",
            "start": 114,
            "end": 118,
            "label": "System Shell (Platform-Dependent)"
          },
          "features": [
            {
              "id": "shell-and-file-operations",
              "title": "Shell and file operations",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 112,
                  "end": 145,
                  "label": "Shell and Python"
                },
                {
                  "path": "agent/agent.py",
                  "start": 155,
                  "end": 181,
                  "label": "Upload and download"
                },
                {
                  "path": "agent/agent.py",
                  "start": 301,
                  "end": 341,
                  "label": "Command dispatcher"
                }
              ]
            }
          ]
        },
        {
          "id": "python-exec",
          "field": "executionMethods",
          "label": "Python Code Execution",
          "description": "Python source is evaluated by exec in the reviewed task handler.",
          "example": {
            "path": "agent/agent.py",
            "start": 135,
            "end": 138,
            "label": "Python Code Execution"
          },
          "features": [
            {
              "id": "shell-and-file-operations",
              "title": "Shell and file operations",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 112,
                  "end": 145,
                  "label": "Shell and Python"
                },
                {
                  "path": "agent/agent.py",
                  "start": 155,
                  "end": 181,
                  "label": "Upload and download"
                },
                {
                  "path": "agent/agent.py",
                  "start": 301,
                  "end": 341,
                  "label": "Command dispatcher"
                }
              ]
            }
          ]
        },
        {
          "id": "run-key",
          "field": "persistenceHints",
          "label": "Registry Run Key",
          "description": "The reviewed path writes a Windows Run value. Registry payload storage, value names and installation conditions remain specific to each implementation.",
          "example": {
            "path": "agent/agent.py",
            "start": 212,
            "end": 214,
            "label": "Registry Run Key"
          },
          "features": [
            {
              "id": "windows-and-linux-persistence",
              "title": "Windows and Linux persistence",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 185,
                  "end": 215,
                  "label": "Persistence branches"
                },
                {
                  "path": "agent/config.py",
                  "start": 1,
                  "end": 5,
                  "label": "Stock configuration"
                }
              ]
            }
          ]
        },
        {
          "id": "linux-startup",
          "field": "persistenceHints",
          "label": "Linux Autostart / Bash Profile",
          "description": "The reviewed Linux path supports a desktop autostart entry or a Bash startup modification.",
          "features": [
            {
              "id": "windows-and-linux-persistence",
              "title": "Windows and Linux persistence",
              "evidence": [
                {
                  "path": "agent/agent.py",
                  "start": 185,
                  "end": 215,
                  "label": "Persistence branches"
                },
                {
                  "path": "agent/config.py",
                  "start": 1,
                  "end": 5,
                  "label": "Stock configuration"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-request",
          "typeLabel": "HTTP request",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "HTTP task and result exchange",
          "indicator": "POST /api/<id>/hello; POST /api/<id>/report",
          "reference": "HTTP task and result exchange",
          "anchor": "http-task-and-result-exchange",
          "os": "cross-platform",
          "source": "https://github.com/sweetsoftware/Ares/blob/886afe27daac7ef5d1b269eb6dc93b639b6cd2cd/agent/agent.py#L90-L106",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "HTTP URI/body",
          "caveat": "Require paired behavior and process context."
        },
        {
          "typeId": "registry-creation",
          "typeLabel": "Registry creation",
          "categoryId": "registry",
          "categoryLabel": "Registry",
          "description": "Windows and Linux persistence",
          "indicator": "HKCU/Software/Microsoft/Windows/CurrentVersion/Run: ares",
          "reference": "Windows and Linux persistence",
          "anchor": "windows-and-linux-persistence",
          "os": "windows",
          "source": "https://github.com/sweetsoftware/Ares/blob/886afe27daac7ef5d1b269eb6dc93b639b6cd2cd/agent/agent.py#L207-L214",
          "confidence": "source-confirmed",
          "mutability": "conditional; source constant",
          "visibility": "Endpoint registry",
          "caveat": "Frozen Windows agent only."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Windows and Linux persistence",
          "indicator": "~/.config/autostart/ares.desktop; ~/.ares",
          "reference": "Windows and Linux persistence",
          "anchor": "windows-and-linux-persistence",
          "os": "linux",
          "source": "https://github.com/sweetsoftware/Ares/blob/886afe27daac7ef5d1b269eb6dc93b639b6cd2cd/agent/agent.py#L193-L206",
          "confidence": "source-confirmed",
          "mutability": "conditional; source constant",
          "visibility": "Endpoint filesystem",
          "caveat": "Linux persistence branch; bashrc fallback when autostart directory is absent."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Polling and failure cleanup",
          "indicator": "ares/failed_connections or ~/.ares/failed_connections",
          "reference": "Polling and failure cleanup",
          "anchor": "polling-and-failure-cleanup",
          "os": "cross-platform",
          "source": "https://github.com/sweetsoftware/Ares/blob/886afe27daac7ef5d1b269eb6dc93b639b6cd2cd/agent/agent.py#L61-L78",
          "confidence": "source-confirmed",
          "mutability": "conditional",
          "visibility": "Endpoint filesystem",
          "caveat": "Written only after an installation directory exists."
        }
      ]
    },
    {
      "slug": "atlasc2",
      "title": "AtlasC2",
      "relativePath": "frameworks/AtlasC2/README.md",
      "upstream_repo": "https://github.com/Gr1mmie/AtlasC2",
      "implementation": "C#",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "98eb7d294f0dabee8bf05d099bdf868aeca6c022",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/AtlasC2/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "98eb7d294f0dabee8bf05d099bdf868aeca6c022",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "server",
              "label": "HTTP listener",
              "role": "Task arrays / JSON results",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "Implant/Models/Comms/HTTPComms.cs",
                  "start": 27,
                  "end": 68,
                  "label": "HTTP request flow"
                },
                {
                  "path": "Implant/Program.cs",
                  "start": 22,
                  "end": 39,
                  "label": "Metadata fields"
                }
              ]
            },
            {
              "id": "agent",
              "label": "C# implant",
              "role": "Metadata and task queues",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "Implant/Models/Comms/HTTPComms.cs",
                  "start": 27,
                  "end": 68,
                  "label": "HTTP request flow"
                },
                {
                  "path": "Implant/Program.cs",
                  "start": 22,
                  "end": 39,
                  "label": "Metadata fields"
                }
              ]
            },
            {
              "id": "host",
              "label": "Execution helpers",
              "role": "CMD / runspace / assemblies",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
                  "start": 9,
                  "end": 35,
                  "label": "CMD process"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                  "start": 16,
                  "end": 42,
                  "label": "PowerShell runspace"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "agent",
              "to": "server",
              "label": "Identify, poll and post results",
              "detail": "The agent initializes its Bearer metadata and alternates GET polling with queued result POSTs.",
              "evidence": [
                {
                  "path": "Implant/Models/Comms/HTTPComms.cs",
                  "start": 27,
                  "end": 68,
                  "label": "HTTP request flow"
                },
                {
                  "path": "Implant/Program.cs",
                  "start": 22,
                  "end": 39,
                  "label": "Metadata fields"
                }
              ]
            },
            {
              "from": "server",
              "to": "agent",
              "label": "Return task arrays",
              "detail": "Responses deserialize as ImplantTask arrays and enter the inbound queue.",
              "evidence": [
                {
                  "path": "Implant/Models/Comms/HTTPComms.cs",
                  "start": 27,
                  "end": 68,
                  "label": "HTTP request flow"
                },
                {
                  "path": "Implant/Program.cs",
                  "start": 22,
                  "end": 39,
                  "label": "Metadata fields"
                }
              ]
            },
            {
              "from": "agent",
              "to": "host",
              "label": "Dispatch execution",
              "detail": "Command subclasses invoke shell, runspace or assembly helpers and return output.",
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
                  "start": 9,
                  "end": 35,
                  "label": "CMD process"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                  "start": 16,
                  "end": 42,
                  "label": "PowerShell runspace"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "http-metadata-and-task-channel",
            "title": "HTTP metadata and task channel",
            "behavior": "Initialization serializes host metadata into a Base64 Bearer value. GET / polls tasks; POST / returns JSON results and may receive more tasks.",
            "observable": "Authorization: Bearer <Base64 serialized metadata> combined with JSON task/result traffic at / is the protocol pivot.",
            "variability": "Base64 encodes data and provides no encryption. Schema and address are configurable; stock main constructs an HTTP localhost listener address.",
            "evidence": [
              {
                "path": "Implant/Models/Comms/HTTPComms.cs",
                "start": 27,
                "end": 68,
                "label": "HTTP request flow"
              },
              {
                "path": "Implant/Program.cs",
                "start": 22,
                "end": 39,
                "label": "Metadata fields"
              }
            ]
          },
          {
            "id": "shell-and-in-process-powershell",
            "title": "Shell and in-process PowerShell",
            "behavior": "CMD tasks spawn hidden cmd.exe /C with redirected streams; PowerShell tasks use PowerShell.Create, AddScript and Invoke in-process.",
            "observable": "Correlate .NET networking with cmd.exe children or PowerShell engine/script telemetry.",
            "variability": "In-process PowerShell need not start powershell.exe. Generic cmd.exe activity cannot attribute AtlasC2.",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
                "start": 9,
                "end": 35,
                "label": "CMD process"
              },
              {
                "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                "start": 16,
                "end": 42,
                "label": "PowerShell runspace"
              }
            ]
          },
          {
            "id": "assembly-loading-and-reflection",
            "title": "Assembly loading and reflection",
            "behavior": "LoadAssem accepts a disk path or a byte array. Other helpers invoke a loaded assembly entry point or named static method and capture output.",
            "observable": "Managed assembly loads and reflection-driven execution provide endpoint/memory evidence.",
            "variability": "Disk and byte-array loading differ; code presence does not guarantee a generated executable retains every helper.",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                "start": 64,
                "end": 71,
                "label": "Assembly loading"
              },
              {
                "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                "start": 20,
                "end": 60,
                "label": "Entry point and method invocation"
              }
            ]
          },
          {
            "id": "startup-and-command-dispatch",
            "title": "Startup and command dispatch",
            "behavior": "Main delays ten seconds, lowers process priority and discovers command subclasses. The transport sleeps one second between requests.",
            "observable": "Source/memory names ImplantCommandsInit and HTTPComms complement network evidence.",
            "variability": "The main task-consumer loop has a separate one-second sleep; neither loop establishes exact packet intervals.",
            "evidence": [
              {
                "path": "Implant/Program.cs",
                "start": 54,
                "end": 82,
                "label": "Initialization and dispatcher"
              },
              {
                "path": "Implant/Models/Comms/HTTPComms.cs",
                "start": 60,
                "end": 68,
                "label": "Transport delay"
              }
            ]
          },
          {
            "id": "deep-assembly-invocation-contract",
            "title": "Optional assembly entry-point and method invocation",
            "behavior": "ExecuteAssem and ExecuteAssemMethod parse task options and call LoadFunctions on an already loaded assembly. The entry-point helper passes a string array containing one complete parameter string, then reads captured stdout and stderr. Method helpers invoke a named static method and call ToString on its result.",
            "observable": "Use CLR assembly and method telemetry where available, joined to the implant process and task activity. These helpers can run entirely inside the existing process.",
            "variability": "A missing assembly, absent method, incompatible signature or null return can fail. Console restoration has no finally block, so exceptions can leave output redirected.",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/ExecuteAssem.cs",
                "start": 12,
                "end": 35,
                "label": "Implant/Tasks/Execute/ExecuteAssem.cs"
              },
              {
                "path": "Implant/Tasks/Execute/ExecuteAssemMethod.cs",
                "start": 16,
                "end": 48,
                "label": "Implant/Tasks/Execute/ExecuteAssemMethod.cs"
              },
              {
                "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                "start": 16,
                "end": 71,
                "label": "Implant/Tasks/Execute/Functions/LoadFunctions.cs"
              }
            ]
          },
          {
            "id": "deep-administration-file-process",
            "title": "Optional file creation and process enumeration",
            "behavior": "The MkFile and Ps task classes execute their task arguments through System.IO and System.Diagnostics. MkFile constructs a path from the current directory and task argument, calls File.Create and checks existence. Ps enumerates processes and formats ID, name and session ID, optionally filtering by exact name.",
            "observable": "Join direct file creation and process enumeration to the implant's network owner. No tasklist.exe child is required by these task implementations.",
            "variability": "MkFile does not dispose the returned stream. File existence alone does not prove the intended content or completed handle cleanup. Access and process races can affect enumeration.",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/Administration/Mkfile.cs",
                "start": 12,
                "end": 22,
                "label": "Implant/Tasks/Execute/Administration/Mkfile.cs"
              },
              {
                "path": "Implant/Tasks/Execute/Administration/Ps.cs",
                "start": 18,
                "end": 45,
                "label": "Implant/Tasks/Execute/Administration/Ps.cs"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "inspect-the-bearer-metadata-schema",
            "title": "Inspect the Bearer metadata schema",
            "telemetry": "HTTP header/body inspection and process ownership.",
            "logic": "Look for Base64 host metadata rather than a normal token, paired with root task polling and JSON results.",
            "false_positives": "Custom management software may transmit similar metadata; inspect schema and process provenance.",
            "blind_spots": "TLS, changed fields and proxies can hide the header.",
            "status": "untested",
            "evidence": [
              {
                "path": "Implant/Models/Comms/HTTPComms.cs",
                "start": 27,
                "end": 68,
                "label": "Implant/Models/Comms/HTTPComms.cs"
              },
              {
                "path": "Implant/Program.cs",
                "start": 22,
                "end": 39,
                "label": "Implant/Program.cs"
              }
            ]
          },
          {
            "id": "correlate-managed-execution-with-polling",
            "title": "Correlate managed execution with polling",
            "telemetry": "EDR process, managed-runtime and script telemetry.",
            "logic": "Investigate the same .NET process polling a destination and loading byte arrays or invoking PowerShell alongside command output posts.",
            "false_positives": "Legitimate plugin hosts and administration tools also load assemblies.",
            "blind_spots": "Assembly.Load and runspaces may lack child processes or telemetry.",
            "status": "untested",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                "start": 64,
                "end": 71,
                "label": "Implant/Tasks/Execute/Functions/LoadFunctions.cs"
              },
              {
                "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                "start": 16,
                "end": 30,
                "label": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs"
              },
              {
                "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
                "start": 9,
                "end": 29,
                "label": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs"
              }
            ]
          },
          {
            "id": "deep-assembly-invocation-contract",
            "title": "Optional assembly entry-point and method invocation",
            "telemetry": "Use CLR assembly and method telemetry where available, joined to the implant process and task activity. These helpers can run entirely inside the existing process.",
            "logic": "Untested detection hypothesis. The entry-point helper passes a string array containing one complete parameter string, then reads captured stdout and stderr. Method helpers invoke a named static method and call ToString on its result. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Managed plugin systems and developer tools use reflection.",
            "blind_spots": "Untested hypothesis. Process creation telemetry alone misses in-process invocation; external assembly behavior needs its own review.",
            "status": "untested",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/ExecuteAssem.cs",
                "start": 12,
                "end": 35,
                "label": "Implant/Tasks/Execute/ExecuteAssem.cs"
              },
              {
                "path": "Implant/Tasks/Execute/ExecuteAssemMethod.cs",
                "start": 16,
                "end": 48,
                "label": "Implant/Tasks/Execute/ExecuteAssemMethod.cs"
              },
              {
                "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                "start": 16,
                "end": 71,
                "label": "Implant/Tasks/Execute/Functions/LoadFunctions.cs"
              }
            ]
          },
          {
            "id": "deep-administration-file-process",
            "title": "Optional file creation and process enumeration",
            "telemetry": "Join direct file creation and process enumeration to the implant's network owner. No tasklist.exe child is required by these task implementations.",
            "logic": "Untested detection hypothesis. MkFile constructs a path from the current directory and task argument, calls File.Create and checks existence. Ps enumerates processes and formats ID, name and session ID, optionally filtering by exact name. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "File managers and inventory applications use the same APIs.",
            "blind_spots": "Untested hypothesis. API-level enumeration generally needs EDR or instrumentation beyond ordinary process-start logs.",
            "status": "untested",
            "evidence": [
              {
                "path": "Implant/Tasks/Execute/Administration/Mkfile.cs",
                "start": 12,
                "end": 22,
                "label": "Implant/Tasks/Execute/Administration/Mkfile.cs"
              },
              {
                "path": "Implant/Tasks/Execute/Administration/Ps.cs",
                "start": 18,
                "end": 45,
                "label": "Implant/Tasks/Execute/Administration/Ps.cs"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP"
          ],
          "executionMethods": [
            "cmd.exe",
            "PowerShell runspace",
            ".NET assembly execution"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64"
          ],
          "persistenceHints": [],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "1 s transport delay; 10 s initial sleep"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "hosted-powershell-output",
              "api": "PowerShell.Create / AddScript / Invoke",
              "call_chain": "CreateInstance produces a PowerShell host; Execute adds the supplied script, invokes it and serializes returned PSObjects.",
              "contract": "Invoke synchronously returns success-stream PSObjects; nonterminating PowerShell errors are a separate stream.",
              "application": "The helper stringifies success objects and replaces semicolons with newlines. It catches thrown exceptions but does not enumerate Streams.Error. ReturnEncodedCmd is an empty stub.",
              "uncertainty": "This establishes in-process PowerShell hosting. A powershell.exe child is optional, and error capture is incomplete. SDK/runtime compatibility was not tested.",
              "telemetry": "Use PowerShell engine/script visibility associated with the .NET process, alongside HTTP polling. Child-process-only rules miss this path.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.management.automation.powershell.invoke?view=powershellsdk-7.4.0"
                }
              ],
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                  "start": 16,
                  "end": 48,
                  "label": "PowerShell.Create / AddScript / Invoke call site"
                }
              ]
            },
            {
              "id": "assembly-invocation-contract",
              "api": "Optional assembly entry-point and method invocation",
              "call_chain": "ExecuteAssem and ExecuteAssemMethod parse task options and call LoadFunctions on an already loaded assembly.",
              "contract": "MethodBase.Invoke requires arguments matching the target signature. Invocation can throw. Console redirection is process-wide.",
              "application": "The entry-point helper passes a string array containing one complete parameter string, then reads captured stdout and stderr. Method helpers invoke a named static method and call ToString on its result.",
              "uncertainty": "A missing assembly, absent method, incompatible signature or null return can fail. Console restoration has no finally block, so exceptions can leave output redirected.",
              "telemetry": "Use CLR assembly and method telemetry where available, joined to the implant process and task activity. These helpers can run entirely inside the existing process.",
              "references": [
                {
                  "title": "MethodBase.Invoke (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.reflection.methodbase.invoke?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/ExecuteAssem.cs",
                  "start": 12,
                  "end": 35,
                  "label": "Implant/Tasks/Execute/ExecuteAssem.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/ExecuteAssemMethod.cs",
                  "start": 16,
                  "end": 48,
                  "label": "Implant/Tasks/Execute/ExecuteAssemMethod.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                  "start": 16,
                  "end": 71,
                  "label": "Implant/Tasks/Execute/Functions/LoadFunctions.cs"
                }
              ]
            },
            {
              "id": "administration-file-process",
              "api": "Optional file creation and process enumeration",
              "call_chain": "The MkFile and Ps task classes execute their task arguments through System.IO and System.Diagnostics.",
              "contract": "File.Create creates or truncates a file and returns a FileStream. Process.GetProcesses enumerates process objects.",
              "application": "MkFile constructs a path from the current directory and task argument, calls File.Create and checks existence. Ps enumerates processes and formats ID, name and session ID, optionally filtering by exact name.",
              "uncertainty": "MkFile does not dispose the returned stream. File existence alone does not prove the intended content or completed handle cleanup. Access and process races can affect enumeration.",
              "telemetry": "Join direct file creation and process enumeration to the implant's network owner. No tasklist.exe child is required by these task implementations.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.io.file.create?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Administration/Mkfile.cs",
                  "start": 12,
                  "end": 22,
                  "label": "Implant/Tasks/Execute/Administration/Mkfile.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/Administration/Ps.cs",
                  "start": 18,
                  "end": 45,
                  "label": "Implant/Tasks/Execute/Administration/Ps.cs"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Managed assembly execution and administration",
              "activation": "ExecuteAssem and ExecuteAssemMethod parse task options and call LoadFunctions on an already loaded assembly.",
              "status": "reviewed",
              "detail": "Entry-point and method invocation, assembly lookup, file creation and process listing.",
              "finding_ids": [
                "assembly-invocation-contract",
                "administration-file-process"
              ],
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/ExecuteAssem.cs",
                  "start": 12,
                  "end": 35,
                  "label": "Implant/Tasks/Execute/ExecuteAssem.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/ExecuteAssemMethod.cs",
                  "start": 16,
                  "end": 48,
                  "label": "Implant/Tasks/Execute/ExecuteAssemMethod.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                  "start": 16,
                  "end": 71,
                  "label": "Implant/Tasks/Execute/Functions/LoadFunctions.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/Administration/Mkfile.cs",
                  "start": 12,
                  "end": 22,
                  "label": "Implant/Tasks/Execute/Administration/Mkfile.cs"
                },
                {
                  "path": "Implant/Tasks/Execute/Administration/Ps.cs",
                  "start": 18,
                  "end": 45,
                  "label": "Implant/Tasks/Execute/Administration/Ps.cs"
                }
              ]
            },
            {
              "module": "Remaining administration helpers",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "The administration task tree was inventoried. Path mutation and remaining individual filesystem/recon helpers have not each received a separate API-contract finding.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/ExecuteAssem.cs",
                  "start": 12,
                  "end": 35,
                  "label": "Implant/Tasks/Execute/ExecuteAssem.cs"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "atlasc2",
          "feature": "http-metadata-and-task-channel",
          "reviewed_commit": "98eb7d294f0dabee8bf05d099bdf868aeca6c022",
          "rationale": "The implant sends metadata and task results through its HTTP client.",
          "technique": {
            "id": "T1071.001",
            "name": "Web Protocols",
            "url": "https://attack.mitre.org/techniques/T1071/001",
            "version": "1.5",
            "stix_id": "attack-pattern--df8b2a25-8bdf-4856-953c-a04372b1c161"
          },
          "evidence": [
            {
              "path": "Implant/Models/Comms/HTTPComms.cs",
              "start": 27,
              "end": 68,
              "label": "HTTP request flow"
            },
            {
              "path": "Implant/Program.cs",
              "start": 22,
              "end": 39,
              "label": "Metadata fields"
            }
          ]
        },
        {
          "framework": "atlasc2",
          "feature": "shell-and-in-process-powershell",
          "reviewed_commit": "98eb7d294f0dabee8bf05d099bdf868aeca6c022",
          "rationale": "The Windows shell branch starts cmd.exe to execute task commands.",
          "technique": {
            "id": "T1059.003",
            "name": "Windows Command Shell",
            "url": "https://attack.mitre.org/techniques/T1059/003",
            "version": "1.5",
            "stix_id": "attack-pattern--d1fcf083-a721-4223-aedf-bf8960798d62"
          },
          "evidence": [
            {
              "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
              "start": 9,
              "end": 35,
              "label": "CMD process"
            },
            {
              "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
              "start": 16,
              "end": 42,
              "label": "PowerShell runspace"
            }
          ]
        },
        {
          "framework": "atlasc2",
          "feature": "shell-and-in-process-powershell",
          "reviewed_commit": "98eb7d294f0dabee8bf05d099bdf868aeca6c022",
          "rationale": "The PowerShell branch executes task text in an in-process runspace.",
          "technique": {
            "id": "T1059.001",
            "name": "PowerShell",
            "url": "https://attack.mitre.org/techniques/T1059/001",
            "version": "1.6",
            "stix_id": "attack-pattern--970a3432-3237-47ad-bcca-7d8cbb217736"
          },
          "evidence": [
            {
              "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
              "start": 9,
              "end": 35,
              "label": "CMD process"
            },
            {
              "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
              "start": 16,
              "end": 42,
              "label": "PowerShell runspace"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "http-metadata-and-task-channel",
              "title": "HTTP metadata and task channel",
              "evidence": [
                {
                  "path": "Implant/Models/Comms/HTTPComms.cs",
                  "start": 27,
                  "end": 68,
                  "label": "HTTP request flow"
                },
                {
                  "path": "Implant/Program.cs",
                  "start": 22,
                  "end": 39,
                  "label": "Metadata fields"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-command-shell",
          "field": "executionMethods",
          "label": "Windows Command Shell (cmd.exe)",
          "description": "Commands run through the Windows command interpreter.",
          "example": {
            "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
            "start": 12,
            "end": 15,
            "label": "Windows Command Shell (cmd.exe)"
          },
          "features": [
            {
              "id": "shell-and-in-process-powershell",
              "title": "Shell and in-process PowerShell",
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
                  "start": 9,
                  "end": 35,
                  "label": "CMD process"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                  "start": 16,
                  "end": 42,
                  "label": "PowerShell runspace"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-runspace",
          "field": "executionMethods",
          "label": "PowerShell Runspace",
          "description": "PowerShell scripts run through the managed PowerShell API.",
          "example": {
            "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
            "start": 23,
            "end": 27,
            "label": "PowerShell Runspace"
          },
          "features": [
            {
              "id": "shell-and-in-process-powershell",
              "title": "Shell and in-process PowerShell",
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Functions/CMDShellFunctions.cs",
                  "start": 9,
                  "end": 35,
                  "label": "CMD process"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/PSShellFunctions.cs",
                  "start": 16,
                  "end": 42,
                  "label": "PowerShell runspace"
                }
              ]
            }
          ]
        },
        {
          "id": "dotnet-assembly",
          "field": "executionMethods",
          "label": ".NET Assembly Execution",
          "description": "The code loads or invokes a managed assembly.",
          "features": [
            {
              "id": "assembly-loading-and-reflection",
              "title": "Assembly loading and reflection",
              "evidence": [
                {
                  "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                  "start": 64,
                  "end": 71,
                  "label": "Assembly loading"
                },
                {
                  "path": "Implant/Tasks/Execute/Functions/LoadFunctions.cs",
                  "start": 20,
                  "end": 60,
                  "label": "Entry point and method invocation"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "http-metadata-and-task-channel",
              "title": "HTTP metadata and task channel",
              "evidence": [
                {
                  "path": "Implant/Models/Comms/HTTPComms.cs",
                  "start": 27,
                  "end": 68,
                  "label": "HTTP request flow"
                },
                {
                  "path": "Implant/Program.cs",
                  "start": 22,
                  "end": 39,
                  "label": "Metadata fields"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "HTTP metadata and task channel",
          "indicator": "Authorization: Bearer <Base64 serialized implant metadata>",
          "reference": "HTTP metadata and task channel",
          "anchor": "http-metadata-and-task-channel",
          "os": "cross-platform",
          "source": "https://github.com/Gr1mmie/AtlasC2/blob/98eb7d294f0dabee8bf05d099bdf868aeca6c022/Implant/Models/Comms/HTTPComms.cs#L27-L36",
          "confidence": "source-confirmed",
          "mutability": "structural; source changeable",
          "visibility": "HTTP headers",
          "caveat": "Not a JWT claim; correlate decoded schema with the root task/result flow."
        },
        {
          "typeId": "http-request",
          "typeLabel": "HTTP request",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "HTTP metadata and task channel",
          "indicator": "GET / and POST / with application/json results",
          "reference": "HTTP metadata and task channel",
          "anchor": "http-metadata-and-task-channel",
          "os": "cross-platform",
          "source": "https://github.com/Gr1mmie/AtlasC2/blob/98eb7d294f0dabee8bf05d099bdf868aeca6c022/Implant/Models/Comms/HTTPComms.cs#L39-L55",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "HTTP URI/body",
          "caveat": "Root JSON traffic alone is common."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Shell and in-process PowerShell",
          "indicator": "cmd.exe /C <task>",
          "reference": "Shell and in-process PowerShell",
          "anchor": "shell-and-in-process-powershell",
          "os": "windows",
          "source": "https://github.com/Gr1mmie/AtlasC2/blob/98eb7d294f0dabee8bf05d099bdf868aeca6c022/Implant/Tasks/Execute/Functions/CMDShellFunctions.cs#L9-L29",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint process",
          "caveat": "Qualify parent and HTTP metadata."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Assembly loading and reflection",
          "indicator": "ImplantCommandsInit; HTTPComms; LoadAssem",
          "reference": "Assembly loading and reflection",
          "anchor": "assembly-loading-and-reflection",
          "os": "cross-platform",
          "source": "https://github.com/Gr1mmie/AtlasC2/blob/98eb7d294f0dabee8bf05d099bdf868aeca6c022/Implant/Tasks/Execute/Functions/LoadFunctions.cs#L64-L71",
          "confidence": "source-confirmed",
          "mutability": "source names/changeable",
          "visibility": "Source or managed memory",
          "caveat": "Compiler/obfuscation may change identifiers; not network values."
        }
      ]
    },
    {
      "slug": "b3acon",
      "title": "b3acon",
      "relativePath": "frameworks/b3acon/README.md",
      "upstream_repo": "https://github.com/b3rito/b3acon",
      "implementation": "PowerShell, C#, JavaScript",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "c94211c0dca538d06cd024821f35973f8e00da5a",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/b3acon/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "c94211c0dca538d06cd024821f35973f8e00da5a",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "mail",
              "label": "IMAP Drafts",
              "role": "Operator task messages",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "index.html",
                  "start": 41,
                  "end": 88,
                  "label": "Embedded C# IMAP client"
                }
              ]
            },
            {
              "id": "agent",
              "label": "PowerShell + C#",
              "role": "ID filter / IEX",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "index.html",
                  "start": 199,
                  "end": 217,
                  "label": "ID gate and execution"
                }
              ]
            },
            {
              "id": "smtp",
              "label": "SMTP output",
              "role": "Same-account messages",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "index.html",
                  "start": 209,
                  "end": 217,
                  "label": "Result submission"
                },
                {
                  "path": "index.html",
                  "start": 163,
                  "end": 170,
                  "label": "Stock mail settings"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "mail",
              "to": "agent",
              "label": "Fetch and select new tasks",
              "detail": "The generated helper fetches draft subjects/bodies and PowerShell filters numeric IDs.",
              "evidence": [
                {
                  "path": "index.html",
                  "start": 41,
                  "end": 88,
                  "label": "Embedded C# IMAP client"
                }
              ]
            },
            {
              "from": "agent",
              "to": "smtp",
              "label": "Send command output",
              "detail": "PowerShell evaluates new commands and emails the result to the configured account.",
              "evidence": [
                {
                  "path": "index.html",
                  "start": 209,
                  "end": 217,
                  "label": "Result submission"
                },
                {
                  "path": "index.html",
                  "start": 163,
                  "end": 170,
                  "label": "Stock mail settings"
                }
              ]
            },
            {
              "from": "smtp",
              "to": "mail",
              "label": "Retain output in the account",
              "detail": "From and To use the same configured address; replies are separate from Drafts tasking.",
              "evidence": [
                {
                  "path": "index.html",
                  "start": 209,
                  "end": 217,
                  "label": "Result submission"
                },
                {
                  "path": "index.html",
                  "start": 163,
                  "end": 170,
                  "label": "Stock mail settings"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "imap-drafts-command-retrieval",
            "title": "IMAP Drafts command retrieval",
            "behavior": "PowerShell compiles IMAPClientV2 in-process. The C# helper opens a TLS stream, logs in, selects Drafts, searches messages and fetches subjects and bodies.",
            "observable": "Mail access by PowerShell plus IMAPClientV2 in source/memory is more useful than the provider domain alone.",
            "variability": "IMAP server/account are generated configuration. Provider domains are legitimate infrastructure. Their presence alone does not establish malicious activity.",
            "evidence": [
              {
                "path": "index.html",
                "start": 41,
                "end": 88,
                "label": "Embedded C# IMAP client"
              }
            ]
          },
          {
            "id": "numeric-task-ids-and-powershell-execution",
            "title": "Numeric task IDs and PowerShell execution",
            "behavior": "Subjects matching one to four digits act as IDs. Executed IDs are held in memory; unseen IDs execute through Invoke-Expression with captured output.",
            "observable": "Numeric draft subjects correlated with PowerShell script execution and mailbox access form a candidate hunt.",
            "variability": "Deduplication is per process; restarting loses the executed-ID list.",
            "evidence": [
              {
                "path": "index.html",
                "start": 199,
                "end": 217,
                "label": "ID gate and execution"
              }
            ]
          },
          {
            "id": "smtp-result-loop",
            "title": "SMTP result loop",
            "behavior": "Send-MailMessage sends output from the configured account back to itself, using subject Output comando ID <id> and SSL-enabled SMTP.",
            "observable": "Mailbox telemetry can expose same-account output messages and the exact subject prefix; endpoint telemetry exposes Send-MailMessage.",
            "variability": "This subject comes from the implementation template. The README English example uses different text. Ports/providers and credentials are configurable.",
            "evidence": [
              {
                "path": "index.html",
                "start": 209,
                "end": 217,
                "label": "Result submission"
              },
              {
                "path": "index.html",
                "start": 163,
                "end": 170,
                "label": "Stock mail settings"
              }
            ]
          },
          {
            "id": "fixed-or-random-callback-delay",
            "title": "Fixed or random callback delay",
            "behavior": "Get-Delay returns the configured secondsDelay unless a valid positive integer range is present; a range uses Get-Random with maximum plus one.",
            "observable": "Mail polling cadence supports correlation with process identity and message content.",
            "variability": "Default template uses ten seconds and no range; the generated settings may differ.",
            "evidence": [
              {
                "path": "index.html",
                "start": 169,
                "end": 183,
                "label": "Delay selection"
              },
              {
                "path": "index.html",
                "start": 226,
                "end": 229,
                "label": "Loop delay"
              }
            ]
          },
          {
            "id": "deep-wrapper-runtime-artifacts",
            "title": "Optional HTA, VBS and JScript output wrappers",
            "behavior": "convertOutput chooses an encoded-command wrapper or constructs a full file-writing wrapper for the selected output type. Encoded variants construct PowerShell EncodedCommand text. Full unencoded variants construct gen.ps1 under TEMP and invoke powershell.exe with a file argument; out.txt is also referenced. Some inline variants only construct script text.",
            "observable": "Look for mshta.exe, wscript.exe or cscript.exe launching PowerShell, and optional TEMP gen.ps1/out.txt artifacts. Script-host and file telemetry depend on the selected wrapper.",
            "variability": "These are inert generator branches. Quoting, host availability, generated syntax and shell-redirection behavior were not exercised. Output selection does not prove a working artifact.",
            "evidence": [
              {
                "path": "index.html",
                "start": 370,
                "end": 418,
                "label": "index.html"
              },
              {
                "path": "index.html",
                "start": 421,
                "end": 478,
                "label": "index.html"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "join-powershell-mail-access-and-task-execution",
            "title": "Join PowerShell mail access and task execution",
            "telemetry": "Process-associated mail connections, script telemetry and authorized mailbox audit logs.",
            "logic": "Correlate IMAP Drafts reads from PowerShell with numeric task subjects, IEX and same-account SMTP output.",
            "false_positives": "Administration and mail automation can use these APIs; require several stages.",
            "blind_spots": "TLS hides protocol/message content from network-only monitoring.",
            "status": "untested",
            "evidence": [
              {
                "path": "index.html",
                "start": 65,
                "end": 88,
                "label": "index.html"
              },
              {
                "path": "index.html",
                "start": 199,
                "end": 217,
                "label": "index.html"
              }
            ]
          },
          {
            "id": "hunt-the-result-subject-in-the-owning-mailbox",
            "title": "Hunt the result subject in the owning mailbox",
            "telemetry": "Mailbox search/audit visibility for the configured account.",
            "logic": "Review Output comando ID subjects with numeric suffixes and self-addressed result bodies.",
            "false_positives": "Subjects can be copied or used in benign testing; establish endpoint context.",
            "blind_spots": "The generator can be edited and credentials/providers can change.",
            "status": "untested",
            "evidence": [
              {
                "path": "index.html",
                "start": 209,
                "end": 217,
                "label": "index.html"
              }
            ]
          },
          {
            "id": "deep-wrapper-runtime-artifacts",
            "title": "Optional HTA, VBS and JScript output wrappers",
            "telemetry": "Look for mshta.exe, wscript.exe or cscript.exe launching PowerShell, and optional TEMP gen.ps1/out.txt artifacts. Script-host and file telemetry depend on the selected wrapper.",
            "logic": "Untested detection hypothesis. Encoded variants construct PowerShell EncodedCommand text. Full unencoded variants construct gen.ps1 under TEMP and invoke powershell.exe with a file argument; out.txt is also referenced. Some inline variants only construct script text. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Enterprise login scripts and installers commonly use Windows Script Host and PowerShell.",
            "blind_spots": "Untested hypothesis. Inline code-only output and encoded variants have different disk artifacts.",
            "status": "untested",
            "evidence": [
              {
                "path": "index.html",
                "start": 370,
                "end": 418,
                "label": "index.html"
              },
              {
                "path": "index.html",
                "start": 421,
                "end": 478,
                "label": "index.html"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "IMAP",
            "SMTP"
          ],
          "executionMethods": [
            "PowerShell IEX"
          ],
          "lolbins": [],
          "encodingTechniques": [],
          "persistenceHints": [],
          "beaconFixed": true,
          "beaconJitter": true,
          "delayNotes": [
            "10 s default; optional inclusive random delay range"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "draft-to-expression",
              "api": "Invoke-Expression / Send-MailMessage",
              "call_chain": "The embedded script polls draft subjects, checks a numeric subject ID, evaluates the body and mails the resulting string.",
              "contract": "Invoke-Expression evaluates text in the current PowerShell scope; 2>&1 merges error output into the success stream.",
              "application": "Bodies with 1–4 digit subject IDs pass to Invoke-Expression. Output is joined into text and emailed; a blank result becomes an 'Executed' message. The ID is remembered after the mail call.",
              "uncertainty": "The status text does not establish command success. Deduplication uses an in-memory list and has no durable exactly-once guarantee. Embedded C#/PowerShell was read without compilation.",
              "telemetry": "Combine authorized mailbox/app audit context with script execution. IMAP/SMTP over TLS hides command content from passive network inspection.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-expression?view=powershell-5.1"
                }
              ],
              "evidence": [
                {
                  "path": "index.html",
                  "start": 186,
                  "end": 229,
                  "label": "Invoke-Expression / Send-MailMessage call site"
                }
              ]
            },
            {
              "id": "wrapper-runtime-artifacts",
              "api": "Optional HTA, VBS and JScript output wrappers",
              "call_chain": "convertOutput chooses an encoded-command wrapper or constructs a full file-writing wrapper for the selected output type.",
              "contract": "WScript.Shell.Run starts a command in a Windows Script Host or compatible COM host. Browser JavaScript cannot establish that target-host execution occurred.",
              "application": "Encoded variants construct PowerShell EncodedCommand text. Full unencoded variants construct gen.ps1 under TEMP and invoke powershell.exe with a file argument; out.txt is also referenced. Some inline variants only construct script text.",
              "uncertainty": "These are inert generator branches. Quoting, host availability, generated syntax and shell-redirection behavior were not exercised. Output selection does not prove a working artifact.",
              "telemetry": "Look for mshta.exe, wscript.exe or cscript.exe launching PowerShell, and optional TEMP gen.ps1/out.txt artifacts. Script-host and file telemetry depend on the selected wrapper.",
              "references": [
                {
                  "title": "WScript.Shell.Run (Windows Script Host)",
                  "url": "https://learn.microsoft.com/en-us/previous-versions/windows/internet-explorer/ie-developer/windows-scripting/d5fk67ky(v=vs.84)"
                }
              ],
              "evidence": [
                {
                  "path": "index.html",
                  "start": 370,
                  "end": 418,
                  "label": "index.html"
                },
                {
                  "path": "index.html",
                  "start": 421,
                  "end": 478,
                  "label": "index.html"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Output-format variants",
              "activation": "convertOutput chooses an encoded-command wrapper or constructs a full file-writing wrapper for the selected output type.",
              "status": "reviewed",
              "detail": "Encoded and plain HTA/VBS/JScript branches were read as text. Generated outputs were never rendered or launched.",
              "finding_ids": [
                "wrapper-runtime-artifacts"
              ],
              "evidence": [
                {
                  "path": "index.html",
                  "start": 370,
                  "end": 418,
                  "label": "index.html"
                },
                {
                  "path": "index.html",
                  "start": 421,
                  "end": 478,
                  "label": "index.html"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "b3acon",
          "feature": "imap-drafts-command-retrieval",
          "reviewed_commit": "c94211c0dca538d06cd024821f35973f8e00da5a",
          "rationale": "The generated agent retrieves task messages from IMAP Drafts and returns results through SMTP.",
          "technique": {
            "id": "T1071.003",
            "name": "Mail Protocols",
            "url": "https://attack.mitre.org/techniques/T1071/003",
            "version": "1.2",
            "stix_id": "attack-pattern--54b4c251-1f0e-4eba-ba6b-dbc7a6f6f06b"
          },
          "evidence": [
            {
              "path": "index.html",
              "start": 41,
              "end": 88,
              "label": "Embedded C# IMAP client"
            }
          ]
        },
        {
          "framework": "b3acon",
          "feature": "numeric-task-ids-and-powershell-execution",
          "reviewed_commit": "c94211c0dca538d06cd024821f35973f8e00da5a",
          "rationale": "The PowerShell template executes retrieved command text through Invoke-Expression.",
          "technique": {
            "id": "T1059.001",
            "name": "PowerShell",
            "url": "https://attack.mitre.org/techniques/T1059/001",
            "version": "1.6",
            "stix_id": "attack-pattern--970a3432-3237-47ad-bcca-7d8cbb217736"
          },
          "evidence": [
            {
              "path": "index.html",
              "start": 199,
              "end": 217,
              "label": "ID gate and execution"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "imap",
          "field": "protocols",
          "label": "IMAP",
          "description": "IMAP mailbox access.",
          "features": [
            {
              "id": "imap-drafts-command-retrieval",
              "title": "IMAP Drafts command retrieval",
              "evidence": [
                {
                  "path": "index.html",
                  "start": 41,
                  "end": 88,
                  "label": "Embedded C# IMAP client"
                }
              ]
            }
          ]
        },
        {
          "id": "smtp",
          "field": "protocols",
          "label": "SMTP",
          "description": "SMTP result delivery.",
          "features": [
            {
              "id": "smtp-result-loop",
              "title": "SMTP result loop",
              "evidence": [
                {
                  "path": "index.html",
                  "start": 209,
                  "end": 217,
                  "label": "Result submission"
                },
                {
                  "path": "index.html",
                  "start": 163,
                  "end": 170,
                  "label": "Stock mail settings"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-iex",
          "field": "executionMethods",
          "label": "PowerShell Invoke-Expression",
          "description": "Commands are evaluated with Invoke-Expression or its IEX alias.",
          "features": [
            {
              "id": "numeric-task-ids-and-powershell-execution",
              "title": "Numeric task IDs and PowerShell execution",
              "evidence": [
                {
                  "path": "index.html",
                  "start": 199,
                  "end": 217,
                  "label": "ID gate and execution"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "IMAP Drafts command retrieval",
          "indicator": "IMAPClientV2; GetAllDraftSubjects",
          "reference": "IMAP Drafts command retrieval",
          "anchor": "imap-drafts-command-retrieval",
          "os": "windows",
          "source": "https://github.com/b3rito/b3acon/blob/c94211c0dca538d06cd024821f35973f8e00da5a/index.html#L58-L88",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Source or managed memory",
          "caveat": "Not visible inside encrypted IMAP without inspection."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "IMAP Drafts command retrieval",
          "indicator": "A2 SELECT Drafts; A4 FETCH <id> BODY[HEADER.FIELDS (SUBJECT)]",
          "reference": "IMAP Drafts command retrieval",
          "anchor": "imap-drafts-command-retrieval",
          "os": "windows",
          "source": "https://github.com/b3rito/b3acon/blob/c94211c0dca538d06cd024821f35973f8e00da5a/index.html#L73-L85",
          "confidence": "source-confirmed",
          "mutability": "source framing",
          "visibility": "Decrypted IMAP or source",
          "caveat": "TLS hides commands from a passive network sensor."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "SMTP result loop",
          "indicator": "Output comando ID <1–4 digit id>",
          "reference": "SMTP result loop",
          "anchor": "smtp-result-loop",
          "os": "windows",
          "source": "https://github.com/b3rito/b3acon/blob/c94211c0dca538d06cd024821f35973f8e00da5a/index.html#L209-L217",
          "confidence": "source-confirmed",
          "mutability": "template constant/changeable",
          "visibility": "Mailbox message subject",
          "caveat": "Pair with same-account mail and PowerShell; not the README English subject."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Numeric task IDs and PowerShell execution",
          "indicator": "Invoke-Expression $commandContent",
          "reference": "Numeric task IDs and PowerShell execution",
          "anchor": "numeric-task-ids-and-powershell-execution",
          "os": "windows",
          "source": "https://github.com/b3rito/b3acon/blob/c94211c0dca538d06cd024821f35973f8e00da5a/index.html#L199-L209",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint script telemetry",
          "caveat": "Generic IEX is insufficient for attribution."
        }
      ]
    },
    {
      "slug": "babyshark",
      "title": "BabyShark",
      "relativePath": "frameworks/BabyShark/README.md",
      "upstream_repo": "https://github.com/UnkL4b/BabyShark",
      "implementation": "Python, Bash",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "4fd3e0496282885bfa0552bf2e58182a1caabf82",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/BabyShark/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "4fd3e0496282885bfa0552bf2e58182a1caabf82",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "operator",
              "label": "Operator web form",
              "role": "Flask task creation",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 127,
                  "label": "Task/result handler"
                },
                {
                  "path": "app.py",
                  "start": 24,
                  "end": 25,
                  "label": "Default key"
                },
                {
                  "path": "templates/momyshark.html",
                  "start": 25,
                  "end": 32,
                  "label": "Task page output"
                }
              ]
            },
            {
              "id": "server",
              "label": "Flask task queue",
              "role": "HTML tasks / UA results",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 127,
                  "label": "Task/result handler"
                },
                {
                  "path": "app.py",
                  "start": 24,
                  "end": 25,
                  "label": "Default key"
                },
                {
                  "path": "templates/momyshark.html",
                  "start": 25,
                  "end": 32,
                  "label": "Task page output"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Bash example client",
              "role": "Translate relay / named pipe",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "README.md",
                  "start": 35,
                  "end": 66,
                  "label": "Relay and pipe example"
                },
                {
                  "path": "README.md",
                  "start": 81,
                  "end": 98,
                  "label": "Task execution and output"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "operator",
              "to": "server",
              "label": "Queue commands",
              "detail": "Operator POST /create-task adds a command to the database.",
              "evidence": [
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 127,
                  "label": "Task/result handler"
                },
                {
                  "path": "app.py",
                  "start": 24,
                  "end": 25,
                  "label": "Default key"
                },
                {
                  "path": "templates/momyshark.html",
                  "start": 25,
                  "end": 32,
                  "label": "Task page output"
                }
              ]
            },
            {
              "from": "agent",
              "to": "server",
              "label": "Fetch tasks through the relay",
              "detail": "The example obtains translated page URLs and requests task HTML.",
              "evidence": [
                {
                  "path": "README.md",
                  "start": 35,
                  "end": 66,
                  "label": "Relay and pipe example"
                },
                {
                  "path": "README.md",
                  "start": 81,
                  "end": 98,
                  "label": "Task execution and output"
                }
              ]
            },
            {
              "from": "server",
              "to": "agent",
              "label": "Provide pending task text",
              "detail": "The task template emits command text and a numeric ID.",
              "evidence": [
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 127,
                  "label": "Task/result handler"
                },
                {
                  "path": "app.py",
                  "start": 24,
                  "end": 25,
                  "label": "Default key"
                },
                {
                  "path": "templates/momyshark.html",
                  "start": 25,
                  "end": 32,
                  "label": "Task page output"
                }
              ]
            },
            {
              "from": "agent",
              "to": "server",
              "label": "Return output in User-Agent",
              "detail": "The example sends encoded output that the handler records and marks done.",
              "evidence": [
                {
                  "path": "README.md",
                  "start": 44,
                  "end": 47,
                  "label": "Bash stdout and stderr redirection order"
                },
                {
                  "path": "README.md",
                  "start": 90,
                  "end": 98,
                  "label": "Example result header"
                },
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 125,
                  "label": "Result persistence"
                },
                {
                  "path": "app.py",
                  "start": 12,
                  "end": 25,
                  "label": "Server files"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "shared-key-http-task-queue",
            "title": "Shared-key HTTP task queue",
            "behavior": "The /momyshark route checks a key parameter, returns queued tasks and accepts results in a pipe-separated User-Agent.",
            "observable": "The default path /momyshark?key= and unusual pipe-separated User-Agent values are protocol pivots.",
            "variability": "The default password is b4bysh4rk; paths/key can be changed. A server route is not proof of client behavior.",
            "evidence": [
              {
                "path": "app.py",
                "start": 109,
                "end": 127,
                "label": "Task/result handler"
              },
              {
                "path": "app.py",
                "start": 24,
                "end": 25,
                "label": "Default key"
              },
              {
                "path": "templates/momyshark.html",
                "start": 25,
                "end": 32,
                "label": "Task page output"
              }
            ]
          },
          {
            "id": "translate-relay-and-bash-command-execution",
            "title": "Translate relay and Bash command execution",
            "behavior": "The README example follows Translate-generated pages, parses task text and feeds commands to a Bash process through /tmp/input.",
            "observable": "Process ancestry can show curl/xmllint alongside a named pipe and Bash; inspect endpoint process activity. A Google domain requires independent evidence of malicious use.",
            "variability": "The README publishes this example. Its generation and runtime operation remain unverified. The relay depends on third-party response structure.",
            "evidence": [
              {
                "path": "README.md",
                "start": 35,
                "end": 66,
                "label": "Relay and pipe example"
              },
              {
                "path": "README.md",
                "start": 81,
                "end": 98,
                "label": "Task execution and output"
              }
            ]
          },
          {
            "id": "result-encoding-and-server-storage",
            "title": "Result encoding and server storage",
            "behavior": "The example Base64-encodes captured stdout and places it between pipe delimiters in User-Agent. Flask decodes it and marks a command done in SQLite.",
            "observable": "Correlate key-bearing requests, a User-Agent containing output and a numeric command ID, and server database writes.",
            "variability": "Bash redirects stdout to the output file after duplicating stderr to the previous stdout, so stderr is not merged into the returned file. The two-second wait does not establish task completion. User-Agent content requires HTTP inspection; database/c2.db and sharklog.log are server artifacts.",
            "evidence": [
              {
                "path": "README.md",
                "start": 44,
                "end": 47,
                "label": "Bash stdout and stderr redirection order"
              },
              {
                "path": "README.md",
                "start": 90,
                "end": 98,
                "label": "Example result header"
              },
              {
                "path": "app.py",
                "start": 109,
                "end": 125,
                "label": "Result persistence"
              },
              {
                "path": "app.py",
                "start": 12,
                "end": 25,
                "label": "Server files"
              }
            ]
          },
          {
            "id": "deep-fifo-shell-redirection",
            "title": "README agent FIFO and output collection",
            "behavior": "The documented Bash model creates a FIFO and starts tail piped into /bin/bash; main writes tasks to the FIFO. The model uses /tmp/input and /tmp/output, collects output after a fixed two-second delay, strips NULs and line breaks from Base64, and includes the result and task ID in a User-Agent header.",
            "observable": "Correlate mkfifo and tail feeding Bash, writes to the paired /tmp paths and curl requests with pipe-delimited User-Agent result fields.",
            "variability": "The redirection order does not merge stderr into the captured output file. The delay does not establish command completion. Public translation-page parsing is an external dependency.",
            "evidence": [
              {
                "path": "README.md",
                "start": 35,
                "end": 57,
                "label": "README.md"
              },
              {
                "path": "README.md",
                "start": 81,
                "end": 105,
                "label": "README.md"
              },
              {
                "path": "app.py",
                "start": 109,
                "end": 125,
                "label": "app.py"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "match-the-task-path-and-result-header-shape",
            "title": "Match the task path and result-header shape",
            "telemetry": "Proxy URI/User-Agent logs at an inspection point that can see the actual task requests.",
            "logic": "Correlate /momyshark?key= with a pipe-delimited User-Agent carrying Base64 output and an ID.",
            "false_positives": "Normal headers can contain pipes; require the route and repeated task/result behavior.",
            "blind_spots": "HTTPS and the Translate relay may hide the original path or change headers.",
            "status": "untested",
            "evidence": [
              {
                "path": "app.py",
                "start": 109,
                "end": 127,
                "label": "app.py"
              },
              {
                "path": "README.md",
                "start": 90,
                "end": 98,
                "label": "README.md"
              }
            ]
          },
          {
            "id": "correlate-the-example-fifo-shell-and-relay",
            "title": "Correlate the example FIFO shell and relay",
            "telemetry": "Linux process/file telemetry plus HTTP or process-associated DNS.",
            "logic": "Investigate Bash using /tmp/input and /tmp/output while curl/xmllint repeatedly fetch translated task pages.",
            "false_positives": "Pipelines and temporary FIFOs are common; require the complete sequence and task traffic.",
            "blind_spots": "Client examples can be rewritten, and the external relay may no longer behave as expected.",
            "status": "untested",
            "evidence": [
              {
                "path": "README.md",
                "start": 41,
                "end": 66,
                "label": "README.md"
              },
              {
                "path": "README.md",
                "start": 81,
                "end": 98,
                "label": "README.md"
              }
            ]
          },
          {
            "id": "deep-fifo-shell-redirection",
            "title": "README agent FIFO and output collection",
            "telemetry": "Correlate mkfifo and tail feeding Bash, writes to the paired /tmp paths and curl requests with pipe-delimited User-Agent result fields.",
            "logic": "Untested detection hypothesis. The model uses /tmp/input and /tmp/output, collects output after a fixed two-second delay, strips NULs and line breaks from Base64, and includes the result and task ID in a User-Agent header. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Shell automation and named-pipe tests can use the same local commands.",
            "blind_spots": "Untested hypothesis. Header visibility requires HTTP content access; changed paths and proxy behavior reduce coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "README.md",
                "start": 35,
                "end": 57,
                "label": "README.md"
              },
              {
                "path": "README.md",
                "start": 81,
                "end": 105,
                "label": "README.md"
              },
              {
                "path": "app.py",
                "start": 109,
                "end": 125,
                "label": "app.py"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "Google Translate / HTTPS"
          ],
          "executionMethods": [
            "Bash shell"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64"
          ],
          "persistenceHints": [],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "Example client sleeps 10 s before fetching and 2 s before reading output"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "fifo-output-redirection",
              "api": "Bash pipeline / descriptor redirection",
              "call_chain": "namedpipe pipes tail input into /bin/bash; main writes a fetched command into the FIFO and later Base64-encodes the output file.",
              "contract": "Bash applies redirects left to right. In '2>&1 > file', stderr duplicates the previous stdout before stdout is redirected to the file.",
              "application": "The example sends Bash stdout to /tmp/output. Stderr retains a separate destination. The helper reads after a fixed two-second delay without a command-completion acknowledgement.",
              "uncertainty": "The client is a README example dependent on curl, xmllint, a translation relay and local FIFOs. Long-running tasks may yield incomplete output; relay viability was not tested.",
              "telemetry": "Bash/tail/FIFO and curl/xmllint activity can be correlated. Missing returned stderr does not prove the task produced no errors.",
              "references": [
                {
                  "title": "GNU Bash redirection reference",
                  "url": "https://www.gnu.org/software/bash/manual/html_node/Redirections.html"
                }
              ],
              "evidence": [
                {
                  "path": "README.md",
                  "start": 44,
                  "end": 98,
                  "label": "Bash pipeline / descriptor redirection call site"
                }
              ]
            },
            {
              "id": "fifo-shell-redirection",
              "api": "README agent FIFO and output collection",
              "call_chain": "The documented Bash model creates a FIFO and starts tail piped into /bin/bash; main writes tasks to the FIFO.",
              "contract": "Bash applies redirections from left to right. In 2>&1 >file, stderr retains the earlier stdout destination and stdout goes to the file.",
              "application": "The model uses /tmp/input and /tmp/output, collects output after a fixed two-second delay, strips NULs and line breaks from Base64, and includes the result and task ID in a User-Agent header.",
              "uncertainty": "The redirection order does not merge stderr into the captured output file. The delay does not establish command completion. Public translation-page parsing is an external dependency.",
              "telemetry": "Correlate mkfifo and tail feeding Bash, writes to the paired /tmp paths and curl requests with pipe-delimited User-Agent result fields.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://www.gnu.org/software/bash/manual/bash.html#Redirections"
                }
              ],
              "evidence": [
                {
                  "path": "README.md",
                  "start": 35,
                  "end": 57,
                  "label": "README.md"
                },
                {
                  "path": "README.md",
                  "start": 81,
                  "end": 105,
                  "label": "README.md"
                },
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 125,
                  "label": "app.py"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "README Bash agent",
              "activation": "The documented Bash model creates a FIFO and starts tail piped into /bin/bash; main writes tasks to the FIFO.",
              "status": "reviewed",
              "detail": "FIFO setup, shell redirection, fixed result wait and User-Agent result transport; server handlers were reread.",
              "finding_ids": [
                "fifo-shell-redirection"
              ],
              "evidence": [
                {
                  "path": "README.md",
                  "start": 35,
                  "end": 57,
                  "label": "README.md"
                },
                {
                  "path": "README.md",
                  "start": 81,
                  "end": 105,
                  "label": "README.md"
                },
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 125,
                  "label": "app.py"
                }
              ]
            },
            {
              "module": "Advertised future protocols",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "dependency-boundary",
              "detail": "DNS, DoH, HTTPS, HTTP3, ICMP and QUIC appear under README Next Steps. The eight-file pinned tree contains no corresponding implementations.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "README.md",
                  "start": 111,
                  "end": 121,
                  "label": "README.md"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [
        {
          "framework": "babyshark",
          "id": "304810ed-8853-437f-9e36-c4975c3dfd7e",
          "title": "HackTool - BabyShark Agent Default URL Pattern",
          "status": "test",
          "coverage": "framework-specific",
          "collection": "SigmaHQ/sigma",
          "path": "rules/web/proxy_generic/proxy_hktl_baby_shark_default_agent_url.yml",
          "url": "https://github.com/SigmaHQ/sigma/blob/05d1031f537e830b76da53bae2400c5814c89165/rules/web/proxy_generic/proxy_hktl_baby_shark_default_agent_url.yml#L1-L21",
          "browse_url": "https://sigma.nasbench.dev/rules/304810ed-8853-437f-9e36-c4975c3dfd7e",
          "telemetry": "proxy",
          "match": "The URI condition targets the reviewed /momyshark?key= route. Sigma escapes ? to match the literal query delimiter.",
          "caveat": "Requires proxy c-uri visibility. Covers the default route only; a relay or renamed path can hide it.",
          "evidence": [
            {
              "path": "app.py",
              "start": 109,
              "end": 113,
              "label": "Default task route"
            }
          ],
          "kind": "Sigma",
          "commit": "05d1031f537e830b76da53bae2400c5814c89165"
        }
      ],
      "techniques": [
        {
          "framework": "babyshark",
          "feature": "translate-relay-and-bash-command-execution",
          "reviewed_commit": "4fd3e0496282885bfa0552bf2e58182a1caabf82",
          "rationale": "The README client example feeds task text into /bin/bash through a named pipe. This mapping applies to that example.",
          "technique": {
            "id": "T1059.004",
            "name": "Unix Shell",
            "url": "https://attack.mitre.org/techniques/T1059/004",
            "version": "1.4",
            "stix_id": "attack-pattern--a9d4b653-6915-42af-98b2-5758c4ceee56"
          },
          "evidence": [
            {
              "path": "README.md",
              "start": 35,
              "end": 66,
              "label": "Relay and pipe example"
            },
            {
              "path": "README.md",
              "start": 81,
              "end": 98,
              "label": "Task execution and output"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "shared-key-http-task-queue",
              "title": "Shared-key HTTP task queue",
              "evidence": [
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 127,
                  "label": "Task/result handler"
                },
                {
                  "path": "app.py",
                  "start": 24,
                  "end": 25,
                  "label": "Default key"
                },
                {
                  "path": "templates/momyshark.html",
                  "start": 25,
                  "end": 32,
                  "label": "Task page output"
                }
              ]
            }
          ]
        },
        {
          "id": "translate-relay",
          "field": "protocols",
          "label": "Google Translate Relay (HTTPS)",
          "description": "The example client relays requests through Google Translate.",
          "features": [
            {
              "id": "translate-relay-and-bash-command-execution",
              "title": "Translate relay and Bash command execution",
              "evidence": [
                {
                  "path": "README.md",
                  "start": 35,
                  "end": 66,
                  "label": "Relay and pipe example"
                },
                {
                  "path": "README.md",
                  "start": 81,
                  "end": 98,
                  "label": "Task execution and output"
                }
              ]
            }
          ]
        },
        {
          "id": "bash",
          "field": "executionMethods",
          "label": "Bash Command Execution",
          "description": "The reviewed path explicitly invokes Bash.",
          "features": [
            {
              "id": "translate-relay-and-bash-command-execution",
              "title": "Translate relay and Bash command execution",
              "evidence": [
                {
                  "path": "README.md",
                  "start": 35,
                  "end": 66,
                  "label": "Relay and pipe example"
                },
                {
                  "path": "README.md",
                  "start": 81,
                  "end": 98,
                  "label": "Task execution and output"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "result-encoding-and-server-storage",
              "title": "Result encoding and server storage",
              "evidence": [
                {
                  "path": "README.md",
                  "start": 44,
                  "end": 47,
                  "label": "Bash stdout and stderr redirection order"
                },
                {
                  "path": "README.md",
                  "start": 90,
                  "end": 98,
                  "label": "Example result header"
                },
                {
                  "path": "app.py",
                  "start": 109,
                  "end": 125,
                  "label": "Result persistence"
                },
                {
                  "path": "app.py",
                  "start": 12,
                  "end": 25,
                  "label": "Server files"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-parameter",
          "typeLabel": "HTTP parameter",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Shared-key HTTP task queue",
          "indicator": "/momyshark?key=",
          "reference": "Shared-key HTTP task queue",
          "anchor": "shared-key-http-task-queue",
          "os": "cross-platform",
          "source": "https://github.com/UnkL4b/BabyShark/blob/4fd3e0496282885bfa0552bf2e58182a1caabf82/app.py#L109-L113",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "HTTP URI",
          "caveat": "The path/key combination needs context; URLs in source are examples."
        },
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Result encoding and server storage",
          "indicator": "User-Agent: <browser UA> | <Base64 output> | <command id>",
          "reference": "Result encoding and server storage",
          "anchor": "result-encoding-and-server-storage",
          "os": "cross-platform",
          "source": "https://github.com/UnkL4b/BabyShark/blob/4fd3e0496282885bfa0552bf2e58182a1caabf82/README.md#L90-L98",
          "confidence": "source-confirmed",
          "mutability": "example format/changeable",
          "visibility": "HTTP headers or relay logs",
          "caveat": "Source-confirmed example; not a claim that the relay currently works."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Translate relay and Bash command execution",
          "indicator": "/tmp/input (FIFO); /tmp/output",
          "reference": "Translate relay and Bash command execution",
          "anchor": "translate-relay-and-bash-command-execution",
          "os": "linux",
          "source": "https://github.com/UnkL4b/BabyShark/blob/4fd3e0496282885bfa0552bf2e58182a1caabf82/README.md#L41-L47",
          "confidence": "source-confirmed",
          "mutability": "example constant/changeable",
          "visibility": "Endpoint filesystem",
          "caveat": "Linux Bash example only."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Result encoding and server storage",
          "indicator": "database/c2.db; sharklog.log",
          "reference": "Result encoding and server storage",
          "anchor": "result-encoding-and-server-storage",
          "os": "cross-platform",
          "source": "https://github.com/UnkL4b/BabyShark/blob/4fd3e0496282885bfa0552bf2e58182a1caabf82/app.py#L12-L25",
          "confidence": "source-confirmed",
          "mutability": "source constants/changeable",
          "visibility": "Server filesystem",
          "caveat": "Server artifacts, not implant persistence."
        }
      ]
    },
    {
      "slug": "covenant",
      "title": "Covenant",
      "relativePath": "frameworks/Covenant/README.md",
      "upstream_repo": "https://github.com/cobbr/Covenant",
      "implementation": "C#, PowerShell",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "5decc3ccfab04e6e881ed00c9de649740dac8ad1",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/Covenant/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "5decc3ccfab04e6e881ed00c9de649740dac8ad1",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "listener",
              "label": "Profile HTTP listener",
              "role": "URLs / headers / envelopes",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 32,
                  "end": 59,
                  "label": "Generated profile and envelope"
                },
                {
                  "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
                  "start": 5,
                  "end": 31,
                  "label": "Default HTTP profile"
                }
              ]
            },
            {
              "id": "stager",
              "label": "GruntHTTP stager",
              "role": "Key setup and stage load",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 45,
                  "end": 74,
                  "label": "Setup crypto and certificate policy"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 197,
                  "end": 206,
                  "label": "Authenticated stage load"
                }
              ]
            },
            {
              "id": "grunt",
              "label": "Grunt task runtime",
              "role": "Assembly tasks / jitter",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 236,
                  "end": 261,
                  "label": "Assembly task execution"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 90,
                  "end": 116,
                  "label": "Timing and remote controls"
                }
              ]
            },
            {
              "id": "launcher",
              "label": "PowerShell launcher",
              "role": "Optional initial execution",
              "x": 30,
              "y": 305,
              "evidence": [
                {
                  "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
                  "start": 14,
                  "end": 54,
                  "label": "Launcher command construction"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "launcher",
              "to": "stager",
              "label": "Load generated stage launcher",
              "detail": "The optional PowerShell launcher carries the generated stager assembly.",
              "evidence": [
                {
                  "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
                  "start": 14,
                  "end": 54,
                  "label": "Launcher command construction"
                }
              ]
            },
            {
              "from": "stager",
              "to": "listener",
              "label": "Exchange setup and session messages",
              "detail": "The stager uses the selected profile and authenticated encrypted envelopes.",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 45,
                  "end": 74,
                  "label": "Setup crypto and certificate policy"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 197,
                  "end": 206,
                  "label": "Authenticated stage load"
                }
              ]
            },
            {
              "from": "listener",
              "to": "stager",
              "label": "Deliver encrypted stage",
              "detail": "The response is authenticated, decrypted and loaded as a managed assembly.",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 45,
                  "end": 74,
                  "label": "Setup crypto and certificate policy"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 197,
                  "end": 206,
                  "label": "Authenticated stage load"
                }
              ]
            },
            {
              "from": "stager",
              "to": "grunt",
              "label": "Enter the task runtime",
              "detail": "The decrypted stage is invoked and processes task assemblies with callback controls.",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 236,
                  "end": 261,
                  "label": "Assembly task execution"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 90,
                  "end": 116,
                  "label": "Timing and remote controls"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "profile-controlled-staging-and-messages",
            "title": "Profile-controlled staging and messages",
            "behavior": "The stager loads generated URLs/headers and wraps GUID, Type, Meta, IV, EncryptedMessage and HMAC fields. The stock profile uses three /en-us HTML routes, cookies and a Base64 message transform.",
            "observable": "Correlate the exact profile route/cookie/body combination when HTTP content is visible.",
            "variability": "Profiles are customizable; the stock IIS header, browser UA and routes do not identify every Covenant deployment.",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                "start": 32,
                "end": 59,
                "label": "Generated profile and envelope"
              },
              {
                "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
                "start": 5,
                "end": 31,
                "label": "Default HTTP profile"
              }
            ]
          },
          {
            "id": "key-exchange-and-in-memory-stage-load",
            "title": "Key exchange and in-memory stage load",
            "behavior": "The stager uses an AES-CBC setup key, HMAC-SHA256 and RSA material, validates response hashes and decrypts a session stage before Assembly.Load and reflection invocation.",
            "observable": "Managed assembly loads and source/runtime names complement profile traffic; encrypted fields are not plaintext wire signatures.",
            "variability": "Certificate validation and pinning are generated booleans. Do not assume every sample disables validation or uses the stock profile.",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                "start": 45,
                "end": 74,
                "label": "Setup crypto and certificate policy"
              },
              {
                "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                "start": 197,
                "end": 206,
                "label": "Authenticated stage load"
              }
            ]
          },
          {
            "id": "task-assemblies-and-callback-controls",
            "title": "Task assemblies and callback controls",
            "behavior": "Assembly tasks decode and decompress bytes, load a .NET assembly and invoke Task.Execute. The main loop applies configured delay/jitter and accepts SetDelay/SetJitter tasks.",
            "observable": "In-process managed execution can occur without a shell child. Callback cadence can change during a session.",
            "variability": "Individual task capabilities depend on the supplied assembly. No persistence feature is inferred merely from arbitrary task loading.",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                "start": 236,
                "end": 261,
                "label": "Assembly task execution"
              },
              {
                "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                "start": 90,
                "end": 116,
                "label": "Timing and remote controls"
              }
            ]
          },
          {
            "id": "powershell-launcher-defaults",
            "title": "PowerShell launcher defaults",
            "behavior": "The launcher defaults to -Sta -Nop -Window Hidden, stores a UTF-16LE Base64 EncodedCommand alternative, then constructs and returns a separate -Command launcher string.",
            "observable": "The complete argument cluster is a process-creation detection opportunity; it is directly covered by a Sigma community rule.",
            "variability": "Both -Command and -EncodedCommand forms are constructed. Parameters are configurable, and other launcher types differ.",
            "evidence": [
              {
                "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
                "start": 14,
                "end": 54,
                "label": "Launcher command construction"
              }
            ]
          },
          {
            "id": "deep-smb-stream-framing",
            "title": "Optional SMB Grunt pipe framing",
            "behavior": "SMBMessenger initializes a configured server/client pipe and passes messages through WriteBytes and ReadBytes. The server grants WorldSid full control, creates a byte-mode duplex pipe and waits for a connection. The client connects to Hostname/PipeName. Messages are compressed and prefixed with a four-byte big-endian length.",
            "observable": "Correlate process-owned pipe creation and remote SMB pipe access with the parent Grunt's network connection. Pipe names are configured. Compression and encrypted message bodies limit content matching.",
            "variability": "ReadBytes repeats prefix reads at offset zero and does not stop its loops on a zero-byte read. Fragmented or closed streams can affect framing and liveness. Static inspection does not demonstrate a successful peer session.",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                "start": 719,
                "end": 745,
                "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
              },
              {
                "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                "start": 775,
                "end": 815,
                "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
              }
            ]
          },
          {
            "id": "deep-tcp-bridge-profile",
            "title": "Optional TCP Bridge profile",
            "behavior": "The Bridge Grunt inserts profile-provided BridgeMessengerCode; TCPBridgeProfile supplies its TCP implementation. The profile connects to a configured IP:port, uses an unencrypted NetworkStream transport, prefixes messages with four-byte big-endian lengths and retries connection after a five-second delay on selected failures. Application-level Grunt encryption is a separate layer.",
            "observable": "Join CLR process ownership to a persistent configured TCP connection and length-framed profile records when content is available. Do not classify this profile as HTTPS from the Grunt family name.",
            "variability": "This is one optional profile. BridgeMessengerCode is replaceable. Prefix reads restart at offset zero, so partial prefixes can be misassembled; payload reads can consume beyond the declared boundary.",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs",
                "start": 570,
                "end": 570,
                "label": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs"
              },
              {
                "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                "start": 66,
                "end": 85,
                "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
              },
              {
                "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                "start": 112,
                "end": 172,
                "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "match-the-complete-stock-launcher-argument-cluster",
            "title": "Match the complete stock launcher argument cluster",
            "telemetry": "Windows process-creation command lines.",
            "logic": "Combine -Sta, -Nop, -Window and Hidden with either -Command or -EncodedCommand; inspect ancestry and destination.",
            "false_positives": "Administrators may use these flags; use the cluster as a technique signal, not sole attribution.",
            "blind_spots": "Custom parameters, alternate launchers and in-process startup evade this path.",
            "status": "untested",
            "evidence": [
              {
                "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
                "start": 14,
                "end": 54,
                "label": "Covenant/Models/Launchers/PowerShellLauncher.cs"
              }
            ]
          },
          {
            "id": "correlate-a-known-http-profile-with-managed-task-loading",
            "title": "Correlate a known HTTP profile with managed task loading",
            "telemetry": "HTTP content inspection and managed-runtime/EDR telemetry.",
            "logic": "Join the stock route/cookie/body combination with a .NET process loading task bytes and invoking Task.Execute.",
            "false_positives": "Profile defaults can be copied by benign tests; managed plugins are common.",
            "blind_spots": "Changed profiles, TLS visibility gaps and unavailable runtime telemetry weaken coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
                "start": 18,
                "end": 31,
                "label": "Covenant/Data/Profiles/DefaultHttpProfile.yaml"
              },
              {
                "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                "start": 242,
                "end": 261,
                "label": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs"
              }
            ]
          },
          {
            "id": "deep-smb-stream-framing",
            "title": "Optional SMB Grunt pipe framing",
            "telemetry": "Correlate process-owned pipe creation and remote SMB pipe access with the parent Grunt's network connection. Pipe names are configured. Compression and encrypted message bodies limit content matching.",
            "logic": "Untested detection hypothesis. The server grants WorldSid full control, creates a byte-mode duplex pipe and waits for a connection. The client connects to Hostname/PipeName. Messages are compressed and prefixed with a four-byte big-endian length. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Named-pipe services, management tools and distributed agents use these primitives.",
            "blind_spots": "Untested hypothesis. Local pipe activity may lack a network event; pipe ACLs and names alone are insufficient.",
            "status": "untested",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                "start": 719,
                "end": 745,
                "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
              },
              {
                "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                "start": 775,
                "end": 815,
                "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
              }
            ]
          },
          {
            "id": "deep-tcp-bridge-profile",
            "title": "Optional TCP Bridge profile",
            "telemetry": "Join CLR process ownership to a persistent configured TCP connection and length-framed profile records when content is available. Do not classify this profile as HTTPS from the Grunt family name.",
            "logic": "Untested detection hypothesis. The profile connects to a configured IP:port, uses an unencrypted NetworkStream transport, prefixes messages with four-byte big-endian lengths and retries connection after a five-second delay on selected failures. Application-level Grunt encryption is a separate layer. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Custom RPC and service protocols also use length-prefixed TCP.",
            "blind_spots": "Untested hypothesis. Other Bridge profiles can replace the transport; encrypted content and segmentation limit parsing.",
            "status": "untested",
            "evidence": [
              {
                "path": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs",
                "start": 570,
                "end": 570,
                "label": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs"
              },
              {
                "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                "start": 66,
                "end": 85,
                "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
              },
              {
                "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                "start": 112,
                "end": 172,
                "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "HTTPS / TLS",
            "Named-pipe peers",
            "TCP Bridge"
          ],
          "executionMethods": [
            ".NET assembly execution",
            "PowerShell EncodedCommand"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64",
            "AES / CBC",
            "HMAC-SHA256"
          ],
          "persistenceHints": [],
          "beaconFixed": true,
          "beaconJitter": true,
          "delayNotes": [
            "Generated delay and jitter percentage; both can be changed by tasks"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "launcher-return-contract",
              "api": "GetLauncher / EncodedLauncherString / LauncherString",
              "call_chain": "GenerateLauncher or GenerateHostedLauncher calls GetLauncher; GetLauncher constructs two strings and returns LauncherString.",
              "contract": "A C# return statement selects the returned value; assigning a second property does not change which launcher is returned.",
              "application": "GetLauncher stores the UTF-16LE Base64 form in EncodedLauncherString, then builds a -Command form in LauncherString and returns that plain-command form.",
              "uncertainty": "The caller/UI can choose the stored encoded alternative. Neither launcher is universal across Grunts; generation was not executed.",
              "telemetry": "Treat the encoded argument cluster as coverage for the encoded alternative; include the plain-command variant when investigating this launcher.",
              "references": [
                {
                  "title": "C# return statement reference",
                  "url": "https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/statements/jump-statements"
                }
              ],
              "evidence": [
                {
                  "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
                  "start": 34,
                  "end": 65,
                  "label": "GetLauncher / EncodedLauncherString / LauncherString call site"
                }
              ]
            },
            {
              "id": "managed-task-invocation",
              "api": "Assembly.Load / Task.Execute reflection",
              "call_chain": "Assembly task handling Base64-decodes, decompresses and loads bytes, then invokes Task.Execute; OutputStream selects an alternate output path.",
              "contract": "Assembly.Load(byte[]) loads a managed assembly into the process. Loading and method invocation are separate operations.",
              "application": "The Grunt explicitly looks up Task.Execute and invokes it. An OutputStream property changes the branch to a thread and anonymous-pipe path.",
              "uncertainty": "The task bytes and signatures determine what actually runs. This is not proof of any individual post-exploitation task or persistence technique.",
              "telemetry": "Managed load/engine telemetry can be relevant even when no shell child is created.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.reflection.assembly.load?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 242,
                  "end": 281,
                  "label": "Assembly.Load / Task.Execute reflection call site"
                }
              ]
            },
            {
              "id": "smb-stream-framing",
              "api": "Optional SMB Grunt pipe framing",
              "call_chain": "SMBMessenger initializes a configured server/client pipe and passes messages through WriteBytes and ReadBytes.",
              "contract": "PipeStream.Read returns a byte count. Consumers must retain partial data at the correct offset and handle stream termination.",
              "application": "The server grants WorldSid full control, creates a byte-mode duplex pipe and waits for a connection. The client connects to Hostname/PipeName. Messages are compressed and prefixed with a four-byte big-endian length.",
              "uncertainty": "ReadBytes repeats prefix reads at offset zero and does not stop its loops on a zero-byte read. Fragmented or closed streams can affect framing and liveness. Static inspection does not demonstrate a successful peer session.",
              "telemetry": "Correlate process-owned pipe creation and remote SMB pipe access with the parent Grunt's network connection. Pipe names are configured. Compression and encrypted message bodies limit content matching.",
              "references": [
                {
                  "title": "PipeStream.Read (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.io.pipes.pipestream.read?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 719,
                  "end": 745,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 775,
                  "end": 815,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                }
              ]
            },
            {
              "id": "tcp-bridge-profile",
              "api": "Optional TCP Bridge profile",
              "call_chain": "The Bridge Grunt inserts profile-provided BridgeMessengerCode; TCPBridgeProfile supplies its TCP implementation.",
              "contract": "TcpClient.GetStream exposes a TCP byte stream. Read and Write calls do not preserve application-message boundaries.",
              "application": "The profile connects to a configured IP:port, uses an unencrypted NetworkStream transport, prefixes messages with four-byte big-endian lengths and retries connection after a five-second delay on selected failures. Application-level Grunt encryption is a separate layer.",
              "uncertainty": "This is one optional profile. BridgeMessengerCode is replaceable. Prefix reads restart at offset zero, so partial prefixes can be misassembled; payload reads can consume beyond the declared boundary.",
              "telemetry": "Join CLR process ownership to a persistent configured TCP connection and length-framed profile records when content is available. Do not classify this profile as HTTPS from the Grunt family name.",
              "references": [
                {
                  "title": "NetworkStream.Read (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.networkstream.read?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs",
                  "start": 570,
                  "end": 570,
                  "label": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs"
                },
                {
                  "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                  "start": 66,
                  "end": 85,
                  "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
                },
                {
                  "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                  "start": 112,
                  "end": 172,
                  "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
                }
              ]
            },
            {
              "id": "optional-task-dependency-boundary",
              "api": "Optional task assemblies and dependency boundaries",
              "call_chain": "Task YAML defines C# Task.Execute wrappers, options and reference-source libraries for selected optional tasks.",
              "contract": "The Grunt invokes a loaded task's Execute method by reflection. API behavior inside a referenced third-party implementation needs separate source evidence.",
              "application": "PersistStartup calls SharpSploit.Persistence.Startup.InstallStartup. Its YAML declares a SharpSploit reference-source library. The wrapper checks the library's returned bool and formats success or exception text.",
              "uncertainty": "The pinned parent tree represents SharpSploit and other reference libraries as external Git entries. Their implementation is outside the parent-blob review. Wrapper names do not establish the native APIs, artifacts or efficacy of every GhostPack/SharpSploit task.",
              "telemetry": "Use task names and library references as investigation leads. Select concrete endpoint detection only after inspecting the referenced implementation or observing corresponding artifacts.",
              "references": [
                {
                  "title": "MethodBase.Invoke (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.reflection.methodbase.invoke?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml",
                  "start": 17,
                  "end": 38,
                  "label": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml"
                },
                {
                  "path": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml",
                  "start": 57,
                  "end": 64,
                  "label": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 230,
                  "end": 255,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "SMB and TCP Bridge profiles",
              "activation": "SMBMessenger initializes a configured server/client pipe and passes messages through WriteBytes and ReadBytes.",
              "status": "reviewed",
              "detail": "Optional transport framing, peer establishment and retry behavior.",
              "finding_ids": [
                "smb-stream-framing",
                "tcp-bridge-profile"
              ],
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 719,
                  "end": 745,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 775,
                  "end": 815,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs",
                  "start": 570,
                  "end": 570,
                  "label": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs"
                },
                {
                  "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                  "start": 66,
                  "end": 85,
                  "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
                },
                {
                  "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                  "start": 112,
                  "end": 172,
                  "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
                }
              ]
            },
            {
              "module": "SharpSploit / GhostPack task dependencies",
              "activation": "Task YAML defines C# Task.Execute wrappers, options and reference-source libraries for selected optional tasks.",
              "status": "dependency-boundary",
              "detail": "Task wrappers and reference-source declarations were inspected. External Git entries and reference assemblies were not initialized or loaded.",
              "finding_ids": [
                "optional-task-dependency-boundary"
              ],
              "evidence": [
                {
                  "path": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml",
                  "start": 17,
                  "end": 38,
                  "label": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml"
                },
                {
                  "path": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml",
                  "start": 57,
                  "end": 64,
                  "label": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 230,
                  "end": 255,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                }
              ]
            },
            {
              "module": "Brute and remaining built-in tasks",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "Brute configuration and registration were read; parent task catalogs were inventoried. Remaining built-in task bodies, launchers and every profile have not received a complete individual contract audit.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/Brute/Brute.cs",
                  "start": 18,
                  "end": 81,
                  "label": "Covenant/Data/Grunt/Brute/Brute.cs"
                },
                {
                  "path": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml",
                  "start": 57,
                  "end": 64,
                  "label": "Covenant/Data/Tasks/SharpSploit.Persistence.yaml"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "trellix-covenant-grunt",
              "title": "APT28’s Stealthy Multi-Stage Campaign Leveraging CVE-2026-21509 and Cloud C2 Infrastructure",
              "publisher": "Trellix",
              "url": "https://www.trellix.com/blogs/research/apt28-stealthy-campaign-leveraging-cve-2026-21509-cloud-c2/",
              "published": "2026-02-04",
              "incident_date": "Late January 2026 campaign; report updated February 9",
              "attribution": "APT28 / UAC-0001, attributed by Trellix",
              "summary": "Trellix describes a modified Covenant Grunt reached through a multi-stage Office exploit and loader chain, using Filen cloud storage for task exchange.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "filen-tasking",
                  "title": "A modified Grunt exchanged task files through Filen",
                  "detail": "The analyzed implant polled cloud folders, downloaded encrypted tasks and uploaded encrypted results through a replacement Filen transport.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Post-exploitation payloads: CovenantGrunt with cloud-based C2"
                },
                {
                  "id": "managed-execution",
                  "title": "The task runtime loaded assemblies and hosted PowerShell",
                  "detail": "Trellix describes GruntExecutor support for .NET assemblies, PowerShell and output streaming. This describes the analyzed variant; individual task executions require incident evidence.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Post-exploitation payloads: CovenantGrunt with cloud-based C2"
                },
                {
                  "id": "office-loader",
                  "title": "An Office exploit and steganographic loader delivered the implant",
                  "detail": "The reported chain used CVE-2026-21509 and loader stages preceding CovenantGrunt. NotDoor was a parallel Outlook backdoor.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Introduction; loader analysis; NotDoor Outlook backdoor variant"
                }
              ]
            },
            {
              "id": "sekoia-phantom-net-voxel",
              "title": "APT28 Operation Phantom Net Voxel: BeardShell & Covenant",
              "publisher": "Sekoia TDR",
              "url": "https://www.sekoia.com/blog/apt28-operation-phantom-net-voxel",
              "published": "2025-09-16",
              "incident_date": "Samples and activity investigated in 2025; private report distributed August 12, 2025",
              "attribution": "APT28, attributed by Sekoia and CERT-UA",
              "summary": "Sekoia analyzed a customized Covenant Grunt reached through Office lures and PNG steganography, with Koofr used for task exchange.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "koofr-bridge",
                  "title": "A custom bridge used Koofr files for tasking",
                  "detail": "The analyzed Grunt exchanged encrypted tasks and results through cloud folders. This differs from the stock DefaultHttpProfile.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Covenant & Koofr interactions: Steps 1–3"
                },
                {
                  "id": "sandbox-task-results",
                  "title": "Researchers saw screenshots and reconnaissance tasks",
                  "detail": "In the researchers’ sandbox, tasks collected a screenshot, ARP and IP information, route traces and process information, then uploaded results.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Covenant & Koofr interactions: Step 3"
                },
                {
                  "id": "signal-office-chain",
                  "title": "Office lures preceded the Grunt stager",
                  "detail": "The reported chain used private Signal messages, malicious Office macros, COM hijacking and shellcode embedded in a PNG.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Infection chain overview"
                }
              ]
            }
          ],
          "sandboxes": [
            {
              "id": "vt-delivery-document",
              "provider": "VirusTotal",
              "url": "https://www.virustotal.com/gui/file/969d2776df0674a1cca0f74c2fccbc43802b4f2b62ecccecc26ed538e9565eae",
              "sha256": "969d2776df0674a1cca0f74c2fccbc43802b4f2b62ecccecc26ed538e9565eae",
              "title": "1301.doc — reported delivery-document pivot",
              "role": "Delivery document listed in Trellix's CovenantGrunt campaign report.",
              "provenance": "https://www.trellix.com/blogs/research/apt28-stealthy-campaign-leveraging-cve-2026-21509-cloud-c2/",
              "report_ids": [
                "trellix-covenant-grunt"
              ]
            }
          ]
        }
      },
      "rules": [
        {
          "framework": "covenant",
          "id": "c260b6db-48ba-4b4a-a76f-2f67644e99d2",
          "title": "HackTool - Covenant PowerShell Launcher",
          "status": "test",
          "coverage": "framework-specific",
          "collection": "SigmaHQ/sigma",
          "path": "rules/windows/process_creation/proc_creation_win_hktl_covenant.yml",
          "url": "https://github.com/SigmaHQ/sigma/blob/05d1031f537e830b76da53bae2400c5814c89165/rules/windows/process_creation/proc_creation_win_hktl_covenant.yml#L1-L35",
          "browse_url": "https://sigma.nasbench.dev/rules/c260b6db-48ba-4b4a-a76f-2f67644e99d2",
          "telemetry": "windows / process_creation",
          "match": "The first selection matches -Sta -Nop -Window Hidden with either -Command or -EncodedCommand, covering the returned plain-command form and the stored encoded alternative.",
          "caveat": "Covers this PowerShell launcher, not every Grunt. Other rule selections are not asserted here. GetLauncher returns the -Command string.",
          "evidence": [
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 14,
              "end": 54,
              "label": "Encoded and plain-command launcher construction"
            }
          ],
          "kind": "Sigma",
          "commit": "05d1031f537e830b76da53bae2400c5814c89165"
        },
        {
          "framework": "covenant",
          "id": "et-open-suricata-2027792",
          "title": "ET MALWARE Covenant Framework Default HTTP Beacon",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Suricata decoded HTTP or client TCP payload",
          "match": "Matches the default POST URI prefix /en-us/ and the ordered form fields i=, &data= and &session= in the reviewed HTTP profile.",
          "caveat": "Default profile only. Requires HTTP request-body visibility, plaintext or TLS decryption, and the configured home/external network direction. Snort also limits this rule to $HTTP_PORTS. Custom cloud transports and changed profiles are outside this match. The raw header/body-boundary predicate is sensitive to message presentation. Untested against traffic.",
          "evidence": [
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 18,
              "end": 28,
              "label": "Default URI and POST form"
            },
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 106,
              "end": 117,
              "label": "Stager sends the profile POST"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "400f80e8861d7b17ce319463caa9a1c44d6e8ed99abf20d07eb208c449bd2a53",
          "rule_text": "alert http $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Covenant Framework Default HTTP Beacon\"; flow:established,to_server; threshold: type limit, count 1, seconds 60, track by_src; content:\"|0d 0a 0d 0a|i=\"; fast_pattern; http.method; content:\"POST\"; http.uri; content:\"/en-us/\"; startswith; http.request_body; content:\"i=\"; startswith; content:\"&data=\"; distance:0; content:\"&session=\"; distance:0; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027792; rev:3; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2024_04_13, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
          "sid": 2027792,
          "revision": 3,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-suricata-2027793",
          "title": "ET MALWARE Covenant Framework HTTP Beacon",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Suricata decoded HTTP or client TCP payload",
          "match": "Targets the Base64-encoded JSON GUID prefix and a Type-field encoding in a POST body. The reviewed stager formats GUID and Type before transforming the JSON with the default Base64 transform.",
          "caveat": "Requires the matching Base64 message transform and POST body visibility, plaintext or TLS decryption. Profiles can replace the transform or envelope. Snort also requires a configured $HTTP_PORTS port. An alert does not prove attribution. Untested against traffic.",
          "evidence": [
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 43,
              "end": 59,
              "label": "GUID and Type message envelope"
            },
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 75,
              "end": 75,
              "label": "Transform the message"
            },
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 7,
              "end": 16,
              "label": "Default Base64 transform"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "b53a8f9b907e2d3ed3c9f1ba3e0dde23108bf9c8bc07fe44f700f2efcf813586",
          "rule_text": "alert http $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Covenant Framework HTTP Beacon\"; flow:established,to_server; threshold: type limit, count 1, seconds 60, track by_src; http.method; content:\"POST\"; http.request_body; content:\"=eyJHVUlEIjoi\"; fast_pattern; pcre:\"/^.+(IlR5cGUiO|JUeXBlIj|iVHlwZSI6)/R\"; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027793; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2020_08_31, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
          "sid": 2027793,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-suricata-2027794",
          "title": "ET MALWARE Covenant Framework HTTP Hello World Server Response",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Suricata decoded HTTP or client TCP payload",
          "match": "Targets Hello World! followed by the Base64 GUID JSON prefix in an HTTP response. The reviewed default GET and POST response templates wrap transformed data in that text.",
          "caveat": "Default response template only, with a GUID-first message and Base64 transform. Requires visible/decrypted HTTP response content. Snort also requires server source ports in $HTTP_PORTS. Renamed wrappers, proxies or custom cloud transports can prevent matching. Untested against traffic.",
          "evidence": [
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 7,
              "end": 16,
              "label": "Default transform"
            },
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 32,
              "end": 51,
              "label": "Response wrappers"
            },
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 43,
              "end": 46,
              "label": "GUID-first message format"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "a9dec10a4d98bfa6e96e76f7aa065166565d1c3e9ef2f91385edec1ea2bd0b81",
          "rule_text": "alert http $EXTERNAL_NET any -> $HOME_NET any (msg:\"ET MALWARE Covenant Framework HTTP Hello World Server Response\"; flow:established,to_client; file.data; content:\"Hello World! eyJHVUlEIjoi\"; fast_pattern; threshold: type limit, count 1, seconds 60, track by_dst; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027794; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_14;)",
          "sid": 2027794,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-snort-2027792",
          "title": "ET TROJAN Covenant Framework Default HTTP Beacon",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
          "match": "Matches the default POST URI prefix /en-us/ and the ordered form fields i=, &data= and &session= in the reviewed HTTP profile.",
          "caveat": "Default profile only. Requires HTTP request-body visibility, plaintext or TLS decryption, and the configured home/external network direction. Snort also limits this rule to $HTTP_PORTS. Custom cloud transports and changed profiles are outside this match. The raw header/body-boundary predicate is sensitive to message presentation. Untested against traffic.",
          "evidence": [
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 18,
              "end": 28,
              "label": "Default URI and POST form"
            },
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 106,
              "end": 117,
              "label": "Stager sends the profile POST"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "8d994234d3de25e5924e4e67797e489b041f92e9c45aec2fbb84c9589a3d551e",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:\"ET TROJAN Covenant Framework Default HTTP Beacon\"; flow:established,to_server; content:\"POST\"; http_method; content:\"/en-us/\"; http_uri; depth:7; content:\"|0d 0a 0d 0a|i=\"; fast_pattern; content:\"i=\"; http_client_body; depth:2; content:\"&data=\"; http_client_body; distance:0; content:\"&session=\"; http_client_body; distance:0; threshold: type limit, count 1, seconds 60, track by_src; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027792; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2019_08_04, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
          "sid": 2027792,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-snort-2027793",
          "title": "ET TROJAN Covenant Framework HTTP Beacon",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
          "match": "Targets the Base64-encoded JSON GUID prefix and a Type-field encoding in a POST body. The reviewed stager formats GUID and Type before transforming the JSON with the default Base64 transform.",
          "caveat": "Requires the matching Base64 message transform and POST body visibility, plaintext or TLS decryption. Profiles can replace the transform or envelope. Snort also requires a configured $HTTP_PORTS port. An alert does not prove attribution. Untested against traffic.",
          "evidence": [
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 43,
              "end": 59,
              "label": "GUID and Type message envelope"
            },
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 75,
              "end": 75,
              "label": "Transform the message"
            },
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 7,
              "end": 16,
              "label": "Default Base64 transform"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "f8bf93eb40d87c3c3528d6b5c04129569c0e6ff07ff55d2c8fec7edaef349496",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET $HTTP_PORTS (msg:\"ET TROJAN Covenant Framework HTTP Beacon\"; flow:established,to_server; content:\"POST\"; http_method; content:\"=eyJHVUlEIjoi\"; http_client_body; fast_pattern; pcre:\"/eyJHVUlEIjoi.+(IlR5cGUiO|JUeXBlIj|iVHlwZSI6)/Psm\"; threshold: type limit, count 1, seconds 60, track by_src; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027793; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag c2, updated_at 2019_08_04, mitre_tactic_id TA0010, mitre_tactic_name Exfiltration, mitre_technique_id T1041, mitre_technique_name Exfiltration_Over_C2_Channel;)",
          "sid": 2027793,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-snort-2027794",
          "title": "ET TROJAN Covenant Framework HTTP Hello World Server Response",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
          "match": "Targets Hello World! followed by the Base64 GUID JSON prefix in an HTTP response. The reviewed default GET and POST response templates wrap transformed data in that text.",
          "caveat": "Default response template only, with a GUID-first message and Base64 transform. Requires visible/decrypted HTTP response content. Snort also requires server source ports in $HTTP_PORTS. Renamed wrappers, proxies or custom cloud transports can prevent matching. Untested against traffic.",
          "evidence": [
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 7,
              "end": 16,
              "label": "Default transform"
            },
            {
              "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
              "start": 32,
              "end": 51,
              "label": "Response wrappers"
            },
            {
              "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
              "start": 43,
              "end": 46,
              "label": "GUID-first message format"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "f3251f1a5363efe82ed1693b42460ef52f60f671c7a498b86bfbc8e8e2941e10",
          "rule_text": "alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:\"ET TROJAN Covenant Framework HTTP Hello World Server Response\"; flow:established,to_client; file_data; content:\"Hello World! eyJHVUlEIjoi\"; fast_pattern:6,19; threshold: type limit, count 1, seconds 60, track by_dst; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027794; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence High, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_08_04;)",
          "sid": 2027794,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-suricata-2027797",
          "title": "ET MALWARE Possible Covenant Framework Grunt PowerShell Stager HTTP Download",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Decoded HTTP response body containing a PowerShell launcher",
          "match": "All ordered script strings occur in the reviewed PowerShell launcher template: Deflate decompression, .Value.Write, Reflection.Assembly Load, EntryPoint.Invoke and Out-Null. The hosted-launcher path retrieves a script over HTTP.",
          "caveat": "Conditional staging coverage when an HTTP response serves the unmodified launcher script. It does not identify an encrypted command line, a stock Grunt beacon or arbitrary PowerShell traffic. Requires visible/decrypted response content; the Snort feed also requires the server port in $HTTP_PORTS. No hosting or execution was performed.",
          "evidence": [
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 34,
              "end": 39,
              "label": "Launcher template receives the encoded assembly"
            },
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 57,
              "end": 65,
              "label": "Hosted launcher retrieves a script"
            },
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 70,
              "end": 71,
              "label": "Complete ordered PowerShell template strings"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "0978a03f695313b41a2a554cee56e258c4c32d7bb92019559f7e9163bef07506",
          "rule_text": "alert http $EXTERNAL_NET any -> $HOME_NET any (msg:\"ET MALWARE Possible Covenant Framework Grunt PowerShell Stager HTTP Download\"; flow:established,to_client; file.data; content:\"IO.Compression.CompressionMode]|3a 3a|Decompress\"; content:\".Value.Write(\"; distance:0; content:\"Reflection.Assembly]|3a 3a|Load(\"; fast_pattern; distance:0; content:\".EntryPoint.Invoke(\"; distance:0; content:\"Out-Null\"; distance:0; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027797; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_14;)",
          "sid": 2027797,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "covenant",
          "id": "et-open-snort-2027797",
          "title": "ET TROJAN Possible Covenant Framework Grunt PowerShell Stager HTTP Download",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Decoded HTTP response body containing a PowerShell launcher",
          "match": "All ordered script strings occur in the reviewed PowerShell launcher template: Deflate decompression, .Value.Write, Reflection.Assembly Load, EntryPoint.Invoke and Out-Null. The hosted-launcher path retrieves a script over HTTP.",
          "caveat": "Conditional staging coverage when an HTTP response serves the unmodified launcher script. It does not identify an encrypted command line, a stock Grunt beacon or arbitrary PowerShell traffic. Requires visible/decrypted response content; the Snort feed also requires the server port in $HTTP_PORTS. No hosting or execution was performed.",
          "evidence": [
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 34,
              "end": 39,
              "label": "Launcher template receives the encoded assembly"
            },
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 57,
              "end": 65,
              "label": "Hosted launcher retrieves a script"
            },
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 70,
              "end": 71,
              "label": "Complete ordered PowerShell template strings"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "40470a29ce114c0dd178a979f7e2bbc9931f72431a1a00c7fa7a90f320d76edf",
          "rule_text": "alert tcp $EXTERNAL_NET $HTTP_PORTS -> $HOME_NET any (msg:\"ET TROJAN Possible Covenant Framework Grunt PowerShell Stager HTTP Download\"; flow:established,to_client; file_data; content:\"IO.Compression.CompressionMode]|3a 3a|Decompress\"; content:\".Value.Write(\"; distance:0; content:\"Reflection.Assembly]|3a 3a|Load(\"; fast_pattern; distance:0; content:\".EntryPoint.Invoke(\"; distance:0; content:\"Out-Null\"; distance:0; reference:url,github.com/cobbr/Covenant; reference:url,posts.specterops.io/entering-a-covenant-net-command-and-control-e11038bcf462; classtype:trojan-activity; sid:2027797; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2019_08_04, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2019_08_04;)",
          "sid": 2027797,
          "revision": 2,
          "gid": 1
        }
      ],
      "techniques": [
        {
          "framework": "covenant",
          "feature": "powershell-launcher-defaults",
          "reviewed_commit": "5decc3ccfab04e6e881ed00c9de649740dac8ad1",
          "rationale": "The stock launcher generates a PowerShell command line containing an encoded stager.",
          "technique": {
            "id": "T1059.001",
            "name": "PowerShell",
            "url": "https://attack.mitre.org/techniques/T1059/001",
            "version": "1.6",
            "stix_id": "attack-pattern--970a3432-3237-47ad-bcca-7d8cbb217736"
          },
          "evidence": [
            {
              "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
              "start": 14,
              "end": 47,
              "label": "Launcher command construction"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "profile-controlled-staging-and-messages",
              "title": "Profile-controlled staging and messages",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 32,
                  "end": 59,
                  "label": "Generated profile and envelope"
                },
                {
                  "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
                  "start": 5,
                  "end": 31,
                  "label": "Default HTTP profile"
                }
              ]
            }
          ]
        },
        {
          "id": "https",
          "field": "protocols",
          "label": "HTTPS",
          "description": "HTTP over TLS in the reviewed tasking path.",
          "features": [
            {
              "id": "profile-controlled-staging-and-messages",
              "title": "Profile-controlled staging and messages",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 32,
                  "end": 59,
                  "label": "Generated profile and envelope"
                },
                {
                  "path": "Covenant/Data/Profiles/DefaultHttpProfile.yaml",
                  "start": 5,
                  "end": 31,
                  "label": "Default HTTP profile"
                }
              ]
            }
          ]
        },
        {
          "id": "named-pipe-peer",
          "field": "protocols",
          "label": "Named-Pipe Peer Channel",
          "description": "Named pipes carry peer messages. Remote-host pipe access uses SMB; local pipe use needs endpoint visibility.",
          "features": [
            {
              "id": "deep-smb-stream-framing",
              "title": "Optional SMB Grunt pipe framing",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 719,
                  "end": 745,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs",
                  "start": 775,
                  "end": 815,
                  "label": "Covenant/Data/Grunt/GruntSMB/GruntSMB.cs"
                }
              ]
            }
          ]
        },
        {
          "id": "tcp-bridge",
          "field": "protocols",
          "label": "TCP Bridge Channel",
          "description": "The selected Bridge profile carries framed messages over TCP. It is replaceable profile code.",
          "features": [
            {
              "id": "deep-tcp-bridge-profile",
              "title": "Optional TCP Bridge profile",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs",
                  "start": 570,
                  "end": 570,
                  "label": "Covenant/Data/Grunt/GruntBridge/GruntBridge.cs"
                },
                {
                  "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                  "start": 66,
                  "end": 85,
                  "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
                },
                {
                  "path": "Covenant/Data/Profiles/TCPBridgeProfile.yaml",
                  "start": 112,
                  "end": 172,
                  "label": "Covenant/Data/Profiles/TCPBridgeProfile.yaml"
                }
              ]
            }
          ]
        },
        {
          "id": "dotnet-assembly",
          "field": "executionMethods",
          "label": ".NET Assembly Execution",
          "description": "The code loads or invokes a managed assembly.",
          "features": [
            {
              "id": "task-assemblies-and-callback-controls",
              "title": "Task assemblies and callback controls",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 236,
                  "end": 261,
                  "label": "Assembly task execution"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs",
                  "start": 90,
                  "end": 116,
                  "label": "Timing and remote controls"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-encoded",
          "field": "executionMethods",
          "label": "PowerShell Encoded Command",
          "description": "The reviewed launcher or task path supplies an encoded PowerShell command.",
          "features": [
            {
              "id": "powershell-launcher-defaults",
              "title": "PowerShell launcher defaults",
              "evidence": [
                {
                  "path": "Covenant/Models/Launchers/PowerShellLauncher.cs",
                  "start": 14,
                  "end": 54,
                  "label": "Launcher command construction"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "key-exchange-and-in-memory-stage-load",
              "title": "Key exchange and in-memory stage load",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 45,
                  "end": 74,
                  "label": "Setup crypto and certificate policy"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 197,
                  "end": 206,
                  "label": "Authenticated stage load"
                }
              ]
            }
          ]
        },
        {
          "id": "aes-cbc",
          "field": "encodingTechniques",
          "label": "AES-CBC",
          "description": "AES in CBC mode.",
          "features": [
            {
              "id": "key-exchange-and-in-memory-stage-load",
              "title": "Key exchange and in-memory stage load",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 45,
                  "end": 74,
                  "label": "Setup crypto and certificate policy"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 197,
                  "end": 206,
                  "label": "Authenticated stage load"
                }
              ]
            }
          ]
        },
        {
          "id": "hmac-sha256",
          "field": "encodingTechniques",
          "label": "HMAC-SHA256",
          "description": "A SHA-256 HMAC authenticates reviewed data.",
          "features": [
            {
              "id": "key-exchange-and-in-memory-stage-load",
              "title": "Key exchange and in-memory stage load",
              "evidence": [
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 45,
                  "end": 74,
                  "label": "Setup crypto and certificate policy"
                },
                {
                  "path": "Covenant/Data/Grunt/GruntHTTP/GruntHTTPStager.cs",
                  "start": 197,
                  "end": 206,
                  "label": "Authenticated stage load"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-request",
          "typeLabel": "HTTP request",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Profile-controlled staging and messages",
          "indicator": "/en-us/index.html; /en-us/docs.html; /en-us/test.html",
          "reference": "Profile-controlled staging and messages",
          "anchor": "profile-controlled-staging-and-messages",
          "os": "windows",
          "source": "https://github.com/cobbr/Covenant/blob/5decc3ccfab04e6e881ed00c9de649740dac8ad1/Covenant/Data/Profiles/DefaultHttpProfile.yaml#L18-L26",
          "confidence": "source-confirmed",
          "mutability": "default profile/configurable",
          "visibility": "HTTP URI",
          "caveat": "Match with the profile cookies/body; not universal Covenant endpoints."
        },
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Profile-controlled staging and messages",
          "indicator": "Cookie: ASPSESSIONID=<GUID>; SESSIONID=1552332971750",
          "reference": "Profile-controlled staging and messages",
          "anchor": "profile-controlled-staging-and-messages",
          "os": "windows",
          "source": "https://github.com/cobbr/Covenant/blob/5decc3ccfab04e6e881ed00c9de649740dac8ad1/Covenant/Data/Profiles/DefaultHttpProfile.yaml#L22-L28",
          "confidence": "source-confirmed",
          "mutability": "default profile/configurable",
          "visibility": "HTTP headers",
          "caveat": "Common cookie names; value/traffic context matters."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "PowerShell launcher defaults",
          "indicator": "powershell -Sta -Nop -Window Hidden -EncodedCommand <UTF-16LE Base64>",
          "reference": "PowerShell launcher defaults",
          "anchor": "powershell-launcher-defaults",
          "os": "windows",
          "source": "https://github.com/cobbr/Covenant/blob/5decc3ccfab04e6e881ed00c9de649740dac8ad1/Covenant/Models/Launchers/PowerShellLauncher.cs#L14-L47",
          "confidence": "source-confirmed",
          "mutability": "launcher default/configurable",
          "visibility": "Endpoint command line",
          "caveat": "Stored encoded alternative; GetLauncher returns a separate -Command form. Neither form covers all Grunts."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Task assemblies and callback controls",
          "indicator": "Assembly.Load(decompressedBytes) → Task.Execute via reflection",
          "reference": "Task assemblies and callback controls",
          "anchor": "task-assemblies-and-callback-controls",
          "os": "windows",
          "source": "https://github.com/cobbr/Covenant/blob/5decc3ccfab04e6e881ed00c9de649740dac8ad1/Covenant/Data/Grunt/GruntHTTP/GruntHTTP.cs#L242-L261",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Managed runtime / source",
          "caveat": "Generic plugin behavior alone is not attribution."
        }
      ]
    },
    {
      "slug": "darkfinger-c2",
      "title": "DarkFinger-C2",
      "relativePath": "frameworks/DarkFinger-C2/README.md",
      "upstream_repo": "https://github.com/hyp3rlinx/DarkFinger-C2",
      "implementation": "Batch, Python",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "7e1ba7c57c918b7a589f4afc01f7079ad06337ab",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/DarkFinger-C2/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "7e1ba7c57c918b7a589f4afc01f7079ad06337ab",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "operator",
              "label": "Batch menu",
              "role": "Selected transfer / recon",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            },
            {
              "id": "finger",
              "label": "Windows Finger client",
              "role": "TCP queries / file decode",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            },
            {
              "id": "server",
              "label": "Python TCP server",
              "role": "File selection / exfil output",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 157,
                  "end": 175,
                  "label": "Reconnaissance exfiltration"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Exfiltration handler"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "operator",
              "to": "finger",
              "label": "Choose transfer or reconnaissance",
              "detail": "The menu branches construct Finger requests or enumerate local data.",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            },
            {
              "from": "finger",
              "to": "server",
              "label": "Send query and exfiltration text",
              "detail": "Dot-prefixed requests carry reconnaissance; ps/nc requests select encoded files.",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 157,
                  "end": 175,
                  "label": "Reconnaissance exfiltration"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Exfiltration handler"
                }
              ]
            },
            {
              "from": "server",
              "to": "finger",
              "label": "Return Base64 file data",
              "detail": "The batch client cleans the response and reconstructs an executable.",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "finger-based-tool-transfer",
            "title": "Finger-based tool transfer",
            "behavior": "The batch agent requests ps or nc data through finger, strips Finger response header lines, reconstructs an executable with certutil and deletes intermediate text files.",
            "observable": "finger.exe near certutil -decode, tmp.txt and PS.EXE/NC.EXE is a useful sequence.",
            "variability": "Tool paths are current-directory artifacts. Base64 encodes the transferred file; it is not channel encryption.",
            "evidence": [
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 116,
                "end": 154,
                "label": "Download and reconstruction"
              },
              {
                "path": "DarkFinger-C2.py",
                "start": 154,
                "end": 169,
                "label": "Server command selection"
              }
            ]
          },
          {
            "id": "reconnaissance-in-finger-query-text",
            "title": "Reconnaissance in Finger query text",
            "behavior": "Menu actions enumerate tasklist or ipconfig /all and send each output token/line in dot-prefixed Finger queries. The Python handler prints dot-prefixed data as exfiltration.",
            "observable": "Correlate tasklist/ipconfig processes with repeated finger.exe children carrying dot-prefixed arguments.",
            "variability": "These actions are operator-selected; this is not a periodic beacon or a generic command interpreter.",
            "evidence": [
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 157,
                "end": 175,
                "label": "Reconnaissance exfiltration"
              },
              {
                "path": "DarkFinger-C2.py",
                "start": 154,
                "end": 169,
                "label": "Exfiltration handler"
              }
            ]
          },
          {
            "id": "listener-and-portproxy-configuration",
            "title": "Listener and portproxy configuration",
            "behavior": "The server accepts TCP requests, can change its listener port on a !port! message and serves encoded files. Batch logic uses netsh portproxy and removes PortProxy registry state.",
            "observable": "Monitor netsh interface portproxy add v4tov4 and changes beneath Services/PortProxy/v4tov4 alongside Finger traffic.",
            "variability": "Port 79 is the default; alternate ports and forwarding depend on configuration and privileges. The forwarding route depends on the selected branch.",
            "evidence": [
              {
                "path": "DarkFinger-C2.py",
                "start": 172,
                "end": 225,
                "label": "Listener and request processing"
              },
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 193,
                "end": 210,
                "label": "Portproxy branch"
              }
            ]
          },
          {
            "id": "deep-download-reconstruction-and-proxy",
            "title": "Optional Finger download reconstruction and port proxy",
            "behavior": "Menu choices select ps/nc downloads, reconstruction, exfiltration or port-proxy configuration. The batch agent writes Finger responses to tmp.txt, removes two heading lines, decodes PS.txt or NC.txt into an EXE and deletes intermediate text. Tasklist and ipconfig send individual dot-prefixed Finger queries. Admin branches alter v4tov4 port-proxy settings.",
            "observable": "Correlate finger.exe with redirected text creation, certutil decoding and EXE writes on the desktop. Add netsh and PortProxy registry activity when that branch is selected.",
            "variability": "The shown download branch reconstructs files; it does not automatically run PsExec or Netcat. The configured ten-second wait is an attempted transfer allowance, without file-integrity validation.",
            "evidence": [
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 116,
                "end": 174,
                "label": "DarkFinger-C2-Agent.bat"
              },
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 185,
                "end": 200,
                "label": "DarkFinger-C2-Agent.bat"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "correlate-finger-download-and-certutil-reconstruction",
            "title": "Correlate Finger download and certutil reconstruction",
            "telemetry": "Windows process ancestry, command lines and file creation.",
            "logic": "Join finger.exe tool requests with tmp.txt/PS.txt/NC.txt and certutil decoding into PS.EXE/NC.EXE.",
            "false_positives": "Finger and certutil each have legitimate uses; the sequence and peer matter.",
            "blind_spots": "File/port names can be changed; task-specific activity may be brief.",
            "status": "untested",
            "evidence": [
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 116,
                "end": 154,
                "label": "DarkFinger-C2-Agent.bat"
              }
            ]
          },
          {
            "id": "detect-reconnaissance-carried-in-repeated-finger-invocations",
            "title": "Detect reconnaissance carried in repeated Finger invocations",
            "telemetry": "Endpoint command lines and TCP flow metadata.",
            "logic": "Look for tasklist/ipconfig followed by many Finger requests to one selected peer, optionally with new portproxy state.",
            "false_positives": "Administrative reachability tests and forwarding rules exist; require the query shape and process chain.",
            "blind_spots": "No HTTP metadata is available; changed wrappers and proxying can obscure the original peer.",
            "status": "untested",
            "evidence": [
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 157,
                "end": 175,
                "label": "DarkFinger-C2-Agent.bat"
              },
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 193,
                "end": 210,
                "label": "DarkFinger-C2-Agent.bat"
              }
            ]
          },
          {
            "id": "deep-download-reconstruction-and-proxy",
            "title": "Optional Finger download reconstruction and port proxy",
            "telemetry": "Correlate finger.exe with redirected text creation, certutil decoding and EXE writes on the desktop. Add netsh and PortProxy registry activity when that branch is selected.",
            "logic": "Untested detection hypothesis. The batch agent writes Finger responses to tmp.txt, removes two heading lines, decodes PS.txt or NC.txt into an EXE and deletes intermediate text. Tasklist and ipconfig send individual dot-prefixed Finger queries. Admin branches alter v4tov4 port-proxy settings. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Administration can use certutil and portproxy; Finger use and the reconstruction sequence provide context.",
            "blind_spots": "Untested hypothesis. Download names, delays and ports are editable; a decoded file is insufficient evidence of execution.",
            "status": "untested",
            "evidence": [
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 116,
                "end": 174,
                "label": "DarkFinger-C2-Agent.bat"
              },
              {
                "path": "DarkFinger-C2-Agent.bat",
                "start": 185,
                "end": 200,
                "label": "DarkFinger-C2-Agent.bat"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "Finger / TCP"
          ],
          "executionMethods": [
            "Windows command shell"
          ],
          "lolbins": [
            "finger.exe",
            "certutil.exe",
            "netsh.exe"
          ],
          "encodingTechniques": [
            "Base64"
          ],
          "persistenceHints": [],
          "beaconFixed": false,
          "beaconJitter": false,
          "delayNotes": []
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "finger-to-file-decoding",
              "api": "finger / certutil -decode",
              "call_chain": "Menu choices fetch a textual payload with finger, strip initial lines and pass the saved text to certutil.",
              "contract": "certutil -decode converts encoded input into a file; decoding does not execute the reconstructed executable.",
              "application": "The batch path reconstructs PS.EXE or NC.EXE from a text response and deletes temporary text files before returning to the menu.",
              "uncertainty": "The presence of a decoded tool does not establish its launch, successful reconstruction, or functionality of that separate binary.",
              "telemetry": "Look for finger network use followed by text-file transformations and certutil file output, with actual endpoint/process context.",
              "references": [
                {
                  "title": "certutil (Windows)",
                  "url": "https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil"
                }
              ],
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 155,
                  "label": "finger / certutil -decode call site"
                }
              ]
            },
            {
              "id": "download-reconstruction-and-proxy",
              "api": "Optional Finger download reconstruction and port proxy",
              "call_chain": "Menu choices select ps/nc downloads, reconstruction, exfiltration or port-proxy configuration.",
              "contract": "certutil -decode decodes a Base64 file. A configured netsh portproxy forwards TCP between the specified endpoints.",
              "application": "The batch agent writes Finger responses to tmp.txt, removes two heading lines, decodes PS.txt or NC.txt into an EXE and deletes intermediate text. Tasklist and ipconfig send individual dot-prefixed Finger queries. Admin branches alter v4tov4 port-proxy settings.",
              "uncertainty": "The shown download branch reconstructs files; it does not automatically run PsExec or Netcat. The configured ten-second wait is an attempted transfer allowance, without file-integrity validation.",
              "telemetry": "Correlate finger.exe with redirected text creation, certutil decoding and EXE writes on the desktop. Add netsh and PortProxy registry activity when that branch is selected.",
              "references": [
                {
                  "title": "certutil (Windows)",
                  "url": "https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil"
                }
              ],
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 174,
                  "label": "DarkFinger-C2-Agent.bat"
                },
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 185,
                  "end": 200,
                  "label": "DarkFinger-C2-Agent.bat"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Download, exfiltration and port proxy",
              "activation": "Menu choices select ps/nc downloads, reconstruction, exfiltration or port-proxy configuration.",
              "status": "reviewed",
              "detail": "The complete batch agent and Python server download/control branches were inspected.",
              "finding_ids": [
                "download-reconstruction-and-proxy"
              ],
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 174,
                  "label": "DarkFinger-C2-Agent.bat"
                },
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 185,
                  "end": 200,
                  "label": "DarkFinger-C2-Agent.bat"
                }
              ]
            },
            {
              "module": "Transferred executables",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "dependency-boundary",
              "detail": "Netcat and PsExec contents are external inputs. Reconstruction does not establish their later execution or behavior.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 155,
                  "label": "DarkFinger-C2-Agent.bat"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [
        {
          "framework": "darkfinger-c2",
          "id": "af491bca-e752-4b44-9c86-df5680533dbc",
          "title": "Finger.EXE Execution",
          "status": "test",
          "coverage": "behavior",
          "collection": "SigmaHQ/sigma",
          "path": "rules/windows/process_creation/proc_creation_win_finger_execution.yml",
          "url": "https://github.com/SigmaHQ/sigma/blob/05d1031f537e830b76da53bae2400c5814c89165/rules/windows/process_creation/proc_creation_win_finger_execution.yml#L1-L34",
          "browse_url": "https://sigma.nasbench.dev/rules/af491bca-e752-4b44-9c86-df5680533dbc",
          "telemetry": "windows / process_creation",
          "match": "The batch transfer and reconnaissance paths invoke finger.exe, matching the process image/original-name selection.",
          "caveat": "Technique coverage only: ordinary Finger use can also match; this does not attribute DarkFinger.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 116,
              "end": 138,
              "label": "Finger transfer commands"
            },
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 157,
              "end": 175,
              "label": "Finger reconnaissance"
            }
          ],
          "kind": "Sigma",
          "commit": "05d1031f537e830b76da53bae2400c5814c89165"
        },
        {
          "framework": "darkfinger-c2",
          "id": "cc9cbe82-7bc0-4ef5-bc23-bbfb83947be7",
          "title": "File Decoded From Base64/Hex Via Certutil.EXE",
          "status": "test",
          "coverage": "behavior",
          "collection": "SigmaHQ/sigma",
          "path": "rules/windows/process_creation/proc_creation_win_certutil_decode.yml",
          "url": "https://github.com/SigmaHQ/sigma/blob/05d1031f537e830b76da53bae2400c5814c89165/rules/windows/process_creation/proc_creation_win_certutil_decode.yml#L1-L33",
          "browse_url": "https://sigma.nasbench.dev/rules/cc9cbe82-7bc0-4ef5-bc23-bbfb83947be7",
          "telemetry": "windows / process_creation",
          "match": "The reconstruction path calls certutil -decode on the downloaded text, matching the image plus decode-argument condition.",
          "caveat": "Generic decoding rule; correlate Finger, files and process ancestry before attributing activity.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 140,
              "end": 154,
              "label": "Certutil reconstruction"
            }
          ],
          "kind": "Sigma",
          "commit": "05d1031f537e830b76da53bae2400c5814c89165"
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-suricata-2046622",
          "title": "ET MALWARE Possible DarkFinger Payload Retrieval Attempt - nc10",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Suricata decoded HTTP or client TCP payload",
          "match": "Targets nc10 in a small established client-to-server TCP payload. The Nc64 menu path sends nc followed by the configured delay through finger; the default delay is 10.",
          "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 38,
              "end": 39,
              "label": "Default delay configuration"
            },
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 129,
              "end": 138,
              "label": "Nc64 Finger request"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "f840b0c3c792ca646887ebc1c1845d650ed5b66fb474a3ccdb0a9cc13d4ad050",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger Payload Retrieval Attempt - nc10\"; flow:established,to_server; dsize:<7; content:\"nc10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046622; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
          "sid": 2046622,
          "revision": 1,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-suricata-2046623",
          "title": "ET MALWARE Possible DarkFinger Payload Retrieval Attempt - ps10",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Suricata decoded HTTP or client TCP payload",
          "match": "Targets ps10 in a small established client-to-server TCP payload. The PsExec64 menu path sends ps followed by the configured delay through finger; the default delay is 10.",
          "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 38,
              "end": 39,
              "label": "Default delay configuration"
            },
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 116,
              "end": 125,
              "label": "PsExec64 Finger request"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "c9cf5a5b19802dbca31d8956270532529ca22c50880dadda107582f3551972ce",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger Payload Retrieval Attempt - ps10\"; flow:established,to_server; dsize:<7; content:\"ps10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046623; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
          "sid": 2046623,
          "revision": 1,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-snort-2046622",
          "title": "ET TROJAN Possible DarkFinger Payload Retrieval Attempt - nc10",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
          "match": "Targets nc10 in a small established client-to-server TCP payload. The Nc64 menu path sends nc followed by the configured delay through finger; the default delay is 10.",
          "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 38,
              "end": 39,
              "label": "Default delay configuration"
            },
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 129,
              "end": 138,
              "label": "Nc64 Finger request"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "9996e72bf445d52b31d1741c8d793aee2a17e4a5572ab80891c82def20a349a5",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger Payload Retrieval Attempt - nc10\"; flow:established,to_server; dsize:<7; content:\"nc10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046622; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22;)",
          "sid": 2046622,
          "revision": 1,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-snort-2046623",
          "title": "ET TROJAN Possible DarkFinger Payload Retrieval Attempt - ps10",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Snort 2.9 decoded HTTP or client TCP payload",
          "match": "Targets ps10 in a small established client-to-server TCP payload. The PsExec64 menu path sends ps followed by the configured delay through finger; the default delay is 10.",
          "caveat": "Small payload content only. Depends on delay 10, TCP segmentation, stream direction and $HOME_NET/$EXTERNAL_NET placement. Other content can match; ET assigns low confidence. Correlate with Finger and file reconstruction. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 38,
              "end": 39,
              "label": "Default delay configuration"
            },
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 116,
              "end": 125,
              "label": "PsExec64 Finger request"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "1898f494653be3a73de6c31aeef17f29c028391a5d5f9f4cf6b9ebb8ccab8c5d",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger Payload Retrieval Attempt - ps10\"; flow:established,to_server; dsize:<7; content:\"ps10\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046623; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2024_09_13;)",
          "sid": 2046623,
          "revision": 2,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-suricata-2046624",
          "title": "ET MALWARE Possible DarkFinger ipconfig Retrieval Attempt",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Client TCP payload carrying Finger query text",
          "match": "Matches the dot-prefixed English Windows IP Configuration heading in a small TCP payload. The reviewed IP-config exfiltration loop sends each output line through finger with a dot prefix.",
          "caveat": "Requires English ipconfig output, matching TCP segmentation, established client-to-server direction and the configured network boundaries. The payload-size condition can fail after segmentation/coalescing. ET marks confidence low. This is an exfiltration request heading; the rule title calls it retrieval. Other Finger clients can match. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 167,
              "end": 174,
              "label": "Dot-prefixed ipconfig lines sent through Finger"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "0de02d15c00a7d759ea3afc08a711d65e11dc6f8a7b9a3813f58b50847aec865",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger ipconfig Retrieval Attempt\"; flow:established,to_server; dsize:<28; content:\"|2e|Windows IP Configuration\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046624; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
          "sid": 2046624,
          "revision": 1,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-suricata-2046625",
          "title": "ET MALWARE Possible DarkFinger tasklist Retrieval attempt",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Suricata 7.0.3",
          "path": "rules/emerging-malware.rules",
          "url": "https://rules.emergingthreats.net/open/suricata-7.0.3/rules/emerging-malware.rules",
          "telemetry": "Client TCP payload carrying Finger query text",
          "match": "Matches .Image in a small client TCP payload. The reviewed tasklist exfiltration loop sends the first whitespace-delimited token of each output line through finger with a dot prefix, including the English Image heading.",
          "caveat": "Requires English tasklist output and a matching short TCP segment. Established direction, HOME_NET/EXTERNAL_NET placement and segmentation affect coverage. ET marks confidence low. The title says retrieval; the reviewed path sends process-list text outward. The short token is not unique to this framework. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 157,
              "end": 164,
              "label": "First-token tasklist exfiltration via Finger"
            }
          ],
          "kind": "Suricata",
          "snapshot_sha256": "b9bc97ea105019ca125d4f927df75f8f2af92ef98af8a5e02ec14ef72985a464",
          "rule_sha256": "5a5660e229d7ad523df7518a710abd7124ebde487926ebb4e157f0631f1fbba6",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET MALWARE Possible DarkFinger tasklist Retrieval attempt\"; flow:established,to_server; dsize:<9; content:\"|2e|Image\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046625; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22; target:src_ip;)",
          "sid": 2046625,
          "revision": 1,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-snort-2046624",
          "title": "ET TROJAN Possible DarkFinger ipconfig Retrieval Attempt",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Client TCP payload carrying Finger query text",
          "match": "Matches the dot-prefixed English Windows IP Configuration heading in a small TCP payload. The reviewed IP-config exfiltration loop sends each output line through finger with a dot prefix.",
          "caveat": "Requires English ipconfig output, matching TCP segmentation, established client-to-server direction and the configured network boundaries. The payload-size condition can fail after segmentation/coalescing. ET marks confidence low. This is an exfiltration request heading; the rule title calls it retrieval. Other Finger clients can match. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 167,
              "end": 174,
              "label": "Dot-prefixed ipconfig lines sent through Finger"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "bde208e4dd78659764ee2e95a38037b5caba42f6a3f962a0b715e6166985c35c",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger ipconfig Retrieval Attempt\"; flow:established,to_server; dsize:<28; content:\"|2e|Windows IP Configuration\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046624; rev:1; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2023_06_22;)",
          "sid": 2046624,
          "revision": 1,
          "gid": 1
        },
        {
          "framework": "darkfinger-c2",
          "id": "et-open-snort-2046625",
          "title": "ET TROJAN Possible DarkFinger tasklist Retrieval attempt",
          "status": "Active in reviewed feed; untested",
          "coverage": "framework-specific",
          "collection": "Emerging Threats Open / Snort 2.9",
          "path": "rules/emerging-trojan.rules",
          "url": "https://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-malware.rules",
          "telemetry": "Client TCP payload carrying Finger query text",
          "match": "Matches .Image in a small client TCP payload. The reviewed tasklist exfiltration loop sends the first whitespace-delimited token of each output line through finger with a dot prefix, including the English Image heading.",
          "caveat": "Requires English tasklist output and a matching short TCP segment. Established direction, HOME_NET/EXTERNAL_NET placement and segmentation affect coverage. ET marks confidence low. The title says retrieval; the reviewed path sends process-list text outward. The short token is not unique to this framework. Untested against traffic.",
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 157,
              "end": 164,
              "label": "First-token tasklist exfiltration via Finger"
            }
          ],
          "kind": "Snort",
          "snapshot_sha256": "f4b3d2667fa9b4e5fa8b52e5a0d3df92d486f96c8bcded5c871c31b38efc49ad",
          "rule_sha256": "c709ee35eb5928e852e218688991764affb3a0df7ee9f0f083cd8e1780798cc6",
          "rule_text": "alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:\"ET TROJAN Possible DarkFinger tasklist Retrieval attempt\"; flow:established,to_server; dsize:<9; content:\"|2e|Image\"; reference:url,github.com/hyp3rlinx/DarkFinger-C2/; classtype:trojan-activity; sid:2046625; rev:2; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_and_Server, created_at 2023_06_22, deployment Perimeter, malware_family DarkFinger, performance_impact Low, confidence Low, signature_severity Major, updated_at 2024_09_13;)",
          "sid": 2046625,
          "revision": 2,
          "gid": 1
        }
      ],
      "techniques": [
        {
          "framework": "darkfinger-c2",
          "feature": "finger-based-tool-transfer",
          "reviewed_commit": "7e1ba7c57c918b7a589f4afc01f7079ad06337ab",
          "rationale": "The batch agent receives the selected tool through Finger and reconstructs an executable file.",
          "technique": {
            "id": "T1105",
            "name": "Ingress Tool Transfer",
            "url": "https://attack.mitre.org/techniques/T1105",
            "version": "2.6",
            "stix_id": "attack-pattern--e6919abc-99f9-4c6c-95a5-14761e7b2add"
          },
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 116,
              "end": 154,
              "label": "Download and reconstruction"
            },
            {
              "path": "DarkFinger-C2.py",
              "start": 154,
              "end": 169,
              "label": "Server command selection"
            }
          ]
        },
        {
          "framework": "darkfinger-c2",
          "feature": "finger-based-tool-transfer",
          "reviewed_commit": "7e1ba7c57c918b7a589f4afc01f7079ad06337ab",
          "rationale": "The reconstruction path invokes certutil -decode on the received Base64 text.",
          "technique": {
            "id": "T1140",
            "name": "Deobfuscate/Decode Files or Information",
            "url": "https://attack.mitre.org/techniques/T1140",
            "version": "2.0",
            "stix_id": "attack-pattern--3ccef7ae-cb5e-48f6-8302-897105fbf55c"
          },
          "evidence": [
            {
              "path": "DarkFinger-C2-Agent.bat",
              "start": 116,
              "end": 154,
              "label": "Download and reconstruction"
            },
            {
              "path": "DarkFinger-C2.py",
              "start": 154,
              "end": 169,
              "label": "Server command selection"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "finger",
          "field": "protocols",
          "label": "Finger Over TCP",
          "description": "Finger protocol requests carry reviewed task or data exchanges.",
          "features": [
            {
              "id": "finger-based-tool-transfer",
              "title": "Finger-based tool transfer",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            },
            {
              "id": "reconnaissance-in-finger-query-text",
              "title": "Reconnaissance in Finger query text",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 157,
                  "end": 175,
                  "label": "Reconnaissance exfiltration"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Exfiltration handler"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-command-shell",
          "field": "executionMethods",
          "label": "Windows Command Shell (cmd.exe)",
          "description": "Commands run through the Windows command interpreter.",
          "features": [
            {
              "id": "finger-based-tool-transfer",
              "title": "Finger-based tool transfer",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            },
            {
              "id": "reconnaissance-in-finger-query-text",
              "title": "Reconnaissance in Finger query text",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 157,
                  "end": 175,
                  "label": "Reconnaissance exfiltration"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Exfiltration handler"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "finger-based-tool-transfer",
              "title": "Finger-based tool transfer",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            }
          ]
        },
        {
          "id": "binary-finger",
          "field": "lolbins",
          "label": "finger.exe",
          "description": "A binary reference confirmed in the reviewed implementation.",
          "features": [
            {
              "id": "finger-based-tool-transfer",
              "title": "Finger-based tool transfer",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            },
            {
              "id": "reconnaissance-in-finger-query-text",
              "title": "Reconnaissance in Finger query text",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 157,
                  "end": 175,
                  "label": "Reconnaissance exfiltration"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Exfiltration handler"
                }
              ]
            }
          ]
        },
        {
          "id": "binary-certutil",
          "field": "lolbins",
          "label": "certutil.exe",
          "description": "A binary reference confirmed in the reviewed implementation.",
          "features": [
            {
              "id": "finger-based-tool-transfer",
              "title": "Finger-based tool transfer",
              "evidence": [
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 116,
                  "end": 154,
                  "label": "Download and reconstruction"
                },
                {
                  "path": "DarkFinger-C2.py",
                  "start": 154,
                  "end": 169,
                  "label": "Server command selection"
                }
              ]
            }
          ]
        },
        {
          "id": "binary-netsh",
          "field": "lolbins",
          "label": "netsh.exe",
          "description": "A binary reference confirmed in the reviewed implementation.",
          "features": [
            {
              "id": "listener-and-portproxy-configuration",
              "title": "Listener and portproxy configuration",
              "evidence": [
                {
                  "path": "DarkFinger-C2.py",
                  "start": 172,
                  "end": 225,
                  "label": "Listener and request processing"
                },
                {
                  "path": "DarkFinger-C2-Agent.bat",
                  "start": 193,
                  "end": 210,
                  "label": "Portproxy branch"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Finger-based tool transfer",
          "indicator": "finger ps<delay>@<host> or finger nc<delay>@<host>",
          "reference": "Finger-based tool transfer",
          "anchor": "finger-based-tool-transfer",
          "os": "windows",
          "source": "https://github.com/hyp3rlinx/DarkFinger-C2/blob/7e1ba7c57c918b7a589f4afc01f7079ad06337ab/DarkFinger-C2-Agent.bat#L116-L138",
          "confidence": "source-confirmed",
          "mutability": "task/configuration-dependent",
          "visibility": "Endpoint command line",
          "caveat": "Host is chosen by the operator; do not export demonstration IPs."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Finger-based tool transfer",
          "indicator": "certutil -decode <cwd>/<PS|NC>.txt <cwd>/<PS|NC>.EXE",
          "reference": "Finger-based tool transfer",
          "anchor": "finger-based-tool-transfer",
          "os": "windows",
          "source": "https://github.com/hyp3rlinx/DarkFinger-C2/blob/7e1ba7c57c918b7a589f4afc01f7079ad06337ab/DarkFinger-C2-Agent.bat#L140-L154",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint process and filesystem",
          "caveat": "Generic decoding pattern; correlate Finger and temporary file activity."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Reconnaissance in Finger query text",
          "indicator": "tasklist or ipconfig /all → repeated dot-prefixed finger requests",
          "reference": "Reconnaissance in Finger query text",
          "anchor": "reconnaissance-in-finger-query-text",
          "os": "windows",
          "source": "https://github.com/hyp3rlinx/DarkFinger-C2/blob/7e1ba7c57c918b7a589f4afc01f7079ad06337ab/DarkFinger-C2-Agent.bat#L157-L175",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint ancestry / command line",
          "caveat": "Reconnaissance tools alone are common."
        },
        {
          "typeId": "registry-creation",
          "typeLabel": "Registry creation",
          "categoryId": "registry",
          "categoryLabel": "Registry",
          "description": "Listener and portproxy configuration",
          "indicator": "HKLM/SYSTEM/CurrentControlSet/Services/PortProxy/v4tov4",
          "reference": "Listener and portproxy configuration",
          "anchor": "listener-and-portproxy-configuration",
          "os": "windows",
          "source": "https://github.com/hyp3rlinx/DarkFinger-C2/blob/7e1ba7c57c918b7a589f4afc01f7079ad06337ab/DarkFinger-C2-Agent.bat#L193-L210",
          "confidence": "source-confirmed",
          "mutability": "privilege/configuration-dependent",
          "visibility": "Endpoint registry/process",
          "caveat": "Forwarding configuration is not evidence of implant autorun persistence."
        }
      ]
    },
    {
      "slug": "disctopia-c2/1.0.1",
      "title": "dystopia-c2",
      "relativePath": "frameworks/disctopia-c2/1.0.1/README.md",
      "upstream_repo": "https://github.com/3ct0s/dystopia-c2",
      "implementation": "Python",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "3d959990d83b7c667a8de76b33d06d96281f56e4",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/disctopia-c2/1.0.1/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "3d959990d83b7c667a8de76b33d06d96281f56e4",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "service",
              "label": "Selected cloud service",
              "role": "GitHub / Telegram / Discord",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Python agent template",
              "role": "Service commands / results",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            },
            {
              "id": "host",
              "label": "Windows helpers",
              "role": "Command / files / autorun",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 207,
                  "end": 215,
                  "label": "Command helper"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 148,
                  "end": 175,
                  "label": "Downloads and capture files"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 99,
                  "end": 107,
                  "label": "Configuration directory"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "agent",
              "to": "service",
              "label": "Register and retrieve tasks",
              "detail": "Each template uses the selected service API; the GitHub implementation creates a pull request and reads comments.",
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            },
            {
              "from": "service",
              "to": "agent",
              "label": "Dispatch service commands",
              "detail": "Message/comment handlers invoke shared helpers.",
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            },
            {
              "from": "agent",
              "to": "host",
              "label": "Execute selected helper",
              "detail": "Command, transfer, capture and persistence calls affect the Windows host.",
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 207,
                  "end": 215,
                  "label": "Command helper"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 148,
                  "end": 175,
                  "label": "Downloads and capture files"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 99,
                  "end": 107,
                  "label": "Configuration directory"
                }
              ]
            },
            {
              "from": "host",
              "to": "service",
              "label": "Return output or documents",
              "detail": "The selected template returns text, commits files, or uploads a temporary result file.",
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 47,
                  "end": 59,
                  "label": "GitHub file return"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 42,
                  "end": 55,
                  "label": "Telegram large result path"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 194,
                  "label": "Discord large result path"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "third-party-task-channels",
            "title": "Third-party task channels",
            "behavior": "The GitHub variant creates a feature-<six letters> branch and Agent#<id> pull request, reads issue comments and posts output. Telegram and Discord templates expose message-command handlers.",
            "observable": "Authorized repository/chat audit data can expose agent registration, command messages and generated file uploads.",
            "variability": "Each transport is a separate template. Service domains and placeholder tokens are not malicious infrastructure indicators.",
            "evidence": [
              {
                "path": "code/github/main.py",
                "start": 63,
                "end": 89,
                "label": "GitHub registration and command loop"
              },
              {
                "path": "code/telegram/main.py",
                "start": 32,
                "end": 55,
                "label": "Telegram command handler"
              },
              {
                "path": "code/discord/main.py",
                "start": 40,
                "end": 63,
                "label": "Discord bot setup"
              },
              {
                "path": "code/discord/main.py",
                "start": 184,
                "end": 196,
                "label": "Discord command branch"
              }
            ]
          },
          {
            "id": "shared-windows-command-and-file-helpers",
            "title": "Shared Windows command and file helpers",
            "behavior": "cmd invokes a subprocess with shell=True and no-window flags. Upload downloads a chosen URL into the user .config/uploads directory; screenshot helpers write temporary PNGs.",
            "observable": "Correlate Python child commands and downloads with user .config files or TEMP/s.png and TEMP/p.png.",
            "variability": "The command parser uses command.split() before shell execution, so exact shell semantics should not be assumed. File names are task/helper defaults.",
            "evidence": [
              {
                "path": "libraries/disctopia.py",
                "start": 207,
                "end": 215,
                "label": "Command helper"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 148,
                "end": 175,
                "label": "Downloads and capture files"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 99,
                "end": 107,
                "label": "Configuration directory"
              }
            ]
          },
          {
            "id": "run-key-persistence",
            "title": "Run-key persistence",
            "behavior": "The shared persistence helper copies sys.executable to APPDATA/Windows-Updater.exe and adds HKCU Run value update.",
            "observable": "Correlate the copied executable with the update Run value and a third-party API task channel.",
            "variability": "The helper is invoked by a persistence task; it does not prove every agent automatically persists or that a frozen payload exists.",
            "evidence": [
              {
                "path": "libraries/disctopia.py",
                "start": 192,
                "end": 204,
                "label": "Persistence helper"
              },
              {
                "path": "code/github/main.py",
                "start": 147,
                "end": 153,
                "label": "Tasked persistence call"
              }
            ]
          },
          {
            "id": "result-delivery-and-local-artifacts",
            "title": "Result delivery and local artifacts",
            "behavior": "GitHub return files are committed with timestamped names. Telegram output above 4000 characters and Discord output above 2000 characters use TEMP/response.txt, send it as a document and remove it.",
            "observable": "Repository file creation and short-lived response.txt writes can support the task/result timeline.",
            "variability": "Result thresholds differ by template. The temporary filename is shared by these Telegram and Discord command handlers.",
            "evidence": [
              {
                "path": "code/github/main.py",
                "start": 47,
                "end": 59,
                "label": "GitHub file return"
              },
              {
                "path": "code/telegram/main.py",
                "start": 42,
                "end": 55,
                "label": "Telegram large result path"
              },
              {
                "path": "code/discord/main.py",
                "start": 184,
                "end": 194,
                "label": "Discord large result path"
              }
            ]
          },
          {
            "id": "deep-keyboard-webhook-failure",
            "title": "Optional keyboard collection and webhook reporting",
            "behavior": "Discord keylog starts a Keylogger thread; keyboard release callbacks append text and Timer calls report. The logger sends short captures as a Discord embed. Its over-2000-character branch references os.environ and os.remove without importing os in the module. An exception occurs before the next timer is scheduled.",
            "observable": "Correlate keyboard-library activity and outbound Discord webhook requests by process. A large captured buffer may fail before transmission; report.txt is an intended artifact whose write is blocked by the missing name.",
            "variability": "The large-report branch is incomplete at this pin. stop sets a shared flag and does not call keyboard.unhook. The keyboard dependency's native implementation was not reviewed.",
            "evidence": [
              {
                "path": "code/discord/main.py",
                "start": 419,
                "end": 429,
                "label": "code/discord/main.py"
              },
              {
                "path": "libraries/keylogger.py",
                "start": 1,
                "end": 81,
                "label": "libraries/keylogger.py"
              }
            ]
          },
          {
            "id": "deep-chrome-credential-copy",
            "title": "Optional Chrome credential collection",
            "behavior": "Discord creds calls disctopia.creds, which calls credentials.stealcreds and writes a temporary JSON file for attachment. The helper reads Chrome Local State, unwraps a key with CryptUnprotectData, copies Default/Login Data to my_chrome_data.db, reads saved-login rows and decrypts the password blobs. The GCM branch discards the final 16 bytes without verifying a tag.",
            "observable": "Correlate one non-browser process reading Local State and Login Data, creating my_chrome_data.db, writing a temporary JSON result and sending a Discord attachment. Inspect actual artifacts for successful recovery.",
            "variability": "The fallback references undefined password instead of enc_password and returns a fixed failure string after exceptions. Browser version, locked files and the current user's DPAPI context affect recovery.",
            "evidence": [
              {
                "path": "libraries/credentials.py",
                "start": 16,
                "end": 65,
                "label": "libraries/credentials.py"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 181,
                "end": 189,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "code/discord/main.py",
                "start": 280,
                "end": 290,
                "label": "code/discord/main.py"
              }
            ]
          },
          {
            "id": "deep-collection-attachments",
            "title": "Optional screen, webcam and microphone attachments",
            "behavior": "Discord commands call collection helpers and send discord.File results, then remove the returned file. Screenshots use a temporary s.png. Webcam capture writes p.png after VideoCapture(0). Microphone capture records 44.1 kHz stereo and writes recording.wav under .config/uploads; its helper changes the process working directory.",
            "observable": "Correlate capture access with short-lived PNG/WAV files and outbound Discord attachments from the same process. The filenames provide task context and require independent attribution evidence.",
            "variability": "The webcam helper ignores the camera read success flag and does not explicitly release the device. External capture and Discord dependencies were not executed or fully reviewed.",
            "evidence": [
              {
                "path": "libraries/disctopia.py",
                "start": 159,
                "end": 178,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 264,
                "end": 275,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "code/discord/main.py",
                "start": 89,
                "end": 127,
                "label": "code/discord/main.py"
              },
              {
                "path": "code/discord/main.py",
                "start": 378,
                "end": 392,
                "label": "code/discord/main.py"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "join-service-object-creation-with-windows-execution",
            "title": "Join service object creation with Windows execution",
            "telemetry": "Authorized GitHub/chat audit context and endpoint process/file telemetry.",
            "logic": "Correlate Agent# registration or service commands with Python-owned shell tasks and subsequent output/file posts.",
            "false_positives": "Bots and automation can create PRs and run commands; require the object shape and endpoint context.",
            "blind_spots": "TLS and SDK use hide content from network-only sensors; each service variant differs.",
            "status": "untested",
            "evidence": [
              {
                "path": "code/github/main.py",
                "start": 63,
                "end": 89,
                "label": "code/github/main.py"
              },
              {
                "path": "code/telegram/main.py",
                "start": 42,
                "end": 55,
                "label": "code/telegram/main.py"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 207,
                "end": 215,
                "label": "libraries/disctopia.py"
              }
            ]
          },
          {
            "id": "correlate-autorun-and-cloud-tasking",
            "title": "Correlate autorun and cloud tasking",
            "telemetry": "Windows registry/file creation and process-associated service activity.",
            "logic": "Investigate a Run value update targeting Windows-Updater.exe alongside user .config artifacts and API tasking.",
            "false_positives": "Legitimate updaters use similar names; verify executable provenance and the complete chain.",
            "blind_spots": "Persistence is optional and strings can be changed.",
            "status": "untested",
            "evidence": [
              {
                "path": "libraries/disctopia.py",
                "start": 99,
                "end": 107,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 192,
                "end": 204,
                "label": "libraries/disctopia.py"
              }
            ]
          },
          {
            "id": "deep-keyboard-webhook-failure",
            "title": "Optional keyboard collection and webhook reporting",
            "telemetry": "Correlate keyboard-library activity and outbound Discord webhook requests by process. A large captured buffer may fail before transmission; report.txt is an intended artifact whose write is blocked by the missing name.",
            "logic": "Untested detection hypothesis. The logger sends short captures as a Discord embed. Its over-2000-character branch references os.environ and os.remove without importing os in the module. An exception occurs before the next timer is scheduled. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Accessibility software, hotkey tools and authorized monitoring can collect keyboard input.",
            "blind_spots": "Untested hypothesis. The native hook and webhook SDK internals are external; no successful exfiltration is assumed.",
            "status": "untested",
            "evidence": [
              {
                "path": "code/discord/main.py",
                "start": 419,
                "end": 429,
                "label": "code/discord/main.py"
              },
              {
                "path": "libraries/keylogger.py",
                "start": 1,
                "end": 81,
                "label": "libraries/keylogger.py"
              }
            ]
          },
          {
            "id": "deep-chrome-credential-copy",
            "title": "Optional Chrome credential collection",
            "telemetry": "Correlate one non-browser process reading Local State and Login Data, creating my_chrome_data.db, writing a temporary JSON result and sending a Discord attachment. Inspect actual artifacts for successful recovery.",
            "logic": "Untested detection hypothesis. The helper reads Chrome Local State, unwraps a key with CryptUnprotectData, copies Default/Login Data to my_chrome_data.db, reads saved-login rows and decrypts the password blobs. The GCM branch discards the final 16 bytes without verifying a tag. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Password migration, backup and forensic tools read these databases.",
            "blind_spots": "Untested hypothesis. Current Chrome storage can differ; copied data or a posted JSON file does not prove plaintext credentials were recovered.",
            "status": "untested",
            "evidence": [
              {
                "path": "libraries/credentials.py",
                "start": 16,
                "end": 65,
                "label": "libraries/credentials.py"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 181,
                "end": 189,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "code/discord/main.py",
                "start": 280,
                "end": 290,
                "label": "code/discord/main.py"
              }
            ]
          },
          {
            "id": "deep-collection-attachments",
            "title": "Optional screen, webcam and microphone attachments",
            "telemetry": "Correlate capture access with short-lived PNG/WAV files and outbound Discord attachments from the same process. The filenames provide task context and require independent attribution evidence.",
            "logic": "Untested detection hypothesis. Screenshots use a temporary s.png. Webcam capture writes p.png after VideoCapture(0). Microphone capture records 44.1 kHz stereo and writes recording.wav under .config/uploads; its helper changes the process working directory. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Meeting software and support tools capture the same devices.",
            "blind_spots": "Untested hypothesis. Privacy settings, missing devices, dependency failures and upload errors can stop the sequence.",
            "status": "untested",
            "evidence": [
              {
                "path": "libraries/disctopia.py",
                "start": 159,
                "end": 178,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "libraries/disctopia.py",
                "start": 264,
                "end": 275,
                "label": "libraries/disctopia.py"
              },
              {
                "path": "code/discord/main.py",
                "start": 89,
                "end": 127,
                "label": "code/discord/main.py"
              },
              {
                "path": "code/discord/main.py",
                "start": 378,
                "end": 392,
                "label": "code/discord/main.py"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "GitHub API",
            "Telegram API",
            "Discord API"
          ],
          "executionMethods": [
            "Windows command shell"
          ],
          "lolbins": [],
          "encodingTechniques": [],
          "persistenceHints": [
            "Run key"
          ],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "GitHub loop ends with a 1 s sleep; other SDK callback timing is not established"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "windows-command-splitting",
              "api": "subprocess.Popen(command.split(), shell=True)",
              "call_chain": "The shared cmd helper splits supplied command text, launches the Windows shell path and selects a returned stream.",
              "contract": "Popen's list-versus-string handling and shell semantics are platform-specific; whitespace splitting does not preserve shell quoting.",
              "application": "The helper splits command text before invoking shell=True, waits for completion and returns stderr whenever it is nonempty; otherwise stdout.",
              "uncertainty": "Quoted argument fidelity and successful task execution are not established. A nonempty stderr stream does not by itself imply a failed exit code.",
              "telemetry": "Use Windows child-process and actual command-line evidence. A returned error string is not the complete combined process output.",
              "references": [
                {
                  "title": "Python subprocess",
                  "url": "https://docs.python.org/3/library/subprocess.html"
                }
              ],
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 207,
                  "end": 215,
                  "label": "subprocess.Popen(command.split(), shell=True) call site"
                }
              ]
            },
            {
              "id": "keyboard-webhook-failure",
              "api": "Optional keyboard collection and webhook reporting",
              "call_chain": "Discord keylog starts a Keylogger thread; keyboard release callbacks append text and Timer calls report.",
              "contract": "Thread start schedules work. Timer callbacks can raise exceptions independently of the command handler. A status reply does not establish hook installation or successful delivery.",
              "application": "The logger sends short captures as a Discord embed. Its over-2000-character branch references os.environ and os.remove without importing os in the module. An exception occurs before the next timer is scheduled.",
              "uncertainty": "The large-report branch is incomplete at this pin. stop sets a shared flag and does not call keyboard.unhook. The keyboard dependency's native implementation was not reviewed.",
              "telemetry": "Correlate keyboard-library activity and outbound Discord webhook requests by process. A large captured buffer may fail before transmission; report.txt is an intended artifact whose write is blocked by the missing name.",
              "references": [
                {
                  "title": "Python threading",
                  "url": "https://docs.python.org/3/library/threading.html"
                }
              ],
              "evidence": [
                {
                  "path": "code/discord/main.py",
                  "start": 419,
                  "end": 429,
                  "label": "code/discord/main.py"
                },
                {
                  "path": "libraries/keylogger.py",
                  "start": 1,
                  "end": 81,
                  "label": "libraries/keylogger.py"
                }
              ]
            },
            {
              "id": "chrome-credential-copy",
              "api": "Optional Chrome credential collection",
              "call_chain": "Discord creds calls disctopia.creds, which calls credentials.stealcreds and writes a temporary JSON file for attachment.",
              "contract": "GCM decryption and authentication-tag verification are separate operations unless decrypt_and_verify is called.",
              "application": "The helper reads Chrome Local State, unwraps a key with CryptUnprotectData, copies Default/Login Data to my_chrome_data.db, reads saved-login rows and decrypts the password blobs. The GCM branch discards the final 16 bytes without verifying a tag.",
              "uncertainty": "The fallback references undefined password instead of enc_password and returns a fixed failure string after exceptions. Browser version, locked files and the current user's DPAPI context affect recovery.",
              "telemetry": "Correlate one non-browser process reading Local State and Login Data, creating my_chrome_data.db, writing a temporary JSON result and sending a Discord attachment. Inspect actual artifacts for successful recovery.",
              "references": [
                {
                  "title": "PyCryptodome GCM authentication",
                  "url": "https://pycryptodome.readthedocs.io/en/v3.19.0/src/cipher/modern.html"
                }
              ],
              "evidence": [
                {
                  "path": "libraries/credentials.py",
                  "start": 16,
                  "end": 65,
                  "label": "libraries/credentials.py"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 181,
                  "end": 189,
                  "label": "libraries/disctopia.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 280,
                  "end": 290,
                  "label": "code/discord/main.py"
                }
              ]
            },
            {
              "id": "collection-attachments",
              "api": "Optional screen, webcam and microphone attachments",
              "call_chain": "Discord commands call collection helpers and send discord.File results, then remove the returned file.",
              "contract": "Capture APIs return data or status that callers must inspect. Removing a file after transmission leaves a possible creation/deletion sequence.",
              "application": "Screenshots use a temporary s.png. Webcam capture writes p.png after VideoCapture(0). Microphone capture records 44.1 kHz stereo and writes recording.wav under .config/uploads; its helper changes the process working directory.",
              "uncertainty": "The webcam helper ignores the camera read success flag and does not explicitly release the device. External capture and Discord dependencies were not executed or fully reviewed.",
              "telemetry": "Correlate capture access with short-lived PNG/WAV files and outbound Discord attachments from the same process. The filenames provide task context and require independent attribution evidence.",
              "references": [
                {
                  "title": "Python os.chdir",
                  "url": "https://docs.python.org/3/library/os.html#os.chdir"
                }
              ],
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 159,
                  "end": 178,
                  "label": "libraries/disctopia.py"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 264,
                  "end": 275,
                  "label": "libraries/disctopia.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 89,
                  "end": 127,
                  "label": "code/discord/main.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 378,
                  "end": 392,
                  "label": "code/discord/main.py"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Keyboard and credential collection",
              "activation": "Discord keylog starts a Keylogger thread; keyboard release callbacks append text and Timer calls report.",
              "status": "reviewed",
              "detail": "Discord activation, collection implementations, result files and exception limits.",
              "finding_ids": [
                "keyboard-webhook-failure",
                "chrome-credential-copy"
              ],
              "evidence": [
                {
                  "path": "code/discord/main.py",
                  "start": 419,
                  "end": 429,
                  "label": "code/discord/main.py"
                },
                {
                  "path": "libraries/keylogger.py",
                  "start": 1,
                  "end": 81,
                  "label": "libraries/keylogger.py"
                },
                {
                  "path": "libraries/credentials.py",
                  "start": 16,
                  "end": 65,
                  "label": "libraries/credentials.py"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 181,
                  "end": 189,
                  "label": "libraries/disctopia.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 280,
                  "end": 290,
                  "label": "code/discord/main.py"
                }
              ]
            },
            {
              "module": "Screen, camera and audio capture",
              "activation": "Discord commands call collection helpers and send discord.File results, then remove the returned file.",
              "status": "reviewed",
              "detail": "Capture helper and attachment handling were inspected.",
              "finding_ids": [
                "collection-attachments"
              ],
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 159,
                  "end": 178,
                  "label": "libraries/disctopia.py"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 264,
                  "end": 275,
                  "label": "libraries/disctopia.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 89,
                  "end": 127,
                  "label": "code/discord/main.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 378,
                  "end": 392,
                  "label": "code/discord/main.py"
                }
              ]
            },
            {
              "module": "Evasion and remaining helpers",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "Sandbox process/DLL/disk/input checks and disctopia helper text were inspected. Native implementations of keyboard, OpenCV, sounddevice and other dependencies remain external; not every helper has a separate API finding.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "libraries/sandboxevasion.py",
                  "start": 20,
                  "end": 106,
                  "label": "libraries/sandboxevasion.py"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 462,
                  "end": 472,
                  "label": "code/discord/main.py"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "kaspersky-distopia",
              "title": "Tomiris wreaks Havoc: New tools and techniques of the APT group",
              "publisher": "Kaspersky Securelist",
              "url": "https://securelist.com/tomiris-new-tools/118143/",
              "published": "2025-11-28",
              "incident_date": "Operations beginning in early 2025",
              "attribution": "Tomiris, as tracked by Kaspersky",
              "summary": "Kaspersky describes a Python Distopia backdoor derived from dystopia-c2 and traces a command downloading a separate Telegram reverse shell.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "console-discovery",
                  "title": "Distopia executed discovery commands",
                  "detail": "The reported sequence includes directory listing commands on the compromised system. Kaspersky identifies this Python backdoor as derived from dystopia-c2 and packaged with PyInstaller.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "The implants: Distopia backdoor"
                },
                {
                  "id": "telegram-follow-on",
                  "title": "A traced command delivered a separate Telegram reverse shell",
                  "detail": "Kaspersky associates one Distopia session with downloading and launching Tomiris Python Telegram ReverseShell. The follow-on implant provides its own Telegram channel.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "Distopia backdoor: Sequence of console commands; Tomiris Python Telegram ReverseShell"
                }
              ]
            }
          ],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "disctopia-c2/1.0.1",
          "feature": "run-key-persistence",
          "reviewed_commit": "3d959990d83b7c667a8de76b33d06d96281f56e4",
          "rationale": "The reviewed persistence helper adds a Windows Run-key entry for the agent copy.",
          "technique": {
            "id": "T1547.001",
            "name": "Registry Run Keys / Startup Folder",
            "url": "https://attack.mitre.org/techniques/T1547/001",
            "version": "2.1",
            "stix_id": "attack-pattern--9efb1ea7-c37b-4595-9640-b7680cd84279"
          },
          "evidence": [
            {
              "path": "libraries/disctopia.py",
              "start": 192,
              "end": 204,
              "label": "Persistence helper"
            },
            {
              "path": "code/github/main.py",
              "start": 147,
              "end": 153,
              "label": "Tasked persistence call"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "github-api",
          "field": "protocols",
          "label": "GitHub API",
          "description": "The reviewed task channel uses GitHub.",
          "features": [
            {
              "id": "third-party-task-channels",
              "title": "Third-party task channels",
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            }
          ]
        },
        {
          "id": "telegram-api",
          "field": "protocols",
          "label": "Telegram API",
          "description": "The reviewed task channel uses Telegram.",
          "features": [
            {
              "id": "third-party-task-channels",
              "title": "Third-party task channels",
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            }
          ]
        },
        {
          "id": "discord-api",
          "field": "protocols",
          "label": "Discord API",
          "description": "The reviewed task channel uses Discord.",
          "features": [
            {
              "id": "third-party-task-channels",
              "title": "Third-party task channels",
              "evidence": [
                {
                  "path": "code/github/main.py",
                  "start": 63,
                  "end": 89,
                  "label": "GitHub registration and command loop"
                },
                {
                  "path": "code/telegram/main.py",
                  "start": 32,
                  "end": 55,
                  "label": "Telegram command handler"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 40,
                  "end": 63,
                  "label": "Discord bot setup"
                },
                {
                  "path": "code/discord/main.py",
                  "start": 184,
                  "end": 196,
                  "label": "Discord command branch"
                }
              ]
            }
          ]
        },
        {
          "id": "system-shell",
          "field": "executionMethods",
          "label": "System Shell (Runtime-Selected)",
          "description": "The code requests a system shell without explicitly selecting an interpreter. The host and runtime determine it.",
          "example": {
            "path": "libraries/disctopia.py",
            "start": 207,
            "end": 210,
            "label": "Runtime-selected Windows shell"
          },
          "features": [
            {
              "id": "shared-windows-command-and-file-helpers",
              "title": "Shared Windows command and file helpers",
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 207,
                  "end": 215,
                  "label": "Command helper"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 148,
                  "end": 175,
                  "label": "Downloads and capture files"
                },
                {
                  "path": "libraries/disctopia.py",
                  "start": 99,
                  "end": 107,
                  "label": "Configuration directory"
                }
              ]
            }
          ]
        },
        {
          "id": "run-key",
          "field": "persistenceHints",
          "label": "Registry Run Key",
          "description": "The reviewed path writes a Windows Run value. Registry payload storage, value names and installation conditions remain specific to each implementation.",
          "example": {
            "path": "libraries/disctopia.py",
            "start": 197,
            "end": 200,
            "label": "Registry Run Key"
          },
          "features": [
            {
              "id": "run-key-persistence",
              "title": "Run-key persistence",
              "evidence": [
                {
                  "path": "libraries/disctopia.py",
                  "start": 192,
                  "end": 204,
                  "label": "Persistence helper"
                },
                {
                  "path": "code/github/main.py",
                  "start": 147,
                  "end": 153,
                  "label": "Tasked persistence call"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Third-party task channels",
          "indicator": "GitHub branch feature-<6 lowercase letters>; PR title Agent#<id>",
          "reference": "Third-party task channels",
          "anchor": "third-party-task-channels",
          "os": "windows",
          "source": "https://github.com/3ct0s/dystopia-c2/blob/3d959990d83b7c667a8de76b33d06d96281f56e4/code/github/main.py#L63-L78",
          "confidence": "source-confirmed",
          "mutability": "template default/generated",
          "visibility": "Repository audit/content",
          "caveat": "These are repository objects, not DNS or endpoint file indicators."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Shared Windows command and file helpers",
          "indicator": "%TEMP%/s.png; %TEMP%/p.png; user .config/uploads",
          "reference": "Shared Windows command and file helpers",
          "anchor": "shared-windows-command-and-file-helpers",
          "os": "windows",
          "source": "https://github.com/3ct0s/dystopia-c2/blob/3d959990d83b7c667a8de76b33d06d96281f56e4/libraries/disctopia.py#L148-L175",
          "confidence": "source-confirmed",
          "mutability": "task-dependent; default paths",
          "visibility": "Endpoint filesystem",
          "caveat": "Common filenames; require capture/download and service context."
        },
        {
          "typeId": "registry-creation",
          "typeLabel": "Registry creation",
          "categoryId": "registry",
          "categoryLabel": "Registry",
          "description": "Run-key persistence",
          "indicator": "HKCU/Software/Microsoft/Windows/CurrentVersion/Run: update → %APPDATA%/Windows-Updater.exe",
          "reference": "Run-key persistence",
          "anchor": "run-key-persistence",
          "os": "windows",
          "source": "https://github.com/3ct0s/dystopia-c2/blob/3d959990d83b7c667a8de76b33d06d96281f56e4/libraries/disctopia.py#L192-L204",
          "confidence": "source-confirmed",
          "mutability": "task-dependent; source constants",
          "visibility": "Endpoint registry/filesystem",
          "caveat": "A generic update name is insufficient attribution."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Result delivery and local artifacts",
          "indicator": "%TEMP%/response.txt",
          "reference": "Result delivery and local artifacts",
          "anchor": "result-delivery-and-local-artifacts",
          "os": "windows",
          "source": "https://github.com/3ct0s/dystopia-c2/blob/3d959990d83b7c667a8de76b33d06d96281f56e4/code/telegram/main.py#L42-L55",
          "confidence": "source-confirmed",
          "mutability": "Telegram long-output path",
          "visibility": "Endpoint filesystem",
          "caveat": "Written only above the template output limit and removed after sending."
        }
      ]
    },
    {
      "slug": "fudgec2",
      "title": "FudgeC2",
      "relativePath": "frameworks/FudgeC2/README.md",
      "upstream_repo": "https://github.com/Ziconius/FudgeC2",
      "implementation": "Python, PowerShell",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "29de6e44bb108985dab54c6a6cfe7c943253ec05",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/FudgeC2/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "29de6e44bb108985dab54c6a6cfe7c943253ec05",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "listener",
              "label": "Profile listener",
              "role": "HTTP(S) task/result routes",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTP agent profile"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                  "start": 35,
                  "end": 68,
                  "label": "HTTP server handlers"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTPS profile"
                }
              ]
            },
            {
              "id": "agent",
              "label": "PowerShell implant",
              "role": "Type/ID parser",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 47,
                  "end": 75,
                  "label": "Type/ID parser and dispatcher"
                }
              ]
            },
            {
              "id": "host",
              "label": "Module operations",
              "role": "Commands / registry",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                  "start": 18,
                  "end": 30,
                  "label": "Persistence template"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "agent",
              "to": "listener",
              "label": "Poll configured profile",
              "detail": "The selected profile sends its identifier in X-Implant.",
              "evidence": [
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTP agent profile"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                  "start": 35,
                  "end": 68,
                  "label": "HTTP server handlers"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTPS profile"
                }
              ]
            },
            {
              "from": "listener",
              "to": "agent",
              "label": "Return framed task",
              "detail": "The generated parser selects a module from the type and command ID.",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 47,
                  "end": 75,
                  "label": "Type/ID parser and dispatcher"
                }
              ]
            },
            {
              "from": "agent",
              "to": "host",
              "label": "Run a command or persistence task",
              "detail": "CM starts encoded PowerShell; EP writes registry-backed persistence.",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                  "start": 18,
                  "end": 30,
                  "label": "Persistence template"
                }
              ]
            },
            {
              "from": "host",
              "to": "listener",
              "label": "Return encoded results",
              "detail": "The agent submits command ID plus encoded output with X-Result.",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 113,
                  "end": 142,
                  "label": "Generated loop and sleep"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                  "start": 58,
                  "end": 68,
                  "label": "Result parser"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "profile-specific-http-and-https-channels",
            "title": "Profile-specific HTTP and HTTPS channels",
            "behavior": "Basic HTTP stages from /robots.txt?user=, polls /index with X-Implant and posts /help with X-Result. The HTTPS profile uses /error.htm?user=, / and /login instead.",
            "observable": "The route/header pairs and idle == response are stronger pivots together than the browser User-Agent.",
            "variability": "Profiles differ; do not apply the HTTP path set to HTTPS. Deployment identifiers, ports and callback host are generated settings.",
            "evidence": [
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py",
                "start": 10,
                "end": 39,
                "label": "HTTP agent profile"
              },
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                "start": 35,
                "end": 68,
                "label": "HTTP server handlers"
              },
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py",
                "start": 10,
                "end": 39,
                "label": "HTTPS profile"
              }
            ]
          },
          {
            "id": "task-framing-and-powershell-dispatch",
            "title": "Task framing and PowerShell dispatch",
            "behavior": "The generated parser splits a two-letter type, 24-character command ID and Base64 arguments. CM tasks start powershell.exe with UTF-16LE EncodedCommand; other types dispatch built-in modules.",
            "observable": "Correlate script parsing and encoded PowerShell children with X-Implant/X-Result traffic or the corresponding decrypted profile.",
            "variability": "Each module body needs its own implementation evidence. A dispatcher entry establishes routing.",
            "evidence": [
              {
                "path": "FudgeC2/Implant/ImplantGenerator.py",
                "start": 47,
                "end": 75,
                "label": "Type/ID parser and dispatcher"
              }
            ]
          },
          {
            "id": "registry-backed-persistence",
            "title": "Registry-backed persistence",
            "behavior": "EP writes a configurable Run value whose PowerShell command reads Base64 script text from WinTrust/Trust Providers/State.",
            "observable": "Monitor the paired Run-value write and State value beneath the unusual WinTrust location.",
            "variability": "This module requires explicit tasking. Startup installation is conditional. Registry paths and generated names can change.",
            "evidence": [
              {
                "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                "start": 18,
                "end": 30,
                "label": "Persistence template"
              }
            ]
          },
          {
            "id": "jitter-and-response-framing",
            "title": "Jitter and response framing",
            "behavior": "Protocol selection applies a randomized sleep around the beacon setting. Result requests prepend the 24-character command ID to Base64 output; the listener decodes it and returns ==.",
            "observable": "Source-confirmed command-ID length and idle marker can support content inspection.",
            "variability": "Templates obfuscate names and may gate operation by time or date. Encryption here depends on the selected HTTP/TLS profile.",
            "evidence": [
              {
                "path": "FudgeC2/Implant/ImplantGenerator.py",
                "start": 113,
                "end": 142,
                "label": "Generated loop and sleep"
              },
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                "start": 58,
                "end": 68,
                "label": "Result parser"
              }
            ]
          },
          {
            "id": "deep-dynamic-module-import",
            "title": "Optional dynamic PowerShell module loading",
            "behavior": "LoadModule packages a local server-side .ps1 resource; the generated LM function creates a script block and imports a dynamic module. The server reads Storage/implant_resources/modules/<name>.ps1 and encodes name::source. The implant constructs a script block, pipes New-Module to Import-Module and lists exported commands. InvokeExpression supplies a separate execution helper.",
            "observable": "Inspect PowerShell script-block or module telemetry within the existing process, joined to callback activity. A newly started powershell.exe process is not required by LM itself.",
            "variability": "The local server resource is not a victim disk artifact. Content and runtime policy determine module behavior; external operator-supplied modules require independent review.",
            "evidence": [
              {
                "path": "FudgeC2/Implant/implant_core/load_module.py",
                "start": 19,
                "end": 26,
                "label": "FudgeC2/Implant/implant_core/load_module.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/load_module.py",
                "start": 43,
                "end": 50,
                "label": "FudgeC2/Implant/implant_core/load_module.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/invoke_expression.py",
                "start": 18,
                "end": 26,
                "label": "FudgeC2/Implant/implant_core/invoke_expression.py"
              }
            ]
          },
          {
            "id": "deep-screen-clipboard-collection",
            "title": "Optional screen and clipboard collection",
            "behavior": "The core module list includes ScreenCapture and ExportClipboard; their generated SC and EC functions return data to response processors. SC loads Drawing and Forms, allocates a bitmap, copies from the screen and serializes PNG bytes to a MemoryStream. The server saves screenshot_file_<id>.png. EC reads text through Get-Clipboard.",
            "observable": "Correlate PowerShell screen or clipboard API activity and result traffic. Hunt server-side screenshot files only in server forensic scope; the SC path shown has no victim-side PNG write.",
            "variability": "The PNG storage path belongs to the server. The monitor-size calculation sums widths and takes a maximum height, so unusual screen arrangements can change the result. Clipboard zero is conflated with the helper's empty/error marker.",
            "evidence": [
              {
                "path": "FudgeC2/Implant/ImplantFunctionality.py",
                "start": 20,
                "end": 29,
                "label": "FudgeC2/Implant/ImplantFunctionality.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                "start": 15,
                "end": 23,
                "label": "FudgeC2/Implant/implant_core/screen_capture.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                "start": 29,
                "end": 52,
                "label": "FudgeC2/Implant/implant_core/screen_capture.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/export_clipboard.py",
                "start": 11,
                "end": 22,
                "label": "FudgeC2/Implant/implant_core/export_clipboard.py"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "correlate-profile-header-pairs-and-task-framing",
            "title": "Correlate profile header pairs and task framing",
            "telemetry": "HTTP URI/header/body inspection and endpoint ownership.",
            "logic": "Join the correct profile paths with X-Implant/X-Result, 24-character result IDs and idle == replies.",
            "false_positives": "Custom internal software may use similar headers; require several protocol details.",
            "blind_spots": "TLS without inspection, renamed headers and changed profiles reduce coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py",
                "start": 10,
                "end": 20,
                "label": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py"
              },
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                "start": 35,
                "end": 68,
                "label": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py"
              },
              {
                "path": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py",
                "start": 10,
                "end": 20,
                "label": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py"
              }
            ]
          },
          {
            "id": "find-the-paired-registry-payload-and-autorun",
            "title": "Find the paired registry payload and autorun",
            "telemetry": "Windows registry audit and process/script telemetry.",
            "logic": "Correlate a State payload under WinTrust/Trust Providers with a Run value that decodes and invokes it.",
            "false_positives": "Registry-backed administration exists; inspect the stored script as inert text and verify ownership.",
            "blind_spots": "Module is optional and names can be obfuscated; registry data may be removed.",
            "status": "untested",
            "evidence": [
              {
                "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                "start": 18,
                "end": 30,
                "label": "FudgeC2/Implant/implant_core/enable_persistence.py"
              }
            ]
          },
          {
            "id": "deep-upload-runtime-and-results",
            "title": "Optional upload runtime and response handling",
            "telemetry": "Capture script-block content, attempted Set-Content and the actual destination file write. Server success text alone is insufficient evidence of a transferred file.",
            "logic": "Untested detection hypothesis. Correlate PowerShell task content and attempted byte writes with the actual destination artifact. Compare observed write errors with the server result; the source labels zero as success.",
            "false_positives": "Normal PowerShell administration can decode bytes and write files.",
            "blind_spots": "Untested hypothesis. Runtime overloads and byte-writing parameters affect the path. A reported success can coexist with a failed write.",
            "status": "untested",
            "evidence": [
              {
                "path": "FudgeC2/Implant/implant_core/upload_file.py",
                "start": 14,
                "end": 32,
                "label": "FudgeC2/Implant/implant_core/upload_file.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/upload_file.py",
                "start": 49,
                "end": 56,
                "label": "FudgeC2/Implant/implant_core/upload_file.py"
              }
            ]
          },
          {
            "id": "deep-dynamic-module-import",
            "title": "Optional dynamic PowerShell module loading",
            "telemetry": "Inspect PowerShell script-block or module telemetry within the existing process, joined to callback activity. A newly started powershell.exe process is not required by LM itself.",
            "logic": "Untested detection hypothesis. The server reads Storage/implant_resources/modules/<name>.ps1 and encodes name::source. The implant constructs a script block, pipes New-Module to Import-Module and lists exported commands. InvokeExpression supplies a separate execution helper. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Interactive administration and dynamic module development use these APIs.",
            "blind_spots": "Untested hypothesis. Obfuscation and missing PowerShell content logging reduce visibility; module-specific behavior stays unknown.",
            "status": "untested",
            "evidence": [
              {
                "path": "FudgeC2/Implant/implant_core/load_module.py",
                "start": 19,
                "end": 26,
                "label": "FudgeC2/Implant/implant_core/load_module.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/load_module.py",
                "start": 43,
                "end": 50,
                "label": "FudgeC2/Implant/implant_core/load_module.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/invoke_expression.py",
                "start": 18,
                "end": 26,
                "label": "FudgeC2/Implant/implant_core/invoke_expression.py"
              }
            ]
          },
          {
            "id": "deep-screen-clipboard-collection",
            "title": "Optional screen and clipboard collection",
            "telemetry": "Correlate PowerShell screen or clipboard API activity and result traffic. Hunt server-side screenshot files only in server forensic scope; the SC path shown has no victim-side PNG write.",
            "logic": "Untested detection hypothesis. SC loads Drawing and Forms, allocates a bitmap, copies from the screen and serializes PNG bytes to a MemoryStream. The server saves screenshot_file_<id>.png. EC reads text through Get-Clipboard. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Support tools and clipboard managers share the primitives.",
            "blind_spots": "Untested hypothesis. Endpoint file-create logs alone miss the in-memory screen capture; desktop isolation can block collection.",
            "status": "untested",
            "evidence": [
              {
                "path": "FudgeC2/Implant/ImplantFunctionality.py",
                "start": 20,
                "end": 29,
                "label": "FudgeC2/Implant/ImplantFunctionality.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                "start": 15,
                "end": 23,
                "label": "FudgeC2/Implant/implant_core/screen_capture.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                "start": 29,
                "end": 52,
                "label": "FudgeC2/Implant/implant_core/screen_capture.py"
              },
              {
                "path": "FudgeC2/Implant/implant_core/export_clipboard.py",
                "start": 11,
                "end": 22,
                "label": "FudgeC2/Implant/implant_core/export_clipboard.py"
              }
            ]
          },
          {
            "id": "deep-registry-result-checks",
            "title": "Optional registry persistence result checks",
            "telemetry": "Correlate the paired registry writes and a Run value referencing State. Validate that the stored script and startup command agree; retain partial-write cases.",
            "logic": "Untested detection hypothesis. The function writes a Run value and a Base64 script into State under WinTrust/Trust Providers. It assigns result one after the write statements without validating both stored values. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Approved registry-backed launchers can use similar storage and Run values.",
            "blind_spots": "Untested hypothesis. Optional activation, obfuscated Run names and absent registry auditing reduce coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                "start": 10,
                "end": 32,
                "label": "FudgeC2/Implant/implant_core/enable_persistence.py"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "HTTPS / TLS"
          ],
          "executionMethods": [
            "PowerShell EncodedCommand",
            "PowerShell IEX"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64",
            "UTF-16LE script encoding"
          ],
          "persistenceHints": [
            "Run key / registry payload"
          ],
          "beaconFixed": false,
          "beaconJitter": true,
          "delayNotes": [
            "Generated beacon value with approximately Â±10% randomized sleep; optional operating-hour and kill-date gates"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "generated-encoded-shell",
              "api": "Generated PowerShell CM dispatcher",
              "call_chain": "The generator's execute_command template decodes a CM task and starts a PowerShell child with the encoded command.",
              "contract": "Windows PowerShell -EncodedCommand accepts Base64 representing UTF-16LE command text.",
              "application": "The template converts decoded UTF-8 task text to Unicode bytes, encodes it and invokes powershell.exe, assigning its output to a global result variable.",
              "uncertainty": "The reviewed text is a generator template. It was never expanded or executed. Template inclusion, obfuscation, task type and shell errors affect observed behavior; not all task branches start PowerShell children.",
              "telemetry": "Correlate a PowerShell child carrying EncodedCommand with the parent implant's callback activity; encoding alone is generic.",
              "references": [
                {
                  "title": "Windows PowerShell command-line reference",
                  "url": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe?view=powershell-5.1"
                }
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 46,
                  "end": 79,
                  "label": "Generated PowerShell CM dispatcher call site"
                }
              ]
            },
            {
              "id": "upload-runtime-and-results",
              "api": "Optional upload runtime and response handling",
              "call_chain": "UploadFile.create_module_data_string produces a task consumed by the generated PowerShell UF function, then process_implant_response labels the result.",
              "contract": "String.Split(Char[]) treats separator characters independently and retains empty fields by default. Modern .NET also exposes string-separator overloads. PowerShell binds methods against its runtime; Set-Content byte-writing parameters also differ across PowerShell versions.",
              "application": "The generator emits Base64 destination::content. The PowerShell template calls the .NET Split method and uses positions zero and two. The .NET Framework character-separator contract can retain an empty middle field, placing content at position two. The catch assigns zero, while the response handler treats only two as an error and labels other results as success.",
              "uncertainty": "An unconditional field-index defect is not established. Overload binding, Windows PowerShell versus PowerShell 7 byte-writing support and error behavior require runtime-specific evidence. The failure-marker reporting discrepancy is directly visible in the source; no C2 code was executed.",
              "telemetry": "Capture script-block content, attempted Set-Content and the actual destination file write. Server success text alone is insufficient evidence of a transferred file.",
              "references": [
                {
                  "title": "String.Split overloads (.NET)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.string.split?view=netframework-4.7.2"
                },
                {
                  "title": "PowerShell method invocation and overloads",
                  "url": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_methods?view=powershell-5.1"
                },
                {
                  "title": "Set-Content (Windows PowerShell 5.1)",
                  "url": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-content?view=powershell-5.1"
                },
                {
                  "title": "Set-Content (PowerShell 7)",
                  "url": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/set-content?view=powershell-7.5"
                }
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/upload_file.py",
                  "start": 14,
                  "end": 32,
                  "label": "FudgeC2/Implant/implant_core/upload_file.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/upload_file.py",
                  "start": 49,
                  "end": 56,
                  "label": "FudgeC2/Implant/implant_core/upload_file.py"
                }
              ]
            },
            {
              "id": "dynamic-module-import",
              "api": "Optional dynamic PowerShell module loading",
              "call_chain": "LoadModule packages a local server-side .ps1 resource; the generated LM function creates a script block and imports a dynamic module.",
              "contract": "New-Module creates a dynamic module from a script block. Importing its module object makes the module available in the current session.",
              "application": "The server reads Storage/implant_resources/modules/<name>.ps1 and encodes name::source. The implant constructs a script block, pipes New-Module to Import-Module and lists exported commands. InvokeExpression supplies a separate execution helper.",
              "uncertainty": "The local server resource is not a victim disk artifact. Content and runtime policy determine module behavior; external operator-supplied modules require independent review.",
              "telemetry": "Inspect PowerShell script-block or module telemetry within the existing process, joined to callback activity. A newly started powershell.exe process is not required by LM itself.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/powershell/scripting/learn/ps101/10-script-modules?view=powershell-5.1"
                }
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/load_module.py",
                  "start": 19,
                  "end": 26,
                  "label": "FudgeC2/Implant/implant_core/load_module.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/load_module.py",
                  "start": 43,
                  "end": 50,
                  "label": "FudgeC2/Implant/implant_core/load_module.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/invoke_expression.py",
                  "start": 18,
                  "end": 26,
                  "label": "FudgeC2/Implant/implant_core/invoke_expression.py"
                }
              ]
            },
            {
              "id": "screen-clipboard-collection",
              "api": "Optional screen and clipboard collection",
              "call_chain": "The core module list includes ScreenCapture and ExportClipboard; their generated SC and EC functions return data to response processors.",
              "contract": "CopyFromScreen copies screen pixels onto a drawing surface. Clipboard access depends on the caller's desktop and runtime context.",
              "application": "SC loads Drawing and Forms, allocates a bitmap, copies from the screen and serializes PNG bytes to a MemoryStream. The server saves screenshot_file_<id>.png. EC reads text through Get-Clipboard.",
              "uncertainty": "The PNG storage path belongs to the server. The monitor-size calculation sums widths and takes a maximum height, so unusual screen arrangements can change the result. Clipboard zero is conflated with the helper's empty/error marker.",
              "telemetry": "Correlate PowerShell screen or clipboard API activity and result traffic. Hunt server-side screenshot files only in server forensic scope; the SC path shown has no victim-side PNG write.",
              "references": [
                {
                  "title": "Graphics.CopyFromScreen (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.drawing.graphics.copyfromscreen?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantFunctionality.py",
                  "start": 20,
                  "end": 29,
                  "label": "FudgeC2/Implant/ImplantFunctionality.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                  "start": 15,
                  "end": 23,
                  "label": "FudgeC2/Implant/implant_core/screen_capture.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                  "start": 29,
                  "end": 52,
                  "label": "FudgeC2/Implant/implant_core/screen_capture.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/export_clipboard.py",
                  "start": 11,
                  "end": 22,
                  "label": "FudgeC2/Implant/implant_core/export_clipboard.py"
                }
              ]
            },
            {
              "id": "registry-result-checks",
              "api": "Optional registry persistence result checks",
              "call_chain": "The EP task reaches the generated registry persistence function and its response handler.",
              "contract": "New-ItemProperty creates a value on the selected registry item; provider errors need inspection before reporting success.",
              "application": "The function writes a Run value and a Base64 script into State under WinTrust/Trust Providers. It assigns result one after the write statements without validating both stored values.",
              "uncertainty": "The helper does not create the WinTrust subkey or force terminating errors. A final result one does not establish that both writes succeeded. The selected script block and registry names can change.",
              "telemetry": "Correlate the paired registry writes and a Run value referencing State. Validate that the stored script and startup command agree; retain partial-write cases.",
              "references": [
                {
                  "title": "New-ItemProperty (Windows PowerShell)",
                  "url": "https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/new-itemproperty?view=powershell-5.1"
                }
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                  "start": 10,
                  "end": 32,
                  "label": "FudgeC2/Implant/implant_core/enable_persistence.py"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "File transfer and PowerShell modules",
              "activation": "UploadFile.create_module_data_string produces a task consumed by the generated PowerShell UF function, then process_implant_response labels the result.",
              "status": "reviewed",
              "detail": "Upload framing and reporting, file download and dynamic module loading.",
              "finding_ids": [
                "upload-runtime-and-results",
                "dynamic-module-import"
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/upload_file.py",
                  "start": 14,
                  "end": 32,
                  "label": "FudgeC2/Implant/implant_core/upload_file.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/upload_file.py",
                  "start": 49,
                  "end": 56,
                  "label": "FudgeC2/Implant/implant_core/upload_file.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/load_module.py",
                  "start": 19,
                  "end": 26,
                  "label": "FudgeC2/Implant/implant_core/load_module.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/load_module.py",
                  "start": 43,
                  "end": 50,
                  "label": "FudgeC2/Implant/implant_core/load_module.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/invoke_expression.py",
                  "start": 18,
                  "end": 26,
                  "label": "FudgeC2/Implant/implant_core/invoke_expression.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/download_file.py",
                  "start": 48,
                  "end": 54,
                  "label": "FudgeC2/Implant/implant_core/download_file.py"
                }
              ]
            },
            {
              "module": "Collection and registry persistence",
              "activation": "The core module list includes ScreenCapture and ExportClipboard; their generated SC and EC functions return data to response processors.",
              "status": "reviewed",
              "detail": "All ten implant_core templates were read, including audio playback, system info and module listing. Findings focus on the consequential contracts.",
              "finding_ids": [
                "screen-clipboard-collection",
                "registry-result-checks"
              ],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantFunctionality.py",
                  "start": 20,
                  "end": 29,
                  "label": "FudgeC2/Implant/ImplantFunctionality.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                  "start": 15,
                  "end": 23,
                  "label": "FudgeC2/Implant/implant_core/screen_capture.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/screen_capture.py",
                  "start": 29,
                  "end": 52,
                  "label": "FudgeC2/Implant/implant_core/screen_capture.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/export_clipboard.py",
                  "start": 11,
                  "end": 22,
                  "label": "FudgeC2/Implant/implant_core/export_clipboard.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                  "start": 10,
                  "end": 32,
                  "label": "FudgeC2/Implant/implant_core/enable_persistence.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/play_audio.py",
                  "start": 20,
                  "end": 33,
                  "label": "FudgeC2/Implant/implant_core/play_audio.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/system_info.py",
                  "start": 19,
                  "end": 27,
                  "label": "FudgeC2/Implant/implant_core/system_info.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/get_loaded_modules.py",
                  "start": 13,
                  "end": 18,
                  "label": "FudgeC2/Implant/implant_core/get_loaded_modules.py"
                }
              ]
            },
            {
              "module": "Operator-supplied modules",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "dependency-boundary",
              "detail": "LM reads external .ps1 resources selected by the operator. Their contents and dependencies need separate immutable-source review.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/upload_file.py",
                  "start": 14,
                  "end": 32,
                  "label": "FudgeC2/Implant/implant_core/upload_file.py"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "fudgec2",
          "feature": "registry-backed-persistence",
          "reviewed_commit": "29de6e44bb108985dab54c6a6cfe7c943253ec05",
          "rationale": "The optional persistence module creates a registry-backed launcher and an autostart Run entry.",
          "technique": {
            "id": "T1547.001",
            "name": "Registry Run Keys / Startup Folder",
            "url": "https://attack.mitre.org/techniques/T1547/001",
            "version": "2.1",
            "stix_id": "attack-pattern--9efb1ea7-c37b-4595-9640-b7680cd84279"
          },
          "evidence": [
            {
              "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
              "start": 18,
              "end": 30,
              "label": "Persistence template"
            }
          ]
        },
        {
          "framework": "fudgec2",
          "feature": "task-framing-and-powershell-dispatch",
          "reviewed_commit": "29de6e44bb108985dab54c6a6cfe7c943253ec05",
          "rationale": "The generated implant dispatches tasks through PowerShell code paths.",
          "technique": {
            "id": "T1059.001",
            "name": "PowerShell",
            "url": "https://attack.mitre.org/techniques/T1059/001",
            "version": "1.6",
            "stix_id": "attack-pattern--970a3432-3237-47ad-bcca-7d8cbb217736"
          },
          "evidence": [
            {
              "path": "FudgeC2/Implant/ImplantGenerator.py",
              "start": 47,
              "end": 75,
              "label": "Type/ID parser and dispatcher"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "profile-specific-http-and-https-channels",
              "title": "Profile-specific HTTP and HTTPS channels",
              "evidence": [
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTP agent profile"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                  "start": 35,
                  "end": 68,
                  "label": "HTTP server handlers"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTPS profile"
                }
              ]
            }
          ]
        },
        {
          "id": "https",
          "field": "protocols",
          "label": "HTTPS",
          "description": "HTTP over TLS in the reviewed tasking path.",
          "features": [
            {
              "id": "profile-specific-http-and-https-channels",
              "title": "Profile-specific HTTP and HTTPS channels",
              "evidence": [
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTP agent profile"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/HttpListener.py",
                  "start": 35,
                  "end": 68,
                  "label": "HTTP server handlers"
                },
                {
                  "path": "FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py",
                  "start": 10,
                  "end": 39,
                  "label": "HTTPS profile"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-encoded",
          "field": "executionMethods",
          "label": "PowerShell Encoded Command",
          "description": "The reviewed launcher or task path supplies an encoded PowerShell command.",
          "features": [
            {
              "id": "task-framing-and-powershell-dispatch",
              "title": "Task framing and PowerShell dispatch",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 47,
                  "end": 75,
                  "label": "Type/ID parser and dispatcher"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-iex",
          "field": "executionMethods",
          "label": "PowerShell Invoke-Expression",
          "description": "Commands are evaluated with Invoke-Expression or its IEX alias.",
          "features": [
            {
              "id": "deep-dynamic-module-import",
              "title": "Optional dynamic PowerShell module loading",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/load_module.py",
                  "start": 19,
                  "end": 26,
                  "label": "FudgeC2/Implant/implant_core/load_module.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/load_module.py",
                  "start": 43,
                  "end": 50,
                  "label": "FudgeC2/Implant/implant_core/load_module.py"
                },
                {
                  "path": "FudgeC2/Implant/implant_core/invoke_expression.py",
                  "start": 18,
                  "end": 26,
                  "label": "FudgeC2/Implant/implant_core/invoke_expression.py"
                }
              ]
            }
          ]
        },
        {
          "id": "run-key",
          "field": "persistenceHints",
          "label": "Registry Run Key",
          "description": "The reviewed path writes a Windows Run value. Registry payload storage, value names and installation conditions remain specific to each implementation.",
          "example": {
            "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
            "start": 20,
            "end": 22,
            "label": "Registry Run Key"
          },
          "features": [
            {
              "id": "registry-backed-persistence",
              "title": "Registry-backed persistence",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                  "start": 18,
                  "end": 30,
                  "label": "Persistence template"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "task-framing-and-powershell-dispatch",
              "title": "Task framing and PowerShell dispatch",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 47,
                  "end": 75,
                  "label": "Type/ID parser and dispatcher"
                }
              ]
            },
            {
              "id": "registry-backed-persistence",
              "title": "Registry-backed persistence",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/implant_core/enable_persistence.py",
                  "start": 18,
                  "end": 30,
                  "label": "Persistence template"
                }
              ]
            }
          ]
        },
        {
          "id": "utf16le",
          "field": "encodingTechniques",
          "label": "UTF-16LE",
          "description": "UTF-16 little-endian script encoding.",
          "features": [
            {
              "id": "task-framing-and-powershell-dispatch",
              "title": "Task framing and PowerShell dispatch",
              "evidence": [
                {
                  "path": "FudgeC2/Implant/ImplantGenerator.py",
                  "start": 47,
                  "end": 75,
                  "label": "Type/ID parser and dispatcher"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Profile-specific HTTP and HTTPS channels",
          "indicator": "X-Implant: <id>; X-Result: <id>",
          "reference": "Profile-specific HTTP and HTTPS channels",
          "anchor": "profile-specific-http-and-https-channels",
          "os": "windows",
          "source": "https://github.com/Ziconius/FudgeC2/blob/29de6e44bb108985dab54c6a6cfe7c943253ec05/FudgeC2/NetworkProfiles/Profiles/BasicHttpProfile/BasicHttpProfile.py#L10-L20",
          "confidence": "source-confirmed",
          "mutability": "generated IDs; source names/changeable",
          "visibility": "HTTP request headers",
          "caveat": "Needs HTTP inspection under TLS; use profile-specific paths."
        },
        {
          "typeId": "http-request",
          "typeLabel": "HTTP request",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Profile-specific HTTP and HTTPS channels",
          "indicator": "HTTP: /robots.txt?user= → /index → /help; HTTPS: /error.htm?user= → / → /login",
          "reference": "Profile-specific HTTP and HTTPS channels",
          "anchor": "profile-specific-http-and-https-channels",
          "os": "windows",
          "source": "https://github.com/Ziconius/FudgeC2/blob/29de6e44bb108985dab54c6a6cfe7c943253ec05/FudgeC2/NetworkProfiles/Profiles/HttpsProfile/HttpsProfile.py#L10-L39",
          "confidence": "source-confirmed",
          "mutability": "profile-dependent",
          "visibility": "HTTP URI",
          "caveat": "Do not assume HTTP and HTTPS share paths."
        },
        {
          "typeId": "registry-creation",
          "typeLabel": "Registry creation",
          "categoryId": "registry",
          "categoryLabel": "Registry",
          "description": "Registry-backed persistence",
          "indicator": "HKCU/Software/Microsoft/Windows/CurrentVersion/WinTrust/Trust Providers: State",
          "reference": "Registry-backed persistence",
          "anchor": "registry-backed-persistence",
          "os": "windows",
          "source": "https://github.com/Ziconius/FudgeC2/blob/29de6e44bb108985dab54c6a6cfe7c943253ec05/FudgeC2/Implant/implant_core/enable_persistence.py#L18-L30",
          "confidence": "source-confirmed",
          "mutability": "task-dependent; source constant",
          "visibility": "Endpoint registry",
          "caveat": "Correlate the paired Run value; registry storage alone does not prove execution."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Task framing and PowerShell dispatch",
          "indicator": "powershell.exe -exec bypass -EncodedCommand <UTF-16LE Base64>",
          "reference": "Task framing and PowerShell dispatch",
          "anchor": "task-framing-and-powershell-dispatch",
          "os": "windows",
          "source": "https://github.com/Ziconius/FudgeC2/blob/29de6e44bb108985dab54c6a6cfe7c943253ec05/FudgeC2/Implant/ImplantGenerator.py#L47-L59",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint process/script",
          "caveat": "A generic PowerShell pattern; qualify with the specific channel/registry behavior."
        }
      ]
    },
    {
      "slug": "reversetcpshell",
      "title": "ReverseTCPShell",
      "relativePath": "frameworks/ReverseTCPShell/README.md",
      "upstream_repo": "https://github.com/ZHacker13/ReverseTCPShell",
      "implementation": "PowerShell",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "75907a71cbcf1e40d88d2798d45f57768e44474a",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/ReverseTCPShell/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "75907a71cbcf1e40d88d2798d45f57768e44474a",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "controller",
              "label": "PowerShell controller",
              "role": "TCP listener / module tasking",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "Payload template"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 218,
                  "end": 226,
                  "label": "Listener setup"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 339,
                  "end": 351,
                  "label": "Controller command transmission"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Generated PowerShell",
              "role": "TCPClient and IEX",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "Payload template"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 218,
                  "end": 226,
                  "label": "Listener setup"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 339,
                  "end": 351,
                  "label": "Controller command transmission"
                }
              ]
            },
            {
              "id": "host",
              "label": "Host file operations",
              "role": "Transfer / screenshot",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 261,
                  "end": 287,
                  "label": "Screenshot and download tasks"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 297,
                  "end": 320,
                  "label": "Upload task"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "agent",
              "to": "controller",
              "label": "Open reverse TCP connection",
              "detail": "The controller accepts a connection from the generated TCP client.",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "Payload template"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 218,
                  "end": 226,
                  "label": "Listener setup"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 339,
                  "end": 351,
                  "label": "Controller command transmission"
                }
              ]
            },
            {
              "from": "controller",
              "to": "agent",
              "label": "Send ASCII commands",
              "detail": "The controller writes commands that the payload evaluates and returns over the same stream.",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "Payload template"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 218,
                  "end": 226,
                  "label": "Listener setup"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 339,
                  "end": 351,
                  "label": "Controller command transmission"
                }
              ]
            },
            {
              "from": "agent",
              "to": "host",
              "label": "Perform file and screen tasks",
              "detail": "Generated task strings perform file I/O and optional screen capture.",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 261,
                  "end": 287,
                  "label": "Screenshot and download tasks"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 297,
                  "end": 320,
                  "label": "Upload task"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "raw-tcp-command-and-result-stream",
            "title": "Raw TCP command and result stream",
            "behavior": "The template creates a TCPClient, reads ASCII commands, evaluates them with IEX and writes ASCII output. The controller accepts a TCP connection and exchanges commands on its stream.",
            "observable": "PowerShell-owned outbound TCP plus IEX/stream-read/write code is a compound endpoint indicator.",
            "variability": "The SecureString key hides the connection expression in the generated script; it does not encrypt command/result traffic.",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 110,
                "end": 121,
                "label": "Payload template"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 218,
                "end": 226,
                "label": "Listener setup"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 339,
                "end": 351,
                "label": "Controller command transmission"
              }
            ]
          },
          {
            "id": "file-transfer-and-screenshot-tasks",
            "title": "File transfer and screenshot tasks",
            "behavior": "The controller constructs upload/download commands using byte arrays. Screenshot tasking writes an image to a temporary remote filename, reads its bytes and removes it.",
            "observable": "File writes in the agent working directory, temporary image data and System.Drawing/Windows.Forms use can support a hunt.",
            "variability": "Remote screenshot files use a random 15-letter name without a required extension; the controller saves a .png locally.",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 261,
                "end": 287,
                "label": "Screenshot and download tasks"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 297,
                "end": 320,
                "label": "Upload task"
              }
            ]
          },
          {
            "id": "generated-obfuscation",
            "title": "Generated obfuscation",
            "behavior": "Generator helpers randomize variable names/case and wrap text in ASCII, XOR or shuffled Base64 representations before IEX.",
            "observable": "Script-content telemetry may retain IEX, FromBase64String, byte-to-character reconstruction and TCPClient code.",
            "variability": "These options transform generated text. They provide no network encryption or unique framework identity.",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 56,
                "end": 88,
                "label": "ASCII and Base64 wrappers"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 91,
                "end": 107,
                "label": "XOR wrapper"
              }
            ]
          },
          {
            "id": "deep-optional-screen-file-commands",
            "title": "Optional screenshot and bidirectional file commands",
            "behavior": "Operator Screenshot, Upload and Download choices construct PowerShell task text sent over the existing TCP stream. Screenshot constructs a primary-screen capture saved under a random TEMP filename, reads its bytes as decimal text and removes it. Upload serializes local bytes into a victim-side WriteAllBytes command. Download reads victim bytes and saves the reconstructed result on the operator host.",
            "observable": "Correlate PowerShell screen-capture APIs and short-lived TEMP files, or task-dependent file reads/writes, with the same TCP session. Keep operator-side reconstructed files separate from victim artifacts.",
            "variability": "These branches use the existing task execution path. The controller reconstructs returned number text through IEX. The TCP framing uses availability and buffer-size heuristics, so large transfers and fragmented responses remain untested.",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 261,
                "end": 287,
                "label": "ReverseTCP.ps1"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 297,
                "end": 321,
                "label": "ReverseTCP.ps1"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 384,
                "end": 448,
                "label": "ReverseTCP.ps1"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "correlate-powershell-stream-execution-with-tcp",
            "title": "Correlate PowerShell stream execution with TCP",
            "telemetry": "Endpoint script-content and process-associated network telemetry.",
            "logic": "Look for a TCPClient/NetworkStream read loop feeding IEX and writing command output to the same stream.",
            "false_positives": "Administration scripts use sockets and IEX separately; require the data flow.",
            "blind_spots": "Obfuscation or absent script logging can hide the content; raw TCP has no HTTP metadata.",
            "status": "untested",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 110,
                "end": 121,
                "label": "ReverseTCP.ps1"
              }
            ]
          },
          {
            "id": "link-screen-capture-and-transfer-to-the-connected-process",
            "title": "Link screen capture and transfer to the connected process",
            "telemetry": "Endpoint file/process and managed API telemetry.",
            "logic": "Investigate a network-connected PowerShell instance capturing the screen, briefly writing a random temp file and reading it back for transfer.",
            "false_positives": "Legitimate remote support tools capture screens; verify process ownership and peer context.",
            "blind_spots": "This path occurs only when tasked; the filename is random and deleted.",
            "status": "untested",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 261,
                "end": 269,
                "label": "ReverseTCP.ps1"
              }
            ]
          },
          {
            "id": "deep-optional-screen-file-commands",
            "title": "Optional screenshot and bidirectional file commands",
            "telemetry": "Correlate PowerShell screen-capture APIs and short-lived TEMP files, or task-dependent file reads/writes, with the same TCP session. Keep operator-side reconstructed files separate from victim artifacts.",
            "logic": "Untested detection hypothesis. Screenshot constructs a primary-screen capture saved under a random TEMP filename, reads its bytes as decimal text and removes it. Upload serializes local bytes into a victim-side WriteAllBytes command. Download reads victim bytes and saves the reconstructed result on the operator host. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Support tools capture screens and transfer files.",
            "blind_spots": "Untested hypothesis. Script names are obfuscated and file operations are optional; API and content visibility vary.",
            "status": "untested",
            "evidence": [
              {
                "path": "ReverseTCP.ps1",
                "start": 261,
                "end": 287,
                "label": "ReverseTCP.ps1"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 297,
                "end": 321,
                "label": "ReverseTCP.ps1"
              },
              {
                "path": "ReverseTCP.ps1",
                "start": 384,
                "end": 448,
                "label": "ReverseTCP.ps1"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "TCP"
          ],
          "executionMethods": [
            "PowerShell IEX"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64",
            "XOR"
          ],
          "persistenceHints": [],
          "beaconFixed": false,
          "beaconJitter": false,
          "delayNotes": []
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "tcp-stream-framing",
              "api": "NetworkStream.Read / Write in the payload template",
              "call_chain": "Payload builds an inert script string that reads a TCP stream, evaluates accumulated text and writes ASCII output.",
              "contract": "NetworkStream.Read returns bytes currently read up to the requested count, rather than one application message. A zero return can indicate graceful shutdown.",
              "application": "The template treats availability/full-buffer conditions as command boundaries, uses a 1024-byte buffer and sends ASCII text. SecureString conversion protects a stored construction string; it does not encrypt the TCP stream.",
              "uncertainty": "Fragmentation and slow arrival can affect command boundaries. The string was not expanded or executed; transport reliability and non-ASCII fidelity remain untested.",
              "telemetry": "Network/process correlation is more defensible than fixed packet boundaries or an assertion that TCP content is encrypted.",
              "references": [
                {
                  "title": "NetworkStream.Read (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.networkstream.read?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "NetworkStream.Read / Write in the payload template call site"
                }
              ]
            },
            {
              "id": "optional-screen-file-commands",
              "api": "Optional screenshot and bidirectional file commands",
              "call_chain": "Operator Screenshot, Upload and Download choices construct PowerShell task text sent over the existing TCP stream.",
              "contract": "CopyFromScreen captures pixels into a bitmap. File.ReadAllBytes and WriteAllBytes read or write binary content; ASCII number lists are an application serialization layer.",
              "application": "Screenshot constructs a primary-screen capture saved under a random TEMP filename, reads its bytes as decimal text and removes it. Upload serializes local bytes into a victim-side WriteAllBytes command. Download reads victim bytes and saves the reconstructed result on the operator host.",
              "uncertainty": "These branches use the existing task execution path. The controller reconstructs returned number text through IEX. The TCP framing uses availability and buffer-size heuristics, so large transfers and fragmented responses remain untested.",
              "telemetry": "Correlate PowerShell screen-capture APIs and short-lived TEMP files, or task-dependent file reads/writes, with the same TCP session. Keep operator-side reconstructed files separate from victim artifacts.",
              "references": [
                {
                  "title": "Graphics.CopyFromScreen (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.drawing.graphics.copyfromscreen?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 261,
                  "end": 287,
                  "label": "ReverseTCP.ps1"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 297,
                  "end": 321,
                  "label": "ReverseTCP.ps1"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 384,
                  "end": 448,
                  "label": "ReverseTCP.ps1"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Controller-side optional task templates",
              "activation": "Operator Screenshot, Upload and Download choices construct PowerShell task text sent over the existing TCP stream.",
              "status": "reviewed",
              "detail": "Screenshot, Upload, Download, result reconstruction and obfuscation helpers were read without expanding the templates.",
              "finding_ids": [
                "optional-screen-file-commands"
              ],
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 261,
                  "end": 287,
                  "label": "ReverseTCP.ps1"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 297,
                  "end": 321,
                  "label": "ReverseTCP.ps1"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 384,
                  "end": 448,
                  "label": "ReverseTCP.ps1"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "reversetcpshell",
          "feature": "raw-tcp-command-and-result-stream",
          "reviewed_commit": "75907a71cbcf1e40d88d2798d45f57768e44474a",
          "rationale": "The generated PowerShell template evaluates commands received on its TCP stream with IEX.",
          "technique": {
            "id": "T1059.001",
            "name": "PowerShell",
            "url": "https://attack.mitre.org/techniques/T1059/001",
            "version": "1.6",
            "stix_id": "attack-pattern--970a3432-3237-47ad-bcca-7d8cbb217736"
          },
          "evidence": [
            {
              "path": "ReverseTCP.ps1",
              "start": 110,
              "end": 121,
              "label": "Payload template"
            },
            {
              "path": "ReverseTCP.ps1",
              "start": 218,
              "end": 226,
              "label": "Listener setup"
            },
            {
              "path": "ReverseTCP.ps1",
              "start": 339,
              "end": 351,
              "label": "Controller command transmission"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "raw-tcp",
          "field": "protocols",
          "label": "Raw TCP",
          "description": "A raw TCP command and result stream.",
          "features": [
            {
              "id": "raw-tcp-command-and-result-stream",
              "title": "Raw TCP command and result stream",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "Payload template"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 218,
                  "end": 226,
                  "label": "Listener setup"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 339,
                  "end": 351,
                  "label": "Controller command transmission"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-iex",
          "field": "executionMethods",
          "label": "PowerShell Invoke-Expression",
          "description": "Commands are evaluated with Invoke-Expression or its IEX alias.",
          "features": [
            {
              "id": "raw-tcp-command-and-result-stream",
              "title": "Raw TCP command and result stream",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 110,
                  "end": 121,
                  "label": "Payload template"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 218,
                  "end": 226,
                  "label": "Listener setup"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 339,
                  "end": 351,
                  "label": "Controller command transmission"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "generated-obfuscation",
              "title": "Generated obfuscation",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 56,
                  "end": 88,
                  "label": "ASCII and Base64 wrappers"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 91,
                  "end": 107,
                  "label": "XOR wrapper"
                }
              ]
            }
          ]
        },
        {
          "id": "xor",
          "field": "encodingTechniques",
          "label": "XOR Obfuscation",
          "description": "XOR transforms strings or generated content; it is not treated as equivalent to encryption.",
          "features": [
            {
              "id": "generated-obfuscation",
              "title": "Generated obfuscation",
              "evidence": [
                {
                  "path": "ReverseTCP.ps1",
                  "start": 56,
                  "end": 88,
                  "label": "ASCII and Base64 wrappers"
                },
                {
                  "path": "ReverseTCP.ps1",
                  "start": 91,
                  "end": 107,
                  "label": "XOR wrapper"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Raw TCP command and result stream",
          "indicator": "System.Net.Sockets.TCPClient + IEX + NetworkStream.Read/Write",
          "reference": "Raw TCP command and result stream",
          "anchor": "raw-tcp-command-and-result-stream",
          "os": "windows",
          "source": "https://github.com/ZHacker13/ReverseTCPShell/blob/75907a71cbcf1e40d88d2798d45f57768e44474a/ReverseTCP.ps1#L110-L115",
          "confidence": "source-confirmed",
          "mutability": "generated/changeable",
          "visibility": "Endpoint script telemetry",
          "caveat": "Compound behavior, not a unique string or encrypted wire protocol."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "File transfer and screenshot tasks",
          "indicator": "%TEMP%/<15 letters> (temporary screenshot data)",
          "reference": "File transfer and screenshot tasks",
          "anchor": "file-transfer-and-screenshot-tasks",
          "os": "windows",
          "source": "https://github.com/ZHacker13/ReverseTCPShell/blob/75907a71cbcf1e40d88d2798d45f57768e44474a/ReverseTCP.ps1#L261-L269",
          "confidence": "source-confirmed",
          "mutability": "task-dependent; random name",
          "visibility": "Endpoint filesystem",
          "caveat": "The controller output .png extension is separate from the remote temporary filename."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Generated obfuscation",
          "indicator": "FromBase64String / ASCII.GetString / IEX reconstruction",
          "reference": "Generated obfuscation",
          "anchor": "generated-obfuscation",
          "os": "windows",
          "source": "https://github.com/ZHacker13/ReverseTCPShell/blob/75907a71cbcf1e40d88d2798d45f57768e44474a/ReverseTCP.ps1#L72-L88",
          "confidence": "source-confirmed",
          "mutability": "optional wrapper",
          "visibility": "Endpoint script telemetry",
          "caveat": "Generic PowerShell obfuscation; qualify with network and process evidence."
        }
      ]
    },
    {
      "slug": "sandman",
      "title": "Sandman",
      "relativePath": "frameworks/Sandman/README.md",
      "upstream_repo": "https://github.com/Idov31/Sandman",
      "implementation": "C#, Python",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "3146919960a9cc38b25407ec6b52a0e351225eea",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/Sandman/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "3146919960a9cc38b25407ec6b52a0e351225eea",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "server",
              "label": "Python packet responder",
              "role": "UDP/123 URL and size",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 37,
                  "end": 57,
                  "label": "Request framing and response test"
                },
                {
                  "path": "SandmanServer/sandman_server.py",
                  "start": 61,
                  "end": 78,
                  "label": "Server marker check"
                }
              ]
            },
            {
              "id": "loader",
              "label": "C# loader",
              "role": "NTP-shaped query / parser",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 37,
                  "end": 57,
                  "label": "Request framing and response test"
                },
                {
                  "path": "SandmanServer/sandman_server.py",
                  "start": 61,
                  "end": 78,
                  "label": "Server marker check"
                }
              ]
            },
            {
              "id": "target",
              "label": "RuntimeBroker",
              "role": "Downloaded code execution",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 65,
                  "end": 104,
                  "label": "URL and length parsing"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 110,
                  "end": 135,
                  "label": "Target and download"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 159,
                  "end": 175,
                  "label": "Write, protect and attempt remote execution"
                }
              ]
            },
            {
              "id": "provider",
              "label": "Optional provider DLL",
              "role": "TimeProvOpen entry",
              "x": 30,
              "y": 305,
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 21,
                  "end": 38,
                  "label": "Provider exports"
                },
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 41,
                  "end": 55,
                  "label": "DLL activation loop"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "loader",
              "to": "server",
              "label": "Send marker-bearing UDP query",
              "detail": "The EXE places IDOV31 immediately after the NTP-like first byte.",
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 37,
                  "end": 57,
                  "label": "Request framing and response test"
                },
                {
                  "path": "SandmanServer/sandman_server.py",
                  "start": 61,
                  "end": 78,
                  "label": "Server marker check"
                }
              ]
            },
            {
              "from": "server",
              "to": "loader",
              "label": "Return payload location and size",
              "detail": "Response bytes after the marker carry the URL and expected payload length.",
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 65,
                  "end": 104,
                  "label": "URL and length parsing"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 110,
                  "end": 135,
                  "label": "Target and download"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 159,
                  "end": 175,
                  "label": "Write, protect and attempt remote execution"
                }
              ]
            },
            {
              "from": "loader",
              "to": "target",
              "label": "Download and inject",
              "detail": "The normal path downloads the payload and attempts remote execution in an existing RuntimeBroker process; success is not established.",
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 65,
                  "end": 104,
                  "label": "URL and length parsing"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 110,
                  "end": 135,
                  "label": "Target and download"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 159,
                  "end": 175,
                  "label": "Write, protect and attempt remote execution"
                }
              ]
            },
            {
              "from": "provider",
              "to": "loader",
              "label": "Enter through provider export",
              "detail": "The optional DLL starts its own corresponding backdoor loop from TimeProvOpen.",
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 21,
                  "end": 38,
                  "label": "Provider exports"
                },
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 41,
                  "end": 55,
                  "label": "DLL activation loop"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "ntp-shaped-activation-channel",
            "title": "NTP-shaped activation channel",
            "behavior": "The loader sends a 48-byte UDP packet to port 123 with byte 0x1B followed by IDOV31 at offsets 1â€“6. The Python server recognizes that marker and sends URL and size data.",
            "observable": "Inspect UDP/123 payload offsets for the marker and correlate a later payload download.",
            "variability": "NTP-like framing does not make this ordinary time synchronization. The implant response test checks marker-byte membership, less strictly than the server offset comparison.",
            "evidence": [
              {
                "path": "SandmanBackdoor/Sandman/Program.cs",
                "start": 37,
                "end": 57,
                "label": "Request framing and response test"
              },
              {
                "path": "SandmanServer/sandman_server.py",
                "start": 61,
                "end": 78,
                "label": "Server marker check"
              }
            ]
          },
          {
            "id": "url-delivery-and-shellcode-injection",
            "title": "URL delivery and shellcode injection",
            "behavior": "The parser reads URL/size fields after the marker. The default injector downloads bytes, requires the expected length, writes them into RuntimeBroker and attempts to start a remote thread.",
            "observable": "Correlate the UDP exchange with an HTTP download and cross-process memory writes/protection changes into RuntimeBroker.",
            "variability": "RuntimeBroker must already exist. The USE_SHELLCODE branch changes the loader path; network destinations are configurable and require deployment-specific context. The remote-thread handle is not checked before the helper returns true, so that return value does not establish successful injection.",
            "evidence": [
              {
                "path": "SandmanBackdoor/Sandman/Program.cs",
                "start": 65,
                "end": 104,
                "label": "URL and length parsing"
              },
              {
                "path": "SandmanBackdoor/Sandman/Injector.cs",
                "start": 110,
                "end": 135,
                "label": "Target and download"
              },
              {
                "path": "SandmanBackdoor/Sandman/Injector.cs",
                "start": 159,
                "end": 175,
                "label": "Write, protect and attempt remote execution"
              }
            ]
          },
          {
            "id": "time-provider-dll-variant",
            "title": "Time-provider DLL variant",
            "behavior": "The DLL exports TimeProvOpen, TimeProvCommand and TimeProvClose. TimeProvOpen enters the same style of backdoor loop.",
            "observable": "A nonstandard time-provider DLL and these exports can guide host investigation when correlated with the packet marker.",
            "variability": "The exports support an optional loading variant; the reviewed entry code does not install a provider registry key itself.",
            "evidence": [
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 21,
                "end": 38,
                "label": "Provider exports"
              },
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 41,
                "end": 55,
                "label": "DLL activation loop"
              }
            ]
          },
          {
            "id": "managed-build-identity",
            "title": "Managed build identity",
            "behavior": "The EXE project declares a fixed assembly GUID and keeps descriptive loader/packet identifiers in source.",
            "observable": "The assembly GUID and names ntpServer, payloadUrl, defaultNtpMessageSize and InjectShellcode can support static inspection.",
            "variability": "Compiler output and obfuscation determine which source identifiers remain in an artifact.",
            "evidence": [
              {
                "path": "SandmanBackdoor/Sandman/Properties/AssemblyInfo.cs",
                "start": 20,
                "end": 25,
                "label": "Assembly GUID"
              },
              {
                "path": "SandmanBackdoor/Sandman/Program.cs",
                "start": 11,
                "end": 17,
                "label": "Packet constants"
              }
            ]
          },
          {
            "id": "deep-time-provider-entry",
            "title": "Optional Time Provider DLL entry path",
            "behavior": "TimeProvOpen calls Main; Main polls the configured NTP endpoint and passes a returned URL and size to Injector. The DLL source exports TimeProvOpen, TimeProvCommand and TimeProvClose. TimeProvOpen synchronously calls the polling loop and returns ERROR_NOT_CAPABLE only after Main returns.",
            "observable": "For this variant, correlate time-provider configuration and DLL loading with the host process's UDP/123 traffic, followed by payload retrieval or injection telemetry.",
            "variability": "Registration, loader compatibility and callback ABI were not exercised. The source's UInt16 name parameter and blocking initialization need explicit runtime limits. Presence of the source does not prove persistence was installed.",
            "evidence": [
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 21,
                "end": 58,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
              }
            ]
          },
          {
            "id": "deep-injection-return-boundary",
            "title": "Optional injection download and completion boundary",
            "behavior": "A matching NTP reply calls InjectShellcode targeting RuntimeBroker; the injector selects its first process instance. The default branch downloads bytes with WebClient, checks the configured size, allocates target memory RW, writes it, changes it to RX and creates a remote thread. The compile-time USE_SHELLCODE branch embeds a separate downloader template.",
            "observable": "Correlate UDP check-in, URL retrieval, access to RuntimeBroker, remote memory write/protection change and thread creation. Confirm the network-owning process for the selected compile-time branch.",
            "variability": "The code waits on the returned thread handle without checking CreateRemoteThread or WaitForSingleObject results before returning true. The separate byte-template branch was read as inert source only.",
            "evidence": [
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 79,
                "end": 127,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
              },
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs",
                "start": 106,
                "end": 175,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "follow-marker-bearing-udp-into-injection",
            "title": "Follow marker-bearing UDP into injection",
            "telemetry": "UDP payload capture, endpoint download and cross-process telemetry.",
            "logic": "Correlate the IDOV31 offsets with a subsequent download and RuntimeBroker memory execution.",
            "false_positives": "NTP port use and injection primitives alone are weak; require the source-specific marker or several stages.",
            "blind_spots": "Changed signatures, missing packet content and disabled endpoint telemetry reduce coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "SandmanBackdoor/Sandman/Program.cs",
                "start": 37,
                "end": 57,
                "label": "SandmanBackdoor/Sandman/Program.cs"
              },
              {
                "path": "SandmanBackdoor/Sandman/Injector.cs",
                "start": 110,
                "end": 173,
                "label": "SandmanBackdoor/Sandman/Injector.cs"
              }
            ]
          },
          {
            "id": "review-unexpected-provider-modules",
            "title": "Review unexpected provider modules",
            "telemetry": "Time-provider configuration/module loads, DLL exports and network events.",
            "logic": "Investigate provider DLLs exposing the three exports when associated with the marker-bearing UDP loop.",
            "false_positives": "Legitimate time providers use these exports; establish signing, path and ownership.",
            "blind_spots": "The DLL variant is optional, and the entry source does not establish automatic registry installation.",
            "status": "untested",
            "evidence": [
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 21,
                "end": 55,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
              }
            ]
          },
          {
            "id": "deep-time-provider-entry",
            "title": "Optional Time Provider DLL entry path",
            "telemetry": "For this variant, correlate time-provider configuration and DLL loading with the host process's UDP/123 traffic, followed by payload retrieval or injection telemetry.",
            "logic": "Untested detection hypothesis. The DLL source exports TimeProvOpen, TimeProvCommand and TimeProvClose. TimeProvOpen synchronously calls the polling loop and returns ERROR_NOT_CAPABLE only after Main returns. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Legitimate third-party time providers load into time-service processes.",
            "blind_spots": "Untested hypothesis. Registration is a prerequisite, and this review does not establish successful loading.",
            "status": "untested",
            "evidence": [
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 21,
                "end": 58,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
              }
            ]
          },
          {
            "id": "deep-injection-return-boundary",
            "title": "Optional injection download and completion boundary",
            "telemetry": "Correlate UDP check-in, URL retrieval, access to RuntimeBroker, remote memory write/protection change and thread creation. Confirm the network-owning process for the selected compile-time branch.",
            "logic": "Untested detection hypothesis. The default branch downloads bytes with WebClient, checks the configured size, allocates target memory RW, writes it, changes it to RX and creates a remote thread. The compile-time USE_SHELLCODE branch embeds a separate downloader template. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Debuggers, security products and some instrumentation tools perform remote memory operations.",
            "blind_spots": "Untested hypothesis. Process access rights, architecture, target availability and failed API returns can stop the chain.",
            "status": "untested",
            "evidence": [
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                "start": 79,
                "end": 127,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
              },
              {
                "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs",
                "start": 106,
                "end": 175,
                "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "UDP / NTP-shaped",
            "HTTP / payload download"
          ],
          "executionMethods": [
            "Remote thread injection"
          ],
          "lolbins": [],
          "encodingTechniques": [],
          "persistenceHints": [
            "Optional time-provider DLL"
          ],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "2 s loop sleep plus receive timeout and payload processing"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "remote-thread-attempt",
              "api": "VirtualAllocEx → WriteProcessMemory → VirtualProtectEx → CreateRemoteThread",
              "call_chain": "InjectShellcode selects the first existing named process, prepares a payload and attempts remote memory/thread operations.",
              "contract": "CreateRemoteThread creates a thread in another process, subject to access and valid start-address requirements. A created thread alone does not prove payload success.",
              "application": "The helper checks several allocation/write/protection results but does not validate the returned thread handle before waiting and returning true. USE_SHELLCODE selects a different download path.",
              "uncertainty": "The P/Invoke wrapper declarations and resulting binary were not revalidated in this focused pass. Target process presence, rights, architecture and payload validity are prerequisites; success is unproven.",
              "telemetry": "Remote memory-write/protection/thread correlations can support investigation where telemetry exists. A Boolean helper return is not a validated injection outcome.",
              "references": [
                {
                  "title": "CreateRemoteThread (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createremotethread"
                }
              ],
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 106,
                  "end": 175,
                  "label": "VirtualAllocEx → WriteProcessMemory → VirtualProtectEx → CreateRemoteThread call site"
                }
              ]
            },
            {
              "id": "time-provider-entry",
              "api": "Optional Time Provider DLL entry path",
              "call_chain": "TimeProvOpen calls Main; Main polls the configured NTP endpoint and passes a returned URL and size to Injector.",
              "contract": "A Windows time provider exposes callback entry points to the time service. Export declarations alone do not install or register the provider.",
              "application": "The DLL source exports TimeProvOpen, TimeProvCommand and TimeProvClose. TimeProvOpen synchronously calls the polling loop and returns ERROR_NOT_CAPABLE only after Main returns.",
              "uncertainty": "Registration, loader compatibility and callback ABI were not exercised. The source's UInt16 name parameter and blocking initialization need explicit runtime limits. Presence of the source does not prove persistence was installed.",
              "telemetry": "For this variant, correlate time-provider configuration and DLL loading with the host process's UDP/123 traffic, followed by payload retrieval or injection telemetry.",
              "references": [
                {
                  "title": "TimeProvOpen (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/timeprov/nf-timeprov-timeprovopen"
                }
              ],
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 21,
                  "end": 58,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
                }
              ]
            },
            {
              "id": "injection-return-boundary",
              "api": "Optional injection download and completion boundary",
              "call_chain": "A matching NTP reply calls InjectShellcode targeting RuntimeBroker; the injector selects its first process instance.",
              "contract": "CreateRemoteThread returns a thread handle; a valid handle or a completed wait does not establish the payload's intended effect.",
              "application": "The default branch downloads bytes with WebClient, checks the configured size, allocates target memory RW, writes it, changes it to RX and creates a remote thread. The compile-time USE_SHELLCODE branch embeds a separate downloader template.",
              "uncertainty": "The code waits on the returned thread handle without checking CreateRemoteThread or WaitForSingleObject results before returning true. The separate byte-template branch was read as inert source only.",
              "telemetry": "Correlate UDP check-in, URL retrieval, access to RuntimeBroker, remote memory write/protection change and thread creation. Confirm the network-owning process for the selected compile-time branch.",
              "references": [
                {
                  "title": "CreateRemoteThread (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createremotethread"
                }
              ],
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 79,
                  "end": 127,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
                },
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs",
                  "start": 106,
                  "end": 175,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Time Provider variant and injector",
              "activation": "TimeProvOpen calls Main; Main polls the configured NTP endpoint and passes a returned URL and size to Injector.",
              "status": "reviewed",
              "detail": "Export entry points, NTP reply processing and download/write/protect/thread calls.",
              "finding_ids": [
                "time-provider-entry",
                "injection-return-boundary"
              ],
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 21,
                  "end": 58,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
                },
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 79,
                  "end": 127,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
                },
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs",
                  "start": 106,
                  "end": 175,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Injector.cs"
                }
              ]
            },
            {
              "module": "Embedded downloader byte template",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "Compile-time byte-array template and patch call sites were read as text. Its machine instructions and export ABI were not validated as a built binary.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 21,
                  "end": 58,
                  "label": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [
        {
          "framework": "sandman",
          "id": "7bac7a1e-7d4a-4410-9ad4-1c85beb6faaf",
          "title": "SEKOIA_Backdoor_Sandman_Strings",
          "status": "source-aligned; not executed",
          "coverage": "framework-specific",
          "collection": "YARA Forge 20261026 / Sekoia.io",
          "path": "yara_rules/backdoor_sandman_strings.yar",
          "url": "https://github.com/SEKOIA-IO/Community/blob/dc3e5baea48e6ddc3f9160182372fecfe518f036/yara_rules/backdoor_sandman_strings.yar#L1-L23",
          "telemetry": "Static .NET artifact bytes",
          "match": "The rule has a condition branch for the exact assembly GUID declared by the reviewed Sandman EXE project. Its other string branch names the same packet/loader identifiers.",
          "caveat": "Applies to artifacts retaining this GUID or enough named strings. Obfuscation, rebuild changes and other Sandman variants can change coverage. No binary was built or scanned.",
          "evidence": [
            {
              "path": "SandmanBackdoor/Sandman/Properties/AssemblyInfo.cs",
              "start": 20,
              "end": 25,
              "label": "Exact assembly GUID"
            },
            {
              "path": "SandmanBackdoor/Sandman/Program.cs",
              "start": 11,
              "end": 21,
              "label": "Packet identifiers"
            }
          ],
          "kind": "YARA",
          "commit": "dc3e5baea48e6ddc3f9160182372fecfe518f036"
        }
      ],
      "techniques": [
        {
          "framework": "sandman",
          "feature": "url-delivery-and-shellcode-injection",
          "reviewed_commit": "3146919960a9cc38b25407ec6b52a0e351225eea",
          "rationale": "The default loader writes downloaded shellcode into a RuntimeBroker process and starts a remote thread.",
          "technique": {
            "id": "T1055",
            "name": "Process Injection",
            "url": "https://attack.mitre.org/techniques/T1055",
            "version": "2.0",
            "stix_id": "attack-pattern--43e7dc91-05b2-474c-b9ac-2ed4fe101f4d"
          },
          "evidence": [
            {
              "path": "SandmanBackdoor/Sandman/Program.cs",
              "start": 65,
              "end": 104,
              "label": "URL and length parsing"
            },
            {
              "path": "SandmanBackdoor/Sandman/Injector.cs",
              "start": 110,
              "end": 135,
              "label": "Target and download"
            },
            {
              "path": "SandmanBackdoor/Sandman/Injector.cs",
              "start": 159,
              "end": 173,
              "label": "Write, protect and execute"
            }
          ]
        },
        {
          "framework": "sandman",
          "feature": "url-delivery-and-shellcode-injection",
          "reviewed_commit": "3146919960a9cc38b25407ec6b52a0e351225eea",
          "rationale": "The loader downloads payload bytes from the URL returned by the packet responder.",
          "technique": {
            "id": "T1105",
            "name": "Ingress Tool Transfer",
            "url": "https://attack.mitre.org/techniques/T1105",
            "version": "2.6",
            "stix_id": "attack-pattern--e6919abc-99f9-4c6c-95a5-14761e7b2add"
          },
          "evidence": [
            {
              "path": "SandmanBackdoor/Sandman/Program.cs",
              "start": 65,
              "end": 104,
              "label": "URL and length parsing"
            },
            {
              "path": "SandmanBackdoor/Sandman/Injector.cs",
              "start": 110,
              "end": 135,
              "label": "Target and download"
            },
            {
              "path": "SandmanBackdoor/Sandman/Injector.cs",
              "start": 159,
              "end": 173,
              "label": "Write, protect and execute"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "ntp-shaped",
          "field": "protocols",
          "label": "NTP-Shaped UDP",
          "description": "Custom UDP messages resemble NTP; they are not classified as a standard NTP task protocol.",
          "features": [
            {
              "id": "ntp-shaped-activation-channel",
              "title": "NTP-shaped activation channel",
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 37,
                  "end": 57,
                  "label": "Request framing and response test"
                },
                {
                  "path": "SandmanServer/sandman_server.py",
                  "start": 61,
                  "end": 78,
                  "label": "Server marker check"
                }
              ]
            }
          ]
        },
        {
          "id": "http-payload",
          "field": "protocols",
          "label": "HTTP Payload Delivery",
          "description": "HTTP fetches a payload. This is distinct from the tasking channel.",
          "features": [
            {
              "id": "url-delivery-and-shellcode-injection",
              "title": "URL delivery and shellcode injection",
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 65,
                  "end": 104,
                  "label": "URL and length parsing"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 110,
                  "end": 135,
                  "label": "Target and download"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 159,
                  "end": 175,
                  "label": "Write, protect and attempt remote execution"
                }
              ]
            }
          ]
        },
        {
          "id": "remote-thread",
          "field": "executionMethods",
          "label": "Remote Thread Injection",
          "description": "The reviewed path writes code into another process and starts a remote thread.",
          "features": [
            {
              "id": "url-delivery-and-shellcode-injection",
              "title": "URL delivery and shellcode injection",
              "evidence": [
                {
                  "path": "SandmanBackdoor/Sandman/Program.cs",
                  "start": 65,
                  "end": 104,
                  "label": "URL and length parsing"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 110,
                  "end": 135,
                  "label": "Target and download"
                },
                {
                  "path": "SandmanBackdoor/Sandman/Injector.cs",
                  "start": 159,
                  "end": 175,
                  "label": "Write, protect and attempt remote execution"
                }
              ]
            }
          ]
        },
        {
          "id": "time-provider-variant",
          "field": "persistenceHints",
          "label": "Time Provider DLL Variant",
          "description": "A DLL variant exposes time-provider entry points. This alone does not establish installation or successful persistence.",
          "features": [
            {
              "id": "time-provider-dll-variant",
              "title": "Time-provider DLL variant",
              "evidence": [
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 21,
                  "end": 38,
                  "label": "Provider exports"
                },
                {
                  "path": "SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs",
                  "start": 41,
                  "end": 55,
                  "label": "DLL activation loop"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "NTP-shaped activation channel",
          "indicator": "UDP/123 payload: 1B 49 44 4F 56 33 31 at offset 0",
          "reference": "NTP-shaped activation channel",
          "anchor": "ntp-shaped-activation-channel",
          "os": "windows",
          "source": "https://github.com/Idov31/Sandman/blob/3146919960a9cc38b25407ec6b52a0e351225eea/SandmanBackdoor/Sandman/Program.cs#L39-L46",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Network packet content",
          "caveat": "Require the payload bytes; port 123 alone is normal traffic."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "URL delivery and shellcode injection",
          "indicator": "RuntimeBroker: VirtualAllocEx → WriteProcessMemory → VirtualProtectEx → CreateRemoteThread",
          "reference": "URL delivery and shellcode injection",
          "anchor": "url-delivery-and-shellcode-injection",
          "os": "windows",
          "source": "https://github.com/Idov31/Sandman/blob/3146919960a9cc38b25407ec6b52a0e351225eea/SandmanBackdoor/Sandman/Injector.cs#L159-L173",
          "confidence": "source-confirmed",
          "mutability": "task/path-dependent",
          "visibility": "Endpoint cross-process telemetry",
          "caveat": "Generic injection APIs need target/network context; RuntimeBroker may not exist."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Time-provider DLL variant",
          "indicator": "TimeProvOpen; TimeProvCommand; TimeProvClose",
          "reference": "Time-provider DLL variant",
          "anchor": "time-provider-dll-variant",
          "os": "windows",
          "source": "https://github.com/Idov31/Sandman/blob/3146919960a9cc38b25407ec6b52a0e351225eea/SandmanBackdoorTimeProvider/SandmanBackdoorTimeProvider/Program.cs#L21-L38",
          "confidence": "source-confirmed",
          "mutability": "optional variant",
          "visibility": "DLL exports / endpoint module",
          "caveat": "Not proof of provider installation by itself."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Managed build identity",
          "indicator": "e9f7c24c-879d-49f2-b9bf-2477dc28e2ee",
          "reference": "Managed build identity",
          "anchor": "managed-build-identity",
          "os": "windows",
          "source": "https://github.com/Idov31/Sandman/blob/3146919960a9cc38b25407ec6b52a0e351225eea/SandmanBackdoor/Sandman/Properties/AssemblyInfo.cs#L20-L25",
          "confidence": "source-confirmed",
          "mutability": "project default/changeable",
          "visibility": "Source / managed artifact metadata",
          "caveat": "Assembly GUID is not a network value."
        }
      ]
    },
    {
      "slug": "shadowforgec2",
      "title": "ShadowForgeC2",
      "relativePath": "frameworks/ShadowForgeC2/README.md",
      "upstream_repo": "https://github.com/0xEr3bus/ShadowForgeC2",
      "implementation": "C++, Python",
      "evaluated_date": "2026-04-09",
      "analyzed_ref": {
        "type": "commit",
        "value": "d2441c168fce6b282bf3dbf8ccab2da24ed528d6",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/ShadowForgeC2/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "d2441c168fce6b282bf3dbf8ccab2da24ed528d6",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "controller",
              "label": "Python controller",
              "role": "OAuth / message edits",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 57,
                  "end": 100,
                  "label": "WinINet and headers"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 174,
                  "end": 181,
                  "label": "Create initial message"
                },
                {
                  "path": "TeamServer/src/main.cpp",
                  "start": 9,
                  "end": 33,
                  "label": "Poll and update lifecycle"
                }
              ]
            },
            {
              "id": "zoom",
              "label": "Zoom chat API",
              "role": "Tasks and result messages",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 57,
                  "end": 100,
                  "label": "WinINet and headers"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 174,
                  "end": 181,
                  "label": "Create initial message"
                },
                {
                  "path": "TeamServer/src/main.cpp",
                  "start": 9,
                  "end": 33,
                  "label": "Poll and update lifecycle"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Windows implant",
              "role": "WinINet / dispatcher",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 251,
                  "end": 269,
                  "label": "Task gate and recon"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 338,
                  "end": 358,
                  "label": "Shell prefix and Base64 output"
                },
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 25,
                  "end": 38,
                  "label": "Process and pipe creation"
                }
              ]
            },
            {
              "id": "shell",
              "label": "cmd.exe",
              "role": "Captured command output",
              "x": 30,
              "y": 305,
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 251,
                  "end": 269,
                  "label": "Task gate and recon"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 338,
                  "end": 358,
                  "label": "Shell prefix and Base64 output"
                },
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 25,
                  "end": 38,
                  "label": "Process and pipe creation"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "controller",
              "to": "zoom",
              "label": "Write command messages",
              "detail": "The controller edits message text to command: plus operator input.",
              "evidence": [
                {
                  "path": "TeamServer/src/main.cpp",
                  "start": 12,
                  "end": 33,
                  "label": "Lifecycle markers"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 357,
                  "end": 378,
                  "label": "Large result branching"
                },
                {
                  "path": "TeamServer/ZoomAPI.py",
                  "start": 129,
                  "end": 156,
                  "label": "Controller result processing"
                }
              ]
            },
            {
              "from": "agent",
              "to": "zoom",
              "label": "Poll and update tracked message",
              "detail": "The implant creates a check-in message and polls/updates it by ID.",
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 57,
                  "end": 100,
                  "label": "WinINet and headers"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 174,
                  "end": 181,
                  "label": "Create initial message"
                },
                {
                  "path": "TeamServer/src/main.cpp",
                  "start": 9,
                  "end": 33,
                  "label": "Poll and update lifecycle"
                }
              ]
            },
            {
              "from": "zoom",
              "to": "agent",
              "label": "Dispatch prefixed message",
              "detail": "The command prefix selects native operations or the shell branch.",
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 251,
                  "end": 269,
                  "label": "Task gate and recon"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 338,
                  "end": 358,
                  "label": "Shell prefix and Base64 output"
                },
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 25,
                  "end": 38,
                  "label": "Process and pipe creation"
                }
              ]
            },
            {
              "from": "agent",
              "to": "shell",
              "label": "Run shell and capture output",
              "detail": "The process helper redirects output; results return through message updates or child posts.",
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 251,
                  "end": 269,
                  "label": "Task gate and recon"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 338,
                  "end": 358,
                  "label": "Shell prefix and Base64 output"
                },
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 25,
                  "end": 38,
                  "label": "Process and pipe creation"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "zoom-https-message-channel",
            "title": "Zoom HTTPS message channel",
            "behavior": "The implant uses WinINet with a browser User-Agent, connects to api.zoom.us over HTTPS and sends JSON with Bearer authorization. Message IDs bind polling and updates.",
            "observable": "Correlate Zoom API access from an unexpected executable with message content or authorized app/channel audit logs.",
            "variability": "Zoom is legitimate infrastructure; domain access alone is not an indicator of compromise. Tokens/channels are per deployment.",
            "evidence": [
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 57,
                "end": 100,
                "label": "WinINet and headers"
              },
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 174,
                "end": 181,
                "label": "Create initial message"
              },
              {
                "path": "TeamServer/src/main.cpp",
                "start": 9,
                "end": 33,
                "label": "Poll and update lifecycle"
              }
            ]
          },
          {
            "id": "typed-commands-and-windows-shell",
            "title": "Typed commands and Windows shell",
            "behavior": "The command: prefix gates built-in identity/process/file operations. Shell tasking prepends cmd.exe /c and executes with redirected output and CREATE_NO_WINDOW.",
            "observable": "A Zoom-connected non-Zoom process spawning cmd.exe is a useful correlation; native file/recon commands need API or audit visibility.",
            "variability": "The prefix is visible in Zoom message content. Passive encrypted traffic conceals it. The helper ignores process-creation and wait results; its 20-second wait is not a guaranteed command timeout. Success is untested.",
            "evidence": [
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 251,
                "end": 269,
                "label": "Task gate and recon"
              },
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 338,
                "end": 358,
                "label": "Shell prefix and Base64 output"
              },
              {
                "path": "TeamServer/src/cmd_powershell.cpp",
                "start": 25,
                "end": 38,
                "label": "Process and pipe creation"
              }
            ]
          },
          {
            "id": "results-and-large-output-threading",
            "title": "Results and large-output threading",
            "behavior": "Main updates the tracked message with Result: output. Large shell output is Base64-encoded and split into child messages prefixed result: under a Huge Output message.",
            "observable": "Authorized message history can expose Result:, result:, Huge Output and Implant Checked In! in one task cycle.",
            "variability": "Markers are case-sensitive in the reviewed paths. API responses are parsed with fixed offsets, so current service compatibility is uncertain.",
            "evidence": [
              {
                "path": "TeamServer/src/main.cpp",
                "start": 12,
                "end": 33,
                "label": "Lifecycle markers"
              },
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 357,
                "end": 378,
                "label": "Large result branching"
              },
              {
                "path": "TeamServer/ZoomAPI.py",
                "start": 129,
                "end": 156,
                "label": "Controller result processing"
              }
            ]
          },
          {
            "id": "deep-native-file-operation-results",
            "title": "Optional native file operations and misleading removal status",
            "behavior": "Task handlers call cp, mkdir and rm; rm routes directories to RecursiveDeleteDirectory. cp uses CopyFileA with FALSE. Recursive deletion walks children and invokes DeleteFileA and RemoveDirectoryA. rm ignores the recursive helper's returned error and unconditionally reports directory removal.",
            "observable": "Correlate task-related file copy/create/delete activity with the agent's Zoom traffic. Verify actual file effects when investigating a success message.",
            "variability": "Several error paths return stack-buffer addresses or pass sizeof(pointer) as a formatting size. Returned status may be incomplete or invalid; no reliability is established.",
            "evidence": [
              {
                "path": "TeamServer/src/cp_mkdir_rm.cpp",
                "start": 14,
                "end": 40,
                "label": "TeamServer/src/cp_mkdir_rm.cpp"
              },
              {
                "path": "TeamServer/src/cp_mkdir_rm.cpp",
                "start": 52,
                "end": 123,
                "label": "TeamServer/src/cp_mkdir_rm.cpp"
              }
            ]
          },
          {
            "id": "deep-native-discovery-access",
            "title": "Optional identity, privilege and process discovery",
            "behavior": "getuid, getprivs and ps helpers query native security and process APIs. getprivs queries TokenPrivileges on the current process. ps calls EnumProcesses then opens each process with QUERY_INFORMATION and VM_READ to obtain names; inaccessible processes are skipped.",
            "observable": "Correlate broad process-query access from the implant owner with Zoom task/result activity. Avoid treating every VM_READ handle as credential dumping or injection.",
            "variability": "The shown helper enumerates privileges; it does not enable them. Fixed process-array size and process races can limit results. API error handling does not establish complete inventory.",
            "evidence": [
              {
                "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                "start": 21,
                "end": 86,
                "label": "TeamServer/src/getuid_getprivs_ps.cpp"
              },
              {
                "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                "start": 144,
                "end": 178,
                "label": "TeamServer/src/getuid_getprivs_ps.cpp"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "join-zoom-chat-polling-and-command-execution",
            "title": "Join Zoom chat polling and command execution",
            "telemetry": "Endpoint process/network records and authorized Zoom app/message audit data.",
            "logic": "Look for non-approved API clients editing/polling a message while spawning cmd.exe and posting output.",
            "false_positives": "Zoom integrations and support tooling can automate workflows; baseline apps and hosts.",
            "blind_spots": "HTTPS hides content; tokens, endpoints and message parsing can change.",
            "status": "untested",
            "evidence": [
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 57,
                "end": 100,
                "label": "TeamServer/src/SendRecv_main.cpp"
              },
              {
                "path": "TeamServer/src/SendRecv_main.cpp",
                "start": 338,
                "end": 378,
                "label": "TeamServer/src/SendRecv_main.cpp"
              },
              {
                "path": "TeamServer/ZoomAPI.py",
                "start": 98,
                "end": 115,
                "label": "TeamServer/ZoomAPI.py"
              }
            ]
          },
          {
            "id": "review-the-message-marker-sequence",
            "title": "Review the message marker sequence",
            "telemetry": "Authorized chat message content and app identity.",
            "logic": "Correlate Implant Checked In!, command: and Result:/Huge Output markers in one app/channel lifecycle.",
            "false_positives": "Literal markers may occur in benign tests; require the full sequence and endpoint context.",
            "blind_spots": "Operators can edit markers and remove messages; current API compatibility is not verified.",
            "status": "untested",
            "evidence": [
              {
                "path": "TeamServer/src/main.cpp",
                "start": 12,
                "end": 33,
                "label": "TeamServer/src/main.cpp"
              },
              {
                "path": "TeamServer/ZoomAPI.py",
                "start": 129,
                "end": 156,
                "label": "TeamServer/ZoomAPI.py"
              }
            ]
          },
          {
            "id": "deep-native-file-operation-results",
            "title": "Optional native file operations and misleading removal status",
            "telemetry": "Correlate task-related file copy/create/delete activity with the agent's Zoom traffic. Verify actual file effects when investigating a success message.",
            "logic": "Untested detection hypothesis. cp uses CopyFileA with FALSE. Recursive deletion walks children and invokes DeleteFileA and RemoveDirectoryA. rm ignores the recursive helper's returned error and unconditionally reports directory removal. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "File managers and administration agents perform these operations.",
            "blind_spots": "Untested hypothesis. Errors can interrupt formatting or result delivery, and deleted files may require filesystem journaling.",
            "status": "untested",
            "evidence": [
              {
                "path": "TeamServer/src/cp_mkdir_rm.cpp",
                "start": 14,
                "end": 40,
                "label": "TeamServer/src/cp_mkdir_rm.cpp"
              },
              {
                "path": "TeamServer/src/cp_mkdir_rm.cpp",
                "start": 52,
                "end": 123,
                "label": "TeamServer/src/cp_mkdir_rm.cpp"
              }
            ]
          },
          {
            "id": "deep-native-discovery-access",
            "title": "Optional identity, privilege and process discovery",
            "telemetry": "Correlate broad process-query access from the implant owner with Zoom task/result activity. Avoid treating every VM_READ handle as credential dumping or injection.",
            "logic": "Untested detection hypothesis. getprivs queries TokenPrivileges on the current process. ps calls EnumProcesses then opens each process with QUERY_INFORMATION and VM_READ to obtain names; inaccessible processes are skipped. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Inventory agents and security tools query many processes and tokens.",
            "blind_spots": "Untested hypothesis. Ordinary process-start logs do not expose the enumeration itself.",
            "status": "untested",
            "evidence": [
              {
                "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                "start": 21,
                "end": 86,
                "label": "TeamServer/src/getuid_getprivs_ps.cpp"
              },
              {
                "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                "start": 144,
                "end": 178,
                "label": "TeamServer/src/getuid_getprivs_ps.cpp"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "Zoom API / HTTPS"
          ],
          "executionMethods": [
            "cmd.exe"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64"
          ],
          "persistenceHints": [],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "10 s before polling plus 1 s before result handling; command/API time adds delay"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "unchecked-process-pipe",
              "api": "CreateProcessA / WaitForSingleObject / pipe capture",
              "call_chain": "execute_shell_commands creates an inheritable output pipe, launches the supplied command and returns the reading handle; ReadFromPipe consumes it.",
              "contract": "CreateProcessA reports process-creation success through its Boolean return. Waiting for a process is separate from collecting pipe output.",
              "application": "stdout and stderr share the same pipe. The helper ignores CreateProcessA's return and the result of a 20-second wait, then proceeds to read.",
              "uncertainty": "The helper does not establish a successful child or a hard 20-second task timeout. Reads can block while a writer remains open. The filename cmd_powershell.cpp does not prove hosted PowerShell.",
              "telemetry": "Use the actual selected command and child process, plus Zoom API activity. Process existence/output completeness requires endpoint evidence.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessa"
                }
              ],
              "evidence": [
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 13,
                  "end": 68,
                  "label": "CreateProcessA / WaitForSingleObject / pipe capture call site"
                }
              ]
            },
            {
              "id": "native-file-operation-results",
              "api": "Optional native file operations and misleading removal status",
              "call_chain": "Task handlers call cp, mkdir and rm; rm routes directories to RecursiveDeleteDirectory.",
              "contract": "CopyFileA with bFailIfExists FALSE permits overwriting an existing destination. File removal APIs can fail and require checked results.",
              "application": "cp uses CopyFileA with FALSE. Recursive deletion walks children and invokes DeleteFileA and RemoveDirectoryA. rm ignores the recursive helper's returned error and unconditionally reports directory removal.",
              "uncertainty": "Several error paths return stack-buffer addresses or pass sizeof(pointer) as a formatting size. Returned status may be incomplete or invalid; no reliability is established.",
              "telemetry": "Correlate task-related file copy/create/delete activity with the agent's Zoom traffic. Verify actual file effects when investigating a success message.",
              "references": [
                {
                  "title": "CopyFileA (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-copyfilea"
                }
              ],
              "evidence": [
                {
                  "path": "TeamServer/src/cp_mkdir_rm.cpp",
                  "start": 14,
                  "end": 40,
                  "label": "TeamServer/src/cp_mkdir_rm.cpp"
                },
                {
                  "path": "TeamServer/src/cp_mkdir_rm.cpp",
                  "start": 52,
                  "end": 123,
                  "label": "TeamServer/src/cp_mkdir_rm.cpp"
                }
              ]
            },
            {
              "id": "native-discovery-access",
              "api": "Optional identity, privilege and process discovery",
              "call_chain": "getuid, getprivs and ps helpers query native security and process APIs.",
              "contract": "OpenProcessToken with TOKEN_QUERY permits token queries. It does not request token duplication or impersonation.",
              "application": "getprivs queries TokenPrivileges on the current process. ps calls EnumProcesses then opens each process with QUERY_INFORMATION and VM_READ to obtain names; inaccessible processes are skipped.",
              "uncertainty": "The shown helper enumerates privileges; it does not enable them. Fixed process-array size and process races can limit results. API error handling does not establish complete inventory.",
              "telemetry": "Correlate broad process-query access from the implant owner with Zoom task/result activity. Avoid treating every VM_READ handle as credential dumping or injection.",
              "references": [
                {
                  "title": "OpenProcessToken (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-openprocesstoken"
                }
              ],
              "evidence": [
                {
                  "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                  "start": 21,
                  "end": 86,
                  "label": "TeamServer/src/getuid_getprivs_ps.cpp"
                },
                {
                  "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                  "start": 144,
                  "end": 178,
                  "label": "TeamServer/src/getuid_getprivs_ps.cpp"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Native filesystem and security discovery",
              "activation": "Task handlers call cp, mkdir and rm; rm routes directories to RecursiveDeleteDirectory.",
              "status": "reviewed",
              "detail": "File overwrite/deletion, identity, token-privilege and process-enumeration implementations.",
              "finding_ids": [
                "native-file-operation-results",
                "native-discovery-access"
              ],
              "evidence": [
                {
                  "path": "TeamServer/src/cp_mkdir_rm.cpp",
                  "start": 14,
                  "end": 40,
                  "label": "TeamServer/src/cp_mkdir_rm.cpp"
                },
                {
                  "path": "TeamServer/src/cp_mkdir_rm.cpp",
                  "start": 52,
                  "end": 123,
                  "label": "TeamServer/src/cp_mkdir_rm.cpp"
                },
                {
                  "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                  "start": 21,
                  "end": 86,
                  "label": "TeamServer/src/getuid_getprivs_ps.cpp"
                },
                {
                  "path": "TeamServer/src/getuid_getprivs_ps.cpp",
                  "start": 144,
                  "end": 178,
                  "label": "TeamServer/src/getuid_getprivs_ps.cpp"
                }
              ]
            },
            {
              "module": "SDK and operator generation",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "dependency-boundary",
              "detail": "Zoom service behavior, dependency internals and generated binary properties require separate evidence. No operator generator was invoked.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "TeamServer/src/cp_mkdir_rm.cpp",
                  "start": 14,
                  "end": 40,
                  "label": "TeamServer/src/cp_mkdir_rm.cpp"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "shadowforgec2",
          "feature": "typed-commands-and-windows-shell",
          "reviewed_commit": "d2441c168fce6b282bf3dbf8ccab2da24ed528d6",
          "rationale": "The command helper invokes the Windows command shell for operator-supplied tasks.",
          "technique": {
            "id": "T1059.003",
            "name": "Windows Command Shell",
            "url": "https://attack.mitre.org/techniques/T1059/003",
            "version": "1.5",
            "stix_id": "attack-pattern--d1fcf083-a721-4223-aedf-bf8960798d62"
          },
          "evidence": [
            {
              "path": "TeamServer/src/SendRecv_main.cpp",
              "start": 251,
              "end": 269,
              "label": "Task gate and recon"
            },
            {
              "path": "TeamServer/src/SendRecv_main.cpp",
              "start": 338,
              "end": 358,
              "label": "Shell prefix and Base64 output"
            },
            {
              "path": "TeamServer/src/cmd_powershell.cpp",
              "start": 25,
              "end": 38,
              "label": "Process and pipe creation"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "zoom-api",
          "field": "protocols",
          "label": "Zoom API (HTTPS)",
          "description": "The reviewed task channel uses Zoom over HTTPS.",
          "features": [
            {
              "id": "zoom-https-message-channel",
              "title": "Zoom HTTPS message channel",
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 57,
                  "end": 100,
                  "label": "WinINet and headers"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 174,
                  "end": 181,
                  "label": "Create initial message"
                },
                {
                  "path": "TeamServer/src/main.cpp",
                  "start": 9,
                  "end": 33,
                  "label": "Poll and update lifecycle"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-command-shell",
          "field": "executionMethods",
          "label": "Windows Command Shell (cmd.exe)",
          "description": "Commands run through the Windows command interpreter.",
          "features": [
            {
              "id": "typed-commands-and-windows-shell",
              "title": "Typed commands and Windows shell",
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 251,
                  "end": 269,
                  "label": "Task gate and recon"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 338,
                  "end": 358,
                  "label": "Shell prefix and Base64 output"
                },
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 25,
                  "end": 38,
                  "label": "Process and pipe creation"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "typed-commands-and-windows-shell",
              "title": "Typed commands and Windows shell",
              "evidence": [
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 251,
                  "end": 269,
                  "label": "Task gate and recon"
                },
                {
                  "path": "TeamServer/src/SendRecv_main.cpp",
                  "start": 338,
                  "end": 358,
                  "label": "Shell prefix and Base64 output"
                },
                {
                  "path": "TeamServer/src/cmd_powershell.cpp",
                  "start": 25,
                  "end": 38,
                  "label": "Process and pipe creation"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-request",
          "typeLabel": "HTTP request",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Zoom HTTPS message channel",
          "indicator": "HTTPS /v2/chat/users/me/messages[/<message id>]",
          "reference": "Zoom HTTPS message channel",
          "anchor": "zoom-https-message-channel",
          "os": "windows",
          "source": "https://github.com/0xEr3bus/ShadowForgeC2/blob/d2441c168fce6b282bf3dbf8ccab2da24ed528d6/TeamServer/src/SendRecv_main.cpp#L174-L181",
          "confidence": "source-confirmed",
          "mutability": "service endpoint; configurable tokens",
          "visibility": "Decrypted HTTP / app audit",
          "caveat": "Legitimate Zoom path; require process/task context."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Results and large-output threading",
          "indicator": "Implant Checked In!; Result: ; Huge Output; result:",
          "reference": "Results and large-output threading",
          "anchor": "results-and-large-output-threading",
          "os": "windows",
          "source": "https://github.com/0xEr3bus/ShadowForgeC2/blob/d2441c168fce6b282bf3dbf8ccab2da24ed528d6/TeamServer/src/main.cpp#L12-L33",
          "confidence": "source-confirmed",
          "mutability": "source constants/changeable",
          "visibility": "Zoom message content / source",
          "caveat": "TLS conceals these from a passive network sensor."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Typed commands and Windows shell",
          "indicator": "Unexpected Zoom-API client → cmd.exe /c <task>",
          "reference": "Typed commands and Windows shell",
          "anchor": "typed-commands-and-windows-shell",
          "os": "windows",
          "source": "https://github.com/0xEr3bus/ShadowForgeC2/blob/d2441c168fce6b282bf3dbf8ccab2da24ed528d6/TeamServer/src/SendRecv_main.cpp#L338-L358",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint process/network",
          "caveat": "Legitimate integrations can automate commands; establish provenance."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Typed commands and Windows shell",
          "indicator": "CreateProcessA with CREATE_NO_WINDOW and redirected pipe handles",
          "reference": "Typed commands and Windows shell",
          "anchor": "typed-commands-and-windows-shell",
          "os": "windows",
          "source": "https://github.com/0xEr3bus/ShadowForgeC2/blob/d2441c168fce6b282bf3dbf8ccab2da24ed528d6/TeamServer/src/cmd_powershell.cpp#L25-L38",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint API telemetry",
          "caveat": "Generic APIs alone are not attribution."
        }
      ]
    },
    {
      "slug": "silenttrinity",
      "title": "SILENTTRINITY",
      "relativePath": "frameworks/SILENTTRINITY/README.md",
      "upstream_repo": "https://github.com/byt3bl33d3r/SILENTTRINITY",
      "implementation": "Python, Boo, C#, PowerShell",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "08b1c61b5ae0be2456485df2e7811a96fbed4c7b",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/SILENTTRINITY/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "08b1c61b5ae0be2456485df2e7811a96fbed4c7b",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "listener",
              "label": "Python HTTP(S) listener",
              "role": "UUID routes / task queue",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 78,
                  "end": 85,
                  "label": "Routes"
                },
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 110,
                  "end": 141,
                  "label": "Stage/job handlers"
                },
                {
                  "path": "silenttrinity/core/teamserver/comms/http.boo",
                  "start": 85,
                  "end": 115,
                  "label": "Client channel calls"
                }
              ]
            },
            {
              "id": "stage",
              "label": "Boo/.NET stage",
              "role": "Crypto and channel helpers",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 107,
                  "end": 126,
                  "label": "Key setup"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 134,
                  "end": 174,
                  "label": "Encryption and HMAC"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 191,
                  "end": 205,
                  "label": "MAC verification"
                }
              ]
            },
            {
              "id": "task",
              "label": "In-memory Boo tasks",
              "role": "Compiler and loaded assemblies",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 387,
                  "end": 430,
                  "label": "In-memory compilation"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 450,
                  "end": 455,
                  "label": "Timing defaults"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 515,
                  "end": 521,
                  "label": "Optional jitter"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "stage",
              "to": "listener",
              "label": "Exchange keys and poll jobs",
              "detail": "Channel helpers use the UUID stage/job route family.",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 78,
                  "end": 85,
                  "label": "Routes"
                },
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 110,
                  "end": 141,
                  "label": "Stage/job handlers"
                },
                {
                  "path": "silenttrinity/core/teamserver/comms/http.boo",
                  "start": 85,
                  "end": 115,
                  "label": "Client channel calls"
                }
              ]
            },
            {
              "from": "listener",
              "to": "stage",
              "label": "Deliver encrypted task data",
              "detail": "The stage verifies framed encrypted messages before task processing.",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 107,
                  "end": 126,
                  "label": "Key setup"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 134,
                  "end": 174,
                  "label": "Encryption and HMAC"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 191,
                  "end": 205,
                  "label": "MAC verification"
                }
              ]
            },
            {
              "from": "stage",
              "to": "task",
              "label": "Compile and invoke received source",
              "detail": "BooCompiler compiles tasks in memory with selected assembly references.",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 387,
                  "end": 430,
                  "label": "In-memory compilation"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 450,
                  "end": 455,
                  "label": "Timing defaults"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 515,
                  "end": 521,
                  "label": "Optional jitter"
                }
              ]
            },
            {
              "from": "task",
              "to": "listener",
              "label": "Submit encrypted result",
              "detail": "Job output returns through the result POST helper and matching listener route.",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 78,
                  "end": 85,
                  "label": "Routes"
                },
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 110,
                  "end": 141,
                  "label": "Stage/job handlers"
                },
                {
                  "path": "silenttrinity/core/teamserver/comms/http.boo",
                  "start": 85,
                  "end": 115,
                  "label": "Client channel calls"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "uuid-task-and-result-routes",
            "title": "UUID task and result routes",
            "behavior": "The HTTP listener accepts key exchange/stage retrieval at /<UUID>, jobs at /<UUID>/jobs and result POSTs at /<UUID>/jobs/<job_id>. Successful payload replies use application/octet-stream.",
            "observable": "The UUID/job route family and binary content type provide a compound HTTP pivot.",
            "variability": "An idle jobs response may be empty with status 200; content type is not a universal property of every response.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/listeners/http.py",
                "start": 78,
                "end": 85,
                "label": "Routes"
              },
              {
                "path": "silenttrinity/core/teamserver/listeners/http.py",
                "start": 110,
                "end": 141,
                "label": "Stage/job handlers"
              },
              {
                "path": "silenttrinity/core/teamserver/comms/http.boo",
                "start": 85,
                "end": 115,
                "label": "Client channel calls"
              }
            ]
          },
          {
            "id": "filtering-and-tls-channel-behavior",
            "title": "Filtering and TLS channel behavior",
            "behavior": "The listener returns 404 for User-Agents containing curl or httpie. Its Apache-header postprocessor is defined but registration is commented out. The HTTPS channel accepts certificates through a callback.",
            "observable": "Investigate source-confirmed route/filter behavior and unexpected managed HTTPS clients; do not fingerprint on an inactive Apache header.",
            "variability": "A 404 or a missing Server header is weak evidence. This review did not probe a listener.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/listeners/http.py",
                "start": 74,
                "end": 104,
                "label": "Active versus disabled hooks"
              },
              {
                "path": "silenttrinity/core/teamserver/comms/https.boo",
                "start": 29,
                "end": 44,
                "label": "HTTPS client policy"
              }
            ]
          },
          {
            "id": "encrypted-session-framing",
            "title": "Encrypted session framing",
            "behavior": "The stage uses ECDH-derived material and AES encryption. Messages serialize a random 16-byte IV, ciphertext and a 32-byte HMAC; decryption verifies the MAC.",
            "observable": "Packet lengths/framing may help when bodies are available, while job command strings remain encrypted.",
            "variability": "Aes.Create mode is not explicitly set in this helper, so this review does not infer a mode from a runtime default.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 107,
                "end": 126,
                "label": "Key setup"
              },
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 134,
                "end": 174,
                "label": "Encryption and HMAC"
              },
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 191,
                "end": 205,
                "label": "MAC verification"
              }
            ]
          },
          {
            "id": "boo-task-compilation-and-timing",
            "title": "Boo task compilation and timing",
            "behavior": "CompileAndRun feeds received source into BooCompiler with CompileToMemory and loads Boo.Lang assemblies. STClient defaults to 5000 ms sleep and zero jitter, with optional random jitter controls.",
            "observable": "Boo compiler assemblies in an unexpected process plus UUID job traffic are stronger than ordinary .NET or PowerShell activity alone.",
            "variability": "Module capabilities vary with supplied Boo source. Current Boo runtime evidence must not be replaced with older IronPython signatures.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 387,
                "end": 430,
                "label": "In-memory compilation"
              },
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 450,
                "end": 455,
                "label": "Timing defaults"
              },
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 515,
                "end": 521,
                "label": "Optional jitter"
              }
            ]
          },
          {
            "id": "deep-permanent-wmi-subscription",
            "title": "Optional WMI persistence",
            "behavior": "boo/wmipersistence replaces template options, then Main creates an event filter, consumer and binding. The template writes objects in root/subscription. Its filter watches Win32_ProcessStartTrace for the selected process name. Consumer selection sets a command-line payload or JScript/VBScript text; the binding joins the object paths.",
            "observable": "Correlate creation of __EventFilter, CommandLineEventConsumer or ActiveScriptEventConsumer, and __FilterToConsumerBinding with matching names/paths. Review consumer content and subsequent triggered process activity.",
            "variability": "Each object operation can fail. Earlier helpers catch exceptions and return objects that may be null; the outer catch reports failures. Registration does not establish that the later trigger ran.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py",
                "start": 39,
                "end": 47,
                "label": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo",
                "start": 8,
                "end": 76,
                "label": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo"
              }
            ]
          },
          {
            "id": "deep-optional-startup-service-com",
            "title": "Optional Startup, service and COM persistence",
            "behavior": "Selected persistence modules pass add/remove/check options to their Boo templates. The Startup helper creates a .lnk through WScript.Shell and backdates timestamps by 60 to 89 days. The service helper selects Automatic start and calls Install. The CLSID helper writes a per-user InProcServer32 default value and ThreadingModel.",
            "observable": "Correlate Startup shortcut creation and timestamp changes; inspect service installation and its image path; review new per-user CLSID registrations pointing to unusual paths. Match each artifact to its selected module.",
            "variability": "Service installation needs permissions and compatible configuration. COM execution depends on a client activating the chosen CLSID. The templates' status messages do not prove a reboot, logon or COM activation occurred.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                "start": 41,
                "end": 85,
                "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                "start": 45,
                "end": 85,
                "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                "start": 7,
                "end": 29,
                "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
              }
            ]
          },
          {
            "id": "deep-uac-template-name-mismatch",
            "title": "uacfodhelper template selects SilentCleanup",
            "behavior": "The boo/uacfodhelper wrapper reads bypassUACfodhelper.boo and replaces Binary, Arguments and Path. The selected template writes HKCU Environment/windir, starts schtasks.exe targeting Microsoft/Windows/DiskCleanup/SilentCleanup, then deletes the value. There is no fodhelper.exe invocation in this template.",
            "observable": "Correlate the temporary user windir value with schtasks.exe invocation of SilentCleanup and its resulting process tree. A hunt keyed only to fodhelper.exe misses this source path.",
            "variability": "The wrapper name and description disagree with its actual implementation. Windows version, UAC configuration and scheduled-task behavior determine the effect. No elevation was tested.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                "start": 7,
                "end": 9,
                "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                "start": 31,
                "end": 37,
                "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo",
                "start": 8,
                "end": 46,
                "label": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo"
              }
            ]
          },
          {
            "id": "deep-minidump-result-boundary",
            "title": "Optional process minidump collection",
            "behavior": "The minidump module's Start checks administrator membership, enumerates the chosen process and uploads the specified path. For each matching process, the template creates/truncates a FileStream and invokes MiniDumpWriteDump with dump type 0x2, then calls job.Upload on the file.",
            "observable": "Correlate process access, DbgHelp activity, dump-file creation and upload by the agent process. Validate dump content and size before claiming successful memory collection.",
            "variability": "The P/Invoke declaration uses int handles and does not expose a BOOL result. Pointer width, access rights and dump failure can affect output. Multiple matching processes reuse the same path.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo",
                "start": 7,
                "end": 29,
                "label": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo"
              }
            ]
          },
          {
            "id": "deep-winrm-async-and-trust",
            "title": "Optional WinRM execution and TrustedHosts changes",
            "behavior": "The winrm template creates a WSMan runspace and starts a pipeline; an option also changes TrustedHosts. The template connects over HTTP port 5985 at /wsman, optionally supplies credentials and invokes a trimmed payload. The TrustedHosts option overwrites the local value with the target and clears it in ensure.",
            "observable": "Correlate WSMan client configuration changes, process-owned connections to target port 5985, target-side remoting logs and the resulting command activity.",
            "variability": "The helper does not wait for pipeline completion or collect its output. It does not restore the previous TrustedHosts value. Authentication and remote configuration remain prerequisites.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo",
                "start": 18,
                "end": 61,
                "label": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo"
              }
            ]
          },
          {
            "id": "deep-keyboard-hook-and-job-results",
            "title": "Optional native keyboard hook",
            "behavior": "The keylogger template's Start creates InterceptKeys, which installs a low-level hook and runs a Forms message loop. SetHook requests WH_KEYBOARD_LL with thread ID zero. The callback accumulates keys with foreground-window titles and timestamps. A separate thread sleeps for configured minutes and sends the accumulated string through SendJobResults.",
            "observable": "Use EDR hook telemetry, foreground-window queries and job-result transfer from the same CLR process. The source does not require a keylog file on disk.",
            "variability": "The template does not check the hook handle. Its timed thread reports once; it does not itself terminate Application.Run. Desktop boundaries and hook delivery limit collection.",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                "start": 15,
                "end": 70,
                "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                "start": 271,
                "end": 297,
                "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                "start": 323,
                "end": 324,
                "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "correlate-uuid-job-traffic-with-boo-runtime-activity",
            "title": "Correlate UUID job traffic with Boo runtime activity",
            "telemetry": "HTTP URI/content visibility and managed assembly/process telemetry.",
            "logic": "Investigate the UUID jobs/result pattern from a process loading Boo.Lang.Compiler and compiling received source.",
            "false_positives": "Boo applications and UUID APIs exist; require the cross-surface association.",
            "blind_spots": "TLS hides HTTP paths without inspection; stage/module changes and missing assembly logging limit coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/listeners/http.py",
                "start": 78,
                "end": 81,
                "label": "silenttrinity/core/teamserver/listeners/http.py"
              },
              {
                "path": "silenttrinity/core/teamserver/data/stage.boo",
                "start": 387,
                "end": 430,
                "label": "silenttrinity/core/teamserver/data/stage.boo"
              }
            ]
          },
          {
            "id": "use-correct-route-and-response-context",
            "title": "Use correct route and response context",
            "telemetry": "Authorized HTTP logs/content for a known investigation.",
            "logic": "Review stage/job routes and binary bodies; account for curl/httpie 404 filtering and empty idle replies.",
            "false_positives": "404 responses and application/octet-stream are ordinary behavior individually.",
            "blind_spots": "No scanner response or server header alone proves this framework; inactive make_normal code must not be used as a signature.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/listeners/http.py",
                "start": 74,
                "end": 141,
                "label": "silenttrinity/core/teamserver/listeners/http.py"
              }
            ]
          },
          {
            "id": "deep-permanent-wmi-subscription",
            "title": "Optional WMI persistence",
            "telemetry": "Correlate creation of __EventFilter, CommandLineEventConsumer or ActiveScriptEventConsumer, and __FilterToConsumerBinding with matching names/paths. Review consumer content and subsequent triggered process activity.",
            "logic": "Untested detection hypothesis. The template writes objects in root/subscription. Its filter watches Win32_ProcessStartTrace for the selected process name. Consumer selection sets a command-line payload or JScript/VBScript text; the binding joins the object paths. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Legitimate management agents use permanent WMI subscriptions.",
            "blind_spots": "Untested hypothesis. WMI object telemetry and later process evidence are required; names and trigger process are operator options.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py",
                "start": 39,
                "end": 47,
                "label": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo",
                "start": 8,
                "end": 76,
                "label": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo"
              }
            ]
          },
          {
            "id": "deep-optional-startup-service-com",
            "title": "Optional Startup, service and COM persistence",
            "telemetry": "Correlate Startup shortcut creation and timestamp changes; inspect service installation and its image path; review new per-user CLSID registrations pointing to unusual paths. Match each artifact to its selected module.",
            "logic": "Untested detection hypothesis. The Startup helper creates a .lnk through WScript.Shell and backdates timestamps by 60 to 89 days. The service helper selects Automatic start and calls Install. The CLSID helper writes a per-user InProcServer32 default value and ThreadingModel. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Installers, legitimate COM components and startup applications write the same artifact classes.",
            "blind_spots": "Untested hypothesis. These are separate optional modules with different permissions and triggers; no single event covers all three.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                "start": 41,
                "end": 85,
                "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                "start": 45,
                "end": 85,
                "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                "start": 7,
                "end": 29,
                "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
              }
            ]
          },
          {
            "id": "deep-uac-template-name-mismatch",
            "title": "uacfodhelper template selects SilentCleanup",
            "telemetry": "Correlate the temporary user windir value with schtasks.exe invocation of SilentCleanup and its resulting process tree. A hunt keyed only to fodhelper.exe misses this source path.",
            "logic": "Untested detection hypothesis. The selected template writes HKCU Environment/windir, starts schtasks.exe targeting Microsoft/Windows/DiskCleanup/SilentCleanup, then deletes the value. There is no fodhelper.exe invocation in this template. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Troubleshooting and maintenance can invoke SilentCleanup; require the paired windir modification.",
            "blind_spots": "Untested hypothesis. An attempted task start does not establish elevated payload execution.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                "start": 7,
                "end": 9,
                "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                "start": 31,
                "end": 37,
                "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo",
                "start": 8,
                "end": 46,
                "label": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo"
              }
            ]
          },
          {
            "id": "deep-minidump-result-boundary",
            "title": "Optional process minidump collection",
            "telemetry": "Correlate process access, DbgHelp activity, dump-file creation and upload by the agent process. Validate dump content and size before claiming successful memory collection.",
            "logic": "Untested detection hypothesis. For each matching process, the template creates/truncates a FileStream and invokes MiniDumpWriteDump with dump type 0x2, then calls job.Upload on the file. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Crash collection, debugging and forensic tools create process dumps.",
            "blind_spots": "Untested hypothesis. An empty or overwritten file can be uploaded even when the dump API fails; target selection is configurable.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo",
                "start": 7,
                "end": 29,
                "label": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo"
              }
            ]
          },
          {
            "id": "deep-winrm-async-and-trust",
            "title": "Optional WinRM execution and TrustedHosts changes",
            "telemetry": "Correlate WSMan client configuration changes, process-owned connections to target port 5985, target-side remoting logs and the resulting command activity.",
            "logic": "Untested detection hypothesis. The template connects over HTTP port 5985 at /wsman, optionally supplies credentials and invokes a trimmed payload. The TrustedHosts option overwrites the local value with the target and clears it in ensure. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "PowerShell remoting is widely used for administration.",
            "blind_spots": "Untested hypothesis. A started pipeline and a network connection do not prove successful remote command completion.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo",
                "start": 18,
                "end": 61,
                "label": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo"
              }
            ]
          },
          {
            "id": "deep-keyboard-hook-and-job-results",
            "title": "Optional native keyboard hook",
            "telemetry": "Use EDR hook telemetry, foreground-window queries and job-result transfer from the same CLR process. The source does not require a keylog file on disk.",
            "logic": "Untested detection hypothesis. SetHook requests WH_KEYBOARD_LL with thread ID zero. The callback accumulates keys with foreground-window titles and timestamps. A separate thread sleeps for configured minutes and sends the accumulated string through SendJobResults. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Accessibility, hotkey and input-monitoring tools use hooks.",
            "blind_spots": "Untested hypothesis. Standard process and file logs often do not expose hooks or in-memory captures.",
            "status": "untested",
            "evidence": [
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                "start": 15,
                "end": 70,
                "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                "start": 271,
                "end": 297,
                "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
              },
              {
                "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                "start": 323,
                "end": 324,
                "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "HTTPS / TLS"
          ],
          "executionMethods": [
            "In-memory Boo compilation"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "AES",
            "HMAC-SHA256"
          ],
          "persistenceHints": [
            "WMI subscription",
            "Startup shortcut",
            "COM CLSID registration",
            "Windows service"
          ],
          "beaconFixed": true,
          "beaconJitter": true,
          "delayNotes": [
            "5000 ms base sleep with zero initial jitter; remote sleep/jitter controls"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "boo-memory-compile",
              "api": "BooCompiler / CompileToMemory / generated module invocation",
              "call_chain": "CompileAndRun adds task text to compiler input, selects CompileToMemory, checks for a generated assembly and invokes the derived module.",
              "contract": "The Boo compiler pipeline produces an assembly in memory; compiling, resolving a generated type and invoking a method are separate stages.",
              "application": "The source returns compiler errors if no assembly is generated. Otherwise it resolves a task-ID-derived module, redirects Console streams, and calls Main or falls back to Start.",
              "uncertainty": "The Boo compiler/dependency version and individual task bodies were not executed or validated. A Python teamserver does not mean the implant executes Python.",
              "telemetry": "Managed compiler/assembly visibility can matter without a powershell.exe or compiler.exe child. Specific telemetry availability depends on the sensor.",
              "references": [
                {
                  "title": "Boo CompileToMemory pipeline (reference snapshot; deployed version unverified)",
                  "url": "https://github.com/boo-lang/boo/blob/10cfbf08e0f5568220bc621606a3e49d48dc69a5/src/Boo.Lang.Compiler/Pipelines/CompileToMemory.cs#L29-L40"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 387,
                  "end": 440,
                  "label": "BooCompiler / CompileToMemory / generated module invocation call site"
                }
              ]
            },
            {
              "id": "permanent-wmi-subscription",
              "api": "Optional WMI persistence",
              "call_chain": "boo/wmipersistence replaces template options, then Main creates an event filter, consumer and binding.",
              "contract": "A permanent WMI subscription associates a filter with a logical consumer and persists until registration is removed, subject to security requirements.",
              "application": "The template writes objects in root/subscription. Its filter watches Win32_ProcessStartTrace for the selected process name. Consumer selection sets a command-line payload or JScript/VBScript text; the binding joins the object paths.",
              "uncertainty": "Each object operation can fail. Earlier helpers catch exceptions and return objects that may be null; the outer catch reports failures. Registration does not establish that the later trigger ran.",
              "telemetry": "Correlate creation of __EventFilter, CommandLineEventConsumer or ActiveScriptEventConsumer, and __FilterToConsumerBinding with matching names/paths. Review consumer content and subsequent triggered process activity.",
              "references": [
                {
                  "title": "Permanent WMI subscriptions",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/wmisdk/receiving-events-at-all-times"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py",
                  "start": 39,
                  "end": 47,
                  "label": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo",
                  "start": 8,
                  "end": 76,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo"
                }
              ]
            },
            {
              "id": "optional-startup-service-com",
              "api": "Optional Startup, service and COM persistence",
              "call_chain": "Selected persistence modules pass add/remove/check options to their Boo templates.",
              "contract": "ServiceInstaller installs service configuration. Registry writes and shortcut creation establish artifacts; startup execution requires a later activation event.",
              "application": "The Startup helper creates a .lnk through WScript.Shell and backdates timestamps by 60 to 89 days. The service helper selects Automatic start and calls Install. The CLSID helper writes a per-user InProcServer32 default value and ThreadingModel.",
              "uncertainty": "Service installation needs permissions and compatible configuration. COM execution depends on a client activating the chosen CLSID. The templates' status messages do not prove a reboot, logon or COM activation occurred.",
              "telemetry": "Correlate Startup shortcut creation and timestamp changes; inspect service installation and its image path; review new per-user CLSID registrations pointing to unusual paths. Match each artifact to its selected module.",
              "references": [
                {
                  "title": "ServiceInstaller (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.serviceprocess.serviceinstaller?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                  "start": 41,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                  "start": 45,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
                }
              ]
            },
            {
              "id": "uac-template-name-mismatch",
              "api": "uacfodhelper template selects SilentCleanup",
              "call_chain": "The boo/uacfodhelper wrapper reads bypassUACfodhelper.boo and replaces Binary, Arguments and Path.",
              "contract": "RegistryKey.SetValue writes the selected user value. Process.Start starts the specified executable and arguments; completion and elevation require separate evidence.",
              "application": "The selected template writes HKCU Environment/windir, starts schtasks.exe targeting Microsoft/Windows/DiskCleanup/SilentCleanup, then deletes the value. There is no fodhelper.exe invocation in this template.",
              "uncertainty": "The wrapper name and description disagree with its actual implementation. Windows version, UAC configuration and scheduled-task behavior determine the effect. No elevation was tested.",
              "telemetry": "Correlate the temporary user windir value with schtasks.exe invocation of SilentCleanup and its resulting process tree. A hunt keyed only to fodhelper.exe misses this source path.",
              "references": [
                {
                  "title": "Process.Start (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.start?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                  "start": 7,
                  "end": 9,
                  "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                  "start": 31,
                  "end": 37,
                  "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo",
                  "start": 8,
                  "end": 46,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo"
                }
              ]
            },
            {
              "id": "minidump-result-boundary",
              "api": "Optional process minidump collection",
              "call_chain": "The minidump module's Start checks administrator membership, enumerates the chosen process and uploads the specified path.",
              "contract": "MiniDumpWriteDump writes a dump to a supplied file handle and returns BOOL indicating success or failure.",
              "application": "For each matching process, the template creates/truncates a FileStream and invokes MiniDumpWriteDump with dump type 0x2, then calls job.Upload on the file.",
              "uncertainty": "The P/Invoke declaration uses int handles and does not expose a BOOL result. Pointer width, access rights and dump failure can affect output. Multiple matching processes reuse the same path.",
              "telemetry": "Correlate process access, DbgHelp activity, dump-file creation and upload by the agent process. Validate dump content and size before claiming successful memory collection.",
              "references": [
                {
                  "title": "MiniDumpWriteDump (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/minidumpapiset/nf-minidumpapiset-minidumpwritedump"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo"
                }
              ]
            },
            {
              "id": "winrm-async-and-trust",
              "api": "Optional WinRM execution and TrustedHosts changes",
              "call_chain": "The winrm template creates a WSMan runspace and starts a pipeline; an option also changes TrustedHosts.",
              "contract": "InvokeAsync starts a pipeline asynchronously. Completion, errors and remote output require observing pipeline state and streams.",
              "application": "The template connects over HTTP port 5985 at /wsman, optionally supplies credentials and invokes a trimmed payload. The TrustedHosts option overwrites the local value with the target and clears it in ensure.",
              "uncertainty": "The helper does not wait for pipeline completion or collect its output. It does not restore the previous TrustedHosts value. Authentication and remote configuration remain prerequisites.",
              "telemetry": "Correlate WSMan client configuration changes, process-owned connections to target port 5985, target-side remoting logs and the resulting command activity.",
              "references": [
                {
                  "title": "Pipeline.InvokeAsync (PowerShell SDK)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.management.automation.runspaces.pipeline.invokeasync?view=powershellsdk-1.1.0"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo",
                  "start": 18,
                  "end": 61,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo"
                }
              ]
            },
            {
              "id": "keyboard-hook-and-job-results",
              "api": "Optional native keyboard hook",
              "call_chain": "The keylogger template's Start creates InterceptKeys, which installs a low-level hook and runs a Forms message loop.",
              "contract": "SetWindowsHookEx installs a hook and returns a handle or NULL. Low-level keyboard hooks depend on the installing thread's message loop and desktop.",
              "application": "SetHook requests WH_KEYBOARD_LL with thread ID zero. The callback accumulates keys with foreground-window titles and timestamps. A separate thread sleeps for configured minutes and sends the accumulated string through SendJobResults.",
              "uncertainty": "The template does not check the hook handle. Its timed thread reports once; it does not itself terminate Application.Run. Desktop boundaries and hook delivery limit collection.",
              "telemetry": "Use EDR hook telemetry, foreground-window queries and job-result transfer from the same CLR process. The source does not require a keylog file on disk.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setwindowshookexa"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                  "start": 15,
                  "end": 70,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                  "start": 271,
                  "end": 297,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                  "start": 323,
                  "end": 324,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
                }
              ]
            },
            {
              "id": "binary-credential-module-boundary",
              "api": "Optional credential-loader boundary",
              "call_chain": "The Mimikatz wrapper reads architecture-specific powerkatz DLLs and a managed PE loader, then substitutes encoded bytes into its Boo template.",
              "contract": "Assembly.Load loads managed bytes into the current process. Reflection dispatch establishes an invocation attempt; internal native behavior depends on the supplied assembly and DLL.",
              "application": "The template decompresses the loader, selects an x86/x64 payload using IntPtr.Size, then calls the loaded type's Load and Command members when administrator membership is reported.",
              "uncertainty": "The bundled DLL internals were not loaded, executed or attributed to a source implementation. The wrapper establishes packaging and invocation only. Credential extraction, native imports and success remain unknown.",
              "telemetry": "Inspect managed assembly loading and later process access or credential artifacts if observed. A Mimikatz task name alone cannot establish credential access or justify a specific signature.",
              "references": [
                {
                  "title": "MethodBase.Invoke (.NET Framework)",
                  "url": "https://learn.microsoft.com/en-us/dotnet/api/system.reflection.methodbase.invoke?view=netframework-4.8.1"
                }
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/mimikatz.py",
                  "start": 21,
                  "end": 31,
                  "label": "silenttrinity/core/teamserver/modules/boo/mimikatz.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/mimikatz.boo",
                  "start": 27,
                  "end": 46,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/mimikatz.boo"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "WMI and local persistence",
              "activation": "boo/wmipersistence replaces template options, then Main creates an event filter, consumer and binding.",
              "status": "reviewed",
              "detail": "WMI filter/consumer/binding, Startup shortcut, service installation and CLSID registry templates.",
              "finding_ids": [
                "permanent-wmi-subscription",
                "optional-startup-service-com"
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py",
                  "start": 39,
                  "end": 47,
                  "label": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo",
                  "start": 8,
                  "end": 76,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                  "start": 41,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                  "start": 45,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
                }
              ]
            },
            {
              "module": "UAC, WinRM and collection",
              "activation": "The boo/uacfodhelper wrapper reads bypassUACfodhelper.boo and replaces Binary, Arguments and Path.",
              "status": "reviewed",
              "detail": "Actual selected templates and API failure/return boundaries.",
              "finding_ids": [
                "uac-template-name-mismatch",
                "winrm-async-and-trust",
                "minidump-result-boundary",
                "keyboard-hook-and-job-results"
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                  "start": 7,
                  "end": 9,
                  "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py",
                  "start": 31,
                  "end": 37,
                  "label": "silenttrinity/core/teamserver/modules/boo/bypassUACfodhelper.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo",
                  "start": 8,
                  "end": 46,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/bypassUACfodhelper.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo",
                  "start": 18,
                  "end": 61,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/winrm.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/minidump.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                  "start": 15,
                  "end": 70,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                  "start": 271,
                  "end": 297,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo",
                  "start": 323,
                  "end": 324,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keylogger.boo"
                }
              ]
            },
            {
              "module": "Credential binaries",
              "activation": "The Mimikatz wrapper reads architecture-specific powerkatz DLLs and a managed PE loader, then substitutes encoded bytes into its Boo template.",
              "status": "dependency-boundary",
              "detail": "Mimikatz wrapper and Boo loader were inspected. Bundled DLL internals remain unknown.",
              "finding_ids": [
                "binary-credential-module-boundary"
              ],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/mimikatz.py",
                  "start": 21,
                  "end": 31,
                  "label": "silenttrinity/core/teamserver/modules/boo/mimikatz.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/mimikatz.boo",
                  "start": 27,
                  "end": 46,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/mimikatz.boo"
                }
              ]
            },
            {
              "module": "Other Boo modules and stagers",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "The module tree was inventoried. Remote section injection, WMI process creation, execute-assembly, KeePass and TortoiseSVN persistence paths were inspected for scope. Remaining credential, discovery, evasion, stager and lateral-movement templates need individual contract review.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/injectremote.boo",
                  "start": 112,
                  "end": 173,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/injectremote.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/execute-assembly.boo",
                  "start": 6,
                  "end": 20,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/execute-assembly.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/wmi.boo",
                  "start": 6,
                  "end": 27,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/wmi.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/keepasspersistence.boo",
                  "start": 38,
                  "end": 120,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/keepasspersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/tortoisesvnpersistence.boo",
                  "start": 87,
                  "end": 110,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/tortoisesvnpersistence.boo"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "mitre-croatia-2019",
              "title": "SILENTTRINITY — ATT&CK software S0692",
              "publisher": "MITRE ATT&CK",
              "url": "https://attack.mitre.org/versions/v20/software/S0692/",
              "published": null,
              "incident_date": "2019",
              "attribution": "Unidentified actors",
              "summary": "MITRE records SILENTTRINITY use against Croatian government agencies in 2019.",
              "kind": "secondary-catalog"
            },
            {
              "id": "zsis-government-phishing",
              "title": "Upozorenje o phishing kampanji",
              "publisher": "Croatian Information Systems Security Bureau (ZSIS)",
              "url": "https://www.zsis.hr/default.aspx?id=415",
              "published": null,
              "incident_date": "Croatian government phishing campaign; the advisory does not state incident dates",
              "attribution": "No actor attributed in the advisory",
              "summary": "ZSIS observed a phishing campaign against government bodies and identified a SILENTTRINITY payload among two spreadsheet variants.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "postal-spreadsheet-lure",
                  "title": "Postal-service impersonation delivered a spreadsheet",
                  "detail": "ZSIS describes email links to a cloned Croatian Post page offering obavijest_o_posiljki.xls.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Opening paragraphs, phishing link and spreadsheet description"
                },
                {
                  "id": "smb-delivery-memory-channel",
                  "title": "One variant retrieved SILENTTRINITY over SMB",
                  "detail": "The bureau identifies an in-memory SILENTTRINITY variant retrieved through SMB and communicating with an HTTPS control server. SMB retrieval is a delivery observation.",
                  "scope": "framework",
                  "basis": "reported-activity",
                  "locator": "First payload-variant bullet"
                },
                {
                  "id": "parallel-empire",
                  "title": "The second variant delivered PowerShell Empire",
                  "detail": "ZSIS describes this as a separate spreadsheet variant. It does not establish that both frameworks ran together on a single host.",
                  "scope": "related-tool",
                  "basis": "reported-activity",
                  "locator": "Second payload-variant bullet"
                }
              ]
            }
          ],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "silenttrinity",
          "feature": "uuid-task-and-result-routes",
          "reviewed_commit": "08b1c61b5ae0be2456485df2e7811a96fbed4c7b",
          "rationale": "The reviewed Boo stage retrieves tasks and returns results through HTTP(S) routes.",
          "technique": {
            "id": "T1071.001",
            "name": "Web Protocols",
            "url": "https://attack.mitre.org/techniques/T1071/001",
            "version": "1.5",
            "stix_id": "attack-pattern--df8b2a25-8bdf-4856-953c-a04372b1c161"
          },
          "evidence": [
            {
              "path": "silenttrinity/core/teamserver/listeners/http.py",
              "start": 78,
              "end": 85,
              "label": "Routes"
            },
            {
              "path": "silenttrinity/core/teamserver/listeners/http.py",
              "start": 110,
              "end": 141,
              "label": "Stage/job handlers"
            },
            {
              "path": "silenttrinity/core/teamserver/comms/http.boo",
              "start": 85,
              "end": 115,
              "label": "Client channel calls"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "uuid-task-and-result-routes",
              "title": "UUID task and result routes",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 78,
                  "end": 85,
                  "label": "Routes"
                },
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 110,
                  "end": 141,
                  "label": "Stage/job handlers"
                },
                {
                  "path": "silenttrinity/core/teamserver/comms/http.boo",
                  "start": 85,
                  "end": 115,
                  "label": "Client channel calls"
                }
              ]
            }
          ]
        },
        {
          "id": "https",
          "field": "protocols",
          "label": "HTTPS",
          "description": "HTTP over TLS in the reviewed tasking path.",
          "features": [
            {
              "id": "uuid-task-and-result-routes",
              "title": "UUID task and result routes",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 78,
                  "end": 85,
                  "label": "Routes"
                },
                {
                  "path": "silenttrinity/core/teamserver/listeners/http.py",
                  "start": 110,
                  "end": 141,
                  "label": "Stage/job handlers"
                },
                {
                  "path": "silenttrinity/core/teamserver/comms/http.boo",
                  "start": 85,
                  "end": 115,
                  "label": "Client channel calls"
                }
              ]
            }
          ]
        },
        {
          "id": "boo-compilation",
          "field": "executionMethods",
          "label": "In-Memory Boo Compilation",
          "description": "Boo tasks are compiled in memory by the reviewed stage.",
          "features": [
            {
              "id": "boo-task-compilation-and-timing",
              "title": "Boo task compilation and timing",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 387,
                  "end": 430,
                  "label": "In-memory compilation"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 450,
                  "end": 455,
                  "label": "Timing defaults"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 515,
                  "end": 521,
                  "label": "Optional jitter"
                }
              ]
            }
          ]
        },
        {
          "id": "wmi-subscription",
          "field": "persistenceHints",
          "label": "Permanent WMI Subscription",
          "description": "The optional module writes an event filter, consumer and binding. Trigger execution requires separate evidence.",
          "features": [
            {
              "id": "deep-permanent-wmi-subscription",
              "title": "Optional WMI persistence",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py",
                  "start": 39,
                  "end": 47,
                  "label": "silenttrinity/core/teamserver/modules/boo/wmipersistence.py"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo",
                  "start": 8,
                  "end": 76,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/wmipersistence.boo"
                }
              ]
            }
          ]
        },
        {
          "id": "startup-shortcut",
          "field": "persistenceHints",
          "label": "Windows Startup Shortcut",
          "description": "The optional module writes a shortcut in the user's Startup directory.",
          "features": [
            {
              "id": "deep-optional-startup-service-com",
              "title": "Optional Startup, service and COM persistence",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                  "start": 41,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                  "start": 45,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
                }
              ]
            }
          ]
        },
        {
          "id": "com-clsid",
          "field": "persistenceHints",
          "label": "Per-User COM Registration",
          "description": "The optional module writes a per-user CLSID registration. Later COM activation depends on the selected class and client.",
          "features": [
            {
              "id": "deep-optional-startup-service-com",
              "title": "Optional Startup, service and COM persistence",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                  "start": 41,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                  "start": 45,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-service",
          "field": "persistenceHints",
          "label": "Windows Service",
          "description": "The reviewed path registers or runs as a Windows service. Installer and launcher conditions remain in the linked review.",
          "features": [
            {
              "id": "deep-optional-startup-service-com",
              "title": "Optional Startup, service and COM persistence",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo",
                  "start": 41,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/startupfolderpersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo",
                  "start": 45,
                  "end": 85,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/servicepersistence.boo"
                },
                {
                  "path": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo",
                  "start": 7,
                  "end": 29,
                  "label": "silenttrinity/core/teamserver/modules/boo/src/hijackCLSIDpersistence.boo"
                }
              ]
            }
          ]
        },
        {
          "id": "aes-unspecified",
          "field": "encodingTechniques",
          "label": "AES (Mode Unspecified)",
          "description": "This intelligence field establishes AES without a reviewed mode association.",
          "features": [
            {
              "id": "encrypted-session-framing",
              "title": "Encrypted session framing",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 107,
                  "end": 126,
                  "label": "Key setup"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 134,
                  "end": 174,
                  "label": "Encryption and HMAC"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 191,
                  "end": 205,
                  "label": "MAC verification"
                }
              ]
            }
          ]
        },
        {
          "id": "hmac-sha256",
          "field": "encodingTechniques",
          "label": "HMAC-SHA256",
          "description": "A SHA-256 HMAC authenticates reviewed data.",
          "features": [
            {
              "id": "encrypted-session-framing",
              "title": "Encrypted session framing",
              "evidence": [
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 107,
                  "end": 126,
                  "label": "Key setup"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 134,
                  "end": 174,
                  "label": "Encryption and HMAC"
                },
                {
                  "path": "silenttrinity/core/teamserver/data/stage.boo",
                  "start": 191,
                  "end": 205,
                  "label": "MAC verification"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-request",
          "typeLabel": "HTTP request",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "UUID task and result routes",
          "indicator": "/<UUID>/jobs; /<UUID>/jobs/<job_id>",
          "reference": "UUID task and result routes",
          "anchor": "uuid-task-and-result-routes",
          "os": "cross-platform",
          "source": "https://github.com/byt3bl33d3r/SILENTTRINITY/blob/08b1c61b5ae0be2456485df2e7811a96fbed4c7b/silenttrinity/core/teamserver/listeners/http.py#L78-L81",
          "confidence": "source-confirmed",
          "mutability": "source route structure/changeable",
          "visibility": "HTTP URI/method",
          "caveat": "Require job/result method sequence; UUID paths alone are common."
        },
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "UUID task and result routes",
          "indicator": "Content-Type: application/octet-stream",
          "reference": "UUID task and result routes",
          "anchor": "uuid-task-and-result-routes",
          "os": "cross-platform",
          "source": "https://github.com/byt3bl33d3r/SILENTTRINITY/blob/08b1c61b5ae0be2456485df2e7811a96fbed4c7b/silenttrinity/core/teamserver/listeners/http.py#L110-L133",
          "confidence": "source-confirmed",
          "mutability": "path/response-dependent",
          "visibility": "HTTP response header",
          "caveat": "Not set on every idle/error response; generic by itself."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Boo task compilation and timing",
          "indicator": "Boo.Lang; Boo.Lang.Compiler; CompileToMemory",
          "reference": "Boo task compilation and timing",
          "anchor": "boo-task-compilation-and-timing",
          "os": "windows",
          "source": "https://github.com/byt3bl33d3r/SILENTTRINITY/blob/08b1c61b5ae0be2456485df2e7811a96fbed4c7b/silenttrinity/core/teamserver/data/stage.boo#L387-L406",
          "confidence": "source-confirmed",
          "mutability": "module/compiler-dependent",
          "visibility": "Managed assembly/source visibility",
          "caveat": "Not a plaintext network signature or proof of an IronPython stage."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Encrypted session framing",
          "indicator": "IV[16] || ciphertext || HMAC-SHA256[32]",
          "reference": "Encrypted session framing",
          "anchor": "encrypted-session-framing",
          "os": "cross-platform",
          "source": "https://github.com/byt3bl33d3r/SILENTTRINITY/blob/08b1c61b5ae0be2456485df2e7811a96fbed4c7b/silenttrinity/core/teamserver/data/stage.boo#L167-L174",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable",
          "visibility": "HTTP body bytes or source",
          "caveat": "A generic cipher frame needs route and process context."
        }
      ]
    },
    {
      "slug": "slack-c2bot",
      "title": "slack-c2bot",
      "relativePath": "frameworks/slack-c2bot/README.md",
      "upstream_repo": "https://github.com/praetorian-inc/slack-c2bot",
      "implementation": "Go",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "fd09343cb764d5ff30b55e648d7b0a617a225307",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/slack-c2bot/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "fd09343cb764d5ff30b55e648d7b0a617a225307",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "channel",
              "label": "Slack channel",
              "role": "Task messages and results",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 62,
                  "end": 90,
                  "label": "Channel task/result loop"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Go implant",
              "role": "History polling / ID selection",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 62,
                  "end": 90,
                  "label": "Channel task/result loop"
                }
              ]
            },
            {
              "id": "shell",
              "label": "OS shell",
              "role": "bash -c or cmd.exe /C",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "Shell and message helpers"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "agent",
              "to": "channel",
              "label": "Read channel history",
              "detail": "The implant requests two history messages after sleeping.",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 62,
                  "end": 90,
                  "label": "Channel task/result loop"
                }
              ]
            },
            {
              "from": "channel",
              "to": "agent",
              "label": "Select ID-prefixed task",
              "detail": "Only matching ID run/exit text reaches the command branch.",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 62,
                  "end": 90,
                  "label": "Channel task/result loop"
                }
              ]
            },
            {
              "from": "agent",
              "to": "shell",
              "label": "Execute the selected command",
              "detail": "The helper selects the OS shell and captures stdout.",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "Shell and message helpers"
                }
              ]
            },
            {
              "from": "shell",
              "to": "channel",
              "label": "Post result through the implant",
              "detail": "Shell output is submitted with the Slack SDK PostMessage call.",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "Shell and message helpers"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "slack-channel-command-loop",
            "title": "Slack channel command loop",
            "behavior": "The implant posts a startup message, requests the latest two channel history entries, and selects text containing its ID followed by run or exit.",
            "observable": "Authorized Slack audit/message access can reveal the ID run prefix and reporting-for-duty message.",
            "variability": "Token, channel and UUID are supplied variables; ordinary Slack destinations are not malicious infrastructure.",
            "evidence": [
              {
                "path": "implant.go",
                "start": 62,
                "end": 90,
                "label": "Channel task/result loop"
              }
            ]
          },
          {
            "id": "os-specific-shell-execution",
            "title": "OS-specific shell execution",
            "behavior": "runCmd selects bash -c unless GOOS is windows, where it selects cmd.exe /C; stdout is returned to PostMessage.",
            "observable": "A non-Slack Go process accessing Slack and spawning bash/cmd.exe is a candidate endpoint correlation.",
            "variability": "The hidden-window setting is commented out, so it is not an active behavior. Command success and API availability were not tested.",
            "evidence": [
              {
                "path": "implant.go",
                "start": 34,
                "end": 59,
                "label": "Shell and message helpers"
              }
            ]
          },
          {
            "id": "discrete-callback-jitter-and-deduplication",
            "title": "Discrete callback jitter and deduplication",
            "behavior": "handleSleep multiplies the base 60-second delay by a random integer 1â€“4. The loop remembers only the last executed command text.",
            "observable": "Repeated Slack activity in one-minute multiples may support process/message evidence.",
            "variability": "The maximum 5 is excluded by rand.Intn. Single-entry deduplication is not a durable task history.",
            "evidence": [
              {
                "path": "implant.go",
                "start": 15,
                "end": 31,
                "label": "Sleep calculation"
              },
              {
                "path": "implant.go",
                "start": 71,
                "end": 90,
                "label": "Last-command check"
              }
            ]
          },
          {
            "id": "deep-history-replay-and-output",
            "title": "Slack task history and command-output limits",
            "behavior": "Each loop fetches up to two channel-history messages and routes matching run text to runCmd. The implant chooses cmd.exe /C on Windows and bash -c elsewhere. It polls with Oldest zero and stores only the last command's text. It posts stdout on success and a formatted error string on failure.",
            "observable": "Use Slack audit/API records and endpoint process trees to correlate run messages, shell creation and replies. Duplicate execution should be assessed from actual message and process history.",
            "variability": "Two distinct retained commands can be revisited because only one text value is remembered; the code does not keep message timestamps or durable task IDs. The legacy Slack SDK version and current service compatibility are unresolved.",
            "evidence": [
              {
                "path": "implant.go",
                "start": 34,
                "end": 59,
                "label": "implant.go"
              },
              {
                "path": "implant.go",
                "start": 71,
                "end": 95,
                "label": "implant.go"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "join-slack-access-with-shell-execution",
            "title": "Join Slack access with shell execution",
            "telemetry": "Endpoint process/network telemetry and authorized Slack app/channel audit context.",
            "logic": "Investigate non-approved Slack automation that polls a channel and launches a shell before posting output.",
            "false_positives": "Bots and automation legitimately execute commands; baseline approved apps and hosts.",
            "blind_spots": "Cloud message contents are hidden from network-only monitoring; SDK API compatibility is untested.",
            "status": "untested",
            "evidence": [
              {
                "path": "implant.go",
                "start": 34,
                "end": 59,
                "label": "implant.go"
              },
              {
                "path": "implant.go",
                "start": 62,
                "end": 90,
                "label": "implant.go"
              }
            ]
          },
          {
            "id": "review-id-prefixed-channel-tasking",
            "title": "Review ID-prefixed channel tasking",
            "telemetry": "Slack message history or audit data for channels within scope.",
            "logic": "Correlate reporting-for-duty messages with repeated matching ID run commands and adjacent output posts.",
            "false_positives": "Similar messages may be used in benign tests; verify the posting app and endpoint.",
            "blind_spots": "Operators can change string templates; old channel-history APIs may be unavailable.",
            "status": "untested",
            "evidence": [
              {
                "path": "implant.go",
                "start": 62,
                "end": 90,
                "label": "implant.go"
              }
            ]
          },
          {
            "id": "deep-history-replay-and-output",
            "title": "Slack task history and command-output limits",
            "telemetry": "Use Slack audit/API records and endpoint process trees to correlate run messages, shell creation and replies. Duplicate execution should be assessed from actual message and process history.",
            "logic": "Untested detection hypothesis. The implant chooses cmd.exe /C on Windows and bash -c elsewhere. It polls with Oldest zero and stores only the last command's text. It posts stdout on success and a formatted error string on failure. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Authorized chatops bots can run administrative commands.",
            "blind_spots": "Untested hypothesis. TLS hides channel content on the network; SDK/service availability and message ordering affect replay.",
            "status": "untested",
            "evidence": [
              {
                "path": "implant.go",
                "start": 34,
                "end": 59,
                "label": "implant.go"
              },
              {
                "path": "implant.go",
                "start": 71,
                "end": 95,
                "label": "implant.go"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "Slack API"
          ],
          "executionMethods": [
            "Bash shell",
            "cmd.exe"
          ],
          "lolbins": [],
          "encodingTechniques": [],
          "persistenceHints": [],
          "beaconFixed": false,
          "beaconJitter": true,
          "delayNotes": [
            "60, 120, 180 or 240 s sleep in the stock helper, plus work time"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "explicit-shell-output",
              "api": "exec.Command / Cmd.Output / Slack PostMessage",
              "call_chain": "runCmd explicitly selects bash -c or Windows cmd.exe /C, starts it through os/exec, then postMsg sends the returned string.",
              "contract": "Go exec.Command does not add a shell itself. Cmd.Output collects stdout and reports execution errors separately.",
              "application": "This code explicitly requests a shell. On error it returns a constructed error string instead of the captured command output; on success it returns stdout. PostMessage errors are only printed.",
              "uncertainty": "stderr is not merged into stdout, and a Slack post failure is not retried here. SDK endpoint compatibility is not established from these wrapper names.",
              "telemetry": "A non-Slack process invoking bash/cmd and posting via Slack is useful context. Generic shell execution or Slack traffic alone does not identify this tool.",
              "references": [
                {
                  "title": "Go os/exec package",
                  "url": "https://pkg.go.dev/os/exec"
                }
              ],
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "exec.Command / Cmd.Output / Slack PostMessage call site"
                }
              ]
            },
            {
              "id": "jitter-exclusive-bound",
              "api": "rand.Intn / time.Sleep",
              "call_chain": "handleSleep samples num then multiplies the configured SleepDuration by it.",
              "contract": "rand.Intn(n) returns a value from zero inclusive to n exclusive.",
              "application": "With min=1 and max=5 the multiplier ranges from 1 through 4 inclusive. Sleep is in seconds and occurs before each history poll.",
              "uncertainty": "Polling/API/command duration adds delay; the jitter uses a discrete multiplier. The reviewed code reseeds the RNG each call.",
              "telemetry": "Do not build a detector around an exact five-times ceiling or a continuously distributed percentage-jitter assumption.",
              "references": [
                {
                  "title": "Go rand.Intn contract",
                  "url": "https://pkg.go.dev/math/rand#Intn"
                }
              ],
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 25,
                  "end": 31,
                  "label": "rand.Intn / time.Sleep call site"
                }
              ]
            },
            {
              "id": "history-replay-and-output",
              "api": "Slack task history and command-output limits",
              "call_chain": "Each loop fetches up to two channel-history messages and routes matching run text to runCmd.",
              "contract": "exec.Cmd.Output returns stdout and an error for a failed process. It does not merge stderr into returned stdout.",
              "application": "The implant chooses cmd.exe /C on Windows and bash -c elsewhere. It polls with Oldest zero and stores only the last command's text. It posts stdout on success and a formatted error string on failure.",
              "uncertainty": "Two distinct retained commands can be revisited because only one text value is remembered; the code does not keep message timestamps or durable task IDs. The legacy Slack SDK version and current service compatibility are unresolved.",
              "telemetry": "Use Slack audit/API records and endpoint process trees to correlate run messages, shell creation and replies. Duplicate execution should be assessed from actual message and process history.",
              "references": [
                {
                  "title": "Go os/exec package",
                  "url": "https://pkg.go.dev/os/exec"
                }
              ],
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "implant.go"
                },
                {
                  "path": "implant.go",
                  "start": 71,
                  "end": 95,
                  "label": "implant.go"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Complete implant and build-script boundary",
              "activation": "Each loop fetches up to two channel-history messages and routes matching run text to runCmd.",
              "status": "reviewed",
              "detail": "The 95-line implant and inert build script were inspected. There is no separate task plugin directory.",
              "finding_ids": [
                "history-replay-and-output"
              ],
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "implant.go"
                },
                {
                  "path": "implant.go",
                  "start": 71,
                  "end": 95,
                  "label": "implant.go"
                },
                {
                  "path": "build.sh",
                  "start": 1,
                  "end": 26,
                  "label": "build.sh"
                }
              ]
            },
            {
              "module": "Legacy Slack SDK",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "dependency-boundary",
              "detail": "The nlopes/slack dependency is not pinned in a module/lockfile in this tree. Its implementation and current service compatibility are unresolved.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 12,
                  "end": 12,
                  "label": "implant.go"
                },
                {
                  "path": "implant.go",
                  "start": 66,
                  "end": 75,
                  "label": "implant.go"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "slack-c2bot",
          "feature": "os-specific-shell-execution",
          "reviewed_commit": "fd09343cb764d5ff30b55e648d7b0a617a225307",
          "rationale": "The Windows branch invokes cmd /c with the received command.",
          "technique": {
            "id": "T1059.003",
            "name": "Windows Command Shell",
            "url": "https://attack.mitre.org/techniques/T1059/003",
            "version": "1.5",
            "stix_id": "attack-pattern--d1fcf083-a721-4223-aedf-bf8960798d62"
          },
          "evidence": [
            {
              "path": "implant.go",
              "start": 34,
              "end": 59,
              "label": "Shell and message helpers"
            }
          ]
        },
        {
          "framework": "slack-c2bot",
          "feature": "os-specific-shell-execution",
          "reviewed_commit": "fd09343cb764d5ff30b55e648d7b0a617a225307",
          "rationale": "The Unix branch invokes bash -c with the received command.",
          "technique": {
            "id": "T1059.004",
            "name": "Unix Shell",
            "url": "https://attack.mitre.org/techniques/T1059/004",
            "version": "1.4",
            "stix_id": "attack-pattern--a9d4b653-6915-42af-98b2-5758c4ceee56"
          },
          "evidence": [
            {
              "path": "implant.go",
              "start": 34,
              "end": 59,
              "label": "Shell and message helpers"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "slack-api",
          "field": "protocols",
          "label": "Slack API",
          "description": "The reviewed task channel uses Slack.",
          "features": [
            {
              "id": "slack-channel-command-loop",
              "title": "Slack channel command loop",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 62,
                  "end": 90,
                  "label": "Channel task/result loop"
                }
              ]
            }
          ]
        },
        {
          "id": "bash",
          "field": "executionMethods",
          "label": "Bash Command Execution",
          "description": "The reviewed path explicitly invokes Bash.",
          "example": {
            "path": "implant.go",
            "start": 35,
            "end": 43,
            "label": "Bash Command Execution"
          },
          "features": [
            {
              "id": "os-specific-shell-execution",
              "title": "OS-specific shell execution",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "Shell and message helpers"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-command-shell",
          "field": "executionMethods",
          "label": "Windows Command Shell (cmd.exe)",
          "description": "Commands run through the Windows command interpreter.",
          "example": {
            "path": "implant.go",
            "start": 35,
            "end": 43,
            "label": "Windows Command Shell (cmd.exe)"
          },
          "features": [
            {
              "id": "os-specific-shell-execution",
              "title": "OS-specific shell execution",
              "evidence": [
                {
                  "path": "implant.go",
                  "start": 34,
                  "end": 59,
                  "label": "Shell and message helpers"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Slack channel command loop",
          "indicator": "Hello, <UUID> reporting for duty.",
          "reference": "Slack channel command loop",
          "anchor": "slack-channel-command-loop",
          "os": "cross-platform",
          "source": "https://github.com/praetorian-inc/slack-c2bot/blob/fd09343cb764d5ff30b55e648d7b0a617a225307/implant.go#L62-L69",
          "confidence": "source-confirmed",
          "mutability": "source template/changeable",
          "visibility": "Slack message content; source/memory",
          "caveat": "Not a raw network string under encrypted transport."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Slack channel command loop",
          "indicator": "<UUID> run <command>; <UUID> exit",
          "reference": "Slack channel command loop",
          "anchor": "slack-channel-command-loop",
          "os": "cross-platform",
          "source": "https://github.com/praetorian-inc/slack-c2bot/blob/fd09343cb764d5ff30b55e648d7b0a617a225307/implant.go#L80-L90",
          "confidence": "source-confirmed",
          "mutability": "source format; configurable UUID",
          "visibility": "Slack message content",
          "caveat": "Message text alone is not sufficient attribution."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "OS-specific shell execution",
          "indicator": "Go parent → bash -c or cmd.exe /C",
          "reference": "OS-specific shell execution",
          "anchor": "os-specific-shell-execution",
          "os": "cross-platform",
          "source": "https://github.com/praetorian-inc/slack-c2bot/blob/fd09343cb764d5ff30b55e648d7b0a617a225307/implant.go#L34-L45",
          "confidence": "source-confirmed",
          "mutability": "OS/task-dependent",
          "visibility": "Endpoint process telemetry",
          "caveat": "Generic shell use; qualify Slack access and channel context."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Discrete callback jitter and deduplication",
          "indicator": "SleepDuration = 60; random multiplier 1–4",
          "reference": "Discrete callback jitter and deduplication",
          "anchor": "discrete-callback-jitter-and-deduplication",
          "os": "cross-platform",
          "source": "https://github.com/praetorian-inc/slack-c2bot/blob/fd09343cb764d5ff30b55e648d7b0a617a225307/implant.go#L15-L31",
          "confidence": "source-confirmed",
          "mutability": "source defaults/changeable",
          "visibility": "Source and behavioral cadence",
          "caveat": "Observed intervals include work and API time."
        }
      ]
    },
    {
      "slug": "throwback",
      "title": "Throwback",
      "relativePath": "frameworks/Throwback/README.md",
      "upstream_repo": "https://github.com/silentbreaksec/Throwback",
      "implementation": "C++",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "1f5bd6467744afc9d5e8235447f85ed1d8275c20",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/Throwback/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "1f5bd6467744afc9d5e8235447f85ed1d8275c20",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "site",
              "label": "Configured HTTP(S) site",
              "role": "Task HTML / result endpoint",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            },
            {
              "id": "implant",
              "label": "Windows implant",
              "role": "Task parser / result encoder",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            },
            {
              "id": "host",
              "label": "Process and file tasks",
              "role": "Program / DLL execution",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 863,
                  "end": 924,
                  "label": "Task branches"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 350,
                  "end": 425,
                  "label": "Process creation and return-value handling"
                }
              ]
            },
            {
              "id": "autorun",
              "label": "Persistence paths",
              "role": "Service / Run / print monitor",
              "x": 30,
              "y": 305,
              "evidence": [
                {
                  "path": "Throwback/main.cpp",
                  "start": 46,
                  "end": 53,
                  "label": "Service identifiers"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 110,
                  "end": 126,
                  "label": "Service creation"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 170,
                  "end": 191,
                  "label": "Run value write"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "site",
              "to": "implant",
              "label": "Deliver marker-prefixed task text",
              "detail": "The implant extracts tasking from the fetched HTML response.",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            },
            {
              "from": "implant",
              "to": "host",
              "label": "Run selected program or download task",
              "detail": "The numeric task branch selects process/file/DLL handling.",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 863,
                  "end": 924,
                  "label": "Task branches"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 350,
                  "end": 425,
                  "label": "Process creation and return-value handling"
                }
              ]
            },
            {
              "from": "host",
              "to": "site",
              "label": "Return encoded output through implant",
              "detail": "The active serializer returns RC4/Base64 data in pd= posts.",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            },
            {
              "from": "implant",
              "to": "autorun",
              "label": "Register the selected persistence path",
              "detail": "EXE and DLL entry paths use different host persistence mechanisms.",
              "evidence": [
                {
                  "path": "Throwback/main.cpp",
                  "start": 46,
                  "end": 53,
                  "label": "Service identifiers"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 110,
                  "end": 126,
                  "label": "Service creation"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 170,
                  "end": 191,
                  "label": "Run value write"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "html-tasking-and-encoded-result-posts",
            "title": "HTML tasking and encoded result posts",
            "behavior": "The implant searches a response for the decoded stup1fy marker and extracts task text until >. Active preparePost encrypts data with RC4, Base64-encodes it, prefixes pd= and replaces + with ~.",
            "observable": "HTTP body inspection can correlate the marker with pd= posts using the modified Base64 alphabet.",
            "variability": "Marker, key and callback URLs are source defaults; configured addresses are not universal malicious infrastructure.",
            "evidence": [
              {
                "path": "Throwback/Throwback.cpp",
                "start": 33,
                "end": 35,
                "label": "Encoded marker definition"
              },
              {
                "path": "Throwback/Throwback.cpp",
                "start": 771,
                "end": 796,
                "label": "Task extraction"
              },
              {
                "path": "Throwback/Throwback.cpp",
                "start": 669,
                "end": 694,
                "label": "Active result serializer"
              },
              {
                "path": "Throwback/Throwback.cpp",
                "start": 57,
                "end": 65,
                "label": "RC4 key and substitutions"
              }
            ]
          },
          {
            "id": "process-and-download-task-branches",
            "title": "Process and download task branches",
            "behavior": "Task types launch programs, download files or download and invoke DLLs through rundll32.exe. Process creation redirects streams and can use a duplicated user token when requested.",
            "observable": "Correlate callback traffic with child processes, new downloaded files and rundll32 invocation.",
            "variability": "Downloaded filenames and programs are task-controlled. The DLL branch appends a DllMain@12 entry string. The runCommand token branch with arguments incorrectly converts a zero CreateProcessAsUser failure return into success-like handling; reliable execution is not established.",
            "evidence": [
              {
                "path": "Throwback/Throwback.cpp",
                "start": 863,
                "end": 924,
                "label": "Task branches"
              },
              {
                "path": "Throwback/Throwback.cpp",
                "start": 350,
                "end": 425,
                "label": "Process creation and return-value handling"
              }
            ]
          },
          {
            "id": "exe-persistence",
            "title": "EXE persistence",
            "behavior": "The EXE creates an auto-start service using decoded name dwmss and display name Desktop Window Service Manager, or writes the same display-name Run value in its autorun path.",
            "observable": "Service creation and the Run value become useful when tied to the installed binary and callback protocol.",
            "variability": "Persistence depends on the selected entry path/privileges; service-like naming alone is weak evidence.",
            "evidence": [
              {
                "path": "Throwback/main.cpp",
                "start": 46,
                "end": 53,
                "label": "Service identifiers"
              },
              {
                "path": "Throwback/main.cpp",
                "start": 110,
                "end": 126,
                "label": "Service creation"
              },
              {
                "path": "Throwback/main.cpp",
                "start": 170,
                "end": 191,
                "label": "Run value write"
              }
            ]
          },
          {
            "id": "dll-print-monitor-registration",
            "title": "DLL print-monitor registration",
            "behavior": "WPrintInit creates a Microsoft Shared XPS Monitor entry beneath the print monitor registry branch and sets Driver to XpsMon.dll.",
            "observable": "Inspect the monitor registry write, DLL provenance and spooler module context.",
            "variability": "This applies to the DLL registration path. EXE variants need separate scope. Legitimate print monitors use the same registry area.",
            "evidence": [
              {
                "path": "ThrowbackDLL/dllmain.cpp",
                "start": 81,
                "end": 128,
                "label": "Print-monitor registration"
              }
            ]
          },
          {
            "id": "deep-remote-reflective-loader",
            "title": "Optional remote reflective DLL loader",
            "behavior": "runReflector opens the selected PID and passes supplied DLL bytes to LoadRemoteLibraryR. The helper finds a ReflectiveLoader export, checks PE architecture, allocates remote RWX memory, copies the image and invokes RtlCreateUserThread at the loader offset. The completion wait is commented out.",
            "observable": "Correlate the implant's cross-process handle, remote executable-memory write and remote thread. Inspect private-memory PE content when available; a normal disk-backed DLL load event may be absent.",
            "variability": "The helper returns the thread handle without observing payload completion. Its VirtualFreeEx call supplies nonzero size with MEM_RELEASE, so cleanup success is also unestablished. The payload DLL requires its own review.",
            "evidence": [
              {
                "path": "Throwback/Throwback.cpp",
                "start": 1568,
                "end": 1618,
                "label": "Throwback/Throwback.cpp"
              },
              {
                "path": "Throwback/LoadLibraryR.c",
                "start": 78,
                "end": 93,
                "label": "Throwback/LoadLibraryR.c"
              },
              {
                "path": "Throwback/LoadLibraryR.c",
                "start": 195,
                "end": 263,
                "label": "Throwback/LoadLibraryR.c"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "pair-html-task-marker-with-encoded-result-posts",
            "title": "Pair HTML task marker with encoded result posts",
            "telemetry": "HTTP response/request body inspection and endpoint process ownership.",
            "logic": "Correlate stup1fy-delimited task text with modified-Base64 pd= posts from one process/destination pair.",
            "false_positives": "A marker or short parameter can appear in benign content; require both sides and execution context.",
            "blind_spots": "Changed strings/keys and uninspected TLS hide the framing.",
            "status": "untested",
            "evidence": [
              {
                "path": "Throwback/Throwback.cpp",
                "start": 771,
                "end": 796,
                "label": "Throwback/Throwback.cpp"
              },
              {
                "path": "Throwback/Throwback.cpp",
                "start": 669,
                "end": 694,
                "label": "Throwback/Throwback.cpp"
              }
            ]
          },
          {
            "id": "correlate-persistence-with-the-implant-execution-path",
            "title": "Correlate persistence with the implant execution path",
            "telemetry": "Service/Run-key or print-monitor registry telemetry and module/file provenance.",
            "logic": "Review dwmss/display-name artifacts or the XpsMon.dll monitor entry in context of the associated executable and callbacks.",
            "false_positives": "Legitimate services and print monitors exist; naming alone is insufficient.",
            "blind_spots": "EXE and DLL paths differ and require different privileges; source presence is not proof of installation.",
            "status": "untested",
            "evidence": [
              {
                "path": "Throwback/main.cpp",
                "start": 46,
                "end": 53,
                "label": "Throwback/main.cpp"
              },
              {
                "path": "Throwback/main.cpp",
                "start": 110,
                "end": 126,
                "label": "Throwback/main.cpp"
              },
              {
                "path": "ThrowbackDLL/dllmain.cpp",
                "start": 81,
                "end": 128,
                "label": "ThrowbackDLL/dllmain.cpp"
              }
            ]
          },
          {
            "id": "deep-remote-reflective-loader",
            "title": "Optional remote reflective DLL loader",
            "telemetry": "Correlate the implant's cross-process handle, remote executable-memory write and remote thread. Inspect private-memory PE content when available; a normal disk-backed DLL load event may be absent.",
            "logic": "Untested detection hypothesis. The helper finds a ReflectiveLoader export, checks PE architecture, allocates remote RWX memory, copies the image and invokes RtlCreateUserThread at the loader offset. The completion wait is commented out. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Debuggers and instrumentation tools perform remote memory operations.",
            "blind_spots": "Untested hypothesis. Access rights, matching architecture and valid ReflectiveLoader content are prerequisites.",
            "status": "untested",
            "evidence": [
              {
                "path": "Throwback/Throwback.cpp",
                "start": 1568,
                "end": 1618,
                "label": "Throwback/Throwback.cpp"
              },
              {
                "path": "Throwback/LoadLibraryR.c",
                "start": 78,
                "end": 93,
                "label": "Throwback/LoadLibraryR.c"
              },
              {
                "path": "Throwback/LoadLibraryR.c",
                "start": 195,
                "end": 263,
                "label": "Throwback/LoadLibraryR.c"
              }
            ]
          },
          {
            "id": "deep-user-process-return-mismatch",
            "title": "Optional user-token process creation result",
            "telemetry": "Correlate access to explorer.exe's token, attempted user-context process creation and the actual resulting process tree. Verify process creation independently of the helper's reply.",
            "logic": "Untested detection hypothesis. duplicateToken selects explorer.exe and duplicates its token. The argument-bearing CreateProcessAsUser branch converts return zero into one, then treats one as success. Stdout and stderr share a pipe and the wait is limited to ten seconds. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Service brokers and management tools legitimately start processes in a user's context.",
            "blind_spots": "Untested hypothesis. Failed token or process operations may produce no child; result codes are unreliable in the cited branch.",
            "status": "untested",
            "evidence": [
              {
                "path": "Throwback/Throwback.cpp",
                "start": 143,
                "end": 179,
                "label": "Throwback/Throwback.cpp"
              },
              {
                "path": "Throwback/Throwback.cpp",
                "start": 348,
                "end": 437,
                "label": "Throwback/Throwback.cpp"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "HTTPS / TLS"
          ],
          "executionMethods": [
            "Windows process creation",
            "rundll32.exe"
          ],
          "lolbins": [
            "rundll32.exe"
          ],
          "encodingTechniques": [
            "RC4",
            "Base64",
            "XOR strings"
          ],
          "persistenceHints": [
            "Windows service",
            "Run key",
            "Print monitor"
          ],
          "beaconFixed": false,
          "beaconJitter": false,
          "delayNotes": []
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "process-as-user-return",
              "api": "CreateProcess / CreateProcessAsUser return handling",
              "call_chain": "runCommand optionally duplicates a token, sets up shared stdout/stderr pipes, creates a process and branches on ret.",
              "contract": "CreateProcessAsUser returns nonzero on success and zero on failure; privilege/token prerequisites apply.",
              "application": "In the dToken=1 branch with arguments, the implementation changes ret==0 to 1, contrary to the comment claiming zero means success, and may therefore proceed after failed creation.",
              "uncertainty": "Static inspection found a contract contradiction. No runtime reproduction was performed. Other branches differ; source intent does not establish reliable command execution or output.",
              "telemetry": "Correlate actual child-process creation and output evidence. A success-like code path or comment is not proof that a token-based process was created.",
              "references": [
                {
                  "title": "CreateProcessAsUserW (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessasuserw"
                }
              ],
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 348,
                  "end": 425,
                  "label": "CreateProcess / CreateProcessAsUser return handling call site"
                }
              ]
            },
            {
              "id": "remote-reflective-loader",
              "api": "Optional remote reflective DLL loader",
              "call_chain": "runReflector opens the selected PID and passes supplied DLL bytes to LoadRemoteLibraryR.",
              "contract": "Remote thread creation requires a valid target start address and appropriate process access. Returning a thread handle does not prove the DLL's entry point completed.",
              "application": "The helper finds a ReflectiveLoader export, checks PE architecture, allocates remote RWX memory, copies the image and invokes RtlCreateUserThread at the loader offset. The completion wait is commented out.",
              "uncertainty": "The helper returns the thread handle without observing payload completion. Its VirtualFreeEx call supplies nonzero size with MEM_RELEASE, so cleanup success is also unestablished. The payload DLL requires its own review.",
              "telemetry": "Correlate the implant's cross-process handle, remote executable-memory write and remote thread. Inspect private-memory PE content when available; a normal disk-backed DLL load event may be absent.",
              "references": [
                {
                  "title": "CreateRemoteThread (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createremotethread"
                }
              ],
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 1568,
                  "end": 1618,
                  "label": "Throwback/Throwback.cpp"
                },
                {
                  "path": "Throwback/LoadLibraryR.c",
                  "start": 78,
                  "end": 93,
                  "label": "Throwback/LoadLibraryR.c"
                },
                {
                  "path": "Throwback/LoadLibraryR.c",
                  "start": 195,
                  "end": 263,
                  "label": "Throwback/LoadLibraryR.c"
                }
              ]
            },
            {
              "id": "user-process-return-mismatch",
              "api": "Optional user-token process creation result",
              "call_chain": "runCommand with dToken one calls duplicateToken and CreateProcessAsUser before collecting a shared output pipe.",
              "contract": "CreateProcessAsUser returns nonzero on success and zero on failure. ImpersonateLoggedOnUser also requires checking its returned BOOL.",
              "application": "duplicateToken selects explorer.exe and duplicates its token. The argument-bearing CreateProcessAsUser branch converts return zero into one, then treats one as success. Stdout and stderr share a pipe and the wait is limited to ten seconds.",
              "uncertainty": "The source comment reverses the documented return convention. The helper can treat a failed launch as successful. Token access, impersonation and process output remain separate outcomes.",
              "telemetry": "Correlate access to explorer.exe's token, attempted user-context process creation and the actual resulting process tree. Verify process creation independently of the helper's reply.",
              "references": [
                {
                  "title": "CreateProcessAsUserW (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createprocessasuserw"
                }
              ],
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 143,
                  "end": 179,
                  "label": "Throwback/Throwback.cpp"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 348,
                  "end": 437,
                  "label": "Throwback/Throwback.cpp"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Remote DLL and user-token helpers",
              "activation": "runReflector opens the selected PID and passes supplied DLL bytes to LoadRemoteLibraryR.",
              "status": "reviewed",
              "detail": "Reflective export selection, remote load, token duplication and user-context launch handling.",
              "finding_ids": [
                "remote-reflective-loader",
                "user-process-return-mismatch"
              ],
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 1568,
                  "end": 1618,
                  "label": "Throwback/Throwback.cpp"
                },
                {
                  "path": "Throwback/LoadLibraryR.c",
                  "start": 78,
                  "end": 93,
                  "label": "Throwback/LoadLibraryR.c"
                },
                {
                  "path": "Throwback/LoadLibraryR.c",
                  "start": 195,
                  "end": 263,
                  "label": "Throwback/LoadLibraryR.c"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 143,
                  "end": 179,
                  "label": "Throwback/Throwback.cpp"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 348,
                  "end": 437,
                  "label": "Throwback/Throwback.cpp"
                }
              ]
            },
            {
              "module": "Remaining native helpers",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "The source tree and relevant helper callers were inventoried. Embedded payload behavior, all reflective-loader internals and every task branch have not received separate contract findings.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 1568,
                  "end": 1618,
                  "label": "Throwback/Throwback.cpp"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "kaspersky-throwback-related-2022",
              "title": "A new secret stash for “fileless” malware",
              "publisher": "Kaspersky Securelist",
              "url": "https://securelist.com/a-new-secret-stash-for-fileless-malware/106393/",
              "published": "2022-05-04",
              "incident_date": "Earliest observed activity September 2021; event-log technique observed February 2022",
              "attribution": "Unattributed targeted campaign; Kaspersky did not resolve the actor",
              "summary": "Kaspersky linked an HTTP Trojan to Throwback through shared encryption functions. The analyzed code was more complex than the public version.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "http-trojan",
                  "title": "The related Trojan fingerprinted hosts and used encrypted HTTP",
                  "detail": "The analyzed module sent system fingerprint data to its control server and processed returned commands. Kaspersky ties its encryption to public Throwback code.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "Commercial tool sets; HTTP Trojan"
                },
                {
                  "id": "command-set",
                  "title": "The analyzed command set included execution and shellcode injection",
                  "detail": "The report describes command execution, URL downloads, process listing and injection. It does not document each action as executed in the intrusion.",
                  "scope": "framework",
                  "basis": "sample-analysis",
                  "locator": "HTTP Trojan: Trojan commands"
                }
              ]
            }
          ],
          "sandboxes": []
        }
      },
      "rules": [
        {
          "framework": "throwback",
          "id": "944e8941-f6f6-4ee8-ac05-1c224e923c0e",
          "title": "Add Port Monitor Persistence in Registry",
          "status": "test",
          "coverage": "behavior",
          "collection": "SigmaHQ/sigma",
          "path": "rules/windows/registry/registry_set/registry_set_add_port_monitor.yml",
          "url": "https://github.com/SigmaHQ/sigma/blob/05d1031f537e830b76da53bae2400c5814c89165/rules/windows/registry/registry_set/registry_set_add_port_monitor.yml#L1-L46",
          "browse_url": "https://sigma.nasbench.dev/rules/944e8941-f6f6-4ee8-ac05-1c224e923c0e",
          "telemetry": "windows / registry_set",
          "match": "The DLL registration path sets a Driver value under Control/Print/Monitors to XpsMon.dll, matching the key and .dll-data selection.",
          "caveat": "DLL registration path only. Legitimate monitor installation can match; this is not an EXE-implant signature.",
          "evidence": [
            {
              "path": "ThrowbackDLL/dllmain.cpp",
              "start": 81,
              "end": 128,
              "label": "Print monitor Driver write"
            }
          ],
          "kind": "Sigma",
          "commit": "05d1031f537e830b76da53bae2400c5814c89165"
        }
      ],
      "techniques": [
        {
          "framework": "throwback",
          "feature": "dll-print-monitor-registration",
          "reviewed_commit": "1f5bd6467744afc9d5e8235447f85ed1d8275c20",
          "rationale": "The optional WPrintInit export creates a print-monitor registry entry and assigns XpsMon.dll as its driver.",
          "technique": {
            "id": "T1547.010",
            "name": "Port Monitors",
            "url": "https://attack.mitre.org/techniques/T1547/010",
            "version": "1.3",
            "stix_id": "attack-pattern--43881e51-ac74-445b-b4c6-f9f9e9bf23fe"
          },
          "evidence": [
            {
              "path": "ThrowbackDLL/dllmain.cpp",
              "start": 81,
              "end": 128,
              "label": "Print-monitor registration"
            }
          ]
        },
        {
          "framework": "throwback",
          "feature": "process-and-download-task-branches",
          "reviewed_commit": "1f5bd6467744afc9d5e8235447f85ed1d8275c20",
          "rationale": "The DLL task branch invokes rundll32.exe with the downloaded DLL path and its built-in entry point.",
          "technique": {
            "id": "T1218.011",
            "name": "Rundll32",
            "url": "https://attack.mitre.org/techniques/T1218/011",
            "version": "3.0",
            "stix_id": "attack-pattern--045d0922-2310-4e60-b5e4-3302302cb3c5"
          },
          "evidence": [
            {
              "path": "Throwback/Throwback.cpp",
              "start": 863,
              "end": 924,
              "label": "Task branches"
            },
            {
              "path": "Throwback/Throwback.cpp",
              "start": 350,
              "end": 395,
              "label": "Process creation"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "html-tasking-and-encoded-result-posts",
              "title": "HTML tasking and encoded result posts",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            }
          ]
        },
        {
          "id": "https",
          "field": "protocols",
          "label": "HTTPS",
          "description": "HTTP over TLS in the reviewed tasking path.",
          "features": [
            {
              "id": "html-tasking-and-encoded-result-posts",
              "title": "HTML tasking and encoded result posts",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            }
          ]
        },
        {
          "id": "process-creation",
          "field": "executionMethods",
          "label": "Windows Process Creation",
          "description": "The task path creates a Windows process; this does not establish a shell interpreter.",
          "features": [
            {
              "id": "process-and-download-task-branches",
              "title": "Process and download task branches",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 863,
                  "end": 924,
                  "label": "Task branches"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 350,
                  "end": 425,
                  "label": "Process creation and return-value handling"
                }
              ]
            }
          ]
        },
        {
          "id": "rundll32",
          "field": "executionMethods",
          "label": "DLL Execution With rundll32.exe",
          "description": "The reviewed task invokes a DLL through rundll32.exe.",
          "features": [
            {
              "id": "process-and-download-task-branches",
              "title": "Process and download task branches",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 863,
                  "end": 924,
                  "label": "Task branches"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 350,
                  "end": 425,
                  "label": "Process creation and return-value handling"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-service",
          "field": "persistenceHints",
          "label": "Windows Service",
          "description": "The reviewed path registers or runs as a Windows service. Installer and launcher conditions remain in the linked review.",
          "features": [
            {
              "id": "exe-persistence",
              "title": "EXE persistence",
              "evidence": [
                {
                  "path": "Throwback/main.cpp",
                  "start": 46,
                  "end": 53,
                  "label": "Service identifiers"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 110,
                  "end": 126,
                  "label": "Service creation"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 170,
                  "end": 191,
                  "label": "Run value write"
                }
              ]
            }
          ]
        },
        {
          "id": "run-key",
          "field": "persistenceHints",
          "label": "Registry Run Key",
          "description": "The reviewed path writes a Windows Run value. Registry payload storage, value names and installation conditions remain specific to each implementation.",
          "features": [
            {
              "id": "exe-persistence",
              "title": "EXE persistence",
              "evidence": [
                {
                  "path": "Throwback/main.cpp",
                  "start": 46,
                  "end": 53,
                  "label": "Service identifiers"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 110,
                  "end": 126,
                  "label": "Service creation"
                },
                {
                  "path": "Throwback/main.cpp",
                  "start": 170,
                  "end": 191,
                  "label": "Run value write"
                }
              ]
            }
          ]
        },
        {
          "id": "print-monitor",
          "field": "persistenceHints",
          "label": "Print Monitor DLL",
          "description": "The reviewed DLL path registers a Windows print monitor.",
          "features": [
            {
              "id": "dll-print-monitor-registration",
              "title": "DLL print-monitor registration",
              "evidence": [
                {
                  "path": "ThrowbackDLL/dllmain.cpp",
                  "start": 81,
                  "end": 128,
                  "label": "Print-monitor registration"
                }
              ]
            }
          ]
        },
        {
          "id": "rc4",
          "field": "encodingTechniques",
          "label": "RC4",
          "description": "RC4 appears in the reviewed path. Framing, keys and traffic visibility remain implementation-specific.",
          "features": [
            {
              "id": "html-tasking-and-encoded-result-posts",
              "title": "HTML tasking and encoded result posts",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "html-tasking-and-encoded-result-posts",
              "title": "HTML tasking and encoded result posts",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            }
          ]
        },
        {
          "id": "xor",
          "field": "encodingTechniques",
          "label": "XOR Obfuscation",
          "description": "XOR transforms strings or generated content; it is not treated as equivalent to encryption.",
          "features": [
            {
              "id": "html-tasking-and-encoded-result-posts",
              "title": "HTML tasking and encoded result posts",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 33,
                  "end": 35,
                  "label": "Encoded marker definition"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 771,
                  "end": 796,
                  "label": "Task extraction"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 669,
                  "end": 694,
                  "label": "Active result serializer"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 57,
                  "end": 65,
                  "label": "RC4 key and substitutions"
                }
              ]
            },
            {
              "id": "process-and-download-task-branches",
              "title": "Process and download task branches",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 863,
                  "end": 924,
                  "label": "Task branches"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 350,
                  "end": 425,
                  "label": "Process creation and return-value handling"
                }
              ]
            }
          ]
        },
        {
          "id": "binary-rundll32",
          "field": "lolbins",
          "label": "rundll32.exe",
          "description": "A binary reference confirmed in the reviewed implementation.",
          "features": [
            {
              "id": "process-and-download-task-branches",
              "title": "Process and download task branches",
              "evidence": [
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 863,
                  "end": 924,
                  "label": "Task branches"
                },
                {
                  "path": "Throwback/Throwback.cpp",
                  "start": 350,
                  "end": 425,
                  "label": "Process creation and return-value handling"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "HTML tasking and encoded result posts",
          "indicator": "stup1fy",
          "reference": "HTML tasking and encoded result posts",
          "anchor": "html-tasking-and-encoded-result-posts",
          "os": "windows",
          "source": "https://github.com/silentbreaksec/Throwback/blob/1f5bd6467744afc9d5e8235447f85ed1d8275c20/Throwback/Throwback.cpp#L33-L35",
          "confidence": "source-confirmed",
          "mutability": "source default/changeable",
          "visibility": "HTTP response body / decoded source",
          "caveat": "Marker definition is encoded with the source string transform; require task/post context."
        },
        {
          "typeId": "http-parameter",
          "typeLabel": "HTTP parameter",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "HTML tasking and encoded result posts",
          "indicator": "POST body pd=<RC4/Base64 text, + replaced by ~>",
          "reference": "HTML tasking and encoded result posts",
          "anchor": "html-tasking-and-encoded-result-posts",
          "os": "windows",
          "source": "https://github.com/silentbreaksec/Throwback/blob/1f5bd6467744afc9d5e8235447f85ed1d8275c20/Throwback/Throwback.cpp#L669-L694",
          "confidence": "source-confirmed",
          "mutability": "source framing/changeable",
          "visibility": "HTTP body",
          "caveat": "HTTPS requires inspection; pd= alone is generic."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "EXE persistence",
          "indicator": "Service dwmss; display Desktop Window Service Manager",
          "reference": "EXE persistence",
          "anchor": "exe-persistence",
          "os": "windows",
          "source": "https://github.com/silentbreaksec/Throwback/blob/1f5bd6467744afc9d5e8235447f85ed1d8275c20/Throwback/main.cpp#L46-L53",
          "confidence": "source-confirmed",
          "mutability": "entry/privilege-dependent",
          "visibility": "Endpoint service configuration",
          "caveat": "Tie the service to the actual binary and callback behavior."
        },
        {
          "typeId": "registry-creation",
          "typeLabel": "Registry creation",
          "categoryId": "registry",
          "categoryLabel": "Registry",
          "description": "DLL print-monitor registration",
          "indicator": "HKLM/SYSTEM/CurrentControlSet/Control/Print/Monitors/Microsoft Shared XPS Monitor: Driver=XpsMon.dll",
          "reference": "DLL print-monitor registration",
          "anchor": "dll-print-monitor-registration",
          "os": "windows",
          "source": "https://github.com/silentbreaksec/Throwback/blob/1f5bd6467744afc9d5e8235447f85ed1d8275c20/ThrowbackDLL/dllmain.cpp#L81-L128",
          "confidence": "source-confirmed",
          "mutability": "DLL variant-dependent",
          "visibility": "Endpoint registry/module telemetry",
          "caveat": "Not every agent creates a print monitor; verify DLL provenance."
        }
      ]
    },
    {
      "slug": "trevorc2",
      "title": "TrevorC2",
      "relativePath": "frameworks/trevorc2/README.md",
      "upstream_repo": "https://github.com/trustedsec/trevorc2",
      "implementation": "Python, PowerShell, C#, Java, C",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "573a1ee7787448a9fa57085c4c6c5a566d3e60b8",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/trevorc2/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "573a1ee7787448a9fa57085c4c6c5a566d3e60b8",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "operator",
              "label": "Operator task queue",
              "role": "Teamserver memory",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 159,
                  "end": 179,
                  "label": "Operator tasking"
                }
              ]
            },
            {
              "id": "server",
              "label": "Tornado handlers",
              "role": "Cookie routing / HTML tasking",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 349,
                  "end": 374,
                  "label": "Poll handler"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Agent polling loop",
              "role": "Victim HTTP client",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 100,
                  "end": 146,
                  "label": "Agent lifecycle"
                }
              ]
            },
            {
              "id": "disk",
              "label": "Server result files",
              "role": "clone_site/received_<sid>.txt",
              "x": 365,
              "y": 305,
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 426,
                  "end": 431,
                  "label": "Result file write"
                }
              ]
            },
            {
              "id": "execution",
              "label": "Command execution",
              "role": "Shell / PowerShell / cmd.exe",
              "x": 700,
              "y": 305,
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 134,
                  "end": 143,
                  "label": "Shell execution"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "operator",
              "to": "server",
              "label": "Queue an encrypted task",
              "detail": "The operator prefixes a task with the selected hostname; set_instruction encrypts it and stores it by session ID in instructionsdict.",
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 159,
                  "end": 167,
                  "label": "Host-targeted task"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 264,
                  "end": 266,
                  "label": "Encrypt and queue"
                }
              ]
            },
            {
              "from": "agent",
              "to": "server",
              "label": "Register and poll",
              "detail": "Registration sends an outer-Base64-wrapped encrypted magic_hostname value via GET /images?guid=. The server sets sessionid; subsequent GET / requests reuse the cookie.",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 97,
                  "end": 127,
                  "label": "Registration and polling"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 401,
                  "end": 425,
                  "label": "Decode and assign cookie"
                }
              ]
            },
            {
              "from": "server",
              "to": "agent",
              "label": "Deliver task in HTML comment",
              "detail": "The poll handler reads clone_site/index.html and inserts oldcss= plus encrypted tasking before </body>. With REDIRECT on, cookie-less visitors receive a meta refresh instead; missing </body> can prevent insertion.",
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 358,
                  "end": 374,
                  "label": "Comment insertion and redirect"
                }
              ]
            },
            {
              "from": "agent",
              "to": "execution",
              "label": "Decrypt and dispatch",
              "detail": "Python parses the comment, decrypts it, checks the hostname and invokes subprocess.Popen with shell=True. PowerShell uses IEX; C# starts cmd.exe /Q /c.",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 129,
                  "end": 138,
                  "label": "Python dispatch"
                },
                {
                  "path": "agents/trevorc2_client.ps1",
                  "start": 127,
                  "end": 142,
                  "label": "PowerShell dispatch"
                },
                {
                  "path": "agents/trevorc2_client.cs",
                  "start": 161,
                  "end": 171,
                  "label": "C# dispatch"
                }
              ]
            },
            {
              "from": "execution",
              "to": "disk",
              "label": "Return output through GET query",
              "detail": "The Python result path encrypts hostname::::output, wraps the returned Base64 string in another Base64 layer, and sends GET /images?guid=. The server decodes both layers and writes a short-lived result file; the operator loop reads and removes it.",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 139,
                  "end": 146,
                  "label": "Encode result"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 417,
                  "end": 431,
                  "label": "Decode and write"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 174,
                  "end": 179,
                  "label": "Read and remove"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "registration",
            "title": "Cookie-bound registration and task routing",
            "behavior": "The Python agent announces its hostname through the result endpoint. The server assigns a 15-letter session cookie, creates an agent record and queues encrypted nothing as the idle response.",
            "observable": "HTTP metadata can expose /images?guid= and sessionid. The registration plaintext magic_hostname= requires decryption or endpoint/source visibility.",
            "variability": "Path, query name, cookie name and length are configurable. Cookie presence alone is common web behavior.",
            "evidence": [
              {
                "path": "trevorc2_server.py",
                "start": 19,
                "end": 35,
                "label": "Configurable names"
              },
              {
                "path": "trevorc2_server.py",
                "start": 219,
                "end": 222,
                "label": "Letter-only cookie"
              },
              {
                "path": "trevorc2_server.py",
                "start": 408,
                "end": 425,
                "label": "Session registration"
              }
            ]
          },
          {
            "id": "html-channel",
            "title": "HTML comment command channel",
            "behavior": "Task ciphertext is embedded in a cloned page. The Python agent polls, locates the marker, decrypts and ignores the idle plaintext nothing.",
            "observable": "With HTTP content visibility, correlate oldcss= comments with repeated page retrieval and encoded query submissions. Server handlers set Server to IIS.",
            "variability": "Marker and paths are defaults; HTTPS hides body/URI/cookie from passive observers without decryption. Cookie-less default responses are redirected using HTML meta refresh.",
            "evidence": [
              {
                "path": "trevorc2_server.py",
                "start": 349,
                "end": 374,
                "label": "HTML response"
              },
              {
                "path": "agents/trevorc2_client.py",
                "start": 123,
                "end": 135,
                "label": "Comment parsing"
              }
            ]
          },
          {
            "id": "execution",
            "title": "Variant-specific command execution",
            "behavior": "Python invokes a shell and captures stdout; PowerShell evaluates decrypted content in-process through IEX; C# starts cmd.exe with /Q /c and stderr redirection.",
            "observable": "Correlate network polling with shell child processes or PowerShell script telemetry. PowerShell IEX need not create a child process.",
            "variability": "Observables depend on the agent variant, OS and operator task. Generic shell creation cannot attribute activity to TrevorC2.",
            "evidence": [
              {
                "path": "agents/trevorc2_client.py",
                "start": 134,
                "end": 143,
                "label": "Python shell"
              },
              {
                "path": "agents/trevorc2_client.ps1",
                "start": 136,
                "end": 148,
                "label": "In-process IEX"
              },
              {
                "path": "agents/trevorc2_client.cs",
                "start": 161,
                "end": 180,
                "label": "cmd.exe child"
              }
            ]
          },
          {
            "id": "framing",
            "title": "Encryption, framing and timing",
            "behavior": "Python hashes the configured passphrase with SHA-256 and uses AES-CBC with a random 16-byte IV and block padding. HTML tasking carries Base64(IV || ciphertext); registration/results add an outer Base64 layer. Python sleep uses inclusive random integers 2 through 8 by default.",
            "observable": "Encoded query/body shape is visible with HTTP inspection. The default passphrase and Inspect source, memory or decrypted content for these delimiters. The wire representation is encrypted.",
            "variability": "No MAC is appended in the reviewed Python serializer. PowerShell Get-Random uses an exclusive maximum, so the same constants do not imply the identical timing range. Task duration and extra sleeps alter observed cadence.",
            "evidence": [
              {
                "path": "agents/trevorc2_client.py",
                "start": 29,
                "end": 33,
                "label": "Default timing and passphrase"
              },
              {
                "path": "agents/trevorc2_client.py",
                "start": 57,
                "end": 85,
                "label": "Cipher serialization"
              },
              {
                "path": "agents/trevorc2_client.py",
                "start": 94,
                "end": 109,
                "label": "Jitter and outer Base64"
              },
              {
                "path": "agents/trevorc2_client.ps1",
                "start": 79,
                "end": 80,
                "label": "Variant timing"
              }
            ]
          },
          {
            "id": "deep-java-agent-shell",
            "title": "Optional Java agent shell and HTTP reporting",
            "behavior": "The Java client polls the configured page, parses the task marker, checks the hostname and creates a ProcessBuilder. The Java variant explicitly selects /bin/sh with -c. It reads merged output line by line, encrypts the collected string and sends it in an HTTP reporting request. Source configuration uses an http URL.",
            "observable": "Correlate java spawning /bin/sh with browser-styled polling and subsequent reporting requests by the Java process. Application encryption hides shell content from passive HTTP readers.",
            "variability": "It does not inspect the child exit code. The polling parser reads another line before checking the marker and can encounter EOF. The class name does not establish Windows compatibility.",
            "evidence": [
              {
                "path": "agents/trevorc2_client.java",
                "start": 135,
                "end": 194,
                "label": "agents/trevorc2_client.java"
              },
              {
                "path": "agents/trevorc2_client.java",
                "start": 217,
                "end": 243,
                "label": "agents/trevorc2_client.java"
              }
            ]
          },
          {
            "id": "deep-native-agent-http-shell",
            "title": "Optional native C agent HTTP and popen path",
            "behavior": "The native agent registers, polls for task delimiters, calls doTasking and sends encrypted results. The POSIX HTTP helper uses raw IPv4 TCP sockets, and main passes port 80. doTasking calls popen and fread in 2048-byte chunks. The main loop sends the returned bytes and sleeps using rand modulo the interval difference.",
            "observable": "Correlate native-agent shell children with HTTP GET task/report requests and the configured cookie/header framing. Inspect command output separately from exit status.",
            "variability": "The native HTTP helper does not implement TLS. Send-error handling and task-delimiter assumptions can fail. The pclose return is ignored; output absence does not prove no command ran.",
            "evidence": [
              {
                "path": "agents/c/posix_src/http.c",
                "start": 46,
                "end": 58,
                "label": "agents/c/posix_src/http.c"
              },
              {
                "path": "agents/c/posix_src/http.c",
                "start": 89,
                "end": 125,
                "label": "agents/c/posix_src/http.c"
              },
              {
                "path": "agents/c/src/main.c",
                "start": 143,
                "end": 198,
                "label": "agents/c/src/main.c"
              },
              {
                "path": "agents/c/src/main.c",
                "start": 309,
                "end": 340,
                "label": "agents/c/src/main.c"
              },
              {
                "path": "agents/c/src/main.c",
                "start": 366,
                "end": 404,
                "label": "agents/c/src/main.c"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "http-correlation",
            "title": "Combine HTML marker, query uploads and session reuse",
            "telemetry": "HTTP request URI, response body, cookies and User-Agent from an authorized proxy/content inspection point; for HTTPS these require decryption or endpoint telemetry.",
            "logic": "Group requests by endpoint and destination; correlate repeated root-page GETs, responses containing <!-- oldcss=, and /images?guid= submissions with a reused sessionid. Treat the IE11 User-Agent and IIS header as supporting context.",
            "false_positives": "Web applications use images, GUID parameters and session cookies legitimately. Require the compound sequence and review baseline destination/process use; the marker alone is a default fingerprint.",
            "blind_spots": "Changed names, encrypted transport without inspection, missing response-body logging, cookie-less redirect behavior, and unreviewed agent variants reduce coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "agents/trevorc2_client.py",
                "start": 100,
                "end": 143,
                "label": "HTTP sequence"
              },
              {
                "path": "trevorc2_server.py",
                "start": 349,
                "end": 374,
                "label": "Response evidence"
              }
            ]
          },
          {
            "id": "endpoint-correlation",
            "title": "Poll â†’ execute â†’ submit from the same endpoint",
            "telemetry": "EDR process/network correlation; script content telemetry for PowerShell; HTTP URI telemetry where available.",
            "logic": "Correlate a polling Python/.NET process with new shell execution and a subsequent encoded query submission. For PowerShell, correlate the same HTTP pattern with IEX/script execution even without a child process.",
            "false_positives": "Automation and administration agents also poll and execute commands. Tune against approved tooling, process ancestry, destination history and the framing indicators.",
            "blind_spots": "In-process execution, unavailable script logging, renamed/packaged interpreters, task execution delays and encrypted network metadata can break correlation.",
            "status": "untested",
            "evidence": [
              {
                "path": "agents/trevorc2_client.py",
                "start": 125,
                "end": 146,
                "label": "Python sequence"
              },
              {
                "path": "agents/trevorc2_client.ps1",
                "start": 118,
                "end": 155,
                "label": "PowerShell sequence"
              },
              {
                "path": "agents/trevorc2_client.cs",
                "start": 161,
                "end": 180,
                "label": "C# sequence"
              }
            ]
          },
          {
            "id": "server-forensics",
            "title": "Investigate transient teamserver output artifacts",
            "telemetry": "Filesystem creation/deletion and process ownership on a suspected teamserver; source/text search on acquired files without execution.",
            "logic": "Correlate clone_site/index.html with received_<15 letters>.txt creation/removal owned by a Python web server, plus oldcss= and instructionsdict strings in acquired source.",
            "false_positives": "Cloned-site development and generic text files are weak evidence individually. Require multiple artifacts and establish whether the machine is the server or an implant host.",
            "blind_spots": "Results are removed by the operator loop; names are configurable and memory-only evidence may be unavailable. These files belong to the server. Victim artifacts require separate evidence.",
            "status": "untested",
            "evidence": [
              {
                "path": "trevorc2_server.py",
                "start": 174,
                "end": 179,
                "label": "Result cleanup"
              },
              {
                "path": "trevorc2_server.py",
                "start": 358,
                "end": 374,
                "label": "Clone file"
              },
              {
                "path": "trevorc2_server.py",
                "start": 426,
                "end": 431,
                "label": "Result creation"
              }
            ]
          },
          {
            "id": "deep-java-agent-shell",
            "title": "Optional Java agent shell and HTTP reporting",
            "telemetry": "Correlate java spawning /bin/sh with browser-styled polling and subsequent reporting requests by the Java process. Application encryption hides shell content from passive HTTP readers.",
            "logic": "Untested detection hypothesis. The Java variant explicitly selects /bin/sh with -c. It reads merged output line by line, encrypts the collected string and sends it in an HTTP reporting request. Source configuration uses an http URL. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Java automation agents can start shells and report results.",
            "blind_spots": "Untested hypothesis. Parser failures and character encoding affect task processing; source review does not establish a working deployment.",
            "status": "untested",
            "evidence": [
              {
                "path": "agents/trevorc2_client.java",
                "start": 135,
                "end": 194,
                "label": "agents/trevorc2_client.java"
              },
              {
                "path": "agents/trevorc2_client.java",
                "start": 217,
                "end": 243,
                "label": "agents/trevorc2_client.java"
              }
            ]
          },
          {
            "id": "deep-native-agent-http-shell",
            "title": "Optional native C agent HTTP and popen path",
            "telemetry": "Correlate native-agent shell children with HTTP GET task/report requests and the configured cookie/header framing. Inspect command output separately from exit status.",
            "logic": "Untested detection hypothesis. The POSIX HTTP helper uses raw IPv4 TCP sockets, and main passes port 80. doTasking calls popen and fread in 2048-byte chunks. The main loop sends the returned bytes and sleeps using rand modulo the interval difference. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Polling management agents and shell-based automation can resemble parts of this sequence.",
            "blind_spots": "Untested hypothesis. No native agent was compiled; platform guards and socket errors affect operation.",
            "status": "untested",
            "evidence": [
              {
                "path": "agents/c/posix_src/http.c",
                "start": 46,
                "end": 58,
                "label": "agents/c/posix_src/http.c"
              },
              {
                "path": "agents/c/posix_src/http.c",
                "start": 89,
                "end": 125,
                "label": "agents/c/posix_src/http.c"
              },
              {
                "path": "agents/c/src/main.c",
                "start": 143,
                "end": 198,
                "label": "agents/c/src/main.c"
              },
              {
                "path": "agents/c/src/main.c",
                "start": 309,
                "end": 340,
                "label": "agents/c/src/main.c"
              },
              {
                "path": "agents/c/src/main.c",
                "start": 366,
                "end": 404,
                "label": "agents/c/src/main.c"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP",
            "HTTPS / TLS"
          ],
          "executionMethods": [
            "Shell command execution",
            "PowerShell IEX",
            "cmd.exe",
            "Explicit /bin/sh"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Base64",
            "AES / CBC"
          ],
          "persistenceHints": [],
          "beaconFixed": false,
          "beaconJitter": true,
          "delayNotes": [
            "Python default 2â€“8 s inclusive; task duration and extra sleeps add delay"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "python-stdout-only",
              "api": "Popen / communicate()[0] versus C# merged shell output",
              "call_chain": "The Python agent decrypts a matching host task, launches a shell and encodes communicate()[0] into the GET result request.",
              "contract": "communicate returns a tuple of stdout and stderr when both are piped; selecting element zero chooses stdout only.",
              "application": "Python captures both pipes but sends only stdout. Under Python 3, str(stdout_value) can produce a representation of the bytes object without decoding its content. The C# variant explicitly merges shell stderr with 2>&1.",
              "uncertainty": "Do not describe all variants as returning identical output. Python selects a platform-dependent shell. The C# path explicitly selects cmd.exe.",
              "telemetry": "Shell children plus poll/execute/submit context are useful; absence of an error in returned output does not establish successful execution.",
              "references": [
                {
                  "title": "Python subprocess",
                  "url": "https://docs.python.org/3/library/subprocess.html"
                }
              ],
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 125,
                  "end": 146,
                  "label": "Popen / communicate()[0] versus C# merged shell output call site"
                }
              ]
            },
            {
              "id": "java-agent-shell",
              "api": "Optional Java agent shell and HTTP reporting",
              "call_chain": "The Java client polls the configured page, parses the task marker, checks the hostname and creates a ProcessBuilder.",
              "contract": "ProcessBuilder starts the specified executable and argument list. redirectErrorStream(true) merges stderr into the output stream returned by Process.getInputStream.",
              "application": "The Java variant explicitly selects /bin/sh with -c. It reads merged output line by line, encrypts the collected string and sends it in an HTTP reporting request. Source configuration uses an http URL.",
              "uncertainty": "It does not inspect the child exit code. The polling parser reads another line before checking the marker and can encounter EOF. The class name does not establish Windows compatibility.",
              "telemetry": "Correlate java spawning /bin/sh with browser-styled polling and subsequent reporting requests by the Java process. Application encryption hides shell content from passive HTTP readers.",
              "references": [
                {
                  "title": "ProcessBuilder (Java SE 8)",
                  "url": "https://docs.oracle.com/javase/8/docs/api/java/lang/ProcessBuilder.html"
                }
              ],
              "evidence": [
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 135,
                  "end": 194,
                  "label": "agents/trevorc2_client.java"
                },
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 217,
                  "end": 243,
                  "label": "agents/trevorc2_client.java"
                }
              ]
            },
            {
              "id": "native-agent-http-shell",
              "api": "Optional native C agent HTTP and popen path",
              "call_chain": "The native agent registers, polls for task delimiters, calls doTasking and sends encrypted results.",
              "contract": "popen opens a stream connected to a shell command; mode r captures stdout. Reading the stream does not capture stderr unless the command redirects it.",
              "application": "The POSIX HTTP helper uses raw IPv4 TCP sockets, and main passes port 80. doTasking calls popen and fread in 2048-byte chunks. The main loop sends the returned bytes and sleeps using rand modulo the interval difference.",
              "uncertainty": "The native HTTP helper does not implement TLS. Send-error handling and task-delimiter assumptions can fail. The pclose return is ignored; output absence does not prove no command ran.",
              "telemetry": "Correlate native-agent shell children with HTTP GET task/report requests and the configured cookie/header framing. Inspect command output separately from exit status.",
              "references": [
                {
                  "title": "POSIX popen",
                  "url": "https://pubs.opengroup.org/onlinepubs/9799919799/functions/popen.html"
                }
              ],
              "evidence": [
                {
                  "path": "agents/c/posix_src/http.c",
                  "start": 46,
                  "end": 58,
                  "label": "agents/c/posix_src/http.c"
                },
                {
                  "path": "agents/c/posix_src/http.c",
                  "start": 89,
                  "end": 125,
                  "label": "agents/c/posix_src/http.c"
                },
                {
                  "path": "agents/c/src/main.c",
                  "start": 143,
                  "end": 198,
                  "label": "agents/c/src/main.c"
                },
                {
                  "path": "agents/c/src/main.c",
                  "start": 309,
                  "end": 340,
                  "label": "agents/c/src/main.c"
                },
                {
                  "path": "agents/c/src/main.c",
                  "start": 366,
                  "end": 404,
                  "label": "agents/c/src/main.c"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Java and native C agents",
              "activation": "The Java client polls the configured page, parses the task marker, checks the hostname and creates a ProcessBuilder.",
              "status": "reviewed",
              "detail": "Optional variants were reviewed independently for shell invocation, transport and output handling.",
              "finding_ids": [
                "java-agent-shell",
                "native-agent-http-shell"
              ],
              "evidence": [
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 135,
                  "end": 194,
                  "label": "agents/trevorc2_client.java"
                },
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 217,
                  "end": 243,
                  "label": "agents/trevorc2_client.java"
                },
                {
                  "path": "agents/c/posix_src/http.c",
                  "start": 46,
                  "end": 58,
                  "label": "agents/c/posix_src/http.c"
                },
                {
                  "path": "agents/c/posix_src/http.c",
                  "start": 89,
                  "end": 125,
                  "label": "agents/c/posix_src/http.c"
                },
                {
                  "path": "agents/c/src/main.c",
                  "start": 143,
                  "end": 198,
                  "label": "agents/c/src/main.c"
                },
                {
                  "path": "agents/c/src/main.c",
                  "start": 309,
                  "end": 340,
                  "label": "agents/c/src/main.c"
                },
                {
                  "path": "agents/c/src/main.c",
                  "start": 366,
                  "end": 404,
                  "label": "agents/c/src/main.c"
                }
              ]
            },
            {
              "module": "Cryptographic primitives",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "Java transformation/IV/key-derivation text and native framing call sites were inspected. Native AES/SHA implementation internals were not independently verified.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 135,
                  "end": 194,
                  "label": "agents/trevorc2_client.java"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "trevorc2",
          "feature": "execution",
          "reviewed_commit": "573a1ee7787448a9fa57085c4c6c5a566d3e60b8",
          "rationale": "The reviewed PowerShell client executes task text through Invoke-Expression.",
          "technique": {
            "id": "T1059.001",
            "name": "PowerShell",
            "url": "https://attack.mitre.org/techniques/T1059/001",
            "version": "1.6",
            "stix_id": "attack-pattern--970a3432-3237-47ad-bcca-7d8cbb217736"
          },
          "evidence": [
            {
              "path": "agents/trevorc2_client.py",
              "start": 134,
              "end": 143,
              "label": "Python shell"
            },
            {
              "path": "agents/trevorc2_client.ps1",
              "start": 136,
              "end": 148,
              "label": "In-process IEX"
            },
            {
              "path": "agents/trevorc2_client.cs",
              "start": 161,
              "end": 180,
              "label": "cmd.exe child"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http",
          "field": "protocols",
          "label": "HTTP",
          "description": "HTTP tasking or result exchange in the reviewed implementation.",
          "features": [
            {
              "id": "registration",
              "title": "Cookie-bound registration and task routing",
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 19,
                  "end": 35,
                  "label": "Configurable names"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 219,
                  "end": 222,
                  "label": "Letter-only cookie"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 408,
                  "end": 425,
                  "label": "Session registration"
                }
              ]
            },
            {
              "id": "html-channel",
              "title": "HTML comment command channel",
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 349,
                  "end": 374,
                  "label": "HTML response"
                },
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 123,
                  "end": 135,
                  "label": "Comment parsing"
                }
              ]
            }
          ]
        },
        {
          "id": "https",
          "field": "protocols",
          "label": "HTTPS",
          "description": "HTTP over TLS in the reviewed tasking path.",
          "features": [
            {
              "id": "registration",
              "title": "Cookie-bound registration and task routing",
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 19,
                  "end": 35,
                  "label": "Configurable names"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 219,
                  "end": 222,
                  "label": "Letter-only cookie"
                },
                {
                  "path": "trevorc2_server.py",
                  "start": 408,
                  "end": 425,
                  "label": "Session registration"
                }
              ]
            },
            {
              "id": "html-channel",
              "title": "HTML comment command channel",
              "evidence": [
                {
                  "path": "trevorc2_server.py",
                  "start": 349,
                  "end": 374,
                  "label": "HTML response"
                },
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 123,
                  "end": 135,
                  "label": "Comment parsing"
                }
              ]
            }
          ]
        },
        {
          "id": "system-shell",
          "field": "executionMethods",
          "label": "System Shell (Runtime-Selected)",
          "description": "The code requests a system shell without explicitly selecting an interpreter. The host and runtime determine it.",
          "example": {
            "path": "agents/trevorc2_client.py",
            "start": 135,
            "end": 139,
            "label": "System Shell (Platform-Dependent)"
          },
          "features": [
            {
              "id": "execution",
              "title": "Variant-specific command execution",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 134,
                  "end": 143,
                  "label": "Python shell"
                },
                {
                  "path": "agents/trevorc2_client.ps1",
                  "start": 136,
                  "end": 148,
                  "label": "In-process IEX"
                },
                {
                  "path": "agents/trevorc2_client.cs",
                  "start": 161,
                  "end": 180,
                  "label": "cmd.exe child"
                }
              ]
            }
          ]
        },
        {
          "id": "powershell-iex",
          "field": "executionMethods",
          "label": "PowerShell Invoke-Expression",
          "description": "Commands are evaluated with Invoke-Expression or its IEX alias.",
          "features": [
            {
              "id": "execution",
              "title": "Variant-specific command execution",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 134,
                  "end": 143,
                  "label": "Python shell"
                },
                {
                  "path": "agents/trevorc2_client.ps1",
                  "start": 136,
                  "end": 148,
                  "label": "In-process IEX"
                },
                {
                  "path": "agents/trevorc2_client.cs",
                  "start": 161,
                  "end": 180,
                  "label": "cmd.exe child"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-command-shell",
          "field": "executionMethods",
          "label": "Windows Command Shell (cmd.exe)",
          "description": "Commands run through the Windows command interpreter.",
          "example": {
            "path": "agents/trevorc2_client.cs",
            "start": 164,
            "end": 168,
            "label": "Windows Command Shell (cmd.exe)"
          },
          "features": [
            {
              "id": "execution",
              "title": "Variant-specific command execution",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 134,
                  "end": 143,
                  "label": "Python shell"
                },
                {
                  "path": "agents/trevorc2_client.ps1",
                  "start": 136,
                  "end": 148,
                  "label": "In-process IEX"
                },
                {
                  "path": "agents/trevorc2_client.cs",
                  "start": 161,
                  "end": 180,
                  "label": "cmd.exe child"
                }
              ]
            }
          ]
        },
        {
          "id": "posix-sh",
          "field": "executionMethods",
          "label": "POSIX /bin/sh",
          "description": "The reviewed variant explicitly invokes /bin/sh.",
          "features": [
            {
              "id": "deep-java-agent-shell",
              "title": "Optional Java agent shell and HTTP reporting",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 135,
                  "end": 194,
                  "label": "agents/trevorc2_client.java"
                },
                {
                  "path": "agents/trevorc2_client.java",
                  "start": 217,
                  "end": 243,
                  "label": "agents/trevorc2_client.java"
                }
              ]
            }
          ]
        },
        {
          "id": "base64",
          "field": "encodingTechniques",
          "label": "Base64",
          "description": "Base64 encoding; purpose and alphabet are implementation-specific.",
          "features": [
            {
              "id": "framing",
              "title": "Encryption, framing and timing",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 29,
                  "end": 33,
                  "label": "Default timing and passphrase"
                },
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 57,
                  "end": 85,
                  "label": "Cipher serialization"
                },
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 94,
                  "end": 109,
                  "label": "Jitter and outer Base64"
                },
                {
                  "path": "agents/trevorc2_client.ps1",
                  "start": 79,
                  "end": 80,
                  "label": "Variant timing"
                }
              ]
            }
          ]
        },
        {
          "id": "aes-cbc",
          "field": "encodingTechniques",
          "label": "AES-CBC",
          "description": "AES in CBC mode.",
          "features": [
            {
              "id": "framing",
              "title": "Encryption, framing and timing",
              "evidence": [
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 29,
                  "end": 33,
                  "label": "Default timing and passphrase"
                },
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 57,
                  "end": 85,
                  "label": "Cipher serialization"
                },
                {
                  "path": "agents/trevorc2_client.py",
                  "start": 94,
                  "end": 109,
                  "label": "Jitter and outer Base64"
                },
                {
                  "path": "agents/trevorc2_client.ps1",
                  "start": 79,
                  "end": 80,
                  "label": "Variant timing"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "http-parameter",
          "typeLabel": "HTTP parameter",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Registration/result endpoint",
          "indicator": "GET /images?guid=<outer Base64 of Base64(IV || AES-CBC ciphertext)>",
          "reference": "Registration and session routing",
          "anchor": "registration",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.py#L100-L109",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "HTTP URI",
          "caveat": "No operational host is asserted; combine with task marker/session behavior."
        },
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Session cookie",
          "indicator": "sessionid=<15 ASCII letters>",
          "reference": "Registration and session routing",
          "anchor": "registration",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/trevorc2_server.py#L408-L425",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "HTTP cookies",
          "caveat": "Name/length are configured at lines 29–32; generator at 219–222. Ordinary websites also use session cookies."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "HTML task marker",
          "indicator": "<!-- oldcss=",
          "reference": "HTML task delivery",
          "anchor": "html-channel",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/trevorc2_server.py#L349-L374",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "HTTP response body",
          "caveat": "Requires content inspection; cookie-less default responses can contain a meta redirect instead."
        },
        {
          "typeId": "http-header",
          "typeLabel": "HTTP header",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Advertised server header",
          "indicator": "Server: IIS",
          "reference": "HTML task delivery",
          "anchor": "html-channel",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/trevorc2_server.py#L349-L357",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "HTTP response header",
          "caveat": "Low specificity. The string does not establish IIS or the server OS."
        },
        {
          "typeId": "user-agent",
          "typeLabel": "User-Agent",
          "categoryId": "web",
          "categoryLabel": "Web",
          "description": "Python/PowerShell default request UA",
          "indicator": "Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko",
          "reference": "Polling and transport defaults",
          "anchor": "framing",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.py#L105-L109",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "HTTP request header",
          "caveat": "Correlate with channel framing; spoofed browser UAs alone cannot attribute a framework."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "C# agent shell command line",
          "indicator": "cmd.exe /Q /c <task> 2>&1",
          "reference": "Command execution across variants",
          "anchor": "execution",
          "os": "windows",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.cs#L161-L180",
          "confidence": "source-confirmed",
          "mutability": "task/variant-dependent",
          "visibility": "Endpoint process telemetry",
          "caveat": "A generic shell pattern; qualify by parent process and matching network behavior."
        },
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "PowerShell in-process execution",
          "indicator": "IEX -ErrorAction stop | Out-String",
          "reference": "Command execution across variants",
          "anchor": "execution",
          "os": "windows",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.ps1#L136-L148",
          "confidence": "source-confirmed",
          "mutability": "variant-dependent",
          "visibility": "Endpoint script telemetry",
          "caveat": "May not create a child process. Script visibility depends on instrumentation."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Teamserver result file",
          "indicator": "clone_site/received_<sessionid>.txt",
          "reference": "Result return and server artifacts",
          "anchor": "framing",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/trevorc2_server.py#L426-L431",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "Server filesystem",
          "caveat": "Server-side only; operator loop reads/deletes it at 174–179. Not victim persistence."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Teamserver cloned page",
          "indicator": "clone_site/index.html",
          "reference": "Result return and server artifacts",
          "anchor": "framing",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/trevorc2_server.py#L358-L374",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Server filesystem",
          "caveat": "A clone file alone is weak evidence; combine with handler/source/result artifacts."
        },
        {
          "typeId": "encryption-key",
          "typeLabel": "Encryption key / passphrase",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Default passphrase literal",
          "indicator": "Tr3v0rC2R0x@nd1s@w350m3#TrevorForget",
          "reference": "Cipher framing and default configuration",
          "anchor": "framing",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.py#L29-L33",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "Source or memory",
          "caveat": "Not a plaintext network value; only applies when operators retain the default."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Encrypted registration plaintext",
          "indicator": "magic_hostname=",
          "reference": "Registration and session routing",
          "anchor": "registration",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.py#L100-L109",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Source, memory or decrypted content",
          "caveat": "Inside encrypted content; unsuitable as an unencrypted passive network signature."
        },
        {
          "typeId": "protocol-marker",
          "typeLabel": "Protocol marker",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Encrypted task/result separator",
          "indicator": "::::",
          "reference": "Result return and server artifacts",
          "anchor": "framing",
          "os": "cross-platform",
          "source": "https://github.com/trustedsec/trevorc2/blob/573a1ee7787448a9fa57085c4c6c5a566d3e60b8/agents/trevorc2_client.py#L134-L143",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable in source",
          "visibility": "Source, memory or decrypted content",
          "caveat": "The delimiter is encrypted and has low specificity in isolation."
        }
      ]
    },
    {
      "slug": "tuoni",
      "title": "tuoni",
      "relativePath": "frameworks/tuoni/README.md",
      "upstream_repo": "https://github.com/shell-dot/tuoni",
      "implementation": "Java, Python, PowerShell, Shell",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "7c54c666cf9751153dc908470b9f0b9e812a71b3",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/tuoni/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "7c54c666cf9751153dc908470b9f0b9e812a71b3",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "url",
              "label": "Configured stage URL",
              "role": "Generated %%url%% placeholder",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            },
            {
              "id": "launcher",
              "label": "Python launcher",
              "role": "Download and native call",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            },
            {
              "id": "memory",
              "label": "Current process",
              "role": "Executable memory",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            },
            {
              "id": "autorun",
              "label": "Optional autorun template",
              "role": "Service or Startup association",
              "x": 30,
              "y": 305,
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 132,
                  "end": 155,
                  "label": "Service registration and child launch"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 10,
                  "end": 12,
                  "label": "Service name template"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "url",
              "to": "launcher",
              "label": "Retrieve stage bytes",
              "detail": "The template reads the configured URL with certificate checks disabled.",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            },
            {
              "from": "launcher",
              "to": "memory",
              "label": "Copy and execute shellcode",
              "detail": "The downloaded bytes are copied into an executable allocation and called.",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            },
            {
              "from": "autorun",
              "to": "launcher",
              "label": "Launch through selected persistence wrapper",
              "detail": "Optional service and file-association templates arrange launcher execution.",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 132,
                  "end": 155,
                  "label": "Service registration and child launch"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 10,
                  "end": 12,
                  "label": "Service name template"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "staged-python-shellcode-execution",
            "title": "Staged Python shellcode execution",
            "behavior": "The template downloads bytes from a substituted URL, disables TLS hostname/certificate checks, allocates executable memory, copies the bytes and invokes a ctypes function pointer.",
            "observable": "Python-associated download followed by RWX allocation and native execution is the endpoint sequence.",
            "variability": "%%url%% is a generation placeholder. The separate staged payload determines the later implant protocol.",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                "start": 5,
                "end": 12,
                "label": "Download and TLS settings"
              },
              {
                "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                "start": 18,
                "end": 38,
                "label": "Memory execution"
              }
            ]
          },
          {
            "id": "windows-service-wrapper",
            "title": "Windows service wrapper",
            "behavior": "The service template writes a child script and launches it hidden. Its service fallback uses sc create with automatic start and display name Shell Hardware Detection.",
            "observable": "Service creation, the display-name/actual-binary mismatch and Python child execution can guide investigation.",
            "variability": "The internal service name comes from a filename placeholder. Do not confuse this custom service with the legitimate ShellHWDetection service.",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 132,
                "end": 155,
                "label": "Service registration and child launch"
              },
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 10,
                "end": 12,
                "label": "Service name template"
              }
            ]
          },
          {
            "id": "file-association-and-startup-trigger",
            "title": "File association and Startup trigger",
            "behavior": "The PowerShell template downloads an executable to TEMP, registers a generated ProgID open command and a random .jp<letter> extension excluding g, then places a disguised image trigger in Startup.",
            "observable": "Correlate HKCU Software/Classes open-command changes, .jp? associations and Startup file creation with the TEMP executable.",
            "variability": "All filenames/ProgIDs are generated. The optional association path requires the selected template.",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/file_ext_persist.ps1",
                "start": 3,
                "end": 18,
                "label": "Download and open-command registration"
              },
              {
                "path": "plugins/client/default/launchers/file_ext_persist.ps1",
                "start": 20,
                "end": 34,
                "label": "Association and Startup trigger"
              }
            ]
          },
          {
            "id": "server-configuration-boundary",
            "title": "Server configuration boundary",
            "behavior": "The example config enables server TLS on 8443 and logs to logs/tuoni-server.log; client.port is separately configured.",
            "observable": "These are management/server defaults useful for server-side review.",
            "variability": "The config does not prove an implant callback port, a victim file artifact, or the core agent transport.",
            "evidence": [
              {
                "path": "config/example/example.tuoni.yml",
                "start": 1,
                "end": 13,
                "label": "Server TLS settings"
              },
              {
                "path": "config/example/example.tuoni.yml",
                "start": 40,
                "end": 61,
                "label": "Server logging and client setting"
              }
            ]
          },
          {
            "id": "deep-disk-dll-launcher",
            "title": "Optional disk-backed DLL launcher",
            "behavior": "The LoadLibA launcher template downloads the configured URL, writes a temporary DLL and calls LoadLibraryA. This Python template disables certificate validation, creates a temporary directory, writes the selected DLL filename and loads that path using a typed LoadLibraryA binding. It waits indefinitely after a successful handle check.",
            "observable": "Correlate Python-owned download, temporary DLL creation and image load from the same path. Join subsequent network activity to the loader process if present.",
            "variability": "The path has a disk artifact. DLL initialization and later C2 behavior depend on external bytes whose implementation is absent from this source tree. No DLL was downloaded or loaded.",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py",
                "start": 1,
                "end": 32,
                "label": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py"
              }
            ]
          },
          {
            "id": "deep-local-apc-delivery",
            "title": "Optional local APC and service launchers",
            "behavior": "Local APC templates download bytes, allocate executable memory and queue a callback to a sleeper thread; the service template wraps this path in service control callbacks. The local template starts a Python thread calling SleepEx with alertable TRUE, opens a thread handle using Thread.ident and queues the allocated pointer. The service template also writes a child .py under ProgramData/Microsoft/Windows and has sc create/start branches.",
            "observable": "Correlate Python-owned executable memory, thread-handle and APC activity. For the service variant, join the child script path, sc.exe service creation and the configured service image path.",
            "variability": "Python documents ident as a thread identifier distinct from its explicitly native_id property. Mapping to OpenThread is runtime-dependent. Service status and APC queue success do not prove payload completion.",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/template.APC_python_shellcode_template.py",
                "start": 35,
                "end": 72,
                "label": "plugins/client/default/launchers/template.APC_python_shellcode_template.py"
              },
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 79,
                "end": 115,
                "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
              },
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 122,
                "end": 156,
                "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
              }
            ]
          },
          {
            "id": "deep-remote-apc-attempt",
            "title": "Optional remote APC injection template",
            "behavior": "The main guard selects a PID and calls remote_via_apc; selection considers explicit options and process integrity. The helper opens a selected process, allocates RW memory remotely, copies bytes, changes it to RX, creates a suspended thread starting at RtlExitUserThread and calls native APC queue and alert/resume functions.",
            "observable": "Correlate cross-process allocation/write, RW-to-RX change, suspended remote thread and APC/resume activity from the Python loader. Confirm the target process and actual execution separately.",
            "variability": "The native bindings and NTSTATUS handling do not establish successful callback delivery. Resume status is ignored. Target access, integrity, architecture and supplied payload remain untested.",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                "start": 37,
                "end": 49,
                "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
              },
              {
                "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                "start": 80,
                "end": 128,
                "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
              },
              {
                "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                "start": 282,
                "end": 308,
                "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "trace-downloaded-bytes-into-python-native-execution",
            "title": "Trace downloaded bytes into Python native execution",
            "telemetry": "Endpoint network/download, executable-memory and Python process telemetry.",
            "logic": "Correlate the same Python process downloading a stage, allocating RWX memory and invoking a native pointer.",
            "false_positives": "Python native extensions and legitimate loaders use ctypes; require the combined staging path.",
            "blind_spots": "API visibility may be incomplete; the subsequent implant channel is outside scope.",
            "status": "untested",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                "start": 5,
                "end": 38,
                "label": "plugins/client/default/launchers/template.shellcode_python_template.py"
              }
            ]
          },
          {
            "id": "correlate-association-or-service-persistence-with-the-launcher",
            "title": "Correlate association or service persistence with the launcher",
            "telemetry": "Registry, Startup file and service-creation telemetry.",
            "logic": "Review generated .jp? Startup triggers/open commands or a Shell Hardware Detection display name pointing at a Python wrapper.",
            "false_positives": "Custom associations and legitimate services exist; verify binary path, signer and registry-to-file relationship.",
            "blind_spots": "Only selected launcher templates create these artifacts; names and extensions can change.",
            "status": "untested",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/file_ext_persist.ps1",
                "start": 14,
                "end": 34,
                "label": "plugins/client/default/launchers/file_ext_persist.ps1"
              },
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 135,
                "end": 155,
                "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
              }
            ]
          },
          {
            "id": "deep-disk-dll-launcher",
            "title": "Optional disk-backed DLL launcher",
            "telemetry": "Correlate Python-owned download, temporary DLL creation and image load from the same path. Join subsequent network activity to the loader process if present.",
            "logic": "Untested detection hypothesis. This Python template disables certificate validation, creates a temporary directory, writes the selected DLL filename and loads that path using a typed LoadLibraryA binding. It waits indefinitely after a successful handle check. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Plugin downloaders and application updaters may load temporary DLLs.",
            "blind_spots": "Untested hypothesis. Filename and URL are template options; downloaded payload internals remain unknown.",
            "status": "untested",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py",
                "start": 1,
                "end": 32,
                "label": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py"
              }
            ]
          },
          {
            "id": "deep-local-apc-delivery",
            "title": "Optional local APC and service launchers",
            "telemetry": "Correlate Python-owned executable memory, thread-handle and APC activity. For the service variant, join the child script path, sc.exe service creation and the configured service image path.",
            "logic": "Untested detection hypothesis. The local template starts a Python thread calling SleepEx with alertable TRUE, opens a thread handle using Thread.ident and queues the allocated pointer. The service template also writes a child .py under ProgramData/Microsoft/Windows and has sc create/start branches. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "JIT runtimes, asynchronous I/O and installed services use related primitives.",
            "blind_spots": "Untested hypothesis. API telemetry is required; permissions, runtime thread IDs and alertable delivery can stop execution.",
            "status": "untested",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/template.APC_python_shellcode_template.py",
                "start": 35,
                "end": 72,
                "label": "plugins/client/default/launchers/template.APC_python_shellcode_template.py"
              },
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 79,
                "end": 115,
                "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
              },
              {
                "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                "start": 122,
                "end": 156,
                "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
              }
            ]
          },
          {
            "id": "deep-remote-apc-attempt",
            "title": "Optional remote APC injection template",
            "telemetry": "Correlate cross-process allocation/write, RW-to-RX change, suspended remote thread and APC/resume activity from the Python loader. Confirm the target process and actual execution separately.",
            "logic": "Untested detection hypothesis. The helper opens a selected process, allocates RW memory remotely, copies bytes, changes it to RX, creates a suspended thread starting at RtlExitUserThread and calls native APC queue and alert/resume functions. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Debugging and specialized instrumentation can perform remote-thread operations.",
            "blind_spots": "Untested hypothesis. The template establishes an attempt; native API binding errors can stop the chain.",
            "status": "untested",
            "evidence": [
              {
                "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                "start": 37,
                "end": 49,
                "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
              },
              {
                "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                "start": 80,
                "end": 128,
                "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
              },
              {
                "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                "start": 282,
                "end": 308,
                "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "HTTP(S) staging"
          ],
          "executionMethods": [
            "Local shellcode execution"
          ],
          "lolbins": [],
          "encodingTechniques": [],
          "persistenceHints": [
            "Windows service",
            "File association / Startup"
          ],
          "beaconFixed": false,
          "beaconJitter": false,
          "delayNotes": []
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "ctypes-local-callback",
              "api": "ctypes VirtualAlloc / memmove / CFUNCTYPE",
              "call_chain": "The launcher downloads bytes, declares native allocation/copy signatures, allocates local memory, copies bytes and calls a function pointer.",
              "contract": "ctypes function prototypes control argument/return conversion; CFUNCTYPE wraps a C calling-convention function pointer.",
              "application": "The template sets pointer-sized allocation return/arguments, requests executable local memory and directly calls CFUNCTYPE(None)(ptr). It does not use CreateRemoteThread in this launcher.",
              "uncertainty": "The launcher template stages a separate payload. Core implant tasking is outside this template. Payload architecture, calling convention and successful execution remain unverified; do not infer a C2 protocol from a download URL.",
              "telemetry": "Look for downloader-to-executable-memory behavior in the Python process where available; a remote-injection detector alone does not cover this local call.",
              "references": [
                {
                  "title": "API contract documentation",
                  "url": "https://docs.python.org/3/library/ctypes.html"
                }
              ],
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 16,
                  "end": 38,
                  "label": "ctypes VirtualAlloc / memmove / CFUNCTYPE call site"
                }
              ]
            },
            {
              "id": "disk-dll-launcher",
              "api": "Optional disk-backed DLL launcher",
              "call_chain": "The LoadLibA launcher template downloads the configured URL, writes a temporary DLL and calls LoadLibraryA.",
              "contract": "LoadLibraryA loads a named module into the calling process and returns its module handle or NULL.",
              "application": "This Python template disables certificate validation, creates a temporary directory, writes the selected DLL filename and loads that path using a typed LoadLibraryA binding. It waits indefinitely after a successful handle check.",
              "uncertainty": "The path has a disk artifact. DLL initialization and later C2 behavior depend on external bytes whose implementation is absent from this source tree. No DLL was downloaded or loaded.",
              "telemetry": "Correlate Python-owned download, temporary DLL creation and image load from the same path. Join subsequent network activity to the loader process if present.",
              "references": [
                {
                  "title": "LoadLibraryA (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/libloaderapi/nf-libloaderapi-loadlibrarya"
                }
              ],
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py",
                  "start": 1,
                  "end": 32,
                  "label": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py"
                }
              ]
            },
            {
              "id": "local-apc-delivery",
              "api": "Optional local APC and service launchers",
              "call_chain": "Local APC templates download bytes, allocate executable memory and queue a callback to a sleeper thread; the service template wraps this path in service control callbacks.",
              "contract": "A normal user-mode APC runs when its target thread enters an alertable wait. Queueing success is distinct from callback completion.",
              "application": "The local template starts a Python thread calling SleepEx with alertable TRUE, opens a thread handle using Thread.ident and queues the allocated pointer. The service template also writes a child .py under ProgramData/Microsoft/Windows and has sc create/start branches.",
              "uncertainty": "Python documents ident as a thread identifier distinct from its explicitly native_id property. Mapping to OpenThread is runtime-dependent. Service status and APC queue success do not prove payload completion.",
              "telemetry": "Correlate Python-owned executable memory, thread-handle and APC activity. For the service variant, join the child script path, sc.exe service creation and the configured service image path.",
              "references": [
                {
                  "title": "User APC delivery (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/sync/asynchronous-procedure-calls"
                }
              ],
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.APC_python_shellcode_template.py",
                  "start": 35,
                  "end": 72,
                  "label": "plugins/client/default/launchers/template.APC_python_shellcode_template.py"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 79,
                  "end": 115,
                  "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 122,
                  "end": 156,
                  "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
                }
              ]
            },
            {
              "id": "remote-apc-attempt",
              "api": "Optional remote APC injection template",
              "call_chain": "The main guard selects a PID and calls remote_via_apc; selection considers explicit options and process integrity.",
              "contract": "CreateRemoteThread can create a suspended thread in another process. Queueing a callback requires a suitable thread and API contract; later execution needs independent evidence.",
              "application": "The helper opens a selected process, allocates RW memory remotely, copies bytes, changes it to RX, creates a suspended thread starting at RtlExitUserThread and calls native APC queue and alert/resume functions.",
              "uncertainty": "The native bindings and NTSTATUS handling do not establish successful callback delivery. Resume status is ignored. Target access, integrity, architecture and supplied payload remain untested.",
              "telemetry": "Correlate cross-process allocation/write, RW-to-RX change, suspended remote thread and APC/resume activity from the Python loader. Confirm the target process and actual execution separately.",
              "references": [
                {
                  "title": "CreateRemoteThread (Win32)",
                  "url": "https://learn.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-createremotethread"
                }
              ],
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                  "start": 37,
                  "end": 49,
                  "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
                },
                {
                  "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                  "start": 80,
                  "end": 128,
                  "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
                },
                {
                  "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                  "start": 282,
                  "end": 308,
                  "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "DLL and APC launchers",
              "activation": "The LoadLibA launcher template downloads the configured URL, writes a temporary DLL and calls LoadLibraryA.",
              "status": "reviewed",
              "detail": "Disk DLL, local APC, remote APC and service-wrapper templates were read as inert text.",
              "finding_ids": [
                "disk-dll-launcher",
                "local-apc-delivery",
                "remote-apc-attempt"
              ],
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py",
                  "start": 1,
                  "end": 32,
                  "label": "plugins/client/default/launchers/LoadLibA_dll_launcher_template.py"
                },
                {
                  "path": "plugins/client/default/launchers/template.APC_python_shellcode_template.py",
                  "start": 35,
                  "end": 72,
                  "label": "plugins/client/default/launchers/template.APC_python_shellcode_template.py"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 79,
                  "end": 115,
                  "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 122,
                  "end": 156,
                  "label": "plugins/client/default/launchers/python_service_shellcode_template.py"
                },
                {
                  "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                  "start": 37,
                  "end": 49,
                  "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
                },
                {
                  "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                  "start": 80,
                  "end": 128,
                  "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
                },
                {
                  "path": "plugins/client/default/launchers/template.remote_APC_inj.py",
                  "start": 282,
                  "end": 308,
                  "label": "plugins/client/default/launchers/template.remote_APC_inj.py"
                }
              ]
            },
            {
              "module": "Other launcher templates and core payload",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "partial",
              "detail": "CallWindowProcW and ps-all download templates were inspected for scope. Remaining launcher generators require individual contract review. The core payload is supplied externally; source here cannot establish its C2 protocol or tasks.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/CallWindowProcW_launcher.ps1",
                  "start": 1,
                  "end": 47,
                  "label": "plugins/client/default/launchers/CallWindowProcW_launcher.ps1"
                },
                {
                  "path": "plugins/client/default/launchers/ps-all/main.template.ps1",
                  "start": 1,
                  "end": 1,
                  "label": "plugins/client/default/launchers/ps-all/main.template.ps1"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [
            {
              "id": "morphisec-real-estate",
              "title": "Morphisec Thwarts Sophisticated Tuoni C2 Attack on U.S. Real Estate Firm",
              "publisher": "Morphisec",
              "url": "https://www.morphisec.com/blog/morphisec-thwarts-sophisticated-tuoni-c2-attack-on-us-real-estate-firm/",
              "published": "2025-11-18",
              "incident_date": "Mid-October 2025",
              "attribution": "Unknown; Teams impersonation assessed as likely",
              "summary": "Morphisec reports stopping a Tuoni delivery attempt against a U.S. real-estate company. The analyzed delivery chain used PowerShell, image-hidden payload data and reflective loading.",
              "kind": "primary-report",
              "findings": [
                {
                  "id": "blocked-entry",
                  "title": "The reported delivery attempt was blocked",
                  "detail": "Morphisec says its prevention stopped the attack before the listener executed. It does not establish a successful Tuoni session, exfiltration or ransomware deployment.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "How Morphisec Stopped the Attack Cold"
                },
                {
                  "id": "suspected-teams-lure",
                  "title": "The initial social-engineering vector remains uncertain",
                  "detail": "The researchers assess Teams impersonation as likely and describe a PowerShell entry command. The initial vector was not fully confirmed.",
                  "scope": "delivery-chain",
                  "basis": "reported-activity",
                  "locator": "Attack Timeline and Initial Access"
                },
                {
                  "id": "image-loader",
                  "title": "The analyzed loader extracted an image-hidden payload",
                  "detail": "The script used BMP pixel data to recover shellcode and a reflective TuoniAgent.dll loading path. These loader behaviors are sample-analysis findings.",
                  "scope": "delivery-chain",
                  "basis": "sample-analysis",
                  "locator": "Stage 2: Steganography and In-Memory Execution"
                }
              ]
            }
          ],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "tuoni",
          "feature": "windows-service-wrapper",
          "reviewed_commit": "7c54c666cf9751153dc908470b9f0b9e812a71b3",
          "rationale": "The generated Windows service wrapper has an installer fallback that invokes sc create with automatic start. This mapping covers that launcher template.",
          "technique": {
            "id": "T1543.003",
            "name": "Windows Service",
            "url": "https://attack.mitre.org/techniques/T1543/003",
            "version": "1.6",
            "stix_id": "attack-pattern--2959d63f-73fd-46a1-abd2-109d7dcede32"
          },
          "evidence": [
            {
              "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
              "start": 132,
              "end": 155,
              "label": "Service registration and child launch"
            },
            {
              "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
              "start": 10,
              "end": 12,
              "label": "Service name template"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "http-staging",
          "field": "protocols",
          "label": "HTTP(S) Staging",
          "description": "HTTP or HTTPS retrieves a stage. This does not establish the implant tasking protocol.",
          "features": [
            {
              "id": "staged-python-shellcode-execution",
              "title": "Staged Python shellcode execution",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            }
          ]
        },
        {
          "id": "local-shellcode",
          "field": "executionMethods",
          "label": "Local Shellcode Execution",
          "description": "The reviewed launcher executes shellcode within its process.",
          "features": [
            {
              "id": "staged-python-shellcode-execution",
              "title": "Staged Python shellcode execution",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 5,
                  "end": 12,
                  "label": "Download and TLS settings"
                },
                {
                  "path": "plugins/client/default/launchers/template.shellcode_python_template.py",
                  "start": 18,
                  "end": 38,
                  "label": "Memory execution"
                }
              ]
            }
          ]
        },
        {
          "id": "windows-service",
          "field": "persistenceHints",
          "label": "Windows Service",
          "description": "The reviewed path registers or runs as a Windows service. Installer and launcher conditions remain in the linked review.",
          "features": [
            {
              "id": "windows-service-wrapper",
              "title": "Windows service wrapper",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 132,
                  "end": 155,
                  "label": "Service registration and child launch"
                },
                {
                  "path": "plugins/client/default/launchers/python_service_shellcode_template.py",
                  "start": 10,
                  "end": 12,
                  "label": "Service name template"
                }
              ]
            }
          ]
        },
        {
          "id": "file-association-startup",
          "field": "persistenceHints",
          "label": "File Association / Startup Entry",
          "description": "The reviewed launcher combines a file association with a Startup trigger.",
          "features": [
            {
              "id": "file-association-and-startup-trigger",
              "title": "File association and Startup trigger",
              "evidence": [
                {
                  "path": "plugins/client/default/launchers/file_ext_persist.ps1",
                  "start": 3,
                  "end": 18,
                  "label": "Download and open-command registration"
                },
                {
                  "path": "plugins/client/default/launchers/file_ext_persist.ps1",
                  "start": 20,
                  "end": 34,
                  "label": "Association and Startup trigger"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "api-call",
          "typeLabel": "API / script call",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Staged Python shellcode execution",
          "indicator": "urllib.request.urlopen + VirtualAlloc(PAGE_EXECUTE_READWRITE) + ctypes.CFUNCTYPE",
          "reference": "Staged Python shellcode execution",
          "anchor": "staged-python-shellcode-execution",
          "os": "windows",
          "source": "https://github.com/shell-dot/tuoni/blob/7c54c666cf9751153dc908470b9f0b9e812a71b3/plugins/client/default/launchers/template.shellcode_python_template.py#L18-L38",
          "confidence": "source-confirmed",
          "mutability": "template-dependent",
          "visibility": "Endpoint download/API telemetry",
          "caveat": "Staging behavior only; not proof of the core C2 transport."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Windows service wrapper",
          "indicator": "sc create <generated name> ... start= auto DisplayName= Shell Hardware Detection",
          "reference": "Windows service wrapper",
          "anchor": "windows-service-wrapper",
          "os": "windows",
          "source": "https://github.com/shell-dot/tuoni/blob/7c54c666cf9751153dc908470b9f0b9e812a71b3/plugins/client/default/launchers/python_service_shellcode_template.py#L135-L142",
          "confidence": "source-confirmed",
          "mutability": "optional; generated name",
          "visibility": "Service/process telemetry",
          "caveat": "Inspect binPath and provenance; display name alone also resembles a legitimate service."
        },
        {
          "typeId": "registry-creation",
          "typeLabel": "Registry creation",
          "categoryId": "registry",
          "categoryLabel": "Registry",
          "description": "File association and Startup trigger",
          "indicator": "HKCU/Software/Classes/<generated ProgID>/shell/open/command",
          "reference": "File association and Startup trigger",
          "anchor": "file-association-and-startup-trigger",
          "os": "windows",
          "source": "https://github.com/shell-dot/tuoni/blob/7c54c666cf9751153dc908470b9f0b9e812a71b3/plugins/client/default/launchers/file_ext_persist.ps1#L14-L26",
          "confidence": "source-confirmed",
          "mutability": "optional/generated",
          "visibility": "Endpoint registry",
          "caveat": "Correlate .jp<letter> extension and Startup trigger, not the generic registry path alone."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "File association and Startup trigger",
          "indicator": "%APPDATA%/Microsoft/Windows/Start Menu/Programs/Startup/<generated>.jp<letter>",
          "reference": "File association and Startup trigger",
          "anchor": "file-association-and-startup-trigger",
          "os": "windows",
          "source": "https://github.com/shell-dot/tuoni/blob/7c54c666cf9751153dc908470b9f0b9e812a71b3/plugins/client/default/launchers/file_ext_persist.ps1#L28-L34",
          "confidence": "source-confirmed",
          "mutability": "optional/generated",
          "visibility": "Endpoint filesystem",
          "caveat": "The template excludes the .jpg extension letter; names vary."
        }
      ]
    },
    {
      "slug": "weasel",
      "title": "WEASEL",
      "relativePath": "frameworks/WEASEL/README.md",
      "upstream_repo": "https://github.com/facebookarchive/WEASEL",
      "implementation": "Python",
      "evaluated_date": "2026-04-08",
      "analyzed_ref": {
        "type": "commit",
        "value": "4376c3e6679c4bfaf23d4ac1445a4461860bff40",
        "resolved_at": "2026-10-30"
      },
      "evaluators": [
        {
          "name": "Nasreddine Bencherchali",
          "url": "https://twitter.com/nas_bench"
        }
      ],
      "indicatorsPath": "frameworks/WEASEL/indicators.yaml",
      "analysis": {
        "version": 1,
        "method": "static-source-review",
        "reviewed_commit": "4376c3e6679c4bfaf23d4ac1445a4461860bff40",
        "reviewed_on": "2026-10-30",
        "architecture": {
          "nodes": [
            {
              "id": "operator",
              "label": "Operator task queue",
              "role": "Server commands and sessions",
              "x": 30,
              "y": 35,
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 420,
                  "end": 464,
                  "label": "Queue task or interval"
                }
              ]
            },
            {
              "id": "server",
              "label": "DNS authority",
              "role": "Resolver / PacketHandler",
              "x": 365,
              "y": 35,
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 702,
                  "end": 715,
                  "label": "Resolver entry"
                }
              ]
            },
            {
              "id": "resolver",
              "label": "System DNS resolver",
              "role": "AAAA lookup API",
              "x": 700,
              "y": 35,
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 388,
                  "end": 408,
                  "label": "getaddrinfo calls"
                }
              ]
            },
            {
              "id": "disk",
              "label": "Server session save",
              "role": "Optional WEASEL.pkl artifact",
              "x": 30,
              "y": 305,
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 154,
                  "end": 169,
                  "label": "Session file write"
                }
              ]
            },
            {
              "id": "execution",
              "label": "Shell / Python tasks",
              "role": "Victim execution and output",
              "x": 365,
              "y": 305,
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "Execution helper"
                }
              ]
            },
            {
              "id": "agent",
              "label": "Python beacon",
              "role": "DH / AES-CTR / packet codec",
              "x": 700,
              "y": 305,
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 183,
                  "end": 241,
                  "label": "Session and check-in"
                }
              ]
            }
          ],
          "edges": [
            {
              "from": "operator",
              "to": "server",
              "label": "Queue typed commands",
              "detail": "Operator actions enqueue function|arguments in a per-session outbound queue. Replies join queued commands with ^, encrypt and packetize them, then clear the queue without per-command delivery confirmation.",
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 442,
                  "end": 464,
                  "label": "Function tasking"
                },
                {
                  "path": "server/server.py",
                  "start": 1182,
                  "end": 1209,
                  "label": "Dispatch and queue clearing"
                }
              ]
            },
            {
              "from": "agent",
              "to": "resolver",
              "label": "Encode data into AAAA queries",
              "detail": "The beacon encrypts typed messages, applies modified Base32, splits into at most 16 fragments of 50 encoded characters, and prefixes sequence/count characters. Names carry a two-hex-character stream and four-hex-character session before the configured domain. getaddrinfo uses the system resolver; no direct hardcoded resolver IP is selected here.",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 325,
                  "end": 389,
                  "label": "Encode and fragment"
                },
                {
                  "path": "client/beacon.py",
                  "start": 396,
                  "end": 408,
                  "label": "System resolver lookup"
                }
              ]
            },
            {
              "from": "resolver",
              "to": "server",
              "label": "Resolve the encoded names",
              "detail": "Normal DNS resolution delivers the name to the authority. The server parses and reassembles it by session/stream, restores Base32 and decrypts data. Source IP at the authority can be a recursive resolver rather than the victim.",
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 713,
                  "end": 715,
                  "label": "Authority peer address"
                },
                {
                  "path": "server/server.py",
                  "start": 867,
                  "end": 895,
                  "label": "Name parsing"
                },
                {
                  "path": "server/server.py",
                  "start": 1047,
                  "end": 1080,
                  "label": "Reassembly and decrypt"
                }
              ]
            },
            {
              "from": "server",
              "to": "agent",
              "label": "Return task bytes as AAAA answers",
              "detail": "Replies travel back through DNS resolution. Ordinary payload records contain one obfuscated sequence byte and up to 15 data bytes, with zero-padding to 16 bytes. The initial session-cookie record uses four ASCII hex characters plus twelve zero bytes instead. The client reassembles and decrypts the data; the AAAA addresses are not connection destinations.",
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 796,
                  "end": 833,
                  "label": "AAAA reply construction"
                },
                {
                  "path": "server/server.py",
                  "start": 1213,
                  "end": 1232,
                  "label": "Packet layout"
                },
                {
                  "path": "client/beacon.py",
                  "start": 420,
                  "end": 464,
                  "label": "Reassemble answers"
                }
              ]
            },
            {
              "from": "agent",
              "to": "execution",
              "label": "Dispatch commands and return results",
              "detail": "Type 8/80 executes Python in-process; 9/90 runs a shell synchronously/asynchronously. Synchronous results are sliced to 400 characters before encoding; quiet Python results to 40. Type 90 does not send an immediate result despite broader server-side descriptions. Results from other paths enter the same DNS query channel.",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 149,
                  "end": 174,
                  "label": "Dispatcher result limits"
                },
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "Python and shell execution"
                }
              ]
            },
            {
              "from": "operator",
              "to": "disk",
              "label": "Save server sessions on request",
              "detail": "The server can serialize sessions with dill to a configurable filename, default WEASEL.pkl. Autosave starts disabled in MainMenu. This is server state retention, not victim persistence; acquired serialized files must never be loaded for this review.",
              "evidence": [
                {
                  "path": "server/server.py",
                  "start": 115,
                  "end": 116,
                  "label": "Default filename"
                },
                {
                  "path": "server/server.py",
                  "start": 154,
                  "end": 169,
                  "label": "Serialized save"
                },
                {
                  "path": "server/server.py",
                  "start": 220,
                  "end": 225,
                  "label": "Autosave initially disabled"
                }
              ]
            }
          ]
        },
        "features": [
          {
            "id": "dns-framing",
            "title": "DNS query and answer data channel",
            "behavior": "The stock beacon issues AAAA queries with modified-Base32 data in the first label, two hex characters for the stream and four for the session. Data preambles are inverted hex sequence/count values; key-exchange preambles derive from ph and vary by fragment.",
            "observable": "Query-name shape, AAAA type, repeated session labels and response record bytes are available to suitably placed DNS sensors. Multiple data-like IPv6 answers may be supporting evidence.",
            "variability": "Domain, fragment size and constants can be changed in source. Literal ph is not the universal handshake prefix. Ordinary answers use the default TTL 120; configured static records use TTL 60, so TTL is not uniform across every response.",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 347,
                "end": 408,
                "label": "Query construction"
              },
              {
                "path": "server/server.py",
                "start": 21,
                "end": 26,
                "label": "Default TTL"
              },
              {
                "path": "server/server.py",
                "start": 717,
                "end": 730,
                "label": "Static record TTL"
              },
              {
                "path": "server/server.py",
                "start": 1213,
                "end": 1232,
                "label": "15-byte data chunks"
              }
            ]
          },
          {
            "id": "session-keying",
            "title": "Session keying and cipher state",
            "behavior": "Initial unencrypted messages carry a Diffie-Hellman public value and one random 16-byte IV. The server assigns a new four-hex-character session. Both sides reset AES-CTR with the same session key and IV for subsequent messages.",
            "observable": "Handshake framing and the special cookie AAAA record can be inspected with DNS response access. Task IDs and plaintext result delimiters are inside encryption.",
            "variability": "The class name AES128CTR does not establish AES-128 key length; the key is an integer DH secret serialized to bytes. This review makes no runtime/cryptographic-correctness claim and supplies no traffic decryption tooling.",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 189,
                "end": 230,
                "label": "DH and session IV"
              },
              {
                "path": "client/beacon.py",
                "start": 325,
                "end": 328,
                "label": "CTR reset"
              },
              {
                "path": "server/server.py",
                "start": 759,
                "end": 808,
                "label": "Server session setup"
              },
              {
                "path": "server/server.py",
                "start": 1196,
                "end": 1203,
                "label": "Server CTR reset"
              }
            ]
          },
          {
            "id": "task-execution",
            "title": "Python, shell and reconnaissance functions",
            "behavior": "Initialization executes uname -rn; id -u. Type 6 enumerates interfaces with ip/grep/awk. Python tasks use exec with captured stdout; shell tasks use check_output(shell=True) or Popen(shell=True).",
            "observable": "Linux process ancestry and shell command telemetry can correlate reconnaissance or execution with encoded DNS lookups. Python exec may be invisible to child-process rules.",
            "variability": "The observed commands are Linux-oriented. Operator-defined tasks can do more than the dispatcher inventory; that does not establish built-in persistence or transfer handlers.",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 100,
                "end": 109,
                "label": "Initialization recon"
              },
              {
                "path": "client/beacon.py",
                "start": 141,
                "end": 174,
                "label": "Function dispatch"
              },
              {
                "path": "client/beacon.py",
                "start": 249,
                "end": 279,
                "label": "Execution APIs"
              }
            ]
          },
          {
            "id": "timing",
            "title": "Fixed callback schedule and session recovery",
            "behavior": "The default callback interval is 60 seconds and can be changed by type 5. Check-in payloads include random hex bytes. The loop evaluates time against lastrun; failures rotate configured servers and reconnect.",
            "observable": "Periodic groups of DNS queries with a stable session label can outlive changes to the encrypted payload. Reconnection can change the session identifier.",
            "variability": "Random payload bytes are not scheduling jitter. DNS retries, resolver caching, task duration and operator interval changes distort cadence. MIN_TIMEOUT is overridden from two days to 20 seconds in this source; set_timeout uses the larger of that and three intervals.",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 25,
                "end": 49,
                "label": "Defaults and timeout override"
              },
              {
                "path": "client/beacon.py",
                "start": 61,
                "end": 92,
                "label": "Retry and rotation"
              },
              {
                "path": "client/beacon.py",
                "start": 134,
                "end": 140,
                "label": "Remote interval update"
              },
              {
                "path": "client/beacon.py",
                "start": 235,
                "end": 242,
                "label": "Random check-in content"
              },
              {
                "path": "client/beacon.py",
                "start": 482,
                "end": 496,
                "label": "Timeout formula"
              },
              {
                "path": "client/beacon.py",
                "start": 695,
                "end": 706,
                "label": "Callback schedule"
              }
            ]
          },
          {
            "id": "deep-quiet-task-completion",
            "title": "Optional quiet shell tasks and bounded result text",
            "behavior": "DNS task type 90 calls run with quiet TRUE; types 8 and 9 request bounded textual results. Quiet shell tasks start Popen with inherited streams and immediately return zero internally. Type 90 does not send a result in the shown dispatcher. Synchronous shell and Python results are truncated to 400 characters by their dispatch branches.",
            "observable": "Correlate DNS task timing with shell-child creation and child lifetime. A missing or short DNS response cannot establish that no task ran or that it completed successfully.",
            "variability": "The quiet-path zero establishes launch handling only. The synchronous nonzero-exit branch returns only the numeric code, losing captured output. Source comments describing bytes do not establish a byte-precise limit after string conversion.",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 149,
                "end": 174,
                "label": "client/beacon.py"
              },
              {
                "path": "client/beacon.py",
                "start": 249,
                "end": 279,
                "label": "client/beacon.py"
              }
            ]
          }
        ],
        "detections": [
          {
            "id": "dns-shape",
            "title": "Correlate encoded query framing with binary AAAA answers",
            "telemetry": "DNS query names and types; client identity; full answer RDATA/count/TTL for the stronger correlation. Resolver-only query logs support a weaker hunt.",
            "logic": "Group by client and suffix. Look for repeated AAAA queries shaped as a two-character preamble plus up to 50 encoded characters, followed by a two-hex stream and stable four-hex session. Correlate changing streams and binary-looking AAAA answer groups; use TTL 120 as context only.",
            "false_positives": "CDNs, telemetry services and legitimate DNS tunnels can use encoded names or many AAAA records. Baseline suffix/process ownership; require repeated structural agreement and answer evidence, endpoint ownership and resolver context. Entropy and TTL need corroboration.",
            "blind_spots": "Changed framing, encrypted resolver traffic outside the sensor, absent answer logging, caching, truncation and resolver source-address aggregation limit visibility. Do not blacklist the returned IPv6 payload addresses as C2 infrastructure.",
            "status": "untested",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 347,
                "end": 408,
                "label": "Query shape"
              },
              {
                "path": "server/server.py",
                "start": 796,
                "end": 833,
                "label": "AAAA payload answers"
              },
              {
                "path": "server/server.py",
                "start": 1213,
                "end": 1232,
                "label": "Packet framing"
              }
            ]
          },
          {
            "id": "linux-execution",
            "title": "Link DNS session behavior to Linux execution",
            "telemetry": "Linux EDR/audit process ancestry and command-line records, process-associated DNS or endpoint-to-resolver correlation, and DNS names.",
            "logic": "Investigate Python-associated encoded AAAA lookups near uname -rn and id -u at initialization, then shell or ip/grep/awk child processes and new DNS fragments under the same session suffix.",
            "false_positives": "Inventory agents and administrators legitimately run these commands. Combine ancestry, rare suffixes and framing; tune against approved Python automation.",
            "blind_spots": "In-process Python tasks need not create children. Resolver daemons can obscure the original process; missing endpoint instrumentation and renamed/embedded Python reduce coverage.",
            "status": "untested",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 100,
                "end": 109,
                "label": "Host inventory"
              },
              {
                "path": "client/beacon.py",
                "start": 141,
                "end": 174,
                "label": "Task results"
              },
              {
                "path": "client/beacon.py",
                "start": 249,
                "end": 279,
                "label": "Child processes and exec"
              }
            ]
          },
          {
            "id": "session-state",
            "title": "Separate server session retention from implant persistence",
            "telemetry": "File creation and process ownership on a suspected DNS server; acquired source/text and serialized-file metadata without deserialization.",
            "logic": "Correlate a Python DNS listener with WEASEL.pkl writes and source strings such as (WEASEL) > and NON_DATA_PREAMBLE. Preserve serialized evidence as bytes for offline examination.",
            "false_positives": "A filename or Python port-53 listener alone is weak evidence; custom names and ordinary Python DNS tools exist. Establish the server role and correlate independent artifacts.",
            "blind_spots": "Saves are optional, filenames configurable and autosave starts disabled. A victim need not have WEASEL.pkl at all.",
            "status": "untested",
            "evidence": [
              {
                "path": "server/server.py",
                "start": 115,
                "end": 169,
                "label": "Server and save path"
              },
              {
                "path": "server/server.py",
                "start": 212,
                "end": 225,
                "label": "Prompt and autosave state"
              }
            ]
          },
          {
            "id": "deep-quiet-task-completion",
            "title": "Optional quiet shell tasks and bounded result text",
            "telemetry": "Correlate DNS task timing with shell-child creation and child lifetime. A missing or short DNS response cannot establish that no task ran or that it completed successfully.",
            "logic": "Untested detection hypothesis. Quiet shell tasks start Popen with inherited streams and immediately return zero internally. Type 90 does not send a result in the shown dispatcher. Synchronous shell and Python results are truncated to 400 characters by their dispatch branches. Investigate the correlated operations described in the required telemetry and confirm the actual result.",
            "false_positives": "Automation agents and DNS-based tests may exhibit isolated pieces of the behavior.",
            "blind_spots": "Untested hypothesis. Application encryption conceals task content; Python execution can remain in-process.",
            "status": "untested",
            "evidence": [
              {
                "path": "client/beacon.py",
                "start": 149,
                "end": 174,
                "label": "client/beacon.py"
              },
              {
                "path": "client/beacon.py",
                "start": 249,
                "end": 279,
                "label": "client/beacon.py"
              }
            ]
          }
        ],
        "intelligence": {
          "protocols": [
            "DNS"
          ],
          "executionMethods": [
            "Shell command execution",
            "Python exec"
          ],
          "lolbins": [],
          "encodingTechniques": [
            "Modified Base32",
            "AES / CTR"
          ],
          "persistenceHints": [],
          "beaconFixed": true,
          "beaconJitter": false,
          "delayNotes": [
            "60 s default callback, remotely configurable; random check-in content is not timing jitter"
          ]
        },
        "accuracy_review": {
          "reviewed_on": "2026-10-31",
          "api_findings": [
            {
              "id": "sync-quiet-result-contract",
              "api": "check_output / Popen / Python exec result paths",
              "call_chain": "run distinguishes Python, synchronous shell and quiet asynchronous shell; dispatcher types 8/80/9/90 select these paths.",
              "contract": "check_output raises CalledProcessError for nonzero exits; Popen creation is not command completion. stdout redirection does not also capture Python stderr.",
              "application": "Synchronous shell merges stderr but reduces a CalledProcessError to the exit code. Quiet shell returns zero immediately after Popen. Python exec captures stdout only; quiet Python returns zero or an exception name.",
              "uncertainty": "A quiet zero is not proof that a process completed successfully. Dispatcher types truncate returned strings and type 90 does not immediately report a result.",
              "telemetry": "Pair DNS session framing with actual host execution. Missing task output and asynchronous status require cautious interpretation.",
              "references": [
                {
                  "title": "Python subprocess",
                  "url": "https://docs.python.org/3/library/subprocess.html"
                }
              ],
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "check_output / Popen / Python exec result paths call site"
                }
              ]
            },
            {
              "id": "quiet-task-completion",
              "api": "Optional quiet shell tasks and bounded result text",
              "call_chain": "DNS task type 90 calls run with quiet TRUE; types 8 and 9 request bounded textual results.",
              "contract": "Popen starts a child without waiting. check_output waits and raises CalledProcessError on nonzero exit; its captured output can be read from the exception.",
              "application": "Quiet shell tasks start Popen with inherited streams and immediately return zero internally. Type 90 does not send a result in the shown dispatcher. Synchronous shell and Python results are truncated to 400 characters by their dispatch branches.",
              "uncertainty": "The quiet-path zero establishes launch handling only. The synchronous nonzero-exit branch returns only the numeric code, losing captured output. Source comments describing bytes do not establish a byte-precise limit after string conversion.",
              "telemetry": "Correlate DNS task timing with shell-child creation and child lifetime. A missing or short DNS response cannot establish that no task ran or that it completed successfully.",
              "references": [
                {
                  "title": "Python subprocess",
                  "url": "https://docs.python.org/3/library/subprocess.html"
                }
              ],
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 149,
                  "end": 174,
                  "label": "client/beacon.py"
                },
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "client/beacon.py"
                }
              ]
            }
          ],
          "module_review": [
            {
              "module": "Quiet and synchronous task modes",
              "activation": "DNS task type 90 calls run with quiet TRUE; types 8 and 9 request bounded textual results.",
              "status": "reviewed",
              "detail": "Main task dispatcher, in-process Python execution, shell output and completion handling.",
              "finding_ids": [
                "quiet-task-completion"
              ],
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 149,
                  "end": 174,
                  "label": "client/beacon.py"
                },
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "client/beacon.py"
                }
              ]
            },
            {
              "module": "pyaes demonstrations",
              "activation": "See the pinned source tree and scope notes; no additional runtime activation is established.",
              "status": "dependency-boundary",
              "detail": "The pyaes demonstration and obfuscated text were inspected for scope. Their self-running main() is demonstration code, and was never executed. No extra command module is established by those files.",
              "finding_ids": [],
              "evidence": [
                {
                  "path": "client/pyaes/pyaes-test.py",
                  "start": 231,
                  "end": 248,
                  "label": "client/pyaes/pyaes-test.py"
                },
                {
                  "path": "client/pyaes/pyaes-test.obf.py",
                  "start": 146,
                  "end": 163,
                  "label": "client/pyaes/pyaes-test.obf.py"
                }
              ]
            }
          ]
        },
        "public_intelligence": {
          "reports": [],
          "sandboxes": []
        }
      },
      "rules": [],
      "techniques": [
        {
          "framework": "weasel",
          "feature": "dns-framing",
          "reviewed_commit": "4376c3e6679c4bfaf23d4ac1445a4461860bff40",
          "rationale": "The client and server exchange encoded tasking and results through DNS query names and AAAA answers.",
          "technique": {
            "id": "T1071.004",
            "name": "DNS",
            "url": "https://attack.mitre.org/techniques/T1071/004",
            "version": "1.4",
            "stix_id": "attack-pattern--1996eef1-ced3-4d7f-bf94-33298cabbf72"
          },
          "evidence": [
            {
              "path": "client/beacon.py",
              "start": 347,
              "end": 408,
              "label": "Query construction"
            },
            {
              "path": "server/server.py",
              "start": 21,
              "end": 26,
              "label": "Default TTL"
            },
            {
              "path": "server/server.py",
              "start": 717,
              "end": 730,
              "label": "Static record TTL"
            },
            {
              "path": "server/server.py",
              "start": 1213,
              "end": 1232,
              "label": "15-byte data chunks"
            }
          ]
        }
      ],
      "behaviors": [
        {
          "id": "dns",
          "field": "protocols",
          "label": "DNS",
          "description": "DNS query and answer fields carry the reviewed messages.",
          "features": [
            {
              "id": "dns-framing",
              "title": "DNS query and answer data channel",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 347,
                  "end": 408,
                  "label": "Query construction"
                },
                {
                  "path": "server/server.py",
                  "start": 21,
                  "end": 26,
                  "label": "Default TTL"
                },
                {
                  "path": "server/server.py",
                  "start": 717,
                  "end": 730,
                  "label": "Static record TTL"
                },
                {
                  "path": "server/server.py",
                  "start": 1213,
                  "end": 1232,
                  "label": "15-byte data chunks"
                }
              ]
            }
          ]
        },
        {
          "id": "system-shell",
          "field": "executionMethods",
          "label": "System Shell (Runtime-Selected)",
          "description": "The code requests a system shell without explicitly selecting an interpreter. The host and runtime determine it.",
          "example": {
            "path": "client/beacon.py",
            "start": 269,
            "end": 274,
            "label": "System Shell (Platform-Dependent)"
          },
          "features": [
            {
              "id": "task-execution",
              "title": "Python, shell and reconnaissance functions",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 100,
                  "end": 109,
                  "label": "Initialization recon"
                },
                {
                  "path": "client/beacon.py",
                  "start": 141,
                  "end": 174,
                  "label": "Function dispatch"
                },
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "Execution APIs"
                }
              ]
            }
          ]
        },
        {
          "id": "python-exec",
          "field": "executionMethods",
          "label": "Python Code Execution",
          "description": "Python source is evaluated by exec in the reviewed task handler.",
          "example": {
            "path": "client/beacon.py",
            "start": 254,
            "end": 257,
            "label": "Python Code Execution"
          },
          "features": [
            {
              "id": "task-execution",
              "title": "Python, shell and reconnaissance functions",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 100,
                  "end": 109,
                  "label": "Initialization recon"
                },
                {
                  "path": "client/beacon.py",
                  "start": 141,
                  "end": 174,
                  "label": "Function dispatch"
                },
                {
                  "path": "client/beacon.py",
                  "start": 249,
                  "end": 279,
                  "label": "Execution APIs"
                }
              ]
            }
          ]
        },
        {
          "id": "modified-base32",
          "field": "encodingTechniques",
          "label": "Modified Base32",
          "description": "A modified Base32 alphabet is used by the reviewed framing.",
          "features": [
            {
              "id": "dns-framing",
              "title": "DNS query and answer data channel",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 347,
                  "end": 408,
                  "label": "Query construction"
                },
                {
                  "path": "server/server.py",
                  "start": 21,
                  "end": 26,
                  "label": "Default TTL"
                },
                {
                  "path": "server/server.py",
                  "start": 717,
                  "end": 730,
                  "label": "Static record TTL"
                },
                {
                  "path": "server/server.py",
                  "start": 1213,
                  "end": 1232,
                  "label": "15-byte data chunks"
                }
              ]
            },
            {
              "id": "session-keying",
              "title": "Session keying and cipher state",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 189,
                  "end": 230,
                  "label": "DH and session IV"
                },
                {
                  "path": "client/beacon.py",
                  "start": 325,
                  "end": 328,
                  "label": "CTR reset"
                },
                {
                  "path": "server/server.py",
                  "start": 759,
                  "end": 808,
                  "label": "Server session setup"
                },
                {
                  "path": "server/server.py",
                  "start": 1196,
                  "end": 1203,
                  "label": "Server CTR reset"
                }
              ]
            }
          ]
        },
        {
          "id": "aes-ctr",
          "field": "encodingTechniques",
          "label": "AES-CTR",
          "description": "AES in CTR mode.",
          "features": [
            {
              "id": "dns-framing",
              "title": "DNS query and answer data channel",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 347,
                  "end": 408,
                  "label": "Query construction"
                },
                {
                  "path": "server/server.py",
                  "start": 21,
                  "end": 26,
                  "label": "Default TTL"
                },
                {
                  "path": "server/server.py",
                  "start": 717,
                  "end": 730,
                  "label": "Static record TTL"
                },
                {
                  "path": "server/server.py",
                  "start": 1213,
                  "end": 1232,
                  "label": "15-byte data chunks"
                }
              ]
            },
            {
              "id": "session-keying",
              "title": "Session keying and cipher state",
              "evidence": [
                {
                  "path": "client/beacon.py",
                  "start": 189,
                  "end": 230,
                  "label": "DH and session IV"
                },
                {
                  "path": "client/beacon.py",
                  "start": 325,
                  "end": 328,
                  "label": "CTR reset"
                },
                {
                  "path": "server/server.py",
                  "start": 759,
                  "end": 808,
                  "label": "Server session setup"
                },
                {
                  "path": "server/server.py",
                  "start": 1196,
                  "end": 1203,
                  "label": "Server CTR reset"
                }
              ]
            }
          ]
        }
      ],
      "indicators": [
        {
          "typeId": "dns-query",
          "typeLabel": "DNS query",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Encoded query shape",
          "indicator": "<2-char preamble><modified Base32>.<2-hex stream>.<4-hex session>.<domain>",
          "reference": "Query name framing",
          "anchor": "dns-framing",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/client/beacon.py#L347-L408",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable in source",
          "visibility": "DNS query names/type",
          "caveat": "A candidate shape, not attribution; normal DNS tunnels and telemetry may look similar."
        },
        {
          "typeId": "dns-query",
          "typeLabel": "DNS query",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Beacon query record type",
          "indicator": "AAAA via socket.getaddrinfo(AF_INET6, SOCK_DGRAM)",
          "reference": "Query name framing",
          "anchor": "dns-framing",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/client/beacon.py#L396-L408",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable in source",
          "visibility": "DNS query and endpoint telemetry",
          "caveat": "System resolver path; do not assume direct victim-to-authority UDP traffic. AAAA alone is generic."
        },
        {
          "typeId": "encoding",
          "typeLabel": "Encoding",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Modified Base32 transform",
          "indicator": "lowercase Base32; w → -; = → w",
          "reference": "Query name framing",
          "anchor": "dns-framing",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/client/beacon.py#L331-L348",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable in source",
          "visibility": "DNS query names; source",
          "caveat": "Combine alphabet/framing with session repetition; encoded-name entropy alone is insufficient."
        },
        {
          "typeId": "dns-response",
          "typeLabel": "DNS response",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Payload record layout",
          "indicator": "AAAA: 1 obfuscated sequence byte || up to 15 data bytes; zero-pad to 16",
          "reference": "AAAA payload answers and resolver responses",
          "anchor": "dns-framing",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/server/server.py#L1213-L1232",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable in source",
          "visibility": "DNS answer RDATA",
          "caveat": "XOR affects the sequence byte, not whole-chunk encryption. Returned IPv6 values are payload, not destinations."
        },
        {
          "typeId": "dns-response",
          "typeLabel": "DNS response",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Initial cookie answer layout",
          "indicator": "AAAA: 4 ASCII hex session characters || 12 zero bytes",
          "reference": "AAAA payload answers and resolver responses",
          "anchor": "dns-framing",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/server/server.py#L796-L808",
          "confidence": "source-confirmed",
          "mutability": "structural/changeable in source",
          "visibility": "DNS answer RDATA",
          "caveat": "Handshake-specific; unlike ordinary task payload records."
        },
        {
          "typeId": "dns-response",
          "typeLabel": "DNS response",
          "categoryId": "protocol",
          "categoryLabel": "Protocol",
          "description": "Default C2 answer TTL",
          "indicator": "120 seconds",
          "reference": "AAAA payload answers and resolver responses",
          "anchor": "dns-framing",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/server/server.py#L21-L26",
          "confidence": "source-confirmed",
          "mutability": "default/configurable",
          "visibility": "DNS answer TTL",
          "caveat": "Common and low-specificity; static records use TTL 60. Not uniform across every response."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Initialization reconnaissance",
          "indicator": "uname -rn; id -u",
          "reference": "Host and network reconnaissance",
          "anchor": "task-execution",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/client/beacon.py#L100-L109",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Endpoint command line/process ancestry",
          "caveat": "Common administrative commands; require matching DNS framing and process ancestry."
        },
        {
          "typeId": "process-creation",
          "typeLabel": "Process creation",
          "categoryId": "host",
          "categoryLabel": "Host",
          "description": "Interface reconnaissance pipeline",
          "indicator": "ip -o a s up | grep -v ' lo ' | awk '{ print $2 \" \" $4 }'",
          "reference": "Host and network reconnaissance",
          "anchor": "task-execution",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/client/beacon.py#L141-L148",
          "confidence": "source-confirmed",
          "mutability": "task-dependent",
          "visibility": "Endpoint command line/process ancestry",
          "caveat": "Function 6 only; not an unconditional process chain."
        },
        {
          "typeId": "file-creation",
          "typeLabel": "File creation",
          "categoryId": "filesystem",
          "categoryLabel": "File system",
          "description": "Optional server session save",
          "indicator": "WEASEL.pkl",
          "reference": "Server session artifacts",
          "anchor": "session-keying",
          "os": "cross-platform",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/server/server.py#L154-L169",
          "confidence": "source-confirmed",
          "mutability": "default/configurable; optional",
          "visibility": "Server filesystem",
          "caveat": "Default name at 116; autosave starts disabled. Server state, not implant persistence. Never deserialize during review."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Server CLI prompt",
          "indicator": "(WEASEL) >",
          "reference": "Server session artifacts",
          "anchor": "session-keying",
          "os": "cross-platform",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/server/server.py#L212-L225",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Server source or memory",
          "caveat": "Operator-side string, not a victim network signature."
        },
        {
          "typeId": "string",
          "typeLabel": "Source / memory string",
          "categoryId": "static",
          "categoryLabel": "Static / Code",
          "description": "Beacon codec class name",
          "indicator": "AES128CTR",
          "reference": "Session encryption and recovery limits",
          "anchor": "session-keying",
          "os": "linux",
          "source": "https://github.com/facebookarchive/WEASEL/blob/4376c3e6679c4bfaf23d4ac1445a4461860bff40/client/beacon.py#L325-L328",
          "confidence": "source-confirmed",
          "mutability": "source constant/changeable",
          "visibility": "Source or memory",
          "caveat": "Name is not proof of AES key length. Not visible as a plaintext DNS value."
        }
      ]
    }
  ]
}