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
    01-02-2025 20:07

General

  • Target

    2025-02-01_3e00badf3dad2fe1c427f9dcbd3af132_mafia.exe

  • Size

    10.9MB

  • MD5

    3e00badf3dad2fe1c427f9dcbd3af132

  • SHA1

    2c24740612b6898181e04cd18417c3e5a826a416

  • SHA256

    5500b8a4b2bc75d90f9a81116726d643dbd0822b2dbcab9fc18dd584abdccaa7

  • SHA512

    5147431e831baf236db10c2a3d6e3d299444a76af2f74d1da17a5837be509931bb487fd6a240b30b02bf971efbdd9c1c0e9dc2a0279c335c85309132c87773c4

  • SSDEEP

    24576:x6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQI:YWdLQk

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-01_3e00badf3dad2fe1c427f9dcbd3af132_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_3e00badf3dad2fe1c427f9dcbd3af132_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ocrfwvdl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\chrmgspr.exe" C:\Windows\SysWOW64\ocrfwvdl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ocrfwvdl binPath= "C:\Windows\SysWOW64\ocrfwvdl\chrmgspr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3e00badf3dad2fe1c427f9dcbd3af132_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ocrfwvdl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ocrfwvdl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1672
    • 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:1684
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4076 -s 812
      2⤵
      • Program crash
      PID:3944
  • C:\Windows\SysWOW64\ocrfwvdl\chrmgspr.exe
    C:\Windows\SysWOW64\ocrfwvdl\chrmgspr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3e00badf3dad2fe1c427f9dcbd3af132_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2420
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2420 -s 512
      2⤵
      • Program crash
      PID:3052
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4076 -ip 4076
    1⤵
      PID:3628
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2420 -ip 2420
      1⤵
        PID:3216

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        a17ed6835c89c87c485c562eac592925

        SHA1

        f330393479a9f44864b0ea031bdd939cbd823dbf

        SHA256

        19770d0ef5063c046a7f3dc8175ddd4c6f83588728b6b5c000fac15aeeee7bbd

        SHA512

        1208ac4f66331ec856c3d3c7475a1826d72750c9aed908782f3e4f942e456d224b25f70d387b2eb058f03b458cac863ce8976bda27230188d5acf7e90b2d7019

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/3092-14-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/3092-16-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

      • memory/3092-17-0x00000000012F0000-0x0000000001305000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4076-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4076-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/4076-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

        Filesize

        1024KB