Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 21:31

General

  • Target

    2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe

  • Size

    13.7MB

  • MD5

    97072ca9a6e4bdd9766dc25e6464f8d4

  • SHA1

    42c0c68ec982a1587c9a8f82f0f68e229d8161ea

  • SHA256

    7ce2a4327048c6c6bec3d924d83293b98e2e29efd3bcab4bc199f4ed211416d1

  • SHA512

    86b3f0b55be16f466f442a52efbd7d16f1447acfece6028efb74c46dedf137c5ea4086b8c3a6c848db23ed3dd6d0dd74918abfc10f2f2f5edd12b85c95905afd

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP7:PqtYc3m

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_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lkcclcdy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gbfxnyay.exe" C:\Windows\SysWOW64\lkcclcdy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lkcclcdy binPath= "C:\Windows\SysWOW64\lkcclcdy\gbfxnyay.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lkcclcdy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lkcclcdy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2604
    • 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:3444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1568 -s 1104
      2⤵
      • Program crash
      PID:4120
  • C:\Windows\SysWOW64\lkcclcdy\gbfxnyay.exe
    C:\Windows\SysWOW64\lkcclcdy\gbfxnyay.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_97072ca9a6e4bdd9766dc25e6464f8d4_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3504
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1060
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3504 -s 560
      2⤵
      • Program crash
      PID:1512
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3504 -ip 3504
    1⤵
      PID:3648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 1568 -ip 1568
      1⤵
        PID:2508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        bffd8c5db26d1fd2963ee819b9a960f5

        SHA1

        45c78c56eec3ff3ea6e3c03fd26e64fd6829b8ea

        SHA256

        d4859bd62d301b90904668ef4f9e3588d2e20c8f5f510874cf692998f642b91a

        SHA512

        0c279f9873676616f6ae56acfe7ff544eac43ab37afa14333042e57d3a0533bbf7974fa5f80698db32c31cd2bd9f412dab27fe2d4be2c8084f53ec20a83f94a0

      • memory/1060-8-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1060-14-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1060-15-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/1568-1-0x0000000002E80000-0x0000000002F80000-memory.dmp

        Filesize

        1024KB

      • memory/1568-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1568-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1568-12-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

      • memory/1568-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3504-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB