Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2025 17:41

General

  • Target

    2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe

  • Size

    14.5MB

  • MD5

    f9e40e411a7ab534dc0d116ada8920aa

  • SHA1

    158d1b0246aead9fb79f2c54938bddc7b02462cf

  • SHA256

    ce927ec25afbc8286b66340bc776232e59d30fa1182bdc1092a9ae1226d75ca5

  • SHA512

    8aba23f118cf0dae109755e07f4ab8dbaf47f1f4b2c440b15b01f41a5f59dbea33013fd64dff99f8919b1a3c12c67a1199bf229d9ea19e957d2f3f00a338fb6e

  • SSDEEP

    24576:6EfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZm:TfotQ

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-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qjzpfutp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4476
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vmipgfjn.exe" C:\Windows\SysWOW64\qjzpfutp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qjzpfutp binPath= "C:\Windows\SysWOW64\qjzpfutp\vmipgfjn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qjzpfutp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qjzpfutp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3568
    • 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:4024
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4588 -s 1032
      2⤵
      • Program crash
      PID:4416
  • C:\Windows\SysWOW64\qjzpfutp\vmipgfjn.exe
    C:\Windows\SysWOW64\qjzpfutp\vmipgfjn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_f9e40e411a7ab534dc0d116ada8920aa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3852
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3852 -s 508
      2⤵
      • Program crash
      PID:2796
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4588 -ip 4588
    1⤵
      PID:4772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3852 -ip 3852
      1⤵
        PID:2748

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.3MB

        MD5

        a9528b677fbdd6779a41bc238ec3ba97

        SHA1

        b7ac5778b9e674b52000faabf53e14013615eceb

        SHA256

        fcd1b7934b69723ebb53f65c4dc8aa5df89777d2e3a197b5faa984f70fd97d03

        SHA512

        a7365d6c4341526b7050a88e24076da480f9812f53050b7ffafbf38c1f99c92b8225c0f6f91a937a4ac04dc403eac3a1d6d611fbf6a51a2f661df51392eae1eb

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4588-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4588-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4588-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB

      • memory/4944-14-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4944-16-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4944-17-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB