Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand ESXi Detections with ESXCli & VIM-CMD Detections #5087

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

AlbinoGazelle
Copy link
Contributor

Summary of the Pull Request

This PR adds 7 new process creation detections focused on the the usage of built-in administrative tools in an ESXi system. These detections were developed and tested using ESXi v7.0 and log artifacts were collected from the built-in ESXi /var/log/shell.log file.

Changelog

new: ESXi VM Snapshots Deleted via VIM-CMD
new: SSH Enable on ESXi Host via VIM-CMD
new: ESXi VM Autostart Disabled via VIM-CMD
new: ESXi VM Powered Off via VIM-CMD
new: ESXi System Information Discovery via VIM-CMD
new: ESXi Firewall Default Action Set to Pass
new: ESXi Firewall Disabled via ESXCLI

Example Log Event

ESXi VM Snapshots Deleted via VIM-CMD

Note: Any number of spaces can be present between snapshot.removeall and the VM id.

2024-11-22T05:48:06.700Z shell[69457]: [root]: vim-cmd vmsvc/snapshot.removeall 1

SSH Enable on ESXi Host via VIM-CMD

2024-11-23T00:19:04.876Z shell[69977]: [root]: vim-cmd hostsvc/enable_ssh

ESXi VM Autostart Disabled via VIM-CMD

Note: There can be any number of spaces between enable_autostart and either 0 or false

2024-11-23T00:26:48.206Z shell[69977]: [root]: vim-cmd hostsvc/autostartmanager/enable_autostart false
2024-11-23T00:26:40.941Z shell[69977]: [root]: vim-cmd hostsvc/autostartmanager/enable_autostart 0

ESXi VM Powered Off via VIM-CMD

Note: There can be any number of spaces between power.off and the VM ID.

2024-11-23T00:40:14.531Z shell[69977]: [root]: vim-cmd vmsvc/power.off 1

ESXi System Information Discovery via VIM-CMD

2024-11-23T00:47:58.783Z shell[69977]: [root]: vim-cmd vmsvc/getallvms

ESXi Firewall Default Action Set to Pass

Note: --default-action=false and --default-action false are valid.
Note: Any number of spaces can be present between -d|--default-action and false and the command will still be valid.

2024-11-22T05:37:34.333Z shell[69457]: [root]: esxcli network firewall set --default-action false
2024-11-22T05:38:00.966Z shell[69457]: [root]: esxcli network firewall set -d false

ESXi Firewall Disabled via ESXCLI

Note: Any number of spaces can be present between -e|--enable and false

2024-11-23T04:29:55.507Z shell[70843]: [root]: esxcli network firewall set -e false
2024-11-23T04:31:26.003Z shell[70843]: [root]: esxcli network firewall set --enabled false

Fixed Issues

SigmaHQ Rule Creation Conventions

  • If your PR adds new rules, please consider following and applying these conventions

@github-actions github-actions bot added Rules Linux Pull request add/update linux related rules labels Nov 23, 2024
@frack113 frack113 added the Author Input Required changes the require information from original author of the rules label Nov 30, 2024
AlbinoGazelle and others added 2 commits December 1, 2024 19:27
…_default_action_changed.yml


change from false to true, opps!

Co-authored-by: frack113 <[email protected]>
@AlbinoGazelle
Copy link
Contributor Author

@frack113 pushed requested modifications, let me know if there's anything else. Thanks!

@frack113 frack113 removed the Author Input Required changes the require information from original author of the rules label Dec 2, 2024
@frack113 frack113 added the 2nd Review Needed PR need a second approval label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2nd Review Needed PR need a second approval Linux Pull request add/update linux related rules Rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants