Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-01-2025 03:45

General

  • Target

    2025-01-28_bd70964fb54cc4a4eac50d6e454f3b6e_mafia.exe

  • Size

    10.2MB

  • MD5

    bd70964fb54cc4a4eac50d6e454f3b6e

  • SHA1

    174d3f2b378bbae36322f0f3d4c40fd9cdb5074f

  • SHA256

    1321649847ba806088350fc07e2d8d33907e4870184e2146ee47ae5e88af1bab

  • SHA512

    e98f20da36dc457000864352760a605d9da1217afc221c71bf09b7c31622ca40e5b40174067cbb583110903f7c640495b4041a0b93fe5b022a6790aa3b262934

  • SSDEEP

    24576:RpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt6:rooU

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-28_bd70964fb54cc4a4eac50d6e454f3b6e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_bd70964fb54cc4a4eac50d6e454f3b6e_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dhqggppr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qkkbmvmo.exe" C:\Windows\SysWOW64\dhqggppr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dhqggppr binPath= "C:\Windows\SysWOW64\dhqggppr\qkkbmvmo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bd70964fb54cc4a4eac50d6e454f3b6e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dhqggppr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dhqggppr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3904
    • 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:848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1516 -s 1044
      2⤵
      • Program crash
      PID:1204
  • C:\Windows\SysWOW64\dhqggppr\qkkbmvmo.exe
    C:\Windows\SysWOW64\dhqggppr\qkkbmvmo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_bd70964fb54cc4a4eac50d6e454f3b6e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2160
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2160 -s 556
      2⤵
      • Program crash
      PID:348
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1516 -ip 1516
    1⤵
      PID:3716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 560 -p 2160 -ip 2160
      1⤵
        PID:5044

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        b491a4aa8f5cf5701e955a8a0f4ea255

        SHA1

        1477fb55b729c2219260c2c66b1f475e642bd7f9

        SHA256

        1351246a083a538d49a1200e60500c39160d45c565433629604bc8d0574ed7a7

        SHA512

        9083c3ee79c2b922ca7f84f6602bf4b1905f9802279d66aeee4db9fbd20fe0225a8ac2e000ef1269a5eed5088f7702b00ecdecae204bc0d03236cb8f10cd5999

      • memory/844-14-0x0000000000D40000-0x0000000000D55000-memory.dmp

        Filesize

        84KB

      • memory/844-17-0x0000000000D40000-0x0000000000D55000-memory.dmp

        Filesize

        84KB

      • memory/844-16-0x0000000000D40000-0x0000000000D55000-memory.dmp

        Filesize

        84KB

      • memory/1516-8-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1516-2-0x0000000000580000-0x0000000000593000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB