Analysis

  • max time kernel
    147s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/04/2024, 13:33

General

  • Target
    b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe
  • Size 229KB
  • Sample240417-qtm89ahf82
  • SHA256 b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992
  • 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 3 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe
    "C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:64
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qmccuwno\
      2⤵
        PID:2320
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trgohxso.exe" C:\Windows\SysWOW64\qmccuwno\
        2⤵
          PID:2784
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qmccuwno binPath= "C:\Windows\SysWOW64\qmccuwno\trgohxso.exe /d\"C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2012
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qmccuwno "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2480
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qmccuwno
          2⤵
          • Launches sc.exe
          PID:1564
        • 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:4940
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 64 -s 1188
          2⤵
          • Program crash
          PID:324
      • C:\Windows\SysWOW64\qmccuwno\trgohxso.exe
        C:\Windows\SysWOW64\qmccuwno\trgohxso.exe /d"C:\Users\Admin\AppData\Local\Temp\b557b082890ce023270e4291073976f24d7e68b1ab58890bb95b310785142992.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4528
        • 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:3976
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4528 -s 524
          2⤵
          • Program crash
          PID:4048
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4528 -ip 4528
        1⤵
          PID:2720
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 64 -ip 64
          1⤵
            PID:316

          Network

                MITRE ATT&CK Enterprise v15

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                trgohxso.exe

                • Path C:\Users\Admin\AppData\Local\Temp\trgohxso.exe
                • Size 13.1MB
                • SHA256 e9ef1a06f2207266db90195efcfea978ed5318242b864648c203c29694b6aa91
                • MD5 SHA1 SHA512 SSDEEP

                memory/64-16-0x0000000000400000-0x000000000043E000-memory.dmp

                memory/64-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

                memory/64-3-0x0000000000400000-0x000000000043E000-memory.dmp

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

                memory/3976-20-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3976-18-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3976-11-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3976-14-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/3976-17-0x0000000000610000-0x0000000000625000-memory.dmp

                memory/4528-10-0x0000000000400000-0x000000000043E000-memory.dmp

                memory/4528-15-0x0000000000400000-0x000000000043E000-memory.dmp

                memory/4528-9-0x00000000005A0000-0x00000000005B3000-memory.dmp

                memory/4528-8-0x00000000005F0000-0x00000000006F0000-memory.dmp