Analysis

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

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

General

  • Target

    2025-01-28_22e3c237d361b3e4fa05ebbd045f0c12_mafia.exe

  • Size

    11.5MB

  • MD5

    22e3c237d361b3e4fa05ebbd045f0c12

  • SHA1

    74501e3cd15f8a34d1ebe61d2343bce6c85ddf87

  • SHA256

    4363360eba9bacce9d9e19e369cc7c8e872dae2289150471823514c137342f07

  • SHA512

    aca3ae1830be51e36a02b6438765eb141ad3148176f0fce91cb3f31d45082d60db1bcd40118bfced670d0e605857c6d98626e76d64d8051e756c36077244a314

  • SSDEEP

    6144:jLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQu:YTYe+D2jFu+iZoUFhAz7

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_22e3c237d361b3e4fa05ebbd045f0c12_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_22e3c237d361b3e4fa05ebbd045f0c12_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1800
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bgsmcquu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sbvasrmi.exe" C:\Windows\SysWOW64\bgsmcquu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bgsmcquu binPath= "C:\Windows\SysWOW64\bgsmcquu\sbvasrmi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_22e3c237d361b3e4fa05ebbd045f0c12_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2240
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bgsmcquu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bgsmcquu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2832
    • 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:2736
  • C:\Windows\SysWOW64\bgsmcquu\sbvasrmi.exe
    C:\Windows\SysWOW64\bgsmcquu\sbvasrmi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_22e3c237d361b3e4fa05ebbd045f0c12_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3024
    • 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:2892

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    4b700ce6c55fc1f0674687b0dfc35c57

    SHA1

    22e994657adbf0668ba06d8b5901be8862be8829

    SHA256

    227d01b0298b5934d9cb247c99b087bb785ee75749520c6a95f4ad1dbc0baf7f

    SHA512

    b90e5fac1ce875f7f81764dd381e7f846d2420c8bd249ef316f52d8b6ab91c3b618460529279e99569f9264ca3299ff69925ad9497440719b0065581461212d2

  • memory/1800-3-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/1800-1-0x0000000000910000-0x0000000000A10000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/1800-8-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2892-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2892-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2892-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2892-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/3024-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB