
title: New RUN Key Pointing to Suspicious Folder
author: Florian Roth, Markus Neis, Sander Wiebing
date: 2018/08/25
description: Detects suspicious new RUN key element pointing to an executable in a
  suspicious folder
detection:
  SELECTION_1:
    EventID: 12
  SELECTION_2:
    EventID: 13
  SELECTION_3:
    EventID: 14
  SELECTION_4:
    TargetObject:
    - '*\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\\*'
    - '*\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\\*'
  SELECTION_5:
    Details:
    - '*C:\Windows\Temp\\*'
    - '*C:\$Recycle.bin\\*'
    - '*C:\Temp\\*'
    - '*C:\Users\Public\\*'
    - '*C:\Users\Default\\*'
    - '*C:\Users\Desktop\\*'
    - '*\AppData\Local\Temp\\*'
  SELECTION_6:
    Details:
    - '%Public%\\*'
    - wscript*
    - cscript*
  condition: ((SELECTION_1 or SELECTION_2 or SELECTION_3) and SELECTION_4 and (SELECTION_5
    or SELECTION_6))
falsepositives:
- Software using weird folders for updates
fields:
- Image
id: 02ee49e2-e294-4d0f-9278-f5b3212fc588
level: high
logsource:
  category: registry_event
  product: windows
modified: 2021/10/30
references:
- https://www.fireeye.com/blog/threat-research/2018/08/fin7-pursuing-an-enigmatic-and-evasive-global-criminal-operation.html
status: experimental
tags:
- attack.persistence
- attack.t1060
- attack.t1547.001
ruletype: SIGMA
