Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 20:11

General

  • Target

    2025-02-02_381381242335bd0bee0747b0b1f9b5ab_mafia.exe

  • Size

    12.3MB

  • MD5

    381381242335bd0bee0747b0b1f9b5ab

  • SHA1

    6f5c445fda03ebe6c1d543e0e77e9dea6483d4b1

  • SHA256

    f6447aa548beb265ea43df6c97b9b55d10455908e8c3c6406375a99b84c14f32

  • SHA512

    30d485e0c4ce7edfa8c483bb48ecfed4fdfb7105be2bd190b971d45d40add05a4e6d520b5608334a9638f994261645cfbf532c8e086b7885dc713f6072a6b7ed

  • SSDEEP

    6144:CLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQt:jTYe+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-02_381381242335bd0bee0747b0b1f9b5ab_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_381381242335bd0bee0747b0b1f9b5ab_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4456
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qhrbceak\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fsebuhmw.exe" C:\Windows\SysWOW64\qhrbceak\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qhrbceak binPath= "C:\Windows\SysWOW64\qhrbceak\fsebuhmw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_381381242335bd0bee0747b0b1f9b5ab_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qhrbceak "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2276
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qhrbceak
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1772
    • 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:4072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4456 -s 1036
      2⤵
      • Program crash
      PID:2808
  • C:\Windows\SysWOW64\qhrbceak\fsebuhmw.exe
    C:\Windows\SysWOW64\qhrbceak\fsebuhmw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_381381242335bd0bee0747b0b1f9b5ab_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1168
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1168 -s 508
      2⤵
      • Program crash
      PID:2524
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4456 -ip 4456
    1⤵
      PID:2104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1168 -ip 1168
      1⤵
        PID:2024

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        b330b4527bd0f55f989755e790c55762

        SHA1

        4620108a4102b4698796509624f5f826c22f062a

        SHA256

        fa4f675a21a2c7321b19cf0cc5af8689eb5cbf8965c8ba7c17a34f2413c49b79

        SHA512

        edbd4ac0158a1255ce7a083632c8a00404554b7e1b8de4688a33565690dffc92df9b44dd29f836538102ff0bbb79f8e2eb03fd67f06002249b154a9ec142e514

      • memory/348-10-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/348-13-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/348-21-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/348-20-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/348-19-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/4456-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/4456-17-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

      • memory/4456-2-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB