Files
blue-team-tools/rules/linux/process_creation/proc_creation_lnx_gtfobin_vim.yml
T
github-actions[bot] a6e7cce606 Merge PR #4533 from @nasbench - Promote experimental rules
chore: promote older rules status from `experimental` to `test`

---------

Co-authored-by: nasbench <8741929+nasbench@users.noreply.github.com>
2023-11-02 10:48:45 +01:00

40 lines
1.0 KiB
YAML

title: Vim GTFOBin Abuse - Linux
id: 7ab8f73a-fcff-428b-84aa-6a5ff7877dea
status: test
description: Detects usage of "vim" and it's siblings as a GTFOBin to execute and proxy command and binary execution
references:
- https://gtfobins.github.io/gtfobins/vim/
- https://gtfobins.github.io/gtfobins/rvim/
- https://gtfobins.github.io/gtfobins/vimdiff/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022/12/28
tags:
- attack.discovery
- attack.t1083
logsource:
category: process_creation
product: linux
detection:
selection_img:
Image|endswith:
- '/vim'
- '/rvim'
- '/vimdiff'
CommandLine|contains:
- ' -c '
- ' --cmd'
selection_cli:
CommandLine|contains:
- ':!/'
- ':py '
- ':lua '
- '/bin/sh'
- '/bin/bash'
- '/bin/dash'
- '/bin/zsh'
- '/bin/fish'
condition: all of selection_*
falsepositives:
- Unknown
level: high