Analysis

  • max time kernel
    149s
  • max time network
    149s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03/09/2024, 16:57

General

  • Target
    foufdsk.exe
  • Size 11.2MB
  • Sample240903-vgll4s1fmn
  • SHA256 8777baf9f5a68be1faf17fa6f7c5ab3de0113392784cc150b822b7db5426e380
  • MD5 SHA1 SHA512 SSDEEP

Malware Config

Extracted

Family
  • tofsee

C2
  • vanaheim.cn

  • jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 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).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies data under HKEY_USERS 6 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\foufdsk.exe
    "C:\Users\Admin\AppData\Local\Temp\foufdsk.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2388
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hmkajmpw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lsremmuy.exe" C:\Windows\SysWOW64\hmkajmpw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hmkajmpw binPath= "C:\Windows\SysWOW64\hmkajmpw\lsremmuy.exe /d\"C:\Users\Admin\AppData\Local\Temp\foufdsk.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hmkajmpw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hmkajmpw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2860
    • 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
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2632
  • C:\Windows\SysWOW64\hmkajmpw\lsremmuy.exe
    C:\Windows\SysWOW64\hmkajmpw\lsremmuy.exe /d"C:\Users\Admin\AppData\Local\Temp\foufdsk.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2768
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:2312

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        lsremmuy.exe

        • Path C:\Users\Admin\AppData\Local\Temp\lsremmuy.exe
        • Size 14.1MB
        • SHA256 19f56e1b8516b089c02a5553bd5a9da85b19114bd9f9d91c6ec479c11c023ff1
        • MD5 SHA1 SHA512 SSDEEP

        memory/2312-37-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-38-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-56-0x00000000004C0000-0x00000000004C7000-memory.dmp

        memory/2312-8-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2312-11-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2312-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        memory/2312-52-0x0000000005550000-0x000000000595B000-memory.dmp

        memory/2312-55-0x0000000005550000-0x000000000595B000-memory.dmp

        memory/2312-31-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-32-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-33-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-18-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2312-19-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2312-22-0x0000000001950000-0x0000000001B5F000-memory.dmp

        memory/2312-24-0x0000000001950000-0x0000000001B5F000-memory.dmp

        memory/2312-25-0x00000000000E0000-0x00000000000E6000-memory.dmp

        memory/2312-47-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-51-0x00000000001F0000-0x00000000001F5000-memory.dmp

        memory/2312-34-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-28-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-43-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-45-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-44-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-46-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-42-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-41-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-40-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-39-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-48-0x00000000001F0000-0x00000000001F5000-memory.dmp

        memory/2312-35-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2312-36-0x00000000001E0000-0x00000000001F0000-memory.dmp

        memory/2388-1-0x00000000002F0000-0x00000000003F0000-memory.dmp

        memory/2388-3-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/2388-15-0x00000000001B0000-0x00000000001C3000-memory.dmp

        memory/2388-16-0x00000000002F0000-0x00000000003F0000-memory.dmp

        memory/2388-17-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/2388-14-0x0000000000400000-0x00000000005FE000-memory.dmp

        memory/2388-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

        memory/2768-12-0x0000000000400000-0x00000000005FE000-memory.dmp