Analysis

  • max time kernel
    148s
  • 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
    02-02-2025 19:50

General

  • Target

    2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe

  • Size

    11.0MB

  • MD5

    d0609b127ab371e7e8c2a7a9c1c125d3

  • SHA1

    5e96aa8f0505ffc8252c6a5f0cf683785e941cba

  • SHA256

    0fd46860fa68b2e1ab04ce983213eb847d10cf1579bce69780e8059015d6ed50

  • SHA512

    ccb251f9592c738256d678085430ffd19c0bb55954f2a66d96f46229966911c96a41b5bde6e12c6b9018b8ca0bcc53650df6a66314f5e6cad684db4e366770af

  • SSDEEP

    3072:0LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:xOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kplxydyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sjfmdcgk.exe" C:\Windows\SysWOW64\kplxydyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kplxydyb binPath= "C:\Windows\SysWOW64\kplxydyb\sjfmdcgk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kplxydyb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kplxydyb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:888
    • 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:4568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4068 -s 664
      2⤵
      • Program crash
      PID:3032
  • C:\Windows\SysWOW64\kplxydyb\sjfmdcgk.exe
    C:\Windows\SysWOW64\kplxydyb\sjfmdcgk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_d0609b127ab371e7e8c2a7a9c1c125d3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1472
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1472 -s 508
      2⤵
      • Program crash
      PID:2648
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4068 -ip 4068
    1⤵
      PID:940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 504 -p 1472 -ip 1472
      1⤵
        PID:3328

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        87e9c3441c0c97702c6e909366228c51

        SHA1

        e502e338eef2390a8faaf06a01a78cea837cc3ce

        SHA256

        a9925cb3c6732a11ccd77e532856931ebef635a3821ac541f7aa695e65e7470d

        SHA512

        b723da57ee0d8f66d32a521241c78d82162c941b03eb3261452d3263a22b97a7aedaf7a1c5aa3fa15adad34125388830bf89647d972f044bbf10de1b778b45a1

      • memory/1360-14-0x0000000000A20000-0x0000000000A35000-memory.dmp

        Filesize

        84KB

      • memory/1360-17-0x0000000000A20000-0x0000000000A35000-memory.dmp

        Filesize

        84KB

      • memory/1360-16-0x0000000000A20000-0x0000000000A35000-memory.dmp

        Filesize

        84KB

      • memory/1472-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1472-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1472-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1472-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4068-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4068-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4068-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

      • memory/4068-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4068-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB