Skip to content

Commit

Permalink
Merge pull request #306 from tstromberg/apt36-desktop
Browse files Browse the repository at this point in the history
Improve base64/crontab detection
  • Loading branch information
tstromberg committed Sep 14, 2023
2 parents a9eba00 + a041305 commit e97f2fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions detection/execution/exotic-command-events-linux.sql
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ WHERE
OR p0_cmd LIKE '%rm -rf /boot%'
OR p0_cmd LIKE '%nohup /bin/bash%'
OR p0_cmd LIKE '%echo%|%base64 --decode %|%'
OR p0_cmd LIKE '%echo%|%base64 -d %|%'
OR p0_cmd LIKE '%@reboot%crontab%'
OR p0_cmd LIKE '%UserKnownHostsFile=/dev/null%' -- Crypto miners
OR p0_cmd LIKE '%monero%'
OR p0_cmd LIKE '%nanopool%'
Expand Down
1 change: 1 addition & 0 deletions detection/execution/exotic-command-events-macos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ WHERE
AND p0_cmd NOT LIKE '% history'
)
OR p0_cmd LIKE '%echo%|%base64 --decode %|%'
OR p0_cmd LIKE '%echo%|%base64 -d %|%'
OR p0_cmd LIKE '%launchctl bootout%'
OR p0_cmd LIKE '%chflags uchg%'
OR (
Expand Down

0 comments on commit e97f2fd

Please sign in to comment.