Analysis

  • max time kernel
    144s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 22:49

General

  • Target

    2025-01-30_4a0296c1f757e1d0a71605e1c227aa1c_mafia.exe

  • Size

    14.5MB

  • MD5

    4a0296c1f757e1d0a71605e1c227aa1c

  • SHA1

    fb1a94d90537e00e3958c819d9fe5a18915d757b

  • SHA256

    380538b3005c68664dababdef5077fa2c5fe0bafa50f67bd8c1ab65068e3591e

  • SHA512

    b6beb3086d778d831c34a95c00a37c58d8eb05ba52facc52c775d56e6f57873d87ad4e81009c06e75fbd432b004cc5b54aad15934b42702c0fc43d0f845efb00

  • SSDEEP

    3072:jLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/d:qOMdRQr7OB0ypmMXnl8XEPM3noSWOCW

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-30_4a0296c1f757e1d0a71605e1c227aa1c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_4a0296c1f757e1d0a71605e1c227aa1c_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ztlewojr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wyrcjrfv.exe" C:\Windows\SysWOW64\ztlewojr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ztlewojr binPath= "C:\Windows\SysWOW64\ztlewojr\wyrcjrfv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_4a0296c1f757e1d0a71605e1c227aa1c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ztlewojr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ztlewojr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2896
    • 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:2228
  • C:\Windows\SysWOW64\ztlewojr\wyrcjrfv.exe
    C:\Windows\SysWOW64\ztlewojr\wyrcjrfv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_4a0296c1f757e1d0a71605e1c227aa1c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2880
    • 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:2808

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.4MB

    MD5

    b38773a5033672905bbb1cdff4002ae4

    SHA1

    81246e4ce7932d693474aff0bb201b8c460e8d19

    SHA256

    e39e0c7df21b0c465b043ec779c46ee14b763b195037f53cd67908163ab5be37

    SHA512

    b74653e7de8a66064dca8122bc967ddfe7f3ab7ad498710c42f52569d292f7f3e37ec717fa0d2a259ba8636ba1fe07fc74e5fb7fa3e0335adca0e1eeb31179ff

  • memory/2628-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

  • memory/2628-3-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2628-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2628-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2628-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2808-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2808-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2808-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2808-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2880-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB