Analysis

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

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

General

  • Target

    2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe

  • Size

    13.3MB

  • MD5

    cc640048a903f18aef9ea0fdfb9b3920

  • SHA1

    cf2ffdbe0837aa34c6983027b7b2497d75a57d09

  • SHA256

    125121038f658715f0f002cd92bedf1bf318f8c211d64fa06d62e58d9c6d851e

  • SHA512

    e74d5fa348a8fa01a3a86e202e96aafcf65c51571e2be26ba011c2c3402b82dc18b54ec1a9524d2503c2a978d87e6bfa8f06f45a532e3de12d8656b4dfab5891

  • SSDEEP

    49152:9qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:9qtYc3

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-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\whtnynwr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3544
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lngryguk.exe" C:\Windows\SysWOW64\whtnynwr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create whtnynwr binPath= "C:\Windows\SysWOW64\whtnynwr\lngryguk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description whtnynwr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start whtnynwr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:388
    • 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:5048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1788 -s 1220
      2⤵
      • Program crash
      PID:3676
  • C:\Windows\SysWOW64\whtnynwr\lngryguk.exe
    C:\Windows\SysWOW64\whtnynwr\lngryguk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1488
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1488 -s 560
      2⤵
      • Program crash
      PID:1824
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1488 -ip 1488
    1⤵
      PID:2252
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1788 -ip 1788
      1⤵
        PID:3152

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        e3a32c1ce738d32fd2833ac693d0bdb5

        SHA1

        1ecb711108d3ad9a67df2d302eef34031f53f91e

        SHA256

        1b564e720d600b5b4ea45fe242f595c54e356da8f88c2e60c198636df27eab9a

        SHA512

        2d810b3845c1c3b84cbe02999561c984b076aa7c40406c6594d3828b8d95f9239fca74819bc863a91bab6c221b71299d56fc4cd10cdb8e62de42e18069940525

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

        Filesize

        41.8MB

      • memory/1788-1-0x0000000002FA0000-0x00000000030A0000-memory.dmp

        Filesize

        1024KB

      • memory/1788-2-0x0000000002EF0000-0x0000000002F03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1788-12-0x0000000002EF0000-0x0000000002F03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

      • memory/2132-8-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/2132-14-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/2132-15-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB