Analysis

  • max time kernel
    149s
  • max time network
    159s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240709-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240709-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27/07/2024, 01:33

General

  • Target
    13d2063c4b52fc127970c1d1bde5a730.exe
  • Size 151KB
  • Sample240727-byzeraybrk
  • SHA256 4a64c457c8ad2ff6e90cf46e3a7586da574f223b10b926e63d7f41e9a8ed886d
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • vanaheim.cn

  • jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Looks up external IP address via web service 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\13d2063c4b52fc127970c1d1bde5a730.exe
    "C:\Users\Admin\AppData\Local\Temp\13d2063c4b52fc127970c1d1bde5a730.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sygjlmam\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rdliobhf.exe" C:\Windows\SysWOW64\sygjlmam\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sygjlmam binPath= "C:\Windows\SysWOW64\sygjlmam\rdliobhf.exe /d\"C:\Users\Admin\AppData\Local\Temp\13d2063c4b52fc127970c1d1bde5a730.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1544
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sygjlmam "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sygjlmam
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3220
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3656 -s 1260
      2⤵
      • Program crash
      PID:1656
  • C:\Windows\SysWOW64\sygjlmam\rdliobhf.exe
    C:\Windows\SysWOW64\sygjlmam\rdliobhf.exe /d"C:\Users\Admin\AppData\Local\Temp\13d2063c4b52fc127970c1d1bde5a730.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1824
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1824 -s 516
      2⤵
      • Program crash
      PID:4292
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3656 -ip 3656
    1⤵
      PID:1804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1824 -ip 1824
      1⤵
        PID:2312

      Network

            MITRE ATT&CK Enterprise v15

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            rdliobhf.exe

            • Path C:\Users\Admin\AppData\Local\Temp\rdliobhf.exe
            • Size 12.8MB
            • SHA256 e8c1b03f391355650ee73b81aae689da409088a316ac1feeec9ecf681b4b767d
            • MD5 SHA1 SHA512 SSDEEP

            memory/812-33-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-43-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-57-0x0000000007000000-0x000000000740B000-memory.dmp

            memory/812-62-0x00000000001C0000-0x00000000001D5000-memory.dmp

            memory/812-34-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-35-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-36-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-37-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-18-0x00000000001C0000-0x00000000001D5000-memory.dmp

            memory/812-19-0x00000000001C0000-0x00000000001D5000-memory.dmp

            memory/812-38-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-39-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-12-0x00000000001C0000-0x00000000001D5000-memory.dmp

            memory/812-20-0x00000000001C0000-0x00000000001D5000-memory.dmp

            memory/812-40-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-23-0x0000000002000000-0x000000000220F000-memory.dmp

            memory/812-26-0x0000000002000000-0x000000000220F000-memory.dmp

            memory/812-30-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-27-0x0000000001780000-0x0000000001786000-memory.dmp

            memory/812-41-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-42-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-58-0x00000000017F0000-0x00000000017F7000-memory.dmp

            memory/812-54-0x0000000007000000-0x000000000740B000-memory.dmp

            memory/812-53-0x00000000017E0000-0x00000000017E5000-memory.dmp

            memory/812-50-0x00000000017E0000-0x00000000017E5000-memory.dmp

            memory/812-49-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-48-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-47-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-46-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-45-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/812-44-0x0000000001790000-0x00000000017A0000-memory.dmp

            memory/1824-21-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/1824-9-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/1824-11-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/1824-10-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/3656-1-0x0000000000750000-0x0000000000850000-memory.dmp

            memory/3656-3-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/3656-2-0x00000000006A0000-0x00000000006B3000-memory.dmp

            memory/3656-13-0x0000000000400000-0x000000000043A000-memory.dmp

            memory/3656-14-0x00000000006A0000-0x00000000006B3000-memory.dmp

            memory/3656-15-0x0000000000400000-0x0000000000415000-memory.dmp

            memory/3656-6-0x0000000000400000-0x000000000043A000-memory.dmp