Analysis

  • max time kernel
    149s
  • max time network
    154s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2025 01:19

General

  • Target

    2025-02-07_988e4c015a0e26ef49408fe8d7dd8128_mafia.exe

  • Size

    12.9MB

  • MD5

    988e4c015a0e26ef49408fe8d7dd8128

  • SHA1

    b05c15ebd878390e309f887accd405614d7bbfa3

  • SHA256

    483792510effe9b4c4085d1962caae4aa93547ebd91006a68de0b8745617c154

  • SHA512

    ed2495b187f10adee5316af0a054718862b978f712a32724d4456196b0d3f4d7505ed5b2cf54ab32bb4ea8e2dc3c3cae2bb4c3dca3e67c6c5f88079f3f0af86d

  • SSDEEP

    24576:upomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt9:Coo

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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\2025-02-07_988e4c015a0e26ef49408fe8d7dd8128_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_988e4c015a0e26ef49408fe8d7dd8128_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1904
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\snbihldh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcgyozbz.exe" C:\Windows\SysWOW64\snbihldh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create snbihldh binPath= "C:\Windows\SysWOW64\snbihldh\hcgyozbz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_988e4c015a0e26ef49408fe8d7dd8128_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description snbihldh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start snbihldh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1860
    • 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:3068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1904 -s 660
      2⤵
      • Program crash
      PID:1920
  • C:\Windows\SysWOW64\snbihldh\hcgyozbz.exe
    C:\Windows\SysWOW64\snbihldh\hcgyozbz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_988e4c015a0e26ef49408fe8d7dd8128_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2720
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2720 -s 508
      2⤵
      • Program crash
      PID:3832
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1904 -ip 1904
    1⤵
      PID:4364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2720 -ip 2720
      1⤵
        PID:2000

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        8ee58bcdcf50704f8463a74d229dd9ea

        SHA1

        cd1f9e64bd3d18041064d7e4ddd6028c4d7ce17f

        SHA256

        1c58ec96f3a2eafadde28f8b1299c1a7a5cd1f59e26564ac90e7ae1dff990d70

        SHA512

        c01a43eb464118f8d3b0b1310d3183ab901e6184aed8c9b82f4380c3389df266b73e4cc21a6ee2e95aa26c468b045332fdac11bee742ddc6b82dd2482ceffdaa

      • memory/756-14-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/756-17-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/756-16-0x0000000000B30000-0x0000000000B45000-memory.dmp

        Filesize

        84KB

      • memory/1904-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1904-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1904-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB

      • memory/1904-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1904-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/2720-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2720-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2720-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2720-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB