Analysis

  • max time kernel
    147s
  • max time network
    141s
  • 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 17:32

General

  • Target

    2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe

  • Size

    13.7MB

  • MD5

    63dcaac1b381fa7e88d8cd2e4cdd8d74

  • SHA1

    c30c822977803bfab85a9ff37961517bd74c8311

  • SHA256

    e1df3fe8c0ae2b0705699516b26e6cc71c741e05c56922378d1a0c608d8c399c

  • SHA512

    484379fcf1f922c65e2bbd8ad204344fe11422e3f3bf6d5959b2d84c3efae0945a66175b86fd8daa8607f1189022d4cc9cb04752a275af724395a500c1bd6451

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:PqtYc3

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_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kuopmyxf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xrritctv.exe" C:\Windows\SysWOW64\kuopmyxf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kuopmyxf binPath= "C:\Windows\SysWOW64\kuopmyxf\xrritctv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kuopmyxf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kuopmyxf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3112
    • 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:2816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3932 -s 1036
      2⤵
      • Program crash
      PID:4072
  • C:\Windows\SysWOW64\kuopmyxf\xrritctv.exe
    C:\Windows\SysWOW64\kuopmyxf\xrritctv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3696
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3696 -s 512
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 3932 -ip 3932
    1⤵
      PID:4032
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3696 -ip 3696
      1⤵
        PID:1116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        c61c74c3ed5bd267783967c90127fe42

        SHA1

        7a7714887b1c2ab193792a9f95238bb5e89ca9f2

        SHA256

        ef194301e059bca93ed16be97bbd5b929564285dd62894d0a7b0bec1cbcabe0e

        SHA512

        83b65dfd2dee39c695de1dddf8308191186c02c74a26a6f6c3bd5de58c928e6612bbb8e31747fc192ac4ed18bdfebfe35f93970acf8687fa4d5beb92b815f2a3

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

        Filesize

        41.8MB

      • memory/3932-1-0x0000000002E80000-0x0000000002F80000-memory.dmp

        Filesize

        1024KB

      • memory/3932-2-0x0000000002E30000-0x0000000002E43000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3932-12-0x0000000002E30000-0x0000000002E43000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

      • memory/4052-8-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/4052-14-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/4052-15-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB