Analysis

  • max time kernel
    148s
  • max time network
    134s
  • 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:05

General

  • Target

    2025-02-01_3a111ee619f6a58cdc11ab560fff69d1_mafia.exe

  • Size

    11.7MB

  • MD5

    3a111ee619f6a58cdc11ab560fff69d1

  • SHA1

    0c6e0e60066de6af7270bd69573a0d83a87e2213

  • SHA256

    ef731a26e3d02e193589c3cfd4964d3d37d8c043a7f1d72e35ccfa676d34755f

  • SHA512

    a4069662db0e481f809e64f5f2b92b424910f5e4e17901a65b89e3da3aaf660998f5bbd0368b2fd4d6c4cb283b56f2a7f3597fe4aa17ce82c39ec5f644f29df5

  • SSDEEP

    6144:LLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQt:ATYe+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_3a111ee619f6a58cdc11ab560fff69d1_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_3a111ee619f6a58cdc11ab560fff69d1_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnkmqgaw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgcjazdh.exe" C:\Windows\SysWOW64\hnkmqgaw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hnkmqgaw binPath= "C:\Windows\SysWOW64\hnkmqgaw\pgcjazdh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3a111ee619f6a58cdc11ab560fff69d1_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hnkmqgaw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hnkmqgaw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4108
    • 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:3952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3104 -s 1044
      2⤵
      • Program crash
      PID:3640
  • C:\Windows\SysWOW64\hnkmqgaw\pgcjazdh.exe
    C:\Windows\SysWOW64\hnkmqgaw\pgcjazdh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3a111ee619f6a58cdc11ab560fff69d1_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2140
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4324
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2140 -s 512
      2⤵
      • Program crash
      PID:3112
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3104 -ip 3104
    1⤵
      PID:1828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2140 -ip 2140
      1⤵
        PID:4852

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        99a86586ce92357554b176ac1613f8d9

        SHA1

        dd45e53e86738f93dd81633d64a47ec513258faf

        SHA256

        b7926cf92364746b29b6baac37d1c473e3f7166c6c126f0a6dd7fd16e267c0ee

        SHA512

        cdd656f75e80f41fd4e5075d30a13b92e71786cb2e89065802f2cf37db0c3ac9ce0e9ca2b3ea0d3dbbb783c2821169276d5dfe1f0c2d7880efb90e4c5d86a6f7

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/3104-14-0x00000000004D0000-0x00000000005D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3104-2-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

      • memory/3104-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

        Filesize

        1024KB

      • memory/3104-19-0x0000000000610000-0x0000000000623000-memory.dmp

        Filesize

        76KB

      • memory/3104-20-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3104-18-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4324-11-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/4324-15-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/4324-21-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/4324-22-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB

      • memory/4324-23-0x0000000001230000-0x0000000001245000-memory.dmp

        Filesize

        84KB