Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/01/2025, 17:43

General

  • Target

    2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe

  • Size

    12.8MB

  • MD5

    b8cbe229db5f5116bb60fa4475e58ea8

  • SHA1

    3fcce4344791f791ba62199ad71297387936f038

  • SHA256

    2923852431766d3da326baf4bffac6a92a0092e87be7f0f451e4633cb755626b

  • SHA512

    6fc0df22623afd501ca73b07790a2bb8f92e700294ba9a9aa6e119a9597596d2a7d10dc28fe650eedc718f118810fd15c349068fe78d95847dfa014b1120ec82

  • SSDEEP

    24576:NEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:2fot

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-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3648
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pgehxlo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lngryguk.exe" C:\Windows\SysWOW64\pgehxlo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pgehxlo binPath= "C:\Windows\SysWOW64\pgehxlo\lngryguk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pgehxlo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pgehxlo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4456
    • 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:2904
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3648 -s 1044
      2⤵
      • Program crash
      PID:3004
  • C:\Windows\SysWOW64\pgehxlo\lngryguk.exe
    C:\Windows\SysWOW64\pgehxlo\lngryguk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_b8cbe229db5f5116bb60fa4475e58ea8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4356
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4356 -s 544
      2⤵
      • Program crash
      PID:3012
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3648 -ip 3648
    1⤵
      PID:2428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 4356 -ip 4356
      1⤵
        PID:4868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        9fdfe9888a658a5c32023f56eb4a1daf

        SHA1

        c35594f8fa42629e33c74c5a7a52ea5224d98ffc

        SHA256

        2c1daf4538b0fce4b51d1110d91ad7f24f900fe91d93f5d166c9e00ca4236faf

        SHA512

        c63fd406f45d1b5d9b9caeecc17b0877eba1f5450327c207a526de7204818fa07498bee684633bfe95ddb13cddde62e8376d79915dfcc5abc73a188066748249

      • memory/1380-14-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/1380-17-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/1380-16-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/3648-8-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3648-1-0x0000000000580000-0x0000000000680000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3648-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB