Analysis

  • max time kernel
    144s
  • 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
    28-01-2025 14:03

General

  • Target

    2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe

  • Size

    11.2MB

  • MD5

    bc69fe693d7847a09ad69fef17f7827a

  • SHA1

    e769da6a06c64a656686f9ca39b01cdea4decc60

  • SHA256

    ee06a44cd6bc5c852ef5e3e26ce0a11fef7502cdca6b1ac98dfe012770d22e11

  • SHA512

    ab887575c2c99f1ee19e7d7cfd6ee9d13ab9930191e3b4fc0f69dae07c11b386462e7ec09e53f02802b305e14c60b03bdaecc141687e88065483a18d824cdf5d

  • SSDEEP

    6144:0LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQJ:pTYe+D2jFu+iZoUFhAzG

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-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pksrvebe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqzajfuq.exe" C:\Windows\SysWOW64\pksrvebe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pksrvebe binPath= "C:\Windows\SysWOW64\pksrvebe\sqzajfuq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pksrvebe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pksrvebe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1696
    • 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:3532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2940 -s 664
      2⤵
      • Program crash
      PID:4072
  • C:\Windows\SysWOW64\pksrvebe\sqzajfuq.exe
    C:\Windows\SysWOW64\pksrvebe\sqzajfuq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bc69fe693d7847a09ad69fef17f7827a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4744
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4744 -s 512
      2⤵
      • Program crash
      PID:1888
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2940 -ip 2940
    1⤵
      PID:1500
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4744 -ip 4744
      1⤵
        PID:2420

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        a115c374f85cd330e596e28fb19c58d5

        SHA1

        3cf1a9e97085f77e1ef564695c7f05acf6c92444

        SHA256

        e05b97b6d54a7c0bb15a7eb843a41e50a23330367ec06bc96053389c3c8807b4

        SHA512

        1b089f00086825fef8076246c9a74aefc9125fa2d6d4102d4005ac1cf93e7a9dedc878db654f3bf93cd8f5d0abd078e47c9852906799b957b1a8daf408a624bd

      • memory/2940-8-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2940-2-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/2940-7-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/2940-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

        Filesize

        1024KB

      • memory/3128-14-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/3128-16-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/3128-17-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

      • memory/4744-11-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4744-13-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4744-18-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB