Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
17 changes: 17 additions & 0 deletions nursery/clear-system-logs-via-journalctl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rule:
meta:
name: clear system logs via journalctl
namespace: anti-analysis/anti-forensic/clear-logs
authors:
- still@teamt5.org
scopes:
static: file
dynamic: file
att&ck:
- Defense Evasion::Indicator Removal::Clear Linux or Mac System Logs [T1070.002]
examples:
- 9a065f123d185623b6cb6762bd5a21cf1b836fbaeae0ef85b58aa76a97d5077b
features:
- and:
- os: linux
- string: /\bjournalctl\s+(--?\S+\s+)*--(rotate|vacuum-time|vacuum-size|vacuum-files)/
17 changes: 17 additions & 0 deletions nursery/interact-with-systemd-journal-via-journalctl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
rule:
meta:
name: interact with systemd journal via journalctl
namespace: host-interaction/log
authors:
- still@teamt5.org
scopes:
static: file
dynamic: file
att&ck:
- Discovery::System Information Discovery [T1082]
examples:
- 9a065f123d185623b6cb6762bd5a21cf1b836fbaeae0ef85b58aa76a97d5077b
features:
- and:
- os: linux
- string: /\bjournalctl\s+-/
18 changes: 18 additions & 0 deletions nursery/manage-system-services-via-systemctl.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
rule:
meta:
name: manage system services via systemctl
namespace: host-interaction/service
authors:
- still@teamt5.org
scopes:
static: file
dynamic: file
att&ck:
- Impact::Service Stop [T1489]
- Persistence::Create or Modify System Process::Systemd Service [T1543.002]
examples:
- 9a065f123d185623b6cb6762bd5a21cf1b836fbaeae0ef85b58aa76a97d5077b
features:
- and:
- os: linux
- string: /\bsystemctl\s+(--?\S+\s+)*(daemon-reload|daemon-reexec|start|stop|restart|reload|enable|disable|mask|unmask|kill|reset-failed)\b/