Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 18:28

General

  • Target

    2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe

  • Size

    13.4MB

  • MD5

    085c0df426a67559b07390c7e519fa04

  • SHA1

    f7461925cf572b1a4e6185878699a1709d5afa90

  • SHA256

    b598f6bd5a40129cc3e11e473dc774d3ad4c5c0ae45850ae4b2a282de7051af3

  • SHA512

    52643632a7adecadcebeaf57e0334da1dc0a61aec3da1b8a95153b63e9edc49a86a3f341a16069e4e79d505f58876bcda9e722e30e4471ce96f2d48b93c67086

  • SSDEEP

    3072:aLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:DOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pbwpfav\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gftvjghz.exe" C:\Windows\SysWOW64\pbwpfav\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pbwpfav binPath= "C:\Windows\SysWOW64\pbwpfav\gftvjghz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pbwpfav "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pbwpfav
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1556
    • 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:2588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4812 -s 796
      2⤵
      • Program crash
      PID:632
  • C:\Windows\SysWOW64\pbwpfav\gftvjghz.exe
    C:\Windows\SysWOW64\pbwpfav\gftvjghz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-25_085c0df426a67559b07390c7e519fa04_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4104
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4104 -s 512
      2⤵
      • Program crash
      PID:1488
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4812 -ip 4812
    1⤵
      PID:2168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4104 -ip 4104
      1⤵
        PID:4164

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        06c60c7147b87a1f50653401bb8cca77

        SHA1

        898fecfbdec37f39c18f2c67de965a65e066c28e

        SHA256

        0a288d303c780de21108f4423e6efff7d0cc74b2806f722c87257db2607b3385

        SHA512

        55703f3fe86ee19e0304c89f3f0e7ccc8a0be342e1fdf7bef5675e898e584c40adfc61eb2205c707eab2465c8fd4a6c32a2bdadadeac6719886d040923eda5fd

      • memory/4104-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4104-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4104-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4104-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4812-8-0x0000000000680000-0x0000000000693000-memory.dmp

        Filesize

        76KB

      • memory/4812-1-0x0000000000720000-0x0000000000820000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4812-2-0x0000000000680000-0x0000000000693000-memory.dmp

        Filesize

        76KB

      • memory/4860-14-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/4860-16-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/4860-19-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB