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 get process ttp #32

Merged
merged 3 commits into from
Aug 21, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions ttps/discovery/macos/get-running-processes/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# macOS Get Running Processes

![Meta TTP](https://img.shields.io/badge/Meta_TTP-blue)

Utilize ps to view currently running processes.

## Pre-requisites

Ensure that ps is installed on the target system and that you have the necessary permissions to run it.

## Examples

Utilize ps to view currently running processes. This TTP does not produce artifacts,
so it is not necessary to run the cleap up afterward:

```bash
ttpforge -c config.yaml \
VVX7 marked this conversation as resolved.
Show resolved Hide resolved
run ttps/discovery/macos/get-running-processes/get-running-processes.yaml
```

## Steps

1. **Run PS**: Execute ps to view currently running processes.
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Gather macOS running processes.
description: |
This TTP uses ps to gather information about running processes on the system.
mitre:
tactics:
- T0007 Collection
techniques:
- T1057 Process Discovery
subtechniques:
VVX7 marked this conversation as resolved.
Show resolved Hide resolved
-

steps:
- name: run-ps
inline: |
echo -e "===> Gathering running processes using ps..."
ps aux
echo "[+] DONE!"

cleanup:
inline: |
echo "No cleanup required for this TTP..."