Analysis

  • max time kernel
    140s
  • max time network
    131s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-09-2024 00:54

General

  • Target

    2024-09-21_3d142e9d5a6433822df80d30a7a57357_mafia.exe

  • Size

    11.2MB

  • MD5

    3d142e9d5a6433822df80d30a7a57357

  • SHA1

    b6934545343f53c081d191a903db1f4809f03ade

  • SHA256

    bb320fd8ce9b6b27201b8065281e0ad329e88519675ea7b7601cc64c5ce1c169

  • SHA512

    9e58263c33e372760fd542e75c0bbddd7c1c5463dd03f820e8a3708946cf033d2a359faff69b13d106a5a7959cd376af8ce7ae6b5e76b0d46c99ec3f55d46461

  • SSDEEP

    12288:AVbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBZ:AJzXd

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.

  • 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.

  • 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\2024-09-21_3d142e9d5a6433822df80d30a7a57357_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-21_3d142e9d5a6433822df80d30a7a57357_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pispjrai\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fwszqptx.exe" C:\Windows\SysWOW64\pispjrai\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pispjrai binPath= "C:\Windows\SysWOW64\pispjrai\fwszqptx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_3d142e9d5a6433822df80d30a7a57357_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pispjrai "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pispjrai
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5008
    • 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:3168
  • C:\Windows\SysWOW64\pispjrai\fwszqptx.exe
    C:\Windows\SysWOW64\pispjrai\fwszqptx.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_3d142e9d5a6433822df80d30a7a57357_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:920
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4872

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.8MB

    MD5

    56b2b9c3203711efe7c539d73a33fe48

    SHA1

    6699c547594c33756c320d07341a54739f08559c

    SHA256

    4a5d79d61886eee7056d67cf46ea740da844e92e6c323cd81fdc0b3e2d3143d0

    SHA512

    0ba0e984f609e3b3e6f4b315def90f0311d1c336c6bfaee2c748eb20bf2c80aa1d0b2690901ed1df22f65d5624383b8415223bc39dbb66144fad0606d6ed0a96

  • memory/920-13-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/920-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/920-11-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/920-16-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/4496-2-0x00000000021A0000-0x00000000021B3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/4496-8-0x00000000021A0000-0x00000000021B3000-memory.dmp

    Filesize

    76KB

  • memory/4496-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4496-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/4872-14-0x0000000001210000-0x0000000001225000-memory.dmp

    Filesize

    84KB

  • memory/4872-18-0x0000000001210000-0x0000000001225000-memory.dmp

    Filesize

    84KB

  • memory/4872-19-0x0000000001210000-0x0000000001225000-memory.dmp

    Filesize

    84KB