Analysis

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

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

General

  • Target

    2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe

  • Size

    10.0MB

  • MD5

    e131e7ea13ef16f914940ac7fa24064c

  • SHA1

    75039b2cc40d3c616042957b016b4b9097495820

  • SHA256

    163e6be7e3d945dc57382762b6857e47f6c966d0e8529ba1775cc7143e0bc39e

  • SHA512

    9e8c2dd4cda0351845218bd84abc4b5dc05060b68ba50bae8281616311092443ce178a377aa97522a955da95423b8b4f6ec3ef0384945ca9ac2642d01f87c146

  • SSDEEP

    6144:BVXdWonWCgHBEJE968VNNXSB3sFD+yZpp:7bnWvHBEJM6WNNCB36D+y

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 3 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-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xumqxftu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qtztitek.exe" C:\Windows\SysWOW64\xumqxftu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xumqxftu binPath= "C:\Windows\SysWOW64\xumqxftu\qtztitek.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xumqxftu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xumqxftu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2028
    • 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:1428
  • C:\Windows\SysWOW64\xumqxftu\qtztitek.exe
    C:\Windows\SysWOW64\xumqxftu\qtztitek.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_e131e7ea13ef16f914940ac7fa24064c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2020
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3456
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2020 -s 660
      2⤵
      • Program crash
      PID:4612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2020 -s 904
      2⤵
      • Program crash
      PID:3000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2020 -s 912
      2⤵
      • Program crash
      PID:4196
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 356 -p 2020 -ip 2020
    1⤵
      PID:4864
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 368 -p 2020 -ip 2020
      1⤵
        PID:4272
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2020 -ip 2020
        1⤵
          PID:1264

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          11.0MB

          MD5

          5e197cf94d8f30abf052bc6f2418825f

          SHA1

          1ab0cdedc59141f1717c24718f2c035ef6a1bdd6

          SHA256

          dfcd02f5696de79eea5a1fd5802b7d8881096159478cc2d1f568e2655cc5966d

          SHA512

          e44286646f1fb72ec4dfe0a15f0828c525a110381f82d9013e827555f8153da68f5848d31a1a0dfc4ecebe33af8be38339e9bb03006cc58134c755a84a679bcd

        • memory/2020-14-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/2020-12-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/2020-13-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/2020-20-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/3456-15-0x0000000000E60000-0x0000000000E75000-memory.dmp

          Filesize

          84KB

        • memory/3456-18-0x0000000000E60000-0x0000000000E75000-memory.dmp

          Filesize

          84KB

        • memory/3456-19-0x0000000000E60000-0x0000000000E75000-memory.dmp

          Filesize

          84KB

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

          Filesize

          84KB

        • memory/4972-2-0x0000000000690000-0x00000000006A3000-memory.dmp

          Filesize

          76KB

        • memory/4972-8-0x0000000000400000-0x0000000000455000-memory.dmp

          Filesize

          340KB

        • memory/4972-10-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/4972-9-0x0000000000690000-0x00000000006A3000-memory.dmp

          Filesize

          76KB

        • memory/4972-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

          Filesize

          1024KB