Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 05:55

General

  • Target

    2025-01-31_b4225293c2f943563c10072c131c3b29_mafia.exe

  • Size

    12.3MB

  • MD5

    b4225293c2f943563c10072c131c3b29

  • SHA1

    5000ce755f6a7ca77cfc63cc623a66d600d0633f

  • SHA256

    0406050c5a7682f4f7ff1f2ef234b7845e20b523678902da08aa3e30b4bd37b9

  • SHA512

    12158bf3299a445b375274c04fb9b47c46445885775f86a739279ae98797cc2029f9c56308984b098f5060096e1c956309d159c845c8cd20c495a24247e32fa8

  • SSDEEP

    393216:5XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXf:9

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-31_b4225293c2f943563c10072c131c3b29_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_b4225293c2f943563c10072c131c3b29_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\drtbpspx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1592
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jddufofh.exe" C:\Windows\SysWOW64\drtbpspx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create drtbpspx binPath= "C:\Windows\SysWOW64\drtbpspx\jddufofh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_b4225293c2f943563c10072c131c3b29_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3152
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description drtbpspx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start drtbpspx
      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:2348
  • C:\Windows\SysWOW64\drtbpspx\jddufofh.exe
    C:\Windows\SysWOW64\drtbpspx\jddufofh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_b4225293c2f943563c10072c131c3b29_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2628

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    4d29ca94627d90886d4b8eadf6d2fca8

    SHA1

    c96bea582dd8bb227dd29567ae019d8c7671e0b7

    SHA256

    8692b6bf828596c47f20d3eead9f49273ceb8e3998225ecb68ff5ba3a2e4ec73

    SHA512

    723b40942e0409c56cee7906bed02222eb064a4ec394f41e5ea9ba7e118612da9db6c1699474fb414f8b12dfc0a2fff8ccaae19d2e6c32879e29bba4ebb4eab5

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

    Filesize

    372KB

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

    Filesize

    372KB

  • memory/2628-15-0x00000000005C0000-0x00000000005D5000-memory.dmp

    Filesize

    84KB

  • memory/2628-12-0x00000000005C0000-0x00000000005D5000-memory.dmp

    Filesize

    84KB

  • memory/2628-16-0x00000000005C0000-0x00000000005D5000-memory.dmp

    Filesize

    84KB

  • memory/2628-19-0x00000000005C0000-0x00000000005D5000-memory.dmp

    Filesize

    84KB

  • memory/2628-20-0x00000000005C0000-0x00000000005D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4916-8-0x00000000004A0000-0x00000000004B3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/4916-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB