Analysis

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

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

General

  • Target

    2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe

  • Size

    11.1MB

  • MD5

    c8478f4f5d94b9ac131ff2d84e5d3909

  • SHA1

    4b7ca3f00711ea4a9c8b5aeef648044fc7e85255

  • SHA256

    8aeb2c30634da05e2c33aec859f61d05a3b0f69d41e76562fe37cc784fc1566c

  • SHA512

    a63d72342ad22ceba03c11a4ffe3e08c37bd9fc62ba34b0fec10bf4df22958638f54b37e2f9e3d3e0f59e2220045488b2ae7025e12d4480c13c7391b8a8a4199

  • SSDEEP

    196608:WyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:7XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXn

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.

  • 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-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kekqklnb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gibmtbpf.exe" C:\Windows\SysWOW64\kekqklnb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kekqklnb binPath= "C:\Windows\SysWOW64\kekqklnb\gibmtbpf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kekqklnb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kekqklnb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3972
    • 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:2388
  • C:\Windows\SysWOW64\kekqklnb\gibmtbpf.exe
    C:\Windows\SysWOW64\kekqklnb\gibmtbpf.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_c8478f4f5d94b9ac131ff2d84e5d3909_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1284
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3528

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    3066c5b92a450805186130e453b44db4

    SHA1

    e5bdf09697d3deec9088b3034d0a1656a61f1ade

    SHA256

    84c30591dff71b8da717c8b7958317bbabe2022f0a302a6de392c9984fe47d84

    SHA512

    25a8d7e5f7bc56b6fa1969e0d446eb3982c95719c329f86741c06dec328e19c688fd5c53afc3f30988a403a67ca95fdcc408c391c1148a6c3f0f34047d923788

  • memory/1284-13-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1284-20-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1284-11-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1284-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2664-9-0x0000000000890000-0x00000000008A3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2664-1-0x0000000000550000-0x0000000000650000-memory.dmp

    Filesize

    1024KB

  • memory/2664-2-0x0000000000890000-0x00000000008A3000-memory.dmp

    Filesize

    76KB

  • memory/2664-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3528-14-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

    Filesize

    84KB

  • memory/3528-18-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

    Filesize

    84KB

  • memory/3528-17-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

    Filesize

    84KB

  • memory/3528-21-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

    Filesize

    84KB

  • memory/3528-22-0x0000000000AC0000-0x0000000000AD5000-memory.dmp

    Filesize

    84KB