Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2025 15:57

General

  • Target

    2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe

  • Size

    13.8MB

  • MD5

    99fd259d8dba4646c7b263555322f4ae

  • SHA1

    59d0249f0244270dae1959de2b71e253f2c1a6a4

  • SHA256

    1731a77436c24217e5be57d93cb9e3354e5e38d005cf2202e6a1048da303ffc1

  • SHA512

    56e1dccee2cdd5ce7737f8942b367a6b1f75adb87da49938e08e7c331d0639bb81eb96fd752927cb57102c179234d0f69754c009c2f00084a0e7fdc9eee88d28

  • SSDEEP

    393216:hXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXC:k

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-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wslvedij\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4612
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tksqavcq.exe" C:\Windows\SysWOW64\wslvedij\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wslvedij binPath= "C:\Windows\SysWOW64\wslvedij\tksqavcq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wslvedij "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wslvedij
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:64
    • 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:3836
  • C:\Windows\SysWOW64\wslvedij\tksqavcq.exe
    C:\Windows\SysWOW64\wslvedij\tksqavcq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_99fd259d8dba4646c7b263555322f4ae_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5028
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3984

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    e1fd400ae4b97ebf1851ed6f7baf790c

    SHA1

    780527b1d8b7b6f12c93ea105dbd0ff061faee35

    SHA256

    c3feae91cbd3153423ae92457907ac8c7868de00950e15d01c938f117294c4da

    SHA512

    e3b9e41183ce6bb70754b3b680681c972c81eac377b0044d96bc5618aa94d869ee052b03274d6e4dc15b20af5e3c777598cf6fbdb41cb860fc0958f3794389a0

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

    Filesize

    372KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1172-8-0x0000000000610000-0x0000000000623000-memory.dmp

    Filesize

    76KB

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

    Filesize

    1024KB

  • memory/3984-13-0x0000000000D20000-0x0000000000D35000-memory.dmp

    Filesize

    84KB

  • memory/3984-15-0x0000000000D20000-0x0000000000D35000-memory.dmp

    Filesize

    84KB

  • memory/3984-17-0x0000000000D20000-0x0000000000D35000-memory.dmp

    Filesize

    84KB

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

    Filesize

    372KB

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

    Filesize

    372KB

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

    Filesize

    372KB