Analysis

  • max time kernel
    146s
  • max time network
    142s
  • 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 19:48

General

  • Target

    2025-01-09_e836dbc909322a908071b5ef1cd29664_mafia.exe

  • Size

    10.6MB

  • MD5

    e836dbc909322a908071b5ef1cd29664

  • SHA1

    f09b1592658eaafd025b0e1e9f9c8a0f7f4c78cf

  • SHA256

    56014682e7b9dbd55ad1fe084c3539d0e38484365326eb4d1980984240c0c987

  • SHA512

    167503ea073ae8c7120e8af0dac25e462373d338fe799c8162d07e406b9571e07ad7e6518c7498fc2227badebebf504bb5168828d9199d106350f46fb6f36c20

  • SSDEEP

    49152:qqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:qqtYc3

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_e836dbc909322a908071b5ef1cd29664_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_e836dbc909322a908071b5ef1cd29664_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cqprzlny\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tkgnedhl.exe" C:\Windows\SysWOW64\cqprzlny\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cqprzlny binPath= "C:\Windows\SysWOW64\cqprzlny\tkgnedhl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_e836dbc909322a908071b5ef1cd29664_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cqprzlny "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cqprzlny
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3596
    • 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:2404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 696 -s 1352
      2⤵
      • Program crash
      PID:2816
  • C:\Windows\SysWOW64\cqprzlny\tkgnedhl.exe
    C:\Windows\SysWOW64\cqprzlny\tkgnedhl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_e836dbc909322a908071b5ef1cd29664_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1268
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1268 -s 516
      2⤵
      • Program crash
      PID:4292
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1268 -ip 1268
    1⤵
      PID:2092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 696 -ip 696
      1⤵
        PID:1540

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        ccfdd3b3bd716781c58f384e57832015

        SHA1

        16cbe22c63946bab54a091bbc868f5a1029bf817

        SHA256

        587d46422210f07b6fa947c32729635b21defda03a4030132ca3a4ac6b6bdd80

        SHA512

        51ce7ef3d59287d5aa22c98c56e96018d19308cdb12d4be05d1602cd7dabbb17269c9579dbad6907436dc8a5312f92f753f7463890a005dbdc0a2c48dca0e177

      • memory/696-1-0x0000000003060000-0x0000000003160000-memory.dmp

        Filesize

        1024KB

      • memory/696-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/696-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        41.8MB

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

        Filesize

        41.8MB

      • memory/4640-8-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/4640-14-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/4640-15-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB