Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    06-02-2025 16:04

General

  • Target

    2025-02-06_86f39602787e4c7d824ee282d38a27e8_mafia.exe

  • Size

    13.9MB

  • MD5

    86f39602787e4c7d824ee282d38a27e8

  • SHA1

    964239a52ed773ab708b14d7d426b48a1c64bbf5

  • SHA256

    1dcda0b7826f5de9c4b27434747be528c494099db5b2aecfc42ff2fcbd91733c

  • SHA512

    1a0537cf821169a292f099aae4c90a1629224c02c713ba6f214794d10621d2408e4fecd2202e9ae00cf7ebcc7b1986c13a90ebdafcbf08e39aacb71d5415018f

  • SSDEEP

    24576:gEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZV:dfotj

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-06_86f39602787e4c7d824ee282d38a27e8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_86f39602787e4c7d824ee282d38a27e8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1344
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\poiyoavk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fwszqptx.exe" C:\Windows\SysWOW64\poiyoavk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create poiyoavk binPath= "C:\Windows\SysWOW64\poiyoavk\fwszqptx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_86f39602787e4c7d824ee282d38a27e8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description poiyoavk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start poiyoavk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1096
    • 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:1052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1344 -s 1188
      2⤵
      • Program crash
      PID:3124
  • C:\Windows\SysWOW64\poiyoavk\fwszqptx.exe
    C:\Windows\SysWOW64\poiyoavk\fwszqptx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_86f39602787e4c7d824ee282d38a27e8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4752
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4752 -s 508
      2⤵
      • Program crash
      PID:4392
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 204 -p 1344 -ip 1344
    1⤵
      PID:2368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4752 -ip 4752
      1⤵
        PID:2228

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        4bbb51b1524090904d65ba78bcec90ca

        SHA1

        3aa07dff04595f3a1cee26c7b110b81c8133d3c5

        SHA256

        a720473bbd7cec4e13776b1a6cef3a95be6d160128c242502c58fe1c243608f3

        SHA512

        6a83058d0bb7e2c872ebb808f51192d8c4656f3390e15386d7ed9dbd77a224780f5181e37a5b157f0a02096612b1ac83f1d3f0d8c33070748dd4af015234ce5e

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1344-2-0x0000000000680000-0x0000000000693000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1344-8-0x0000000000680000-0x0000000000693000-memory.dmp

        Filesize

        76KB

      • memory/1344-1-0x0000000000750000-0x0000000000850000-memory.dmp

        Filesize

        1024KB

      • memory/1868-14-0x00000000012E0000-0x00000000012F5000-memory.dmp

        Filesize

        84KB

      • memory/1868-16-0x00000000012E0000-0x00000000012F5000-memory.dmp

        Filesize

        84KB

      • memory/1868-17-0x00000000012E0000-0x00000000012F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4752-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB