T1555.001 Copy Keychain via cat (#3048)

Co-authored-by: Bhavin Patel <bhavin.j.patel91@gmail.com>
This commit is contained in:
Tony M Lambert
2025-02-05 16:01:29 -06:00
committed by GitHub
parent e5d8aec83e
commit faddf2fe1e
+17
View File
@@ -55,3 +55,20 @@ atomic_tests:
security import #{cert_export} -k
name: sh
elevation_required: false
- name: Copy Keychain using cat utility
description: |
This command will copy the keychain using the cat utility in a manner similar to Atomic Stealer.
supported_platforms:
- macos
input_arguments:
keychain_export:
description: Specify the path to copy they keychain into.
type: path
default: /tmp/keychain
executor:
command: |
cat ~/Library/Keychains/login.keychain-db > #{keychain_export}
cleanup_command: 'rm #{keychain_export}'
name: sh
elevation_required: false