|
2 | 2 | creation_date = "2025/12/04" |
3 | 3 | integration = ["endpoint", "windows", "sentinel_one_cloud_funnel", "m365_defender"] |
4 | 4 | maturity = "production" |
5 | | -updated_date = "2026/04/07" |
| 5 | +updated_date = "2026/04/21" |
6 | 6 |
|
7 | 7 | [rule] |
8 | 8 | author = ["Elastic"] |
@@ -113,7 +113,35 @@ process where event.type == "start" |
113 | 113 | (process.parent.name == "LM Studio" and process.name like~ "LM Studio Helper*") or |
114 | 114 | (process.parent.name == "Ollama" and process.name like~ "Ollama Helper*") or |
115 | 115 | |
116 | | - // Version and help checks |
| 116 | + // docker |
| 117 | + (process.name in ("docker", "docker.exe") and process.args == "context" and process.args == "ls") or |
| 118 | + // neighbor / arp / ps / which (args tokens or full /bin/sh -c) |
| 119 | + ( |
| 120 | + process.args in ( |
| 121 | + "ip neigh show", |
| 122 | + "arp -a -n -l", |
| 123 | + "ip neighbor show dev wlan0", |
| 124 | + "ip neighbor show dev eth0", |
| 125 | + "arp -a | findstr /C:---" |
| 126 | + ) or |
| 127 | + process.command_line in ( |
| 128 | + "/bin/sh -c ip neigh show", |
| 129 | + "/bin/sh -c arp -a -n -l", |
| 130 | + "/bin/sh -c /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=", |
| 131 | + "/bin/sh -c which ps" |
| 132 | + ) |
| 133 | + ) or |
| 134 | + // git |
| 135 | + (process.name in ("git", "git.exe") and ( |
| 136 | + (process.args == "remote" and process.args == "get-url" and process.args == "origin") or |
| 137 | + (process.args == "symbolic-ref" and process.args == "refs/remotes/origin/HEAD" and process.args == "--short") or |
| 138 | + (process.args == "rev-parse" and process.args == "--abbrev-ref" and process.args == "HEAD") or |
| 139 | + (process.args == "status" and process.args == "-z" and process.args == "-uall") or |
| 140 | + (process.args == "config" and process.args == "--get" and process.args == "commit.template") or |
| 141 | + (process.args == "config" and process.args == "user.email") or |
| 142 | + (process.args == "rev-parse" and process.args == "--show-toplevel") |
| 143 | + )) or |
| 144 | + // version / help |
117 | 145 | process.args in ("--version", "--help", "-v", "-h", "-V", "version", "help") |
118 | 146 | ) |
119 | 147 | ''' |
|
0 commit comments