Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 16:45

General

  • Target

    2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe

  • Size

    10.8MB

  • MD5

    9fba6bf500f826b16e4dd43e6829feec

  • SHA1

    a6b38df45fb123a59ed0783030b33726c4ee74de

  • SHA256

    d0f978d82cbf058a5b7e9a21adfc71163c858079f27a0d3309562fe8079aea1b

  • SHA512

    7d477aceb07682037c2e5c99c96ada856dcfa41efe2271b214e2f93f87ef64ebaf7c05dcc34a7e8c3065541558e5231068c7284674c531c7689d04274ac9b9b5

  • SSDEEP

    24576:E6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:pWdLQk

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-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkncicog\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kxjgzmrb.exe" C:\Windows\SysWOW64\hkncicog\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hkncicog binPath= "C:\Windows\SysWOW64\hkncicog\kxjgzmrb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hkncicog "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hkncicog
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:876
    • 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:392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 400 -s 576
      2⤵
      • Program crash
      PID:2636
  • C:\Windows\SysWOW64\hkncicog\kxjgzmrb.exe
    C:\Windows\SysWOW64\hkncicog\kxjgzmrb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1296
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3992 -s 508
      2⤵
      • Program crash
      PID:972
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 400 -ip 400
    1⤵
      PID:4456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 3992 -ip 3992
      1⤵
        PID:3592

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        6777fc4d44bfb7ecab53aec7d3db0e48

        SHA1

        388a3c00331e5119861dba268cefa1e4a160e911

        SHA256

        49682dfdaaae026720ac90e7a9017b2c05b6027a3d15a540342a8e26d6563e34

        SHA512

        7dce01e80e22adeadc175d45969a5f99e9a4682b729a4716467d9c1dd5fc19ebbe7c5a977d0cb1f9b5c6bccd28b7490755e4565172677dc9fa09aed266b71321

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/400-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/400-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

      • memory/1296-14-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/1296-16-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/1296-17-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/3992-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3992-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3992-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3992-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB