Analysis

  • max time kernel
    142s
  • max time network
    131s
  • 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 01:47

General

  • Target

    2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe

  • Size

    12.8MB

  • MD5

    294baf6362d4f49cfe0cea1ed29d6345

  • SHA1

    eec8cc0feeb35395e2defd1d53005501d5c1c53b

  • SHA256

    b4e5b6c2e6a59c349804cf87e5663bbcd50ac96aceaf926526d67398a1610fdb

  • SHA512

    9c111d5b6835c36de1ac4411359df8f042b9c90b0b5b30af076225487b7d373f334fa83f5c05f91023f1b47bb09dc5f5bc2a6dbe372a1c6c1310eff2a3a913bd

  • SSDEEP

    24576:mpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttD:qoo9

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_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\abjbzmgq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lffwhqhj.exe" C:\Windows\SysWOW64\abjbzmgq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create abjbzmgq binPath= "C:\Windows\SysWOW64\abjbzmgq\lffwhqhj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description abjbzmgq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start abjbzmgq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:4044
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3604 -s 1204
      2⤵
      • Program crash
      PID:2888
  • C:\Windows\SysWOW64\abjbzmgq\lffwhqhj.exe
    C:\Windows\SysWOW64\abjbzmgq\lffwhqhj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_294baf6362d4f49cfe0cea1ed29d6345_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:516
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3816 -s 532
      2⤵
      • Program crash
      PID:3836
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3604 -ip 3604
    1⤵
      PID:1040
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3816 -ip 3816
      1⤵
        PID:3676

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        029e430bed788ba67d72e06f2c72ec53

        SHA1

        b3a323c838fb491265c3e09b1c88de5897bd5e59

        SHA256

        0eeb91bd1630fd3304ae8cd0047109303b3eefee709173acaee0558c3934d2da

        SHA512

        9753bc220faa803f7dd4740c36bf99d9b7103a05ea011379b09a87496e66954e2a234db69c1adb75bb4804f66b37e510656a7fe858ba56a4bfb7aa4042ea7820

      • memory/516-14-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/516-17-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/516-16-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3604-8-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3604-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3604-2-0x00000000005B0000-0x00000000005C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB