Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/01/2025, 17:36

General

  • Target

    2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe

  • Size

    12.7MB

  • MD5

    d843097807b69f23d9e9b92c78a6aef6

  • SHA1

    b169759391428e792bf917b88eac0d08a96a2e0d

  • SHA256

    71c8fa2e70bca29e60ee2f1dfcf36248aee5b23025b4aec2ecb20e5954a434d7

  • SHA512

    76fd4d1f5fb81d17e25ae675b29c5f947ab87c6a26250e29ec07bb821ea0310b7ed1d98d90e56da95968aef0fb821aa9632391d1d33ba05c1823331eaa8d0674

  • SSDEEP

    3072:4LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:1OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2720
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lexfqmez\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dcqsgdew.exe" C:\Windows\SysWOW64\lexfqmez\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lexfqmez binPath= "C:\Windows\SysWOW64\lexfqmez\dcqsgdew.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lexfqmez "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lexfqmez
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:796
    • 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:2452
  • C:\Windows\SysWOW64\lexfqmez\dcqsgdew.exe
    C:\Windows\SysWOW64\lexfqmez\dcqsgdew.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_d843097807b69f23d9e9b92c78a6aef6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2584
    • 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:3044

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    8752ea21725d02a08b552e429935a9b0

    SHA1

    f6ccf36c54027ae325824bd47d557450ed991f1e

    SHA256

    a9f1efd49757a648665e18f348e75de9133a423bba18e0cce1cf49f1a7b2f9a0

    SHA512

    b10a27416cce70699733513a36d757623ab77aa3a6e9d5413ff2471d87ec9346529f545d857540fec84995282df2f642b1f470374525a18672788ee706a423a8

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2720-1-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/3044-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/3044-8-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/3044-17-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/3044-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB