Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 10:44

General

  • Target

    2025-02-03_c3e93ca2e3da9a3312d9135707fe915c_mafia.exe

  • Size

    12.8MB

  • MD5

    c3e93ca2e3da9a3312d9135707fe915c

  • SHA1

    35f259f2b8460d68f3620c13cdb94fbb105b7897

  • SHA256

    4b473923cc919a95d186f942b64234135bdd394d807125b5bbe156880468cd1d

  • SHA512

    e4eafa3e69784456cb0d0fde4edbee2a933d05af833701e0c0e2f22e872396ae7306f2822996be883d187c0ca0017642596a888d1e1f42ca332feaee40791947

  • SSDEEP

    24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:Mfotx

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-03_c3e93ca2e3da9a3312d9135707fe915c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_c3e93ca2e3da9a3312d9135707fe915c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\milmbsol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jiwymjkc.exe" C:\Windows\SysWOW64\milmbsol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create milmbsol binPath= "C:\Windows\SysWOW64\milmbsol\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_c3e93ca2e3da9a3312d9135707fe915c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description milmbsol "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start milmbsol
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • 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:4756
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4520 -s 1196
      2⤵
      • Program crash
      PID:1740
  • C:\Windows\SysWOW64\milmbsol\jiwymjkc.exe
    C:\Windows\SysWOW64\milmbsol\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_c3e93ca2e3da9a3312d9135707fe915c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2012
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2012 -s 560
      2⤵
      • Program crash
      PID:4528
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4520 -ip 4520
    1⤵
      PID:2284
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2012 -ip 2012
      1⤵
        PID:2624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        9a556542bc2703c692e6bdcecc2073ff

        SHA1

        c65965b94db96786b4f289f0e4ccdf9086b9b086

        SHA256

        e467302aeb84bf5762774ea193ac3de92f6d904b8d1b85d4820e300a7952ba8e

        SHA512

        21106667fe1d8d48e810fb23dd21061b2a23746c820f4ae35268e7e62b1259f07bbb3ebc76a7c11f288160173099e8c7f6bf188a3f03d580c4c3ec07f8b48f17

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2012-17-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4520-2-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

      • memory/4520-8-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/4520-1-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB

      • memory/4544-13-0x00000000012D0000-0x00000000012E5000-memory.dmp

        Filesize

        84KB

      • memory/4544-15-0x00000000012D0000-0x00000000012E5000-memory.dmp

        Filesize

        84KB

      • memory/4544-16-0x00000000012D0000-0x00000000012E5000-memory.dmp

        Filesize

        84KB