Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-01-2025 19:00

General

  • Target

    2025-01-24_85a5bd14d17d2d89c5bfacfb40edc002_mafia.exe

  • Size

    13.2MB

  • MD5

    85a5bd14d17d2d89c5bfacfb40edc002

  • SHA1

    e5c23c076a94260ee8bc036886d51ad6137fc5bd

  • SHA256

    fa16b5b7081d04851b9d783814f767671682cf1f3771d84dc8c40d7f1e80a1a4

  • SHA512

    50e8fd220961349538101a92f420961cc22155a3c30aa3869766b831a32f7cd800da35fafe87f5f22947fcc8e3b8b53ad33c28e3b553e683cafdf4ffd7b8837a

  • SSDEEP

    24576:mEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZp:ffot

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-24_85a5bd14d17d2d89c5bfacfb40edc002_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_85a5bd14d17d2d89c5bfacfb40edc002_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\idubiluv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2356
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hygeojqe.exe" C:\Windows\SysWOW64\idubiluv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create idubiluv binPath= "C:\Windows\SysWOW64\idubiluv\hygeojqe.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_85a5bd14d17d2d89c5bfacfb40edc002_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description idubiluv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start idubiluv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4000
    • 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:4972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2320 -s 1044
      2⤵
      • Program crash
      PID:1772
  • C:\Windows\SysWOW64\idubiluv\hygeojqe.exe
    C:\Windows\SysWOW64\idubiluv\hygeojqe.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_85a5bd14d17d2d89c5bfacfb40edc002_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4804
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4804 -s 528
      2⤵
      • Program crash
      PID:1124
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2320 -ip 2320
    1⤵
      PID:4276
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4804 -ip 4804
      1⤵
        PID:2804

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        220d68c1d332753c1d9bb34d47f66739

        SHA1

        446daa197e7347902249fbac629ab9d132afd08b

        SHA256

        d89b5b4cb51017fe20af1e97e2e361750e9fcdc287b7fce99065b552226497af

        SHA512

        bacc9c6342c1beb70bf7832e45b2280d815021d1cee45ea8f91846c2e80c1b2291babe4c91b2569ec8405c982d7997fcc430d7004bfcff9dfcb26dd287c8f6fb

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2320-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2320-8-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1024KB

      • memory/3988-16-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/3988-17-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

      • memory/3988-14-0x00000000009D0000-0x00000000009E5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/4804-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4804-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB