Analysis

  • max time kernel
    149s
  • 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:05

General

  • Target

    2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe

  • Size

    10.5MB

  • MD5

    aa08fef5c72940d72201dd8d68ddcb9c

  • SHA1

    9dfa2bd191921c5dbbb640e3806679d8e21131ec

  • SHA256

    796dfc18f2ebaf9c3605f91401f0e3cbc63b4b865d33a233425ff0592bcfb716

  • SHA512

    4043feceac751afc963e2de81e6ba7f1eaf68512d809922adabdb9c09d008ca9434b406e476b2562c6c7cb84bc20c36497108862d0afac2d3bd086ff1ac3a16f

  • SSDEEP

    6144:qLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ:LTYe+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-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vfsinmzq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uhtqjwbl.exe" C:\Windows\SysWOW64\vfsinmzq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vfsinmzq binPath= "C:\Windows\SysWOW64\vfsinmzq\uhtqjwbl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vfsinmzq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vfsinmzq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4008
    • 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:4920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2248 -s 1036
      2⤵
      • Program crash
      PID:3480
  • C:\Windows\SysWOW64\vfsinmzq\uhtqjwbl.exe
    C:\Windows\SysWOW64\vfsinmzq\uhtqjwbl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1420
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1420 -s 508
      2⤵
      • Program crash
      PID:3252
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2248 -ip 2248
    1⤵
      PID:3788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1420 -ip 1420
      1⤵
        PID:4056

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        d73dd2932a5a48e86be7a66ad8de5518

        SHA1

        ce376b6636d9b59f765f27b7dc83810341eb519e

        SHA256

        0d96146847aa3e5ad84760728d7e4fe88f961a902be4ca23e1bedc69abffaca9

        SHA512

        7cbaaf0e746f793fd3744c5734442d491181f2228e6cd8e0604ca0493c8aa3a4792fc29f9c8aab9c29e370fddc78039e419dd20ae8560a677b5ad1f469770537

      • memory/544-10-0x0000000000300000-0x0000000000315000-memory.dmp

        Filesize

        84KB

      • memory/544-17-0x0000000000300000-0x0000000000315000-memory.dmp

        Filesize

        84KB

      • memory/544-18-0x0000000000300000-0x0000000000315000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/2248-2-0x0000000000620000-0x0000000000633000-memory.dmp

        Filesize

        76KB

      • memory/2248-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

      • memory/2248-12-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2248-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2248-13-0x0000000000620000-0x0000000000633000-memory.dmp

        Filesize

        76KB