Analysis

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

    arch:x64arch:x86image:win10v2004-20220812-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09/02/2023, 16:25

General

  • Target
    file.exe
  • Size 185KB
  • Sample230209-twza3sbf71
  • SHA256 38208d790e448fa4df63395c23dcb533dce491e0432a2870b335a8d66810fecc
  • 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.

  • Creates new service(s) 1 TTPs
  • 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.

  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 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.

  • Suspicious use of WriteProcessMemory 23 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:5044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jehwnong\
      2⤵
        PID:4940
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cehsnhwx.exe" C:\Windows\SysWOW64\jehwnong\
        2⤵
          PID:556
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jehwnong binPath= "C:\Windows\SysWOW64\jehwnong\cehsnhwx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4360
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description jehwnong "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4696
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start jehwnong
          2⤵
          • Launches sc.exe
          PID:4636
        • 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:3168
      • C:\Windows\SysWOW64\jehwnong\cehsnhwx.exe
        C:\Windows\SysWOW64\jehwnong\cehsnhwx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2232
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          PID:1224

      Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

            cehsnhwx.exe

            • Path C:\Users\Admin\AppData\Local\Temp\cehsnhwx.exe
            • Size 12.9MB
            • SHA256 e36a26be32bcf248926a7bb1173eac35e85fce87d46cea8aefa289cf7f1e3f6c
            • MD5 SHA1 SHA512 SSDEEP

            cehsnhwx.exe

            • Path C:\Windows\SysWOW64\jehwnong\cehsnhwx.exe
            • Size 12.9MB
            • SHA256 e36a26be32bcf248926a7bb1173eac35e85fce87d46cea8aefa289cf7f1e3f6c
            • MD5 SHA1 SHA512 SSDEEP

            memory/1224-147-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/1224-153-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/1224-152-0x0000000000110000-0x0000000000125000-memory.dmp

            memory/2232-148-0x0000000000799000-0x00000000007AB000-memory.dmp

            memory/2232-144-0x0000000000799000-0x00000000007AB000-memory.dmp

            memory/2232-145-0x0000000000400000-0x000000000055E000-memory.dmp

            memory/2232-150-0x0000000000400000-0x000000000055E000-memory.dmp

            memory/5044-133-0x00000000007FD000-0x0000000000810000-memory.dmp

            memory/5044-143-0x0000000000400000-0x000000000055E000-memory.dmp

            memory/5044-135-0x0000000000400000-0x000000000055E000-memory.dmp

            memory/5044-134-0x00000000006E0000-0x00000000006F3000-memory.dmp