Analysis

  • max time kernel
    148s
  • 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
    13-01-2025 19:26

General

  • Target

    2025-01-13_8f99b8d69deb167959d1393683ef98cf_mafia.exe

  • Size

    12.7MB

  • MD5

    8f99b8d69deb167959d1393683ef98cf

  • SHA1

    6de38f45f39789d19b16585de4253305bd7fe37f

  • SHA256

    ed3d51d8d09ff9f79b03d40fb912639f24094280abbf068d861780b5a440545e

  • SHA512

    dbbe11ee848813339c5f3652d934f33348277e43ad5f5e0bcfb0cf9091a163999b40f140a1b49629ba936cf979f4ed42299931eaf440ac780e4f0ade70f05e1b

  • SSDEEP

    24576:UpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt3:goo

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-13_8f99b8d69deb167959d1393683ef98cf_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_8f99b8d69deb167959d1393683ef98cf_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3276
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pjeyqvpk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vuikyvwo.exe" C:\Windows\SysWOW64\pjeyqvpk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pjeyqvpk binPath= "C:\Windows\SysWOW64\pjeyqvpk\vuikyvwo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_8f99b8d69deb167959d1393683ef98cf_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pjeyqvpk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3840
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pjeyqvpk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4044
    • 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:3128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3276 -s 1240
      2⤵
      • Program crash
      PID:4484
  • C:\Windows\SysWOW64\pjeyqvpk\vuikyvwo.exe
    C:\Windows\SysWOW64\pjeyqvpk\vuikyvwo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_8f99b8d69deb167959d1393683ef98cf_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4208
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4208 -s 532
      2⤵
      • Program crash
      PID:2224
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3276 -ip 3276
    1⤵
      PID:4924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4208 -ip 4208
      1⤵
        PID:2548

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        935a4ed785fbc44cf7d457b321436aa7

        SHA1

        3d1789d6f685bb3059bca13949b3152bd9161e8d

        SHA256

        ffd44d3565fa4de951357c4856294f9eb97f834b85c0237b5914f3bbc5d11eb1

        SHA512

        2ecebcbcdad74fd512a6d55bf02db6e93728af755026e5382d56f2ba0354aa56f50499f69ea39f0a3c60c6362e4794b8c6197f640ddb5d389e00439321454e9c

      • memory/2792-14-0x00000000010F0000-0x0000000001105000-memory.dmp

        Filesize

        84KB

      • memory/2792-17-0x00000000010F0000-0x0000000001105000-memory.dmp

        Filesize

        84KB

      • memory/2792-16-0x00000000010F0000-0x0000000001105000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/3276-1-0x0000000000480000-0x0000000000580000-memory.dmp

        Filesize

        1024KB

      • memory/3276-8-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3276-2-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4208-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB