Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    21-09-2024 15:15

General

  • Target

    H3nfKrgQbi.exe

  • Size

    415KB

  • MD5

    1c5083792acfccf5d90db80884569ace

  • SHA1

    6be243663a2d173dcd728146f2a3d1a5a974ff38

  • SHA256

    27ca44d4fca5a29c0018efeebbda04250739a546e4b7879bd5a547aaea1de80d

  • SHA512

    8af309adcaed0055ca8b2c879a1ff16e9d0d853ab3837c94719d09c03bf27b32125581f525ef99caa4488b184bfc5565b033333cd4af9e4240aa23963dd76a1b

  • SSDEEP

    6144:+nhYTBI6ONsWWqOaejSlD8viNV43Km3Wlz8+5FXCnFk:2aTy6OlO3GDyYnSC

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\H3nfKrgQbi.exe
    "C:\Users\Admin\AppData\Local\Temp\H3nfKrgQbi.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\stniekgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yfmpeslv.exe" C:\Windows\SysWOW64\stniekgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create stniekgg binPath= "C:\Windows\SysWOW64\stniekgg\yfmpeslv.exe /d\"C:\Users\Admin\AppData\Local\Temp\H3nfKrgQbi.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description stniekgg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start stniekgg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • 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:2624
  • C:\Windows\SysWOW64\stniekgg\yfmpeslv.exe
    C:\Windows\SysWOW64\stniekgg\yfmpeslv.exe /d"C:\Users\Admin\AppData\Local\Temp\H3nfKrgQbi.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3064
    • 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:2828

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\yfmpeslv.exe

    Filesize

    10.1MB

    MD5

    1d679b4c50d9ae102070c0a0a7103d0d

    SHA1

    73710002af87c8c388e027fa32b5c26f320e7f83

    SHA256

    0199c6e26e1fecef741d97e163e62082dc9e0cdd22880ce8e4a4f77fab7edfa4

    SHA512

    eab8e95e4f2634c6ebb231e773c7fbb99f9c19dc83b297535ac95e467acf0e7dca55fc30dc38aa178ee887b4e15ea5d340162b32bd26805f26e8c571a6f0aa4e

  • memory/2828-45-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-25-0x00000000000A0000-0x00000000000A6000-memory.dmp

    Filesize

    24KB

  • memory/2828-47-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2828-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2828-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2828-42-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-52-0x0000000005450000-0x000000000585B000-memory.dmp

    Filesize

    4.0MB

  • memory/2828-55-0x0000000005450000-0x000000000585B000-memory.dmp

    Filesize

    4.0MB

  • memory/2828-56-0x0000000000200000-0x0000000000207000-memory.dmp

    Filesize

    28KB

  • memory/2828-43-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2828-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2828-41-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-36-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-35-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-34-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-33-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-51-0x00000000000C0000-0x00000000000C5000-memory.dmp

    Filesize

    20KB

  • memory/2828-48-0x00000000000C0000-0x00000000000C5000-memory.dmp

    Filesize

    20KB

  • memory/2828-21-0x00000000019C0000-0x0000000001BCF000-memory.dmp

    Filesize

    2.1MB

  • memory/2828-40-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-39-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-38-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-37-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-32-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-31-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-28-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-46-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2828-24-0x00000000019C0000-0x0000000001BCF000-memory.dmp

    Filesize

    2.1MB

  • memory/2828-44-0x00000000000B0000-0x00000000000C0000-memory.dmp

    Filesize

    64KB

  • memory/2932-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

  • memory/2932-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2932-16-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

  • memory/2932-17-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2932-14-0x0000000000400000-0x000000000247F000-memory.dmp

    Filesize

    32.5MB

  • memory/2932-15-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2932-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/3064-13-0x0000000000400000-0x000000000247F000-memory.dmp

    Filesize

    32.5MB