Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-01-2025 23:21

General

  • Target

    2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe

  • Size

    13.6MB

  • MD5

    de2d2486fa030da748bd90749b55beea

  • SHA1

    d439a2be1ec1b9aa7b21c37c0bf79d41c7e82794

  • SHA256

    63137cdddc2ff91ad9e6cb6a984f4f7c603d9ba3d9a8d53a84ef480beb8d806d

  • SHA512

    acf15f48ace4f71173ec7a03a6e80103eefed529709e6144cc0ce3f58b3ed7e601744e1af6bb27e235d9d53d69ca55cf60a6fbb2f37121bcf5442fc6d50173e9

  • SSDEEP

    24576:upomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttf:Coo

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\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hfljetff\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vxsyreo.exe" C:\Windows\SysWOW64\hfljetff\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hfljetff binPath= "C:\Windows\SysWOW64\hfljetff\vxsyreo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hfljetff "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hfljetff
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5080
    • 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:4628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3544 -s 1244
      2⤵
      • Program crash
      PID:772
  • C:\Windows\SysWOW64\hfljetff\vxsyreo.exe
    C:\Windows\SysWOW64\hfljetff\vxsyreo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_de2d2486fa030da748bd90749b55beea_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2308 -s 508
      2⤵
      • Program crash
      PID:5040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3544 -ip 3544
    1⤵
      PID:452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2308 -ip 2308
      1⤵
        PID:1432

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        183288740a5fd17250e583ed876a7fbc

        SHA1

        229f1fe6473392a73d9c0f7ad7ed25bf5534d0d4

        SHA256

        75e88e22172caa443ecdaef06a7cf50e6f26fe433a0d5c8db8695e942a12c694

        SHA512

        a93c36b360abe8ccdd870c79882cf01b062c63ca994534e5592b25d899f88b0e11e5f818df5d97f2cf794cee15c972f562c8aeeac405ac3e0dca1603d2268cfa

      • memory/804-14-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/804-17-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/804-16-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/3544-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/3544-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3544-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB