
title: Modifies the Registry From a ADS
author: Eli Salem, Sander Wiebing, oscd.community
date: 2020/10/12
description: Detects the import of an alternate data stream with regini.exe, regini.exe
  can be used to modify registry keys.
detection:
  SELECTION_1:
    EventID: 1
  SELECTION_2:
    Image: '*\regini.exe'
  SELECTION_3:
    CommandLine|re: :[^ \\\\]
  condition: (SELECTION_1 and SELECTION_2 and SELECTION_3)
falsepositives:
- Unknown
fields:
- ParentImage
- CommandLine
id: 77946e79-97f1-45a2-84b4-f37b5c0d8682
level: high
logsource:
  category: process_creation
  product: windows
modified: 2021/05/24
references:
- https://github.com/LOLBAS-Project/LOLBAS/blob/master/yml/OSBinaries/Regini.yml
- https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/regini
status: experimental
tags:
- attack.t1112
- attack.defense_evasion
ruletype: SIGMA
