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
    22-01-2025 19:04

General

  • Target

    2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe

  • Size

    13.0MB

  • MD5

    402ef750eeb6f0bf1cf8c0afa7d5e870

  • SHA1

    de5899740d65c56dd7306f309fb31d0b32241cdb

  • SHA256

    8d36e7449053f920033f770121952e5c8843c4d84078ac742d3f2017ae428e9a

  • SHA512

    98acfd5bf20729f554cf295a77c6d041ffd2fe2981c7e1f1c3563b1aa546a38de631dd6611f4d3abf8ecdd60a1d12fc73cab005406301343fcfc52f563359917

  • SSDEEP

    6144:aLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:bTYe+D2jFu+iZoUFhAz

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-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nebrxl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\inxsmyvx.exe" C:\Windows\SysWOW64\nebrxl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nebrxl binPath= "C:\Windows\SysWOW64\nebrxl\inxsmyvx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nebrxl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nebrxl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4888
    • 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:1912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2332 -s 1256
      2⤵
      • Program crash
      PID:3044
  • C:\Windows\SysWOW64\nebrxl\inxsmyvx.exe
    C:\Windows\SysWOW64\nebrxl\inxsmyvx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1060
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1060 -s 508
      2⤵
      • Program crash
      PID:1076
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1060 -ip 1060
    1⤵
      PID:1984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2332 -ip 2332
      1⤵
        PID:3060

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        69a35dc7d4fa8f3bf696e0001794f4a7

        SHA1

        7aba0d24b77e103252161f6c32439ef4d5b7acd4

        SHA256

        2dcc854d6cee30046ab8994362b1874afc335ece3f300f0cdc2188eb0c1aa446

        SHA512

        48406b85ddfe184d5bbfcab09f33d5f4c26b41ce873f269b2bbe864acbcfea590b8f2007b12a60996a6e3409491e2c7b8a75317c7ba7ca0d9be1df152db63869

      • memory/1060-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1060-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1060-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1060-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1668-14-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/1668-11-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/1668-20-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/1668-21-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

      • memory/1668-22-0x0000000000900000-0x0000000000915000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2332-1-0x0000000000590000-0x0000000000690000-memory.dmp

        Filesize

        1024KB

      • memory/2332-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/2332-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2332-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2332-18-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB