Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10-01-2025 15:42

General

  • Target

    2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe

  • Size

    15.0MB

  • MD5

    792e3cfa2dffd5d810b91ed078215e83

  • SHA1

    525ce22182a5762c53562774afddeb73d6624548

  • SHA256

    74bd7dc9f31e2ed15b4a5f6b855c60bfb7e9edfa61837a49a3e12ac50a6cee93

  • SHA512

    485154fb67322713eaabeee05db0f6d2fe9a42ac1be3a896c0768c0e6d1d645db9f386901865a507938999b4567d51806ecca3cf627c2187552ccbaa98a29ac4

  • SSDEEP

    6144:0VXdWonWCgHBEJE968VNNXSB3sFD+yZpp:mbnWvHBEJM6WNNCB36D+y

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 3 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-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3264
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kftmcebi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fwszqptx.exe" C:\Windows\SysWOW64\kftmcebi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kftmcebi binPath= "C:\Windows\SysWOW64\kftmcebi\fwszqptx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kftmcebi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kftmcebi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1508
    • 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:3972
  • C:\Windows\SysWOW64\kftmcebi\fwszqptx.exe
    C:\Windows\SysWOW64\kftmcebi\fwszqptx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3016
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3016 -s 660
      2⤵
      • Program crash
      PID:1988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3016 -s 904
      2⤵
      • Program crash
      PID:216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3016 -s 900
      2⤵
      • Program crash
      PID:4392
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3016 -ip 3016
    1⤵
      PID:5040
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3016 -ip 3016
      1⤵
        PID:720
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 3016 -ip 3016
        1⤵
          PID:2032

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          14.7MB

          MD5

          e83ca4934f24ed97168e1e467ed6f89f

          SHA1

          956b4d7ca7e39754946d996ceee1f054dcfd082c

          SHA256

          c47b71fd3eb24a349b3adc95fef3b26cc8caf24a60bd3d74d520e9a8f118207c

          SHA512

          93a48cf155c507cc6630c2f3fd36356e9684ac389964a38209731a85385ce97307ed6c1feb3388a4b5b876bf81644f8f7d5be4ea21afbac19346373cde0c2897

        • memory/3016-14-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/3016-12-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/3016-13-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/3016-20-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

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

          Filesize

          84KB

        • memory/3264-2-0x0000000000580000-0x0000000000593000-memory.dmp

          Filesize

          76KB

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

          Filesize

          84KB

        • memory/3264-9-0x0000000000580000-0x0000000000593000-memory.dmp

          Filesize

          76KB

        • memory/3264-8-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/3264-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

          Filesize

          1024KB

        • memory/4584-15-0x0000000000380000-0x0000000000395000-memory.dmp

          Filesize

          84KB

        • memory/4584-18-0x0000000000380000-0x0000000000395000-memory.dmp

          Filesize

          84KB

        • memory/4584-19-0x0000000000380000-0x0000000000395000-memory.dmp

          Filesize

          84KB