Analysis

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

    arch:x64arch:x86image:win10v2004-20221111-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21/01/2023, 23:43

General

  • Target
    file.exe
  • Size 196KB
  • Sample230121-3qj4msed72
  • SHA256 7eabf847e4bdfc79889b0e5d24da7c65321c256f87ff64427f27d93dae4e4b90
  • 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:2480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xahxjdyp\
      2⤵
        PID:4528
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qxxbcmwh.exe" C:\Windows\SysWOW64\xahxjdyp\
        2⤵
          PID:4916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xahxjdyp binPath= "C:\Windows\SysWOW64\xahxjdyp\qxxbcmwh.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xahxjdyp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3100
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xahxjdyp
          2⤵
          • Launches sc.exe
          PID:3352
        • 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:3808
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2480 -s 1036
          2⤵
          • Program crash
          PID:4176
      • C:\Windows\SysWOW64\xahxjdyp\qxxbcmwh.exe
        C:\Windows\SysWOW64\xahxjdyp\qxxbcmwh.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3052
        • 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:3748
          • 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:3164
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3052 -s 516
          2⤵
          • Program crash
          PID:3804
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 2480 -ip 2480
        1⤵
          PID:1900
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3052 -ip 3052
          1⤵
            PID:2044

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                qxxbcmwh.exe

                • Path C:\Users\Admin\AppData\Local\Temp\qxxbcmwh.exe
                • Size 10.6MB
                • SHA256 5fcf33bee842cbeb8c9b9bc261128aea5e6db7b576d0caa627c0cf1eceb298af
                • MD5 SHA1 SHA512 SSDEEP

                qxxbcmwh.exe

                • Path C:\Windows\SysWOW64\xahxjdyp\qxxbcmwh.exe
                • Size 10.6MB
                • SHA256 5fcf33bee842cbeb8c9b9bc261128aea5e6db7b576d0caa627c0cf1eceb298af
                • MD5 SHA1 SHA512 SSDEEP

                memory/2480-134-0x00000000048D0000-0x00000000048E3000-memory.dmp

                memory/2480-137-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/2480-133-0x0000000002DD0000-0x0000000002DE3000-memory.dmp

                memory/2480-143-0x0000000000400000-0x0000000002B9B000-memory.dmp

                memory/3052-148-0x0000000002BCA000-0x0000000002BDD000-memory.dmp

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

                memory/3164-176-0x0000000000820000-0x0000000000911000-memory.dmp

                memory/3164-171-0x0000000000820000-0x0000000000911000-memory.dmp

                memory/3748-149-0x0000000000550000-0x0000000000565000-memory.dmp

                memory/3748-145-0x0000000000550000-0x0000000000565000-memory.dmp

                memory/3748-151-0x0000000000550000-0x0000000000565000-memory.dmp

                memory/3748-152-0x0000000002400000-0x000000000260F000-memory.dmp

                memory/3748-155-0x0000000001BD0000-0x0000000001BD6000-memory.dmp

                memory/3748-158-0x0000000001BE0000-0x0000000001BF0000-memory.dmp

                memory/3748-161-0x00000000027E0000-0x00000000027E5000-memory.dmp

                memory/3748-164-0x0000000007300000-0x000000000770B000-memory.dmp

                memory/3748-167-0x00000000027F0000-0x00000000027F7000-memory.dmp