Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2025 07:08

General

  • Target

    2025-02-07_d4ec3634c7d5a71e8e5816b1fd27349c_mafia.exe

  • Size

    10.2MB

  • MD5

    d4ec3634c7d5a71e8e5816b1fd27349c

  • SHA1

    90d137528a3584f4080791272330d1e14bf51dda

  • SHA256

    daec8a2bb21e419eecbe4658a54e09c41cc6860232802781b0882975768509b3

  • SHA512

    be323f7247bf0275708fca2a1d2dbe1a9a3687d9432b93130e396a64f23864fd5b05afdcd3364602b311c3a068914b8e84c298144abfaa76bb193315db425993

  • SSDEEP

    24576:BpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttX:booV

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-02-07_d4ec3634c7d5a71e8e5816b1fd27349c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_d4ec3634c7d5a71e8e5816b1fd27349c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\haclugex\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ppqbwxvd.exe" C:\Windows\SysWOW64\haclugex\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create haclugex binPath= "C:\Windows\SysWOW64\haclugex\ppqbwxvd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_d4ec3634c7d5a71e8e5816b1fd27349c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description haclugex "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start haclugex
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1096
    • 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:3312
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3420 -s 644
      2⤵
      • Program crash
      PID:224
  • C:\Windows\SysWOW64\haclugex\ppqbwxvd.exe
    C:\Windows\SysWOW64\haclugex\ppqbwxvd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_d4ec3634c7d5a71e8e5816b1fd27349c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4064
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4064 -s 528
      2⤵
      • Program crash
      PID:2568
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3420 -ip 3420
    1⤵
      PID:232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 4064 -ip 4064
      1⤵
        PID:1532

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        31e159053988c1d98e596bbfd99b1134

        SHA1

        dbcfb37683e12aa78750f3163b99d1a694ae32f0

        SHA256

        83a2618de188ece133f8ec42f62ec24cca4926b2e8885e20d3976e753efa8c9e

        SHA512

        2c93dfdef857f261094d288934b68b770a5302200cf94c816725e7792b443433093254f50cb8b462cb474b5a2845f057168386a84f9f31d7ae9d1653387ca5c9

      • memory/436-14-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/436-17-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/436-16-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3420-1-0x0000000000590000-0x0000000000690000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB