Indicator Removal: Очистка системных журналов Linux или Mac
Other sub-techniques of Indicator Removal (10)
Adversaries may clear system logs to hide evidence of an intrusion. macOS and Linux both keep track of system or user-initiated actions via system logs. The majority of native system logging is stored under the /var/log/
directory. Subfolders in this directory categorize logs by their related functions, such as:(Citation: Linux Logs)
* /var/log/messages:
: General and system-related messages
* /var/log/secure
or /var/log/auth.log
: Authentication logs
* /var/log/utmp
or /var/log/wtmp
: Login records
* /var/log/kern.log
: Kernel logs
* /var/log/cron.log
: Crond logs
* /var/log/maillog
: Mail server logs
* /var/log/httpd/
: Web server access and error logs
Примеры процедур |
|
Название | Описание |
---|---|
MacMa |
MacMa can clear possible malware traces such as application logs.(Citation: ESET DazzleSpy Jan 2022) |
TeamTNT |
TeamTNT has removed system logs from |
Rocke |
Rocke has cleared log files within the /var/log/ folder.(Citation: Anomali Rocke March 2019) |
Proton |
Proton removes logs from |
Контрмеры |
|
Контрмера | Описание |
---|---|
Remote Data Storage |
Use remote security log and sensitive file storage where access can be controlled better to prevent exposure of intrusion detection log data or sensitive information. |
Indicator Removal on Host Mitigation |
Automatically forward events to a log server or data repository to prevent conditions in which the adversary can locate and manipulate data on the local system. When possible, minimize time delay on event reporting to avoid prolonged storage on the local system. Protect generated event files that are stored locally with proper permissions and authentication and limit opportunities for adversaries to increase privileges by preventing Privilege Escalation opportunities. Obfuscate/encrypt event files locally and in transit to avoid giving feedback to an adversary. |
Restrict File and Directory Permissions |
Restrict access by setting directory and file permissions that are not specific to users or privileged accounts. |
Encrypt Sensitive Information |
Protect sensitive information with strong encryption. |
Обнаружение
File system monitoring may be used to detect improper deletion or modification of indicator files. Also monitor for suspicious processes interacting with log files.
Ссылки
- Marcel. (2018, April 19). 12 Critical Linux Log Files You Must be Monitoring. Retrieved March 29, 2020.
- M.Léveillé, M., Cherepanov, A.. (2022, January 25). Watering hole deploys new macOS malware, DazzleSpy, in Asia. Retrieved May 6, 2022.
- Kol, Roi. Morag, A. (2020, August 25). Deep Analysis of TeamTNT Techniques Using Container Images to Attack. Retrieved September 22, 2021.
- Anomali Labs. (2019, March 15). Rocke Evolves Its Arsenal With a New Malware Family Written in Golang. Retrieved April 24, 2019.
- Patrick Wardle. (n.d.). Mac Malware of 2017. Retrieved September 21, 2018.
Связанные риски
Каталоги
Мы используем cookie-файлы, чтобы получить статистику, которая помогает нам улучшить сервис для вас с целью персонализации сервисов и предложений. Вы может прочитать подробнее о cookie-файлах или изменить настройки браузера. Продолжая пользоваться сайтом, вы даёте согласие на использование ваших cookie-файлов и соглашаетесь с Политикой обработки персональных данных.