Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    18-01-2025 20:46

General

  • Target

    2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe

  • Size

    14.7MB

  • MD5

    d6c6995eda7d5ae7cc5a7be0bb7eba8d

  • SHA1

    1b27e433065b4364f360759dbacf351072b7bbe7

  • SHA256

    cdb4d297bc53dcf661f9f58812fd44e494a64760a4dea483f8f89bee9791e2a4

  • SHA512

    e8db003a63ab17dc3b4c566027e69899b00f4bd981905b5c9e642df9e79b3fc2c24bd3ed239af27a5f9920a9a9f70e31a4463c9884a03db0ad08380b14472738

  • SSDEEP

    49152:wqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:wqtYc3

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-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\shcxdyui\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dlaerpyy.exe" C:\Windows\SysWOW64\shcxdyui\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create shcxdyui binPath= "C:\Windows\SysWOW64\shcxdyui\dlaerpyy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description shcxdyui "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start shcxdyui
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1984
    • 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:2608
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4712 -s 1284
      2⤵
      • Program crash
      PID:4072
  • C:\Windows\SysWOW64\shcxdyui\dlaerpyy.exe
    C:\Windows\SysWOW64\shcxdyui\dlaerpyy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_d6c6995eda7d5ae7cc5a7be0bb7eba8d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2036
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2036 -s 516
      2⤵
      • Program crash
      PID:648
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4712 -ip 4712
    1⤵
      PID:1800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2036 -ip 2036
      1⤵
        PID:2068

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        dd25f7d89c62f6b011d4781d08655106

        SHA1

        7480b36fec2081c2eeec3e2b0e5fa21c6d71c3f2

        SHA256

        038b0c81cc776b4a401ee39b5aa856a9de1b6cb675e3ac1af1d60bab12a89405

        SHA512

        39f0e36c78a5e0fd5f4f22ca15eb15cebc2706188a773d6b523083e14463f4f793df527dc127fb1805df3225d54b62c735f5ff11a1bce6436ca1fa07dd67fe89

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

        Filesize

        41.8MB

      • memory/3096-8-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3096-14-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3096-15-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/4712-1-0x0000000002EF0000-0x0000000002FF0000-memory.dmp

        Filesize

        1024KB

      • memory/4712-2-0x00000000031F0000-0x0000000003203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4712-12-0x00000000031F0000-0x0000000003203000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB