add rule for impair system power settings #5090
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
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