Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-01-2025 19:39

General

  • Target

    f5c15d971f2824020af57ff36b008cc53ed66317265d71cfca608b71c12ff20b.exe

  • Size

    10.5MB

  • MD5

    b1a079f8d123d30d1596fe89a9d1192c

  • SHA1

    e0f080d8e6dec62ad76c01ba9c575f7eae6c1e1b

  • SHA256

    f5c15d971f2824020af57ff36b008cc53ed66317265d71cfca608b71c12ff20b

  • SHA512

    1b1d1c5d05bf90331305c75a16d474771c5f46aae0d5236aa0428c08debc307db6c25a5c8008bad657a9358754cef7b1f78c4d09e6ffa0389714d673e1c00783

  • SSDEEP

    6144:fZDhTWrhgUaxjFftGu35QZ+2PPFGrGuislc03r:fZDhTWrhgUWFfMuP0FGqb/0

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

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

  • Tofsee family
  • 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.

  • Deletes itself 1 IoCs
  • 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).

  • 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.

  • Program crash 2 IoCs
  • 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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f5c15d971f2824020af57ff36b008cc53ed66317265d71cfca608b71c12ff20b.exe
    "C:\Users\Admin\AppData\Local\Temp\f5c15d971f2824020af57ff36b008cc53ed66317265d71cfca608b71c12ff20b.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hcpgyszx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lsvtuuky.exe" C:\Windows\SysWOW64\hcpgyszx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hcpgyszx binPath= "C:\Windows\SysWOW64\hcpgyszx\lsvtuuky.exe /d\"C:\Users\Admin\AppData\Local\Temp\f5c15d971f2824020af57ff36b008cc53ed66317265d71cfca608b71c12ff20b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hcpgyszx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hcpgyszx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:1192
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2272 -s 1212
      2⤵
      • Program crash
      PID:4916
  • C:\Windows\SysWOW64\hcpgyszx\lsvtuuky.exe
    C:\Windows\SysWOW64\hcpgyszx\lsvtuuky.exe /d"C:\Users\Admin\AppData\Local\Temp\f5c15d971f2824020af57ff36b008cc53ed66317265d71cfca608b71c12ff20b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1788
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 524
      2⤵
      • Program crash
      PID:2776
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2272 -ip 2272
    1⤵
      PID:2388
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1788 -ip 1788
      1⤵
        PID:1500

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        9f6435201d1abd029cfd615acf580e28

        SHA1

        658b7dca414a5d1967e96650754dd03d465205c0

        SHA256

        af31ce7f3e0ca686a8156e8ce9fbee6b5439b70c98b46bfd8cc135bbeb13e5d2

        SHA512

        b6c4e2b7847e1489e659e17e9e356e05585d35b3ea328fa6b8bb8b344ed637d6df88cae035412967cfe7afdf97a3226cb7b0aae760c2848bd2eb5af56e34a48f

      • memory/924-12-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/924-17-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/924-14-0x0000000001090000-0x00000000010A5000-memory.dmp

        Filesize

        84KB

      • memory/1788-16-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/1788-11-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/1788-15-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/2272-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2272-9-0x00000000008F0000-0x0000000000903000-memory.dmp

        Filesize

        76KB

      • memory/2272-8-0x0000000000400000-0x0000000000878000-memory.dmp

        Filesize

        4.5MB

      • memory/2272-1-0x00000000009B0000-0x0000000000AB0000-memory.dmp

        Filesize

        1024KB

      • memory/2272-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2272-2-0x00000000008F0000-0x0000000000903000-memory.dmp

        Filesize

        76KB