Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    13-01-2025 20:00

General

  • Target

    2025-01-13_f29417892dce11496283b972de6c17db_mafia.exe

  • Size

    12.9MB

  • MD5

    f29417892dce11496283b972de6c17db

  • SHA1

    92169bca8dd9c3a0baee493b5a7aed68dcfa9fe8

  • SHA256

    7dcae750b86a5d7e0566fabcc931fa332bc69c15e3aae5a7150d0c2f5acff292

  • SHA512

    97362fa5ef352af678d17bd99866ddc9f54414cce51771e82fb73f728bfdb8e87f87384bfa82b72e0b09263b0b47e4cc8068e6c0155087958a3dfa12abd65680

  • SSDEEP

    49152:yqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:yqtYc3

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-13_f29417892dce11496283b972de6c17db_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_f29417892dce11496283b972de6c17db_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4048
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kpixsnwa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qhdkbaei.exe" C:\Windows\SysWOW64\kpixsnwa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kpixsnwa binPath= "C:\Windows\SysWOW64\kpixsnwa\qhdkbaei.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_f29417892dce11496283b972de6c17db_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kpixsnwa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kpixsnwa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4584
    • 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:4196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4048 -s 636
      2⤵
      • Program crash
      PID:3996
  • C:\Windows\SysWOW64\kpixsnwa\qhdkbaei.exe
    C:\Windows\SysWOW64\kpixsnwa\qhdkbaei.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_f29417892dce11496283b972de6c17db_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2704
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2704 -s 512
      2⤵
      • Program crash
      PID:1840
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4048 -ip 4048
    1⤵
      PID:3560
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2704 -ip 2704
      1⤵
        PID:4156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        dfd37cc4b5dc1b09406e8ebd4514d2ab

        SHA1

        93f80ea2399a59745f42070151b66448581c5693

        SHA256

        68b78d9be1fbb73b5d29c45c3f6cdcd136d017d6d113d8356fcb61962a874afa

        SHA512

        7a9f4f93365629614fe3374e8aae07356dfc7c64858bd6c6a5975691df6fb3fd85c1d7fdc8c738734aadb3e0ac69bd69d430f1aeb29c0e3a32cb0f3119a06268

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

        Filesize

        41.8MB

      • memory/2852-8-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/2852-14-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/2852-15-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/4048-1-0x0000000002DE0000-0x0000000002EE0000-memory.dmp

        Filesize

        1024KB

      • memory/4048-2-0x0000000002F20000-0x0000000002F33000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4048-12-0x0000000002F20000-0x0000000002F33000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB