Analysis

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

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

General

  • Target

    2025-01-21_d1dca4137b545cb6fa5221de89f5b392_mafia.exe

  • Size

    12.2MB

  • MD5

    d1dca4137b545cb6fa5221de89f5b392

  • SHA1

    0a31a33baa0f43563ee91a75df82d220750d63fd

  • SHA256

    e30dc001c43316682366ba827b5e9b83cf5e316ac06ea82b72607cc8400fd0e8

  • SHA512

    b2709c878f0ef1267c3c58b3d469640ae058aca242d2bec773e888074ee606bd585d666da37ef44d5852f4388a3a0b842abe0722859999f735886e01b1856d75

  • SSDEEP

    24576:EpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttH:Qoo

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-21_d1dca4137b545cb6fa5221de89f5b392_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_d1dca4137b545cb6fa5221de89f5b392_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rqujtdxl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ezdvlwyw.exe" C:\Windows\SysWOW64\rqujtdxl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rqujtdxl binPath= "C:\Windows\SysWOW64\rqujtdxl\ezdvlwyw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_d1dca4137b545cb6fa5221de89f5b392_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rqujtdxl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rqujtdxl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3292
    • 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:1256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4804 -s 1044
      2⤵
      • Program crash
      PID:2012
  • C:\Windows\SysWOW64\rqujtdxl\ezdvlwyw.exe
    C:\Windows\SysWOW64\rqujtdxl\ezdvlwyw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_d1dca4137b545cb6fa5221de89f5b392_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2040 -s 532
      2⤵
      • Program crash
      PID:3332
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4804 -ip 4804
    1⤵
      PID:4044
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2040 -ip 2040
      1⤵
        PID:1996

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        69ad3ecb47540a01f703ed4b14fbfaf0

        SHA1

        c39d25e56e45f9ccb2c8866f0f134f1d3b0fed62

        SHA256

        3c9ea8236605c00122d46cfa3422fb99025b6b594b04ab4e16eadfef84d17793

        SHA512

        4168100218e1efd88c9ee9ef6985d34dcfe71932daa7e533aa119daf475f97fd101eb6ad89cc7302723d1e4b319f8dfc68fca905d1467ac6a513259f04945cf1

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3896-14-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/3896-16-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/3896-17-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4804-8-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/4804-1-0x0000000000490000-0x0000000000590000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4804-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB