Analysis

  • max time kernel
    142s
  • max time network
    148s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-12-2024 20:26

General

  • Target

    2024-12-27_7822d4dadaa829018b0c167b74340e6e_mafia.exe

  • Size

    14.6MB

  • MD5

    7822d4dadaa829018b0c167b74340e6e

  • SHA1

    5f468af0c5575e32f87ef09a767f34ef7e3fd9eb

  • SHA256

    0c584226400c86c79c9afd05f6eee6d7c8e24b9fa2ac8c5c94c14bcda5caf4f4

  • SHA512

    499ad9ea86008198c2c809e5660d224bb20d6f70a6a7d8f0ba19c7b1141efe96a558b9326561e79c644da206444d87c9952fce0fb75125badd1ea3930ffa98a9

  • SSDEEP

    3072:uLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:3OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-27_7822d4dadaa829018b0c167b74340e6e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-27_7822d4dadaa829018b0c167b74340e6e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hhrpvypd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uxdxmxio.exe" C:\Windows\SysWOW64\hhrpvypd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hhrpvypd binPath= "C:\Windows\SysWOW64\hhrpvypd\uxdxmxio.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-27_7822d4dadaa829018b0c167b74340e6e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hhrpvypd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hhrpvypd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • 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:4648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 804 -s 1256
      2⤵
      • Program crash
      PID:2224
  • C:\Windows\SysWOW64\hhrpvypd\uxdxmxio.exe
    C:\Windows\SysWOW64\hhrpvypd\uxdxmxio.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-27_7822d4dadaa829018b0c167b74340e6e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1868
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4380
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1868 -s 532
      2⤵
      • Program crash
      PID:4432
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 804 -ip 804
    1⤵
      PID:5036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 1868 -ip 1868
      1⤵
        PID:2648

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        5343e3784264e0935c67bf0351bfa1ec

        SHA1

        f2dfb60f602c3a3f7515d424b6860432ea771421

        SHA256

        c1b31508b8f442f2f0e6c2ea42d8a4dcf114e0aa3574453bcaeedffc8ffbc217

        SHA512

        ce948f897f20eeacd8b82061fdf1e5d35ddf5e66c0cd620628cd8a4cf66138200954f322977dc14be3f80e2923e431ff5ef68227de10f63a512ced973cee014c

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/804-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1868-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4380-14-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/4380-16-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB

      • memory/4380-17-0x0000000000E60000-0x0000000000E75000-memory.dmp

        Filesize

        84KB