Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 20:10

General

  • Target

    2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe

  • Size

    11.5MB

  • MD5

    91db8558eace068815dcf94fe9d7120d

  • SHA1

    b74cc681cce044dca82a8c87fa5fee2f56a1157c

  • SHA256

    7cdc6699ebba552973ec083185ad2f4fdb9b7c3917cc459f5e9013ca62a5b813

  • SHA512

    2f2579188eebb85eea26334b8c1eb0ecc581846c61faeccf0e2132e4ad93627f423abf92dacfb16047c0a74535a09468582ba8563958a99e28d768365711d858

  • SSDEEP

    3072:mLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/T:POMdRQr7OB0ypmMXnl8XEPM3noSWOCa

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-30_91db8558eace068815dcf94fe9d7120d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bomisejo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hguwkhia.exe" C:\Windows\SysWOW64\bomisejo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bomisejo binPath= "C:\Windows\SysWOW64\bomisejo\hguwkhia.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bomisejo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bomisejo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1452
    • 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:2220
  • C:\Windows\SysWOW64\bomisejo\hguwkhia.exe
    C:\Windows\SysWOW64\bomisejo\hguwkhia.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_91db8558eace068815dcf94fe9d7120d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2272
    • 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:2192

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    16122de0a8d01fcbe5d965c78064a877

    SHA1

    04672242730c98c9bfb5bb75006925ea36c8dc96

    SHA256

    6f09068493e8b833ea283414d0e3db1f8a00f0de6531e2dfa2a51a2e4ceff7d8

    SHA512

    0ec9e8a400d9ed537516767eb374d52351d657482690cbcae1fc7ffec00a7b3d23660c8c5eb327fe8c09fff2209fd100d16548b23dcc0e242ba62a82276558c2

  • memory/2192-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2192-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2192-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2192-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2272-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    312KB

  • memory/2420-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB