Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    24-01-2025 19:08

General

  • Target

    2025-01-24_c1bbb3b802fdd40c32cb724994c93060_mafia.exe

  • Size

    11.7MB

  • MD5

    c1bbb3b802fdd40c32cb724994c93060

  • SHA1

    c5f821e8af30e2ce7b3686418f2702e15b162fcd

  • SHA256

    cbbb1a2b296e453e20156852f098abbf68eab45d34f70e7c9145b9aa6670dc03

  • SHA512

    adc8cc1a8cfc733b163def58ac32a3833210c2828f47bbce0eea7f62103f4f71b38432bd530afa4937d56cc96b205cd811f749abdd381eaf03af153507ed4755

  • SSDEEP

    24576:zEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:gfot

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-24_c1bbb3b802fdd40c32cb724994c93060_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_c1bbb3b802fdd40c32cb724994c93060_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cfzmaphx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kxjgzmrb.exe" C:\Windows\SysWOW64\cfzmaphx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cfzmaphx binPath= "C:\Windows\SysWOW64\cfzmaphx\kxjgzmrb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_c1bbb3b802fdd40c32cb724994c93060_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cfzmaphx "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 cfzmaphx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2216
    • 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:2844
  • C:\Windows\SysWOW64\cfzmaphx\kxjgzmrb.exe
    C:\Windows\SysWOW64\cfzmaphx\kxjgzmrb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_c1bbb3b802fdd40c32cb724994c93060_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2768
    • 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:3012

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    dab1ee9bf18d25cf6fe03b0f9eb1b763

    SHA1

    2653ac1859b8bafe1e4f2afc3b4b20f498f8672b

    SHA256

    3df50ac8cba7bac12f9e752f09e515c6aa101b9553fd187c8b51b3befb7309b7

    SHA512

    00e5bab90d919acdb4ac372a8cb2ed31ed5c3b9896fdf204e7973f74b5645fca3f75766d92c33edca4629bdd8a8fa3629af0ce7cfee5afcd3af5c7f1e14c837f

  • memory/2016-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2016-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2016-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

  • memory/2768-16-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/3012-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/3012-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB