validate(SAFE-T1103): Sigma detection rule, MITRE correction, SAFE-M references - #198
Merged
arjunastha merged 1 commit intoApr 29, 2026
Conversation
…, attach SAFE-M references - author detection-rule.yml + inline Sigma rule covering suspicious tool-name keywords and argument flags for tools/call events (UUID c6b5f97b-...) - replace MITRE T1574 (Hijack Execution Flow, poor fit for JSON-RPC message forgery) with T1565 (Data Manipulation, primary) + T1190 (Exploit Public-Facing Application) - add SAFE-M-11 (Behavioral Monitoring) references on Runtime Detection, Network Monitoring, and Behavioral Analysis subsections; SAFE-M-12 (Audit Logging) on Log Analysis Patterns - remove wrongly-imported Mermaid diagram that depicted Indirect Prompt Injection flow rather than Fake Tool Invocation; TODO comment explains - TODO comment at top flags cross-reference identity question between this file's title and SAFE-T1102's reference to SAFE-T1103, for original-author resolution - add Version 1.2 entry Signed-off-by: bishnubista <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation pass on SAFE-T1103 (Fake Tool Invocation / Function Spoofing) closing the missing-detection-rule gap, attaching SAFE-M cross-references on detective controls, and correcting an inaccurate MITRE ATT&CK mapping. This pass is intentionally minimal-scope — broader structural drift (the file's custom
## Technique Overview, missing## Attack Vectors, custom impact classification, etc.) is left to a future restructure.Changes
techniques/SAFE-T1103/detection-rule.yml(Sigma format, UUIDc6b5f97b-89e6-4f36-b5a9-9959a5550727,author: SAFE-MCP Team) covering suspicious tool-name keywords (admin / sudo / escalate / bypass / system_ / shell / eval / session_escalate) and suspicious argument flags (bypass_acl / bypass_restrictions / elevated / unrestricted / sudo) fortools/callevents. Mirror inline as a### Detection Rulessubsection inREADME.mdbetween Network Monitoring and Behavioral Analysis. The rule is explicit about being a flat-pattern first pass; full coverage requires SIEM-side correlation matchingtools/callagainst priortools/listregistrations from the sameserver_id.[SAFE-M-11: Behavioral Monitoring](../../mitigations/SAFE-M-11/README.md)references at the end of Runtime Detection, Network Monitoring, and Behavioral Analysis subsections.[SAFE-M-12: Audit Logging](../../mitigations/SAFE-M-12/README.md)reference at the end of Log Analysis Patterns subsection.T1574 (Hijack Execution Flow)withT1565 (Data Manipulation)primary +T1190 (Exploit Public-Facing Application). T1574 covers DLL search-order hijacking and library injection, which is unrelated to JSON-RPC tool-invocation message forgery. Updated in both the Overview block and the References section.<!-- TODO -->comment explaining the removal; do not author a replacement diagram (would constitute redesign).<!-- TODO -->comment at top of file flagging thatSAFE-T1102cross-references this technique as "Indirect Prompt Injection - Specific subset focusing on third-party data" while this file's own title is "Fake Tool Invocation (Function Spoofing)". The two scopes are distinct techniques; resolution is deferred to original authors.Open items
<!-- TODO -->at top ofREADME.md):SAFE-T1102/README.mdline 160 references SAFE-T1103 as "Indirect Prompt Injection", while this file's title and content describe "Fake Tool Invocation". Original authors (Bo Redfearn, Shekhar Chaudhary) should reconcile — either update T1102's cross-reference to match this file's actual scope, or restructure T1103 to cover Indirect Prompt Injection and assign Fake Tool Invocation to a new technique ID.<!-- TODO -->at the former Mermaid location): once the identity question resolves, an accurate workflow diagram for the chosen scope should be authored.TEMPLATE.md(custom## Technique Overview, missing## Attack Vectors, custom Immediate/Extended/Business impact classification instead of CIA + Scope, ~110-line## Testingsection,## Compliance Mappingtable unique in the corpus, trailing duplicate metadata block) is intentionally out of scope for this PR and warrants a separate restructure pass.