Analysis

  • max time kernel
    144s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    22-01-2025 18:55

General

  • Target

    2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe

  • Size

    10.0MB

  • MD5

    1d54c12a9503ee4fa9aa8668242e5253

  • SHA1

    625447266002c99f738b70e35bd0c2b7611cf774

  • SHA256

    cbefeb75259fe71eee3e53e4e698f9b65443e5975571905de5e6ef239d877b0d

  • SHA512

    bffa38584f7ee0193b029c73d450cc39e1ad3bbb04f1806fbe819db2f8ddb8a37e69c31f07de9a1e5e1c1e8d87a46d8464c0dc94ac61eae733743fa3d9d6382a

  • SSDEEP

    6144:qLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:LTYe+D2jFu+iZoUFhAz

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\boaujcuw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgmgvgrx.exe" C:\Windows\SysWOW64\boaujcuw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create boaujcuw binPath= "C:\Windows\SysWOW64\boaujcuw\dgmgvgrx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description boaujcuw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start boaujcuw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2624
    • 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:2592
  • C:\Windows\SysWOW64\boaujcuw\dgmgvgrx.exe
    C:\Windows\SysWOW64\boaujcuw\dgmgvgrx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_1d54c12a9503ee4fa9aa8668242e5253_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2576
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:376

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.9MB

    MD5

    912c1dae45e7db0d5261b748d9c5bcb0

    SHA1

    1f0c9a788abb66e516820b2ba3293e21cafaf8db

    SHA256

    e011e16fb9e3f6f6334dfea2072bf5d9dbc1e37ebd683e580025baf5bf11719a

    SHA512

    a2b5aefba591293da7fbabcbe66e06daca0ddd1bde106c3998e0ec8dba9de0933f857a869f5e09d316e159f88f90f3f8403c5e0aeda8e15d5f0ff95962bb4b61

  • memory/376-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/376-11-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

  • memory/376-14-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

  • memory/376-16-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

  • memory/376-18-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

  • memory/2576-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/2680-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2680-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2680-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2680-1-0x0000000000660000-0x0000000000760000-memory.dmp

    Filesize

    1024KB