Analysis

  • max time kernel
    141s
  • max time network
    130s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30/01/2025, 16:42

General

  • Target

    2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe

  • Size

    10.8MB

  • MD5

    9fba6bf500f826b16e4dd43e6829feec

  • SHA1

    a6b38df45fb123a59ed0783030b33726c4ee74de

  • SHA256

    d0f978d82cbf058a5b7e9a21adfc71163c858079f27a0d3309562fe8079aea1b

  • SHA512

    7d477aceb07682037c2e5c99c96ada856dcfa41efe2271b214e2f93f87ef64ebaf7c05dcc34a7e8c3065541558e5231068c7284674c531c7689d04274ac9b9b5

  • SSDEEP

    24576:E6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:pWdLQk

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-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pflqfcqc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xcmhbnkm.exe" C:\Windows\SysWOW64\pflqfcqc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pflqfcqc binPath= "C:\Windows\SysWOW64\pflqfcqc\xcmhbnkm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pflqfcqc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pflqfcqc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5044
    • 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:1648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4176 -s 596
      2⤵
      • Program crash
      PID:3892
  • C:\Windows\SysWOW64\pflqfcqc\xcmhbnkm.exe
    C:\Windows\SysWOW64\pflqfcqc\xcmhbnkm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4940
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4940 -s 528
      2⤵
      • Program crash
      PID:1156
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4176 -ip 4176
    1⤵
      PID:3136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4940 -ip 4940
      1⤵
        PID:4640

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        a251602c4b05cfb8c1a28e33bcaad915

        SHA1

        3cc3607c09e266d1ee2e4f0eefc3545f60dfa0a3

        SHA256

        cef21ac565625f2069dff8bdee45cb8c76e0302a3b1cc6eb00230f4d899a86b4

        SHA512

        85b17581c9fd0ba17df1280e271bfa022f04b87215d8132c88c8fdc955062678269df89504622e497538e726cbb407e0db3d4418291e118b8d04fce825d4a7f5

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        316KB

      • memory/4176-8-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/4176-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4176-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB