Skip to content

Commit a70aa9f

Browse files
eeee2345poiana
authored andcommitted
rules: correct MITRE tags on sensitive-path read and reverse-shell rules
Apply @leogr's review on two of the tags added in the previous commit. - 'Deny reading sensitive paths' matched reads of known credential locations (~/.ssh/, cloud credential dirs, .env). That is Credential Access, not Discovery, so retag from mitre_t1083_file_and_directory_discovery to mitre_t1552_unsecured_credentials, matching the sibling credential-access rules. - 'Deny reverse shell via Bash' matched shell redirection/exec (/dev/tcp, nc -e, socat exec:); it never inspects ports, so mitre_t1571_non_standard_port did not apply. Drop it and keep mitre_t1059_command_and_scripting_interpreter, matching upstream Falco's reverse-shell tagging. Tags-only, additive: no condition, macro, field, or verdict-tag change; rule count unchanged (60); validated with falco 0.44.0 --validate (Ok, warning count unchanged at 117). Signed-off-by: Adam Lin <adam@agentthreatrule.org>
1 parent 3e3e899 commit a70aa9f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

rules/default/coding_agents_rules.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@
228228
Falco blocked reading %tool.real_file_path because it is a sensitive path
229229
priority: CRITICAL
230230
source: coding_agent
231-
tags: [coding_agent_deny, mitre_t1083_file_and_directory_discovery]
231+
tags: [coding_agent_deny, mitre_t1552_unsecured_credentials]
232232

233233
- rule: Deny writing to sensitive paths
234234
desc: >
@@ -1270,7 +1270,7 @@
12701270
Falco blocked a reverse shell command (%tool.input_command)
12711271
priority: CRITICAL
12721272
source: coding_agent
1273-
tags: [coding_agent_deny, mitre_t1059_command_and_scripting_interpreter, mitre_t1571_non_standard_port]
1273+
tags: [coding_agent_deny, mitre_t1059_command_and_scripting_interpreter]
12741274

12751275
- rule: Deny cloud metadata service access via Bash
12761276
desc: >

0 commit comments

Comments
 (0)