Analysis

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

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

General

  • Target

    2025-02-01_ee418b28ee74423c9f4440db31fd0d04_mafia.exe

  • Size

    10.8MB

  • MD5

    ee418b28ee74423c9f4440db31fd0d04

  • SHA1

    09f2b70b533a938270d42769d3ac5f13db417e73

  • SHA256

    4ee244b88f4cd591d0b492fecf8a70fc0f7fab84244bdeedc2da57d11487462b

  • SHA512

    fefc5deb8a054ec4c056931276bc6e91d0cf7e64d93b5aa46e27d255701b511041e823c10a7a199622e853162e2bc16e8ea78d2bff5e5f5e71de71608a43b659

  • SSDEEP

    6144:qLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ9:LTYe+D2jFu+iZoUFhAz

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-01_ee418b28ee74423c9f4440db31fd0d04_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_ee418b28ee74423c9f4440db31fd0d04_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yzluhbtp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1080
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\clfkcbws.exe" C:\Windows\SysWOW64\yzluhbtp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yzluhbtp binPath= "C:\Windows\SysWOW64\yzluhbtp\clfkcbws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_ee418b28ee74423c9f4440db31fd0d04_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yzluhbtp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yzluhbtp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3564
    • 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:3556
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2376 -s 1044
      2⤵
      • Program crash
      PID:396
  • C:\Windows\SysWOW64\yzluhbtp\clfkcbws.exe
    C:\Windows\SysWOW64\yzluhbtp\clfkcbws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_ee418b28ee74423c9f4440db31fd0d04_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2196
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2196 -s 508
      2⤵
      • Program crash
      PID:2604
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 2376 -ip 2376
    1⤵
      PID:4820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2196 -ip 2196
      1⤵
        PID:4720

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        4c5491b9fee7b71f9ed4eedd1ae70e9f

        SHA1

        1fb82255d4fb203162786104b6b37a34f5d82d91

        SHA256

        5c0a55f3fa3176055dcf13bb6f945dfab19b8385b0112980d3d34363bf07d78f

        SHA512

        c1dc45bf45c24b1f9864d6e5e8220285486d52cdf1bfa9ab2923c61d49e76764fab9fe372c680ff160bd5a22b3fa5767f34e13efade5db1925b9cb1f8dd1b363

      • memory/1528-11-0x00000000006F0000-0x0000000000705000-memory.dmp

        Filesize

        84KB

      • memory/1528-19-0x00000000006F0000-0x0000000000705000-memory.dmp

        Filesize

        84KB

      • memory/1528-18-0x00000000006F0000-0x0000000000705000-memory.dmp

        Filesize

        84KB

      • memory/2196-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2196-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2196-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2196-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2376-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB

      • memory/2376-13-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2376-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2376-14-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2376-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB