Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-01-2025 23:30

General

  • Target

    2025-01-21_e64a3663c52fa61452d7103dcbb5e63e_mafia.exe

  • Size

    10.3MB

  • MD5

    e64a3663c52fa61452d7103dcbb5e63e

  • SHA1

    9c00f567f066441207e129554ddeb126750db094

  • SHA256

    be6031c4de531027b645eed3b6cfd28a1504644e6693093cb762b7969fee1d18

  • SHA512

    75e54f96d811fe949b3a198baf78e59bcbd9b4a0bb2c0348465c1da2cd22677eacca79a57dbde8c7fef212836106625a1451941fce2299c4c61c4140687bd993

  • SSDEEP

    196608:6yXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:vXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn

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.

  • 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-21_e64a3663c52fa61452d7103dcbb5e63e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_e64a3663c52fa61452d7103dcbb5e63e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lpcwegdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jfxxujiw.exe" C:\Windows\SysWOW64\lpcwegdk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lpcwegdk binPath= "C:\Windows\SysWOW64\lpcwegdk\jfxxujiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_e64a3663c52fa61452d7103dcbb5e63e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lpcwegdk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lpcwegdk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4844
    • 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:2096
  • C:\Windows\SysWOW64\lpcwegdk\jfxxujiw.exe
    C:\Windows\SysWOW64\lpcwegdk\jfxxujiw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_e64a3663c52fa61452d7103dcbb5e63e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:968
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3684

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.6MB

    MD5

    f459bea29e6b053f0579414f1567e7f5

    SHA1

    b3c21498ac4bf3e3f92b5b9b8e46abf8d0f8491f

    SHA256

    07cd63a39bc7e39cc04f8ae3833efba10b921cf741fd1b73ab2fbdd2499a639d

    SHA512

    40ad31fc9bb62d32b61f9dda1efce44d4194c3c23edfc6bc33798a65f4cfc77015f1b2bfbc660d310d3cbcf8cde9ac6c7fffca02a8db1bb3202dfcb64251f66b

  • memory/968-14-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/968-10-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/968-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/968-9-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2304-18-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2304-19-0x00000000004A0000-0x00000000004B3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2304-2-0x00000000004A0000-0x00000000004B3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2304-1-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

  • memory/2304-16-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

  • memory/3684-11-0x0000000000B60000-0x0000000000B75000-memory.dmp

    Filesize

    84KB

  • memory/3684-17-0x0000000000B60000-0x0000000000B75000-memory.dmp

    Filesize

    84KB

  • memory/3684-21-0x0000000000B60000-0x0000000000B75000-memory.dmp

    Filesize

    84KB

  • memory/3684-22-0x0000000000B60000-0x0000000000B75000-memory.dmp

    Filesize

    84KB

  • memory/3684-23-0x0000000000B60000-0x0000000000B75000-memory.dmp

    Filesize

    84KB