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
    02-02-2025 19:52

General

  • Target

    2025-02-02_e39357b928ca044e73012265da182453_mafia.exe

  • Size

    12.9MB

  • MD5

    e39357b928ca044e73012265da182453

  • SHA1

    2dc6844a2f158f1d8902bfa57cb2e2caa31e8572

  • SHA256

    3e5d30f259b40ab127bba4769025389b12bf665b30d08d2f4a4f250f923dc724

  • SHA512

    5cd11ab9a7d1cbb699219f182bc7ac83207b2759047b6385ff283c86cd306d1329ae70842c5634c84f322c719020ef6c2286cd31a7347b3e35f11fa8e66a8804

  • SSDEEP

    6144:8LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ:xTYe+D2jFu+iZoUFhAz

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-02_e39357b928ca044e73012265da182453_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_e39357b928ca044e73012265da182453_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2472
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jddiyqbb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vmuscxes.exe" C:\Windows\SysWOW64\jddiyqbb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jddiyqbb binPath= "C:\Windows\SysWOW64\jddiyqbb\vmuscxes.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_e39357b928ca044e73012265da182453_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jddiyqbb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4048
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jddiyqbb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3384
    • 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:4692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2472 -s 1044
      2⤵
      • Program crash
      PID:244
  • C:\Windows\SysWOW64\jddiyqbb\vmuscxes.exe
    C:\Windows\SysWOW64\jddiyqbb\vmuscxes.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_e39357b928ca044e73012265da182453_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:940
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 940 -s 528
      2⤵
      • Program crash
      PID:2196
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2472 -ip 2472
    1⤵
      PID:5040
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 940 -ip 940
      1⤵
        PID:3492

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        f54eb4aff10d67094d8fd8f2a651ed1d

        SHA1

        d09ef042a26a781b3c2f3a8e3ea41683e49bdae6

        SHA256

        210d98de3ef0b9fa050ad69e1397e0da8e060deecae4940ff884d67848a37721

        SHA512

        ea5c991932d41b9fa4e0137c4236ae559fbadee21c876d97a15655aea3e98c120690e4ce0e6f4f0aa0870f629af137a789da57d591ee48682bc77c9671fbaf2a

      • memory/940-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/940-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/940-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2084-10-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/2084-13-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/2084-19-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/2084-20-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

      • memory/2084-21-0x0000000000870000-0x0000000000885000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2472-2-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

      • memory/2472-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

        Filesize

        1024KB

      • memory/2472-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2472-17-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

      • memory/2472-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB