Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:08

General

  • Target

    2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe

  • Size

    11.2MB

  • MD5

    4395d1bbc05ca36dccb62e2484276394

  • SHA1

    2528c32df15e7d76e77bf836a6c4e76511bcfa9b

  • SHA256

    9fc0dbdf5dccc389e47958cb38df30d6690ee4e06e8deec63ead62ddb273776f

  • SHA512

    f8b4b76eda8a1d9f1c1e6bb0b4ba7098e0183165489e97ffe980496c6bcb833cb93e39a7e0eb33dece0e3709843784be1841c987a4c5c4df042caf523a30b694

  • SSDEEP

    24576:sEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:pfot

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-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkfokevg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\usbclhws.exe" C:\Windows\SysWOW64\hkfokevg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hkfokevg binPath= "C:\Windows\SysWOW64\hkfokevg\usbclhws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hkfokevg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hkfokevg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2448
    • 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:868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3108 -s 1196
      2⤵
      • Program crash
      PID:540
  • C:\Windows\SysWOW64\hkfokevg\usbclhws.exe
    C:\Windows\SysWOW64\hkfokevg\usbclhws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_4395d1bbc05ca36dccb62e2484276394_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4736
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4736 -s 512
      2⤵
      • Program crash
      PID:2656
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3108 -ip 3108
    1⤵
      PID:4340
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 4736 -ip 4736
      1⤵
        PID:1196

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        65ed9b35225187447fa749b092486b93

        SHA1

        1aca980934bd0b3750fef633f267f6ca01dfcf6e

        SHA256

        03b8efbf6647f08f730bda9796de1d2282ed4262ec078800f096188856061459

        SHA512

        23e28a0e97bb3801a4b54fa951459e98139972e59387ea2174cdaba790939f16581737f129c6de96cdc2835526c6cdd40e5933b22090b893e13a18ea093803eb

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3108-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3108-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1024KB

      • memory/4488-14-0x0000000001220000-0x0000000001235000-memory.dmp

        Filesize

        84KB

      • memory/4488-16-0x0000000001220000-0x0000000001235000-memory.dmp

        Filesize

        84KB

      • memory/4488-17-0x0000000001220000-0x0000000001235000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB