Analysis

  • max time kernel
    145s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    18-01-2025 20:07

General

  • Target

    2025-01-18_07a0ffd3d5a3c8615f5beae4d5de6d3d_mafia.exe

  • Size

    14.5MB

  • MD5

    07a0ffd3d5a3c8615f5beae4d5de6d3d

  • SHA1

    7791ee6b4251b2ea873bdfb759380191890211f1

  • SHA256

    9e453cbcf29c18a265e86dd4ba1f615acee786b00c1ad7209c583b7c39e34b58

  • SHA512

    b48d05437b1de7c2007fc491b62210c1a1336cf74c5a80b2b38dfd54c15f3e2e3eb6d5adc944212ded88e74825eafc387fe985469e0d9a882ae6b1567b5f8f26

  • SSDEEP

    6144:HLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQN:sTYe+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-18_07a0ffd3d5a3c8615f5beae4d5de6d3d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_07a0ffd3d5a3c8615f5beae4d5de6d3d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2072
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\unozrop\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bdwhowka.exe" C:\Windows\SysWOW64\unozrop\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create unozrop binPath= "C:\Windows\SysWOW64\unozrop\bdwhowka.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_07a0ffd3d5a3c8615f5beae4d5de6d3d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description unozrop "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start unozrop
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2336
    • 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:2752
  • C:\Windows\SysWOW64\unozrop\bdwhowka.exe
    C:\Windows\SysWOW64\unozrop\bdwhowka.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_07a0ffd3d5a3c8615f5beae4d5de6d3d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • 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:2728

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.8MB

    MD5

    9a29de8ea0e16bea7a1ebbd2d7157824

    SHA1

    bafc8ba30f260e6d074bfb3d92eb69efbaba15af

    SHA256

    252257c8394b3407b3383a6b474127880261852c9d7fbbcf89c2c202c51c4972

    SHA512

    0ceb47c68e61915307f0682d02fc41b4a55bda32b17aa33993369247441b4296d13ea6ed95e9fbf56c03c0ec6fe7d33dfeb8d3b72b8997b8db0e5791709f3eed

  • memory/2072-15-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2072-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2072-1-0x0000000000650000-0x0000000000750000-memory.dmp

    Filesize

    1024KB

  • memory/2072-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2072-13-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2728-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2728-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2728-9-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2728-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2728-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2812-14-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB