Analysis

  • max time kernel
    145s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    28/01/2025, 09:48

General

  • Target

    2025-01-28_55b2bf14613a4eaba102c56e35b48354_mafia.exe

  • Size

    11.9MB

  • MD5

    55b2bf14613a4eaba102c56e35b48354

  • SHA1

    40e400f46bdc4dab10f8e8c98af32ffa8fab298e

  • SHA256

    65746616ce1a98e6c66240aed7eafafc1b00d11b8abbee7dc6adcc8d36d8aebf

  • SHA512

    ea8882e8bf71935d65c5313ebad2ae2a8cb48dd32c5b816bf622879c7b33aa391f93eadf8d02113e2d6feba8d1cb9572c24c2170f08bffc291537b650385576f

  • SSDEEP

    3072:HLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/G:eOMdRQr7OB0ypmMXnl8XEPM3noSWOCf

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_55b2bf14613a4eaba102c56e35b48354_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_55b2bf14613a4eaba102c56e35b48354_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\scdndlsl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ypxvfahv.exe" C:\Windows\SysWOW64\scdndlsl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create scdndlsl binPath= "C:\Windows\SysWOW64\scdndlsl\ypxvfahv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_55b2bf14613a4eaba102c56e35b48354_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description scdndlsl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start scdndlsl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2844
    • 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:2760
  • C:\Windows\SysWOW64\scdndlsl\ypxvfahv.exe
    C:\Windows\SysWOW64\scdndlsl\ypxvfahv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_55b2bf14613a4eaba102c56e35b48354_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3036
    • 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:2660

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    5f287648d2712dad7b0cbf43367b0ca0

    SHA1

    7b03107720cfeca375197ff6fa5404dd62442a53

    SHA256

    a011dfbeeb84807536db1fcbbb3ddbebfde4397de8e9532130e8d1cee0240ebe

    SHA512

    a2b9279fb0e63b209e912ff850cfa718b36e697d8805224bac076d80ca6347f247c5c21a8b1388174ad1ec4a75cdd157425f9017256c10c7fdc78a6c6cdd3ce3

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    312KB

  • memory/1992-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1992-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2660-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    312KB