Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14/10/2024, 01:39

General

  • Target
    930b96bbec596e80fd6b6e4a37c34000113e1affb5f1aadbce2049f5800a6fce.exe
  • Size 238KB
  • Sample241014-b3crjszbrj
  • SHA256 930b96bbec596e80fd6b6e4a37c34000113e1affb5f1aadbce2049f5800a6fce
  • 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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 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
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\930b96bbec596e80fd6b6e4a37c34000113e1affb5f1aadbce2049f5800a6fce.exe
    "C:\Users\Admin\AppData\Local\Temp\930b96bbec596e80fd6b6e4a37c34000113e1affb5f1aadbce2049f5800a6fce.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4912
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lprwhcsf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sbhsqfx.exe" C:\Windows\SysWOW64\lprwhcsf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lprwhcsf binPath= "C:\Windows\SysWOW64\lprwhcsf\sbhsqfx.exe /d\"C:\Users\Admin\AppData\Local\Temp\930b96bbec596e80fd6b6e4a37c34000113e1affb5f1aadbce2049f5800a6fce.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lprwhcsf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lprwhcsf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3732
    • 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:5024
  • C:\Windows\SysWOW64\lprwhcsf\sbhsqfx.exe
    C:\Windows\SysWOW64\lprwhcsf\sbhsqfx.exe /d"C:\Users\Admin\AppData\Local\Temp\930b96bbec596e80fd6b6e4a37c34000113e1affb5f1aadbce2049f5800a6fce.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:4812

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        sbhsqfx.exe

        • Path C:\Users\Admin\AppData\Local\Temp\sbhsqfx.exe
        • Size 13.6MB
        • SHA256 e7ca5408ddb248c97c4b4617e1ac3a456ad1673d7b114cdfd056e3b7668377fc
        • MD5 SHA1 SHA512 SSDEEP

        memory/3816-15-0x0000000000400000-0x0000000000443000-memory.dmp

        memory/3816-9-0x0000000000400000-0x0000000000443000-memory.dmp

        memory/4812-43-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-42-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-28-0x0000000002600000-0x000000000280F000-memory.dmp

        memory/4812-10-0x00000000005B0000-0x00000000005C5000-memory.dmp

        memory/4812-32-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-35-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-36-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-37-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-16-0x00000000005B0000-0x00000000005C5000-memory.dmp

        memory/4812-17-0x00000000005B0000-0x00000000005C5000-memory.dmp

        memory/4812-29-0x0000000000A90000-0x0000000000A96000-memory.dmp

        memory/4812-59-0x0000000007600000-0x0000000007A0B000-memory.dmp

        memory/4812-60-0x0000000002BF0000-0x0000000002BF7000-memory.dmp

        memory/4812-56-0x0000000007600000-0x0000000007A0B000-memory.dmp

        memory/4812-55-0x0000000002BE0000-0x0000000002BE5000-memory.dmp

        memory/4812-52-0x0000000002BE0000-0x0000000002BE5000-memory.dmp

        memory/4812-50-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-38-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-40-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-48-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-47-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-46-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-45-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-44-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-39-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-51-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-41-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4812-25-0x0000000002600000-0x000000000280F000-memory.dmp

        memory/4812-49-0x0000000002910000-0x0000000002920000-memory.dmp

        memory/4912-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

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

        memory/4912-2-0x00000000021A0000-0x00000000021B3000-memory.dmp

        memory/4912-14-0x0000000000400000-0x0000000000443000-memory.dmp

        memory/4912-13-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/4912-12-0x00000000021A0000-0x00000000021B3000-memory.dmp

        memory/4912-8-0x00000000004F0000-0x00000000005F0000-memory.dmp