Analysis

  • max time kernel
    144s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    28-01-2025 03:46

General

  • Target

    2025-01-28_fc4780bcbdfc6c2af8855c1d4256fa02_mafia.exe

  • Size

    14.5MB

  • MD5

    fc4780bcbdfc6c2af8855c1d4256fa02

  • SHA1

    b4d3d9a16f3fd3e100ccd85f71099c050125878a

  • SHA256

    db08141ddd392be7ed45555340b8e28c39b642e45b8ab1c6ffecb42712ebcbe5

  • SHA512

    106753adefdeaa633c7d825d77d5096ea276d4501eedb99bc784aebb5dc8cf7b141a051abaf9c2bc47019d61c617d6d5e3a8cff43b3076d0b5225de0c213bc5b

  • SSDEEP

    24576:i6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ:rWdLQk

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-28_fc4780bcbdfc6c2af8855c1d4256fa02_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_fc4780bcbdfc6c2af8855c1d4256fa02_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cqfmjjot\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gxtarquy.exe" C:\Windows\SysWOW64\cqfmjjot\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cqfmjjot binPath= "C:\Windows\SysWOW64\cqfmjjot\gxtarquy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_fc4780bcbdfc6c2af8855c1d4256fa02_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cqfmjjot "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cqfmjjot
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2672
    • 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:2536
  • C:\Windows\SysWOW64\cqfmjjot\gxtarquy.exe
    C:\Windows\SysWOW64\cqfmjjot\gxtarquy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_fc4780bcbdfc6c2af8855c1d4256fa02_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1656
    • 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:2584

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    7030f197d93a77d8facb6495dea0b4ff

    SHA1

    d36a439c355be067d2fa4833c06eaf6399052c98

    SHA256

    02d784f14e8e39133ba910c31a09cd3ca2093d00b1cbdb7e7fc283c93c2b735b

    SHA512

    1718f6399bec92b148a08f4b2b1758463f869e55f5976e700198ce1ae10aea1009ddb04ebb01ff37d4de24b280bbdd9861e05606096e20ccfdaf5ea1e9093029

  • memory/1656-18-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2224-8-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

  • memory/2224-10-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    1024KB

  • memory/2224-3-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2584-12-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2584-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2584-15-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2584-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2584-19-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB