Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-02-2025 01:43

General

  • Target

    2025-02-07_36dc863a2d6408b0d1515ea04a39e54f_mafia.exe

  • Size

    12.0MB

  • MD5

    36dc863a2d6408b0d1515ea04a39e54f

  • SHA1

    7c0beacac506cee14758bc04a4f6a258675362ed

  • SHA256

    88fd6bb1a8a2a19fdbe74c41783fd030d103019239adc2033e9dfdf1aee13942

  • SHA512

    8fcd711fc4e976fbdfee4b4634117629ea39d9fcda80b6c18f5d00aee6877df79698a53a253179b234879477451df9e6e78612bba3083e0032b0925d5ab4dabb

  • SSDEEP

    24576:F6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQn:EWdLQk

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-07_36dc863a2d6408b0d1515ea04a39e54f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_36dc863a2d6408b0d1515ea04a39e54f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pnoqukon\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bjycpnww.exe" C:\Windows\SysWOW64\pnoqukon\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pnoqukon binPath= "C:\Windows\SysWOW64\pnoqukon\bjycpnww.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_36dc863a2d6408b0d1515ea04a39e54f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pnoqukon "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pnoqukon
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1516
    • 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:3220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2004 -s 784
      2⤵
      • Program crash
      PID:3300
  • C:\Windows\SysWOW64\pnoqukon\bjycpnww.exe
    C:\Windows\SysWOW64\pnoqukon\bjycpnww.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_36dc863a2d6408b0d1515ea04a39e54f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5012
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5012 -s 508
      2⤵
      • Program crash
      PID:5040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2004 -ip 2004
    1⤵
      PID:4408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 5012 -ip 5012
      1⤵
        PID:1668

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.5MB

        MD5

        bc5ace9633c6c1cc2800fc5f586a9a6f

        SHA1

        5016d3e5713a2dff2ebedd8e64be2fe959e638d3

        SHA256

        bea4847d252535e2596e2969862926ea62d588d03f56884e9a00add36392716a

        SHA512

        6c9fff6a73d5ae5f765a03129ca580f2e1af81cf3def188a03890e6532c661cfbd68ef284bdcac1ce6f61256909ee7a6e8c86d0730d1c4b87d80f2598613a2c1

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2004-1-0x0000000000780000-0x0000000000880000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB