Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 21:32

General

  • Target

    2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe

  • Size

    11.2MB

  • MD5

    d523ff8a708717cffd3d2578c5c0e011

  • SHA1

    08c7989555ca249bf6c495ec6e78258cafba060f

  • SHA256

    9d32a1cfb62fde141d638c713d9d5e5e7bb082ca582b3b4cceeb9cdc2a8930d4

  • SHA512

    d07a1afc1b3c6e22f1ad797c2d90a14b71f1a8ff112cb283e1480e069f45f2af5320d2bff3901b8c3a5cb94e932e8bb31764d9bb078e3f8a385cd2bb5b25b1a3

  • SSDEEP

    49152:RqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:RqtYc3

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-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gaqeiibc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qynrecll.exe" C:\Windows\SysWOW64\gaqeiibc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gaqeiibc binPath= "C:\Windows\SysWOW64\gaqeiibc\qynrecll.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gaqeiibc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gaqeiibc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2224
    • 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:1840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1704 -s 1328
      2⤵
      • Program crash
      PID:880
  • C:\Windows\SysWOW64\gaqeiibc\qynrecll.exe
    C:\Windows\SysWOW64\gaqeiibc\qynrecll.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_d523ff8a708717cffd3d2578c5c0e011_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1432
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1432 -s 512
      2⤵
      • Program crash
      PID:536
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1432 -ip 1432
    1⤵
      PID:2872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1704 -ip 1704
      1⤵
        PID:1988

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.6MB

        MD5

        d8c225b239f132a2f624c1ba74e32f55

        SHA1

        527f1fea4db2e3a1232c1316ee415fee4064760d

        SHA256

        adb4ed43db0193954860386c70829bca06d30d35f444a0159e46fd47fa68663c

        SHA512

        dcad523d53a3ef5008d40ed5c5300b50b38f823d981a7058872903875d62ddd90d1b0cbf75327520c35276bb0ab1ec521a9d451ff54dfb8eda4a877c81dba8c3

      • memory/1432-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/1704-2-0x0000000002EF0000-0x0000000002F03000-memory.dmp

        Filesize

        76KB

      • memory/1704-1-0x0000000002F80000-0x0000000003080000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1704-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1704-12-0x0000000002EF0000-0x0000000002F03000-memory.dmp

        Filesize

        76KB

      • memory/1704-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4452-8-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/4452-14-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB

      • memory/4452-15-0x0000000000850000-0x0000000000865000-memory.dmp

        Filesize

        84KB