Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    06-02-2025 16:03

General

  • Target

    2025-02-06_32c66821e0558ef04149cc8ea1831f8b_mafia.exe

  • Size

    11.2MB

  • MD5

    32c66821e0558ef04149cc8ea1831f8b

  • SHA1

    5a2deab06f2ff4e00598abaae742fb200ba7b575

  • SHA256

    c28f10579b997908ea92df48e7b776fe63db26599aaa80c4596de3a6ff0c65f5

  • SHA512

    5feea63e04df19c5ee56a4120a9a48162d4c6482787933808601c8f3f1da3c1ec57a9621697f81acc97a7d138cd27451157f6e91800761d82443ece821575fb4

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/J:POMdRQr7OB0ypmMXnl8XEPM3noSWOC4

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-02-06_32c66821e0558ef04149cc8ea1831f8b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_32c66821e0558ef04149cc8ea1831f8b_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hfxfrxbx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qsntmzj.exe" C:\Windows\SysWOW64\hfxfrxbx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hfxfrxbx binPath= "C:\Windows\SysWOW64\hfxfrxbx\qsntmzj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_32c66821e0558ef04149cc8ea1831f8b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hfxfrxbx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hfxfrxbx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:352
    • 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:2580
  • C:\Windows\SysWOW64\hfxfrxbx\qsntmzj.exe
    C:\Windows\SysWOW64\hfxfrxbx\qsntmzj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_32c66821e0558ef04149cc8ea1831f8b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1796
    • 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:2788

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.6MB

    MD5

    f5d802e358ffa531ee87543d5e06f8c6

    SHA1

    d980d8c1441e434bb3ece19edd1c154b73192556

    SHA256

    85fe6ad420cfe435e8a54b067740e5f0e45696f11426a886a19be8dc15dd7fc3

    SHA512

    44ca40020d378a5dd17009e9348c58686c85c7ec377de21cf90d5653ac27df65a8a4f74b3c429cee4ca2a973b5a69eac366307d98fc2ad2d9d2f68bf7c4f64ec

  • memory/1720-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1720-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1720-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

  • memory/1796-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2788-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB