Analysis

  • max time kernel
    141s
  • 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:31

General

  • Target

    2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe

  • Size

    13.3MB

  • MD5

    aa8d578acf6c92b0968b8c7dbf672948

  • SHA1

    0fa983431334849b7e4cef6ed327a8c128f25119

  • SHA256

    8bb9c66cc73b87c00009d7242459b2076fe1f3abade22c59acda2ec7d6b84f4e

  • SHA512

    30d04bd9e56ef823396d6b06d3b235b18f237da42b12585f36054eb3c62bfbc6f90bc411a1906a371410028b62d6b4711808edd32374ddff57fb6ead068ed8ae

  • SSDEEP

    24576:86WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:RWdLQk

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_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vaprwior\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tgspivak.exe" C:\Windows\SysWOW64\vaprwior\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vaprwior binPath= "C:\Windows\SysWOW64\vaprwior\tgspivak.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vaprwior "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vaprwior
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3464
    • 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:3980
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2488 -s 668
      2⤵
      • Program crash
      PID:3572
  • C:\Windows\SysWOW64\vaprwior\tgspivak.exe
    C:\Windows\SysWOW64\vaprwior\tgspivak.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_aa8d578acf6c92b0968b8c7dbf672948_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4480
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3940
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4480 -s 532
      2⤵
      • Program crash
      PID:2664
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 360 -p 2488 -ip 2488
    1⤵
      PID:1168
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4480 -ip 4480
      1⤵
        PID:2028

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        10468a9b7c76ba28a597f138cf7a0728

        SHA1

        191af6b95e202738883d79e773f09eeaff93389c

        SHA256

        d8d83e0f2944199ae30cbea6b85e888366798a24b37b7fe4e64612f5710ff2eb

        SHA512

        eee6d2bc76ac091e6a3589963c658c59dcb087152382643eddf302dd29a7f1d158accbb23aa6adbe3150a1dd64859a5a54bf94bfd513dd16bb6a763ef3b4c759

      • memory/2488-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/2488-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

      • memory/2488-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2488-1-0x00000000007F0000-0x00000000008F0000-memory.dmp

        Filesize

        1024KB

      • memory/3940-14-0x00000000005A0000-0x00000000005B5000-memory.dmp

        Filesize

        84KB

      • memory/3940-16-0x00000000005A0000-0x00000000005B5000-memory.dmp

        Filesize

        84KB

      • memory/3940-17-0x00000000005A0000-0x00000000005B5000-memory.dmp

        Filesize

        84KB

      • memory/4480-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4480-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4480-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4480-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB