Skip to content

Commit

Permalink
Added new atomic test: Update T1490.yaml (#2733)
Browse files Browse the repository at this point in the history
* Added new atomic test: Update T1490.yaml

* Added cleanup_command
  • Loading branch information
pratinavchandra committed Apr 3, 2024
1 parent b044c49 commit 5ae956b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion atomics/T1490/T1490.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,13 @@ atomic_tests:
sc sdset VSS D:(D;;GA;;;NU)(D;;GA;;;WD)(D;;GA;;;AN)S:(AU;FA;GA;;;WD)(AU;OIIOFA;GA;;;WD)
cleanup_command: |
sc sdset VSS D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;LC;;;BU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
- name: Disable Time Machine
description: |
Disables Time Machine which is Apple's automated backup utility software. Attackers can use this to prevent backups from occurring and hinder the victim's ability to recover from any damage.
supported_platforms:
- macos
executor:
command: sudo tmutil disable
cleanup_command: sudo tmutil enable
name: sh
elevation_required: true

0 comments on commit 5ae956b

Please sign in to comment.