Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 08:42

General

  • Target

    2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe

  • Size

    12.0MB

  • MD5

    d466384f3c12b6a938536e4d09958985

  • SHA1

    3587acbef84035751f5352a3d7578e6a95aed729

  • SHA256

    a6f313cfcd3964b6f94c68783a1be75d85b28080b7cdc7a930acbe222573ff65

  • SHA512

    e99798157fec46c5a4e00fea225d91c47cb5c422523a2b44a0c7a484de2744c6cd7a9505276a82247c343e4b4f3355ab74c3526648cd1b872b8d86c917d576b9

  • SSDEEP

    3072:vLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:mOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-31_d466384f3c12b6a938536e4d09958985_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4204
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vxbdhhkp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4120
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\duqxonrv.exe" C:\Windows\SysWOW64\vxbdhhkp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vxbdhhkp binPath= "C:\Windows\SysWOW64\vxbdhhkp\duqxonrv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vxbdhhkp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:728
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vxbdhhkp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • 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:4624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4204 -s 1204
      2⤵
      • Program crash
      PID:2276
  • C:\Windows\SysWOW64\vxbdhhkp\duqxonrv.exe
    C:\Windows\SysWOW64\vxbdhhkp\duqxonrv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3688
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3688 -s 560
      2⤵
      • Program crash
      PID:4248
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4204 -ip 4204
    1⤵
      PID:760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3688 -ip 3688
      1⤵
        PID:2176

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        728e327344b710beb13e555b0ebe5c8d

        SHA1

        6d2258234ccbee83007474355de3b94b255229e6

        SHA256

        7d9c0fe53b76072ac207efcd94cb6e884302be6fe70a32f75323eca498f69a76

        SHA512

        7e87715013611f5f77f5d4777f6325a81aa7c01c64c162548d9ac7777be54f90c5e43d649768b1f547ddf6f3854a1d7f957a5955f4a419c89f4b34838da47a76

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4204-2-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4204-8-0x0000000000670000-0x0000000000683000-memory.dmp

        Filesize

        76KB

      • memory/4204-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

      • memory/4632-14-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB

      • memory/4632-16-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB

      • memory/4632-17-0x0000000000E10000-0x0000000000E25000-memory.dmp

        Filesize

        84KB