Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-01-2025 20:22

General

  • Target

    2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe

  • Size

    10.7MB

  • MD5

    f7e37203241990cb2daf5a06e0ac5b9c

  • SHA1

    5887dc7c0997f274dc130d29a1fbdff2191a958c

  • SHA256

    d322561afeb8e4953a33970d44b4d6df00479d61c6b8eed3cb6be8a7e7ef57e3

  • SHA512

    cc3d27268fbc85c1af01023f3e5071bd01c40235006af28f2eca524108d2099a8195726c820f9facfcf1d562d760a866917e1b53f9a3924bfb0555e6c5b716b4

  • SSDEEP

    6144:fLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:ETYe+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-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fwfaxfle\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\usbclhws.exe" C:\Windows\SysWOW64\fwfaxfle\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fwfaxfle binPath= "C:\Windows\SysWOW64\fwfaxfle\usbclhws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fwfaxfle "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fwfaxfle
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3076
    • 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:4996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4204 -s 660
      2⤵
      • Program crash
      PID:2384
  • C:\Windows\SysWOW64\fwfaxfle\usbclhws.exe
    C:\Windows\SysWOW64\fwfaxfle\usbclhws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_f7e37203241990cb2daf5a06e0ac5b9c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2352
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2352 -s 516
      2⤵
      • Program crash
      PID:1016
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4204 -ip 4204
    1⤵
      PID:536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2352 -ip 2352
      1⤵
        PID:2308

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        63301dbfc6759b6d866338576b0b6258

        SHA1

        a6425f4616768c3a8d2355525abb504fd30ebab0

        SHA256

        f6c381515279637461354da1e085f750a8114d630b8618e2801f0ea46a4b7272

        SHA512

        79cb2044497668b61fe405935850a36d1a6698f6af8bbdb47caf049ec4058506010b7488358419bde48309a6a86b795ce5c873b1f740c1679500dfa88625c9c9

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/2352-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4204-17-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4204-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

      • memory/4204-2-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4204-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4204-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4924-10-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/4924-13-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/4924-19-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/4924-20-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB

      • memory/4924-21-0x0000000000AB0000-0x0000000000AC5000-memory.dmp

        Filesize

        84KB