
title: Writing Of Malicious Files To The Fonts Folder
author: Sreeman
date: 2020/21/04
description: Monitors for the hiding possible malicious files in the C:\Windows\Fonts\
  location. This folder doesn't require admin privillege to be written and executed
  from.
detection:
  SELECTION_1:
    EventID: 1
  SELECTION_2:
    CommandLine|re: (?i).*(echo|copy|type|file createnew|cacls).*C:\\\\Windows\\\\Fonts\\\\.*(.sh|.exe|.dll|.bin|.bat|.cmd|.js|.msh|.reg|.scr|.ps|.vb|.jar|.pl|.inf|.cpl|.hta|.msi|.vbs).*
  condition: (SELECTION_1 and SELECTION_2)
falsepositives:
- unknown
fields:
- CommandLine
- ParentProcess
- CommandLine
id: ae9b0bd7-8888-4606-b444-0ed7410cb728
level: medium
logsource:
  category: process_creation
  product: windows
modified: 2021/06/11
references:
- https://thedfirreport.com/2020/04/20/sqlserver-or-the-miner-in-the-basement/
status: experimental
tags:
- attack.t1064
- attack.t1211
- attack.t1059
- attack.defense_evasion
- attack.persistence
ruletype: SIGMA
