Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-02-2025 08:24

General

  • Target

    2025-02-04_3b3e47c718feee8079f0b1eb167cd8b2_mafia.exe

  • Size

    14.8MB

  • MD5

    3b3e47c718feee8079f0b1eb167cd8b2

  • SHA1

    82199d7c5cec2e47bf5bc7932792c93fd527305b

  • SHA256

    06483d8df208005b714f31bd57857723fd97af19eda196f60895a39f8244fd95

  • SHA512

    442b9fecb4ee97d9d06b42d1a2937ae5cdeb98ff7d473bfe8bef3abcb73572aa6611377012aa3b173f0b9939299fe634450ad2e63642c8fd248131e8d43e33ad

  • SSDEEP

    24576:+pomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttX:Soo

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-04_3b3e47c718feee8079f0b1eb167cd8b2_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_3b3e47c718feee8079f0b1eb167cd8b2_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\evfflev\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xvefokzv.exe" C:\Windows\SysWOW64\evfflev\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create evfflev binPath= "C:\Windows\SysWOW64\evfflev\xvefokzv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_3b3e47c718feee8079f0b1eb167cd8b2_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description evfflev "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start evfflev
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4136
    • 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:4420
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4956 -s 1044
      2⤵
      • Program crash
      PID:2800
  • C:\Windows\SysWOW64\evfflev\xvefokzv.exe
    C:\Windows\SysWOW64\evfflev\xvefokzv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_3b3e47c718feee8079f0b1eb167cd8b2_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3592
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3484
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3592 -s 508
      2⤵
      • Program crash
      PID:3512
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4956 -ip 4956
    1⤵
      PID:2020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3592 -ip 3592
      1⤵
        PID:4680

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        6176109d72ceafe7a8abe3cc955b1a37

        SHA1

        5a227835461cfeb74919ceaa3f26cc69adc8c5d5

        SHA256

        6a10eea3fa22dd27ed28b3b8e5de390edd68e4b38440ed8559d0d0b16156f46f

        SHA512

        5ee3cfba2424ea31738190058392daefdf119090f97245e010d2f6f0ca8e6b8989e4a5a64641411cc82f3f350f41b9ad3f40cb4600659db1a7756d3ecf7bec50

      • memory/3484-14-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/3484-17-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/3484-16-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3592-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4956-8-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/4956-1-0x0000000000490000-0x0000000000590000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4956-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB