Analysis

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

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

General

  • Target

    2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe

  • Size

    13.0MB

  • MD5

    0e10aea1cfb39b35a3a5b283d31fd5bf

  • SHA1

    0d849c20326f2c9522c60bb8e28afe0d955c5898

  • SHA256

    6750b6fb0c62f8dbb8d2c65aa6149f1a08fc3e0da333449e56d735ad52e7898e

  • SHA512

    3a0e37fe7fd49ff71635cddf0d8514ebe826a9521c45f45c6ec215983c79a83a9bf65dd64547e57a1b623604ec4fa4d1240503b07b4ae7381af3f19ee1debb05

  • SSDEEP

    24576:qpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttJ:+oo/

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-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ourtknsc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kgyyvkjx.exe" C:\Windows\SysWOW64\ourtknsc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ourtknsc binPath= "C:\Windows\SysWOW64\ourtknsc\kgyyvkjx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ourtknsc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ourtknsc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1420
    • 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:1640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2320 -s 1300
      2⤵
      • Program crash
      PID:5060
  • C:\Windows\SysWOW64\ourtknsc\kgyyvkjx.exe
    C:\Windows\SysWOW64\ourtknsc\kgyyvkjx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_0e10aea1cfb39b35a3a5b283d31fd5bf_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1792
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1792 -s 512
      2⤵
      • Program crash
      PID:2696
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2320 -ip 2320
    1⤵
      PID:3656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 1792 -ip 1792
      1⤵
        PID:856

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        6dadc40a275257c35a70397158d9dbbd

        SHA1

        f75fefc0ae96cbdfac560c05964c071ad3b665ea

        SHA256

        d8aef3d1ee47620bc5f6c5d75a3940622eb5834b7a6ce083f78faea3a993946a

        SHA512

        234563a57e34b32c5fc835ebfe111aac68d5175395f73de377dac70455f12e4a58594f85acde1cf84c13f70967ff1147632659e193e862e12334d94afcf78af9

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2320-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2320-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2320-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/3664-14-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/3664-16-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/3664-17-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB