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

Add rule of impair system power settings #5089

Conversation

CheraghiMilad
Copy link
Contributor

Summary of the Pull Request

Adversaries may impair a system's ability to hibernate, reboot, or shut down in order to extend access to infected machines. When a computer enters a dormant state, some or all software and hardware may cease to operate which can disrupt malicious activity

Adversaries may abuse system utilities and configuration settings to maintain access by preventing machines from entering a state, such as standby, that can terminate malicious activity.

Changelog

impair_system_power_settings

Rule:
index=* host="caldera-virtual-machine" type="EXECVE" AND a0="systemctl*" AND a1="mask" AND (a2="suspend.target" OR a2="hibernate.target" OR a2="hybrid-sleep.target")

Log:
11/24/24 3:24:29.304 PM type=EXECVE msg=audit(1732449269.304:11435): argc=3 a0="systemctl" a1="mask" a2="hibernate.target" host = caldera-virtual-machinesource = /var/log/audit/audit.logsourcetype = linux:audit

11/24/24 3:24:13.744 PM type=EXECVE msg=audit(1732449253.744:11301): argc=3 a0="systemctl" a1="mask" a2="suspend.target" host = caldera-virtual-machinesource = /var/log/audit/audit.logsourcetype = linux:audit

Example Log Event

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 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linux Pull request add/update linux related rules Rules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants