title: Writing Of Malicious Files To The Fonts Folder
id: ae9b0bd7-8888-4606-b444-0ed7410cb728
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.
references:
    - https://thedfirreport.com/2020/04/20/sqlserver-or-the-miner-in-the-basement/
date: 2020/21/04
modified: 2021/06/11
author: Sreeman
tags:
    - attack.t1064
    - attack.t1211
    - attack.t1059
    - attack.defense_evasion
    - attack.persistence
logsource:
    product: windows
    category: process_creation
detection:
    selection1:
        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: selection1
fields:
    - CommandLine
    - ParentProcess
    - CommandLine
falsepositives:
    - unknown
level: medium