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
    25-01-2025 18:45

General

  • Target

    2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe

  • Size

    10.1MB

  • MD5

    3037c559046509f4e18417b99bc13d18

  • SHA1

    544c3ee6ba22bbfccc5e9d0b1c7d0823b2b86822

  • SHA256

    ab80628a0f62ca7df440960826b9e66e8fd42a9f57032e2d2affdfd2ed3f976f

  • SHA512

    b63f01894a1299760eb86c09e6e86ebfc82c422387c43e1e7f5d9bc817381d06a4edabb774acb2ed5e27f3d9aba4dd51076837e13608cf58422911419ca7c146

  • SSDEEP

    24576:OEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZH:nfot

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-25_3037c559046509f4e18417b99bc13d18_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qirhmawn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jrgkxvee.exe" C:\Windows\SysWOW64\qirhmawn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qirhmawn binPath= "C:\Windows\SysWOW64\qirhmawn\jrgkxvee.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qirhmawn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qirhmawn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:436
    • 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:2656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2248 -s 1028
      2⤵
      • Program crash
      PID:2792
  • C:\Windows\SysWOW64\qirhmawn\jrgkxvee.exe
    C:\Windows\SysWOW64\qirhmawn\jrgkxvee.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4376
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4376 -s 532
      2⤵
      • Program crash
      PID:1176
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2248 -ip 2248
    1⤵
      PID:624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 4376 -ip 4376
      1⤵
        PID:2332

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        26242dbb10daab5dac440639508a6369

        SHA1

        481427056f1d2fdf1fcbb6acf8a2038b0b8ae0b2

        SHA256

        2cd1b779feabce5a03d660eb220f439f2e6c22384e293331286320dcd46c52da

        SHA512

        06c91d97cf6d5157fcdc03337aacaeff043234087884ac50cb62bd7e30f35675d261eb2bd58fe5fff54274312364a56ffc0eccd0095a82e87fa5d2f1c27024fa

      • memory/1400-14-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/1400-17-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/1400-16-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/2248-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2248-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2248-1-0x00000000006F0000-0x00000000007F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4376-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB