Analysis

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

    arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02/04/2024, 10:12

General

  • Target
    b984128113ff555edf24f086dcec400c697413f9095c8510da1058a98a2cc4ad.exe
  • Size 302KB
  • Sample240402-l8n2waed7t
  • SHA256 b984128113ff555edf24f086dcec400c697413f9095c8510da1058a98a2cc4ad
  • 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) 1 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
  • 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).

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\b984128113ff555edf24f086dcec400c697413f9095c8510da1058a98a2cc4ad.exe
    "C:\Users\Admin\AppData\Local\Temp\b984128113ff555edf24f086dcec400c697413f9095c8510da1058a98a2cc4ad.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rpgwzsbh\
      2⤵
        PID:4116
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uotrmpmo.exe" C:\Windows\SysWOW64\rpgwzsbh\
        2⤵
          PID:3768
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rpgwzsbh binPath= "C:\Windows\SysWOW64\rpgwzsbh\uotrmpmo.exe /d\"C:\Users\Admin\AppData\Local\Temp\b984128113ff555edf24f086dcec400c697413f9095c8510da1058a98a2cc4ad.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:884
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rpgwzsbh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3604
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rpgwzsbh
          2⤵
          • Launches sc.exe
          PID:2132
        • 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
          PID:1964
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 400 -s 672
          2⤵
          • Program crash
          PID:2500
      • C:\Windows\SysWOW64\rpgwzsbh\uotrmpmo.exe
        C:\Windows\SysWOW64\rpgwzsbh\uotrmpmo.exe /d"C:\Users\Admin\AppData\Local\Temp\b984128113ff555edf24f086dcec400c697413f9095c8510da1058a98a2cc4ad.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3532
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Modifies data under HKEY_USERS
          PID:1520
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3532 -s 532
          2⤵
          • Program crash
          PID:1476
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3532 -ip 3532
        1⤵
          PID:4760
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 400 -ip 400
          1⤵
            PID:3468

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                uotrmpmo.exe

                • Path C:\Users\Admin\AppData\Local\Temp\uotrmpmo.exe
                • Size 11.5MB
                • SHA256 1a03a1cec4024dfef541e7c164d9d0687c48b59a105a24016556270c25ccdd57
                • MD5 SHA1 SHA512 SSDEEP

                memory/400-15-0x0000000000400000-0x00000000008FD000-memory.dmp

                memory/400-4-0x0000000000400000-0x00000000008FD000-memory.dmp

                memory/400-1-0x0000000000B50000-0x0000000000C50000-memory.dmp

                memory/400-2-0x0000000002640000-0x0000000002653000-memory.dmp

                memory/1520-51-0x0000000002D60000-0x0000000002D65000-memory.dmp

                memory/1520-45-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-14-0x0000000000820000-0x0000000000835000-memory.dmp

                memory/1520-24-0x0000000002400000-0x000000000260F000-memory.dmp

                memory/1520-9-0x0000000000820000-0x0000000000835000-memory.dmp

                memory/1520-17-0x0000000000820000-0x0000000000835000-memory.dmp

                memory/1520-18-0x0000000000820000-0x0000000000835000-memory.dmp

                memory/1520-20-0x0000000000820000-0x0000000000835000-memory.dmp

                memory/1520-21-0x0000000002400000-0x000000000260F000-memory.dmp

                memory/1520-44-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-52-0x0000000007A40000-0x0000000007E4B000-memory.dmp

                memory/1520-56-0x0000000002FF0000-0x0000000002FF7000-memory.dmp

                memory/1520-55-0x0000000007A40000-0x0000000007E4B000-memory.dmp

                memory/1520-25-0x00000000009F0000-0x00000000009F6000-memory.dmp

                memory/1520-48-0x0000000002D60000-0x0000000002D65000-memory.dmp

                memory/1520-47-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-46-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-28-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-43-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-42-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-41-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-40-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-39-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-38-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-37-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-35-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-36-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-34-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-33-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-32-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/1520-31-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/3532-12-0x0000000000400000-0x00000000008FD000-memory.dmp

                memory/3532-8-0x0000000000AE0000-0x0000000000BE0000-memory.dmp

                memory/3532-10-0x0000000000A60000-0x0000000000A73000-memory.dmp