Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29/01/2025, 02:42

General

  • Target

    2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe

  • Size

    11.7MB

  • MD5

    38a226e27ea670bcda1d696d31180d0e

  • SHA1

    05b0084bd2fe7a9ebcf43d13b394d71d7e41cbd9

  • SHA256

    0057487f203f8cef19e5359b19b2c7ce04933cb01c762409115847e976aaa274

  • SHA512

    2578cd17242c6d5d1b7c3c367b33480a33857d9596d78088fcfe5ae8959b2264826446ffdc16d508ad23eaac18673a2d8ecb6003dff9f4c6c933541a2667b7f4

  • SSDEEP

    24576:06WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ2:ZWdLQks

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-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qauseszh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zzalghfn.exe" C:\Windows\SysWOW64\qauseszh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qauseszh binPath= "C:\Windows\SysWOW64\qauseszh\zzalghfn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qauseszh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qauseszh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3992
    • 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:4308
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4532 -s 592
      2⤵
      • Program crash
      PID:5088
  • C:\Windows\SysWOW64\qauseszh\zzalghfn.exe
    C:\Windows\SysWOW64\qauseszh\zzalghfn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4240
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4240 -s 532
      2⤵
      • Program crash
      PID:1560
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4532 -ip 4532
    1⤵
      PID:532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4240 -ip 4240
      1⤵
        PID:4844

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        ae775a39ce16b23b421a5295ee639d63

        SHA1

        3aa5dd655cbe165dc807a92c83d0cbfd205a680a

        SHA256

        18a9992d963c57c7291a541e270d955311686141c7d5c7ff9eb21a1d0ce1ec40

        SHA512

        d3f995f88b3c9dbcbec9a2682b4888bb19808850e7da7563f7b786a6b3183d0eea8b299fa4248e510069ac582ce1404162de41a7735425a61ea014fece8368f2

      • memory/3180-14-0x00000000008F0000-0x0000000000905000-memory.dmp

        Filesize

        84KB

      • memory/3180-17-0x00000000008F0000-0x0000000000905000-memory.dmp

        Filesize

        84KB

      • memory/3180-16-0x00000000008F0000-0x0000000000905000-memory.dmp

        Filesize

        84KB

      • memory/4240-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4240-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4240-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4240-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4532-8-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4532-1-0x0000000000580000-0x0000000000680000-memory.dmp

        Filesize

        1024KB

      • memory/4532-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4532-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB