Skip to content

Conversation

@Phoevek
Copy link

@Phoevek Phoevek commented Jul 8, 2024

Resolves #372

Copy link

@Keks1993 Keks1993 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

У Вас получилось правило уже с FP. В тестах "object.fullpath": "/Users/user/1547562099/Chromium/Chrome/Password1" - это каталог вредоноса, в который собираются данные перед отправкой на С2.
Сами по себе названия браузеров chrome, firefox, ... очень общие мы не может ограничивать пользователя в создании таких каталогов.

filter {
filter::NotFromCorrelator()
and action == 'read'
and regex(lower(object.fullpath),"(\/users\/|~).*?(chrome|chromium|firefox|yandex|opera|safari|browser)",0 ) != null
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Наверное, здесь стоит завязаться на структуру и иерархию каталогов. Например, /Users/<>/Library/Application Support/Google/Chrome
/Users/<>/Library/Application Support/Firefox

filter {
filter::NotFromCorrelator()
and action == 'execute'
and regex(lower(object.process.name), "chrome|chromium|firefox|yandex|opera|safari", 0) == null
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь также. Как минимум, перечисленные браузеры - громоздкие GUI приложения. Они отличаются от CLI-утилит тем, что завернуты в Application Bundle - /Applications/Google Chrome.app/Contents/MacOS/Google Chrome или /Applications/Safari.app/Contents/MacOS/Safari. Устанавливаются в каталог /Applications/, а название бандла и исполняемого файла, как правило, совпадают <>.app/Contents/MacOS/<>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OSW#2: Task-7

2 participants