Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    02/09/2024, 14:46

General

  • Target
    bEsOrli29K.exe
  • Size 213KB
  • Sample240902-r5mbrstcrf
  • SHA256 02c6f9163a5d988cee3ab12c11e03b18329c26d6b4863004f943133654693e97
  • 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 7 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\bEsOrli29K.exe
    "C:\Users\Admin\AppData\Local\Temp\bEsOrli29K.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ywdvfhzr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ywltmcxt.exe" C:\Windows\SysWOW64\ywdvfhzr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ywdvfhzr binPath= "C:\Windows\SysWOW64\ywdvfhzr\ywltmcxt.exe /d\"C:\Users\Admin\AppData\Local\Temp\bEsOrli29K.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ywdvfhzr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ywdvfhzr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • 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:2620
  • C:\Windows\SysWOW64\ywdvfhzr\ywltmcxt.exe
    C:\Windows\SysWOW64\ywdvfhzr\ywltmcxt.exe /d"C:\Users\Admin\AppData\Local\Temp\bEsOrli29K.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2584
    • 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:2068

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        ywltmcxt.exe

        • Path C:\Users\Admin\AppData\Local\Temp\ywltmcxt.exe
        • Size 13.2MB
        • SHA256 1b90d31a9a76f783014ba36ae07e478afa06e9b4efacf4f127694c87e586a7d9
        • MD5 SHA1 SHA512 SSDEEP

        memory/2068-40-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-47-0x0000000000270000-0x0000000000275000-memory.dmp

        memory/2068-30-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-31-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-32-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-46-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-14-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2068-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        memory/2068-33-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-17-0x0000000000080000-0x0000000000095000-memory.dmp

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

        memory/2068-23-0x0000000001910000-0x0000000001B1F000-memory.dmp

        memory/2068-27-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-24-0x00000000000A0000-0x00000000000A6000-memory.dmp

        memory/2068-20-0x0000000001910000-0x0000000001B1F000-memory.dmp

        memory/2068-55-0x0000000000280000-0x0000000000287000-memory.dmp

        memory/2068-51-0x0000000005560000-0x000000000596B000-memory.dmp

        memory/2068-54-0x0000000005560000-0x000000000596B000-memory.dmp

        memory/2068-34-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-50-0x0000000000270000-0x0000000000275000-memory.dmp

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

        memory/2068-45-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-44-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-43-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-42-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-41-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-35-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-39-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-38-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-37-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2068-36-0x0000000000260000-0x0000000000270000-memory.dmp

        memory/2584-16-0x0000000000400000-0x0000000000448000-memory.dmp

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

        memory/2672-2-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/2672-8-0x0000000000400000-0x0000000000448000-memory.dmp

        memory/2672-9-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/2672-3-0x0000000000400000-0x0000000000448000-memory.dmp