Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 19:58

General

  • Target

    2025-02-01_0e4cf35ce4e14fa62e86c323da9aa4ca_mafia.exe

  • Size

    15.0MB

  • MD5

    0e4cf35ce4e14fa62e86c323da9aa4ca

  • SHA1

    2f61f468f6adf7d5849b7635d125a6fd2c4fbb0a

  • SHA256

    a34fc505581c9d2d8792539af0035776ff2010b061560cc5551844cd927d2733

  • SHA512

    a48d0311381a78ced1dd0c5d1548d83b51d3caa42564124a8bab2c07e3c75ce0c90c50207df4d4a4454138ac4197cb2f3fc5f8f4c36ec47763630edfc7b7e780

  • SSDEEP

    24576:NEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZh:2fot

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-01_0e4cf35ce4e14fa62e86c323da9aa4ca_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_0e4cf35ce4e14fa62e86c323da9aa4ca_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xystefnw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tbquhfoo.exe" C:\Windows\SysWOW64\xystefnw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xystefnw binPath= "C:\Windows\SysWOW64\xystefnw\tbquhfoo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_0e4cf35ce4e14fa62e86c323da9aa4ca_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3656
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xystefnw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xystefnw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1640
    • 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:4736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1944 -s 1304
      2⤵
      • Program crash
      PID:760
  • C:\Windows\SysWOW64\xystefnw\tbquhfoo.exe
    C:\Windows\SysWOW64\xystefnw\tbquhfoo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_0e4cf35ce4e14fa62e86c323da9aa4ca_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4884
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2280
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4884 -s 516
      2⤵
      • Program crash
      PID:1488
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 1944 -ip 1944
    1⤵
      PID:1052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4884 -ip 4884
      1⤵
        PID:1988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        e83dacde4087c1e3cc20420b916fb7a5

        SHA1

        a3e119abfd69da39b608ac206cd773640cdf5481

        SHA256

        903eb85acd8c2d8c86313f158831da95ccc56c473a06c4ec5e5bdb76a9f29cd8

        SHA512

        bbe5b2f1227efaaf53006e9ea399bf5e4313a87c99fa5a37eb092e94e8b7ff71fb047047e25b8348d1b6ffd1a3e06a53dd8c70eb15750f118cfce10d3003a28b

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1944-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1944-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

      • memory/1944-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB

      • memory/2280-14-0x0000000000940000-0x0000000000955000-memory.dmp

        Filesize

        84KB

      • memory/2280-16-0x0000000000940000-0x0000000000955000-memory.dmp

        Filesize

        84KB

      • memory/2280-18-0x0000000000940000-0x0000000000955000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB