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
    26-01-2025 18:35

General

  • Target

    2025-01-26_a9c3ea43e06977ad555eb78862b88c6f_mafia.exe

  • Size

    11.5MB

  • MD5

    a9c3ea43e06977ad555eb78862b88c6f

  • SHA1

    708c3d914d5451c0de012dc4278fdce821b7ddc9

  • SHA256

    a7487a3d8d60ef88ef6c8ba1b5b49d453564fc1079c2c5cf8536b6582b5b12f9

  • SHA512

    d668c2bd9caf218997c00de69b1e0d264db188d121f5e1cd5d1770498d267335444c12298c3b3c183c9148b85ac1d163dd4be7b0852349707f44f8de1dbd7ba3

  • SSDEEP

    6144:jLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQw:YTYe+D2jFu+iZoUFhAz

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-26_a9c3ea43e06977ad555eb78862b88c6f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_a9c3ea43e06977ad555eb78862b88c6f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2492
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cghptaqb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pjjaluln.exe" C:\Windows\SysWOW64\cghptaqb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cghptaqb binPath= "C:\Windows\SysWOW64\cghptaqb\pjjaluln.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_a9c3ea43e06977ad555eb78862b88c6f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cghptaqb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cghptaqb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • 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\cghptaqb\pjjaluln.exe
    C:\Windows\SysWOW64\cghptaqb\pjjaluln.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_a9c3ea43e06977ad555eb78862b88c6f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2704
    • 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:2852

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.8MB

    MD5

    cf5154460653fd8eef46bd1eb2df0e82

    SHA1

    fe10a64de229b7711c032bc31b725ded2a05cce1

    SHA256

    f4cb44c8002f1e609ef61eb6e25d26fc4b027ef2c45256161b130eee4a8608e7

    SHA512

    e4fab50a0c4ceffcd2063ed2ee584c0909a560fe618c2716d056ed53529cdcb4287008c9585179fd45873fe0e79c48d6bba5c8b385725b3749a90119cbb1838d

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2492-14-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2492-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2704-13-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB