Detection rules › Sigma

Potential Raspberry Robin Registry Set Internet Settings ZoneMap

Status
test
Severity
low
Log source
product windows, category registry_set
Author
Swachchhanda Shrawan Poudel
Source
github.com/SigmaHQ/sigma

Detects registry modifications related to the proxy configuration of the system, potentially associated with the Raspberry Robin malware, as seen in campaigns running in Q1 2024. Raspberry Robin may alter proxy settings to circumvent security measures, ensuring unhindered connection with Command and Control servers for maintaining control over compromised systems if there are any proxy settings that are blocking connections.

MITRE ATT&CK coverage

TacticTechniques
PersistenceT1112 Modify Registry
Defense ImpairmentT1112 Modify Registry

Event coverage

ProviderEventTitle
SysmonEvent ID 13RegistryEvent (Value Set)

Rule body yaml

title: Potential Raspberry Robin Registry Set Internet Settings ZoneMap
id: 16a4c7b3-4681-49d0-8d58-3e9b796dcb43
status: test
description: |
    Detects registry modifications related to the proxy configuration of the system, potentially associated with the Raspberry Robin malware, as seen in campaigns running in Q1 2024.
    Raspberry Robin may alter proxy settings to circumvent security measures, ensuring unhindered connection with Command and Control servers for maintaining control over compromised systems if there are any proxy settings that are blocking connections.
references:
    - https://tria.ge/240225-jlylpafb24/behavioral1/analog?main_event=Registry&op=SetValueKeyInt
    - https://tria.ge/240307-1hlldsfe7t/behavioral2/analog?main_event=Registry&op=SetValueKeyInt
    - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.InternetExplorer::IZ_ProxyByPass
    - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.InternetExplorer::IZ_UNCAsIntranet
    - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.InternetExplorer::IZ_IncludeUnspecifiedLocalSites
    - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.InternetExplorer::SecurityPage_AutoDetect
    - https://bazaar.abuse.ch/browse/signature/RaspberryRobin/
author: Swachchhanda Shrawan Poudel
date: 2024-07-31
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
    - detection.emerging-threats
logsource:
    category: registry_set
    product: windows
    definition: 'Requirements: The registry key "\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\" and its sub keys must be monitored'
detection:
    selection_registry_image:
        - Image|contains:
              - '\AppData\Local\Temp\'
              - '\Downloads\'
              - '\Users\Public\'
              - '\Windows\Temp\'
        - Image|endswith: '\control.exe'
    selection_registry_object:
        TargetObject|contains: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\'
    selection_value_enable:
        TargetObject|endswith:
            - '\IntranetName'
            - '\ProxyByPass'
            - '\UNCAsIntranet'
        Details|contains: 'DWORD (0x00000001)'
    selection_value_disable:
        TargetObject|endswith: '\AutoDetect'
        Details|contains: 'DWORD (0x00000000)'
    condition: all of selection_registry_* and 1 of selection_value_*
falsepositives:
    - Unknown
# Note: can be upgraded to medium after an initial baseline
level: low

Stages and Predicates

Stage 0: condition

all of selection_registry_* and 1 of selection_value_*

Stage 1: selection_registry_image

selection_registry_image:
    - Image|contains:
          - '\AppData\Local\Temp\'
          - '\Downloads\'
          - '\Users\Public\'
          - '\Windows\Temp\'
    - Image|endswith: '\control.exe'

Stage 2: selection_registry_object

selection_registry_object:
    TargetObject|contains: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\'

Stage 3: selection_value_enable

selection_value_enable:
    TargetObject|endswith:
        - '\IntranetName'
        - '\ProxyByPass'
        - '\UNCAsIntranet'
    Details|contains: 'DWORD (0x00000001)'

Stage 4: selection_value_disable

selection_value_disable:
    TargetObject|endswith: '\AutoDetect'
    Details|contains: 'DWORD (0x00000000)'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
Detailsmatch
  • DWORD (0x00000000) corpus 2 (sigma 2)
  • DWORD (0x00000001)
Imageends_with
  • \control.exe corpus 5 (sigma 5)
Imagematch
  • \AppData\Local\Temp\ corpus 11 (sigma 11)
  • \Downloads\ corpus 10 (sigma 10)
  • \Users\Public\ corpus 10 (sigma 10)
  • \Windows\Temp\ corpus 8 (sigma 8)
TargetObjectends_with
  • \AutoDetect
  • \IntranetName
  • \ProxyByPass
  • \UNCAsIntranet
TargetObjectmatch
  • \SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\