-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve existing persistence rules (#953)
* Improve existing persistence rules by limiting their scope, and adding some more details. * Update persistence/startup-folder/write-file-to-startup-folder.yml Co-authored-by: Moritz <mr-tz@users.noreply.github.com> * change scope to call for shell command via WRM * Update persistence/startup-folder/write-file-to-startup-folder.yml Co-authored-by: Moritz <mr-tz@users.noreply.github.com> * fix startup folder persistence rule * change name screensaver persistence technique * change name screensaver persistence technique pt 2 * fix write to startup folder persistence rule --------- Co-authored-by: Moritz <mr-tz@users.noreply.github.com>
- Loading branch information
1 parent
ed816a8
commit ce5e041
Showing
11 changed files
with
39 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...ery/reference-screen-saver-executable.yml → .../persist-via-screensaver-registry-key.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
rule: | ||
meta: | ||
name: reference screen saver executable | ||
name: persist via screensaver registry key | ||
namespace: persistence/screensaver | ||
authors: | ||
- michael.hunhoff@mandiant.com | ||
description: SCRNSAVE.EXE registry value specifies the name of the screen saver executable file | ||
scopes: | ||
static: function | ||
dynamic: thread | ||
dynamic: call | ||
att&ck: | ||
- Persistence::Event Triggered Execution::Screensaver [T1546.002] | ||
features: | ||
- and: | ||
- string: "SCRNSAVE.EXE" | ||
- match: set registry value | ||
- string: /Control Panel\\Desktop/i | ||
- string: /^SCRNSAVE.EXE$/i | ||
- optional: | ||
- string: "ScreenSaveTimeOut" | ||
- string: "Control Panel\\Desktop" | ||
- match: set registry value |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters